/*!
 * LC3M HTMLWeb
 * Page framework for LaCelle 3 Media LLC.
 *
 * Layout:  <div class="site"> holds <aside class="sidebar"> (brand + navigation)
 *          and <main class="content">.
 * Grid:    <section class="row halves|thirds|quarters|single"> with
 *          <div class="column"> children.
 * Colors:  .navy-back / .navy-text, .lightblue-back / .lightblue-text, etc.
 */

/* ------------------------------------------------------------------
   Brand tokens
   ------------------------------------------------------------------ */
:root {
    --lc3m-navy: #0b0245;
    --lc3m-navy-deep: #070130;
    --lc3m-navy-soft: #2a2470;
    --lc3m-link: #0a0046;
    --lc3m-lightblue: #c9d5ff;
    --lc3m-lightblue-soft: #e6ecff;
    --lc3m-tint: #f9fafc;
    --lc3m-white: #ffffff;
    --lc3m-text: #16151f;
    --lc3m-muted: #5b5f73;
    --lc3m-border: #d9ddea;

    --lc3m-font: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --lc3m-mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;

    --lc3m-sidebar-width: 240px;
    --lc3m-topbar-height: 4rem; /* mobile top bar; content is offset by the same amount */
    --lc3m-content-max: 1100px;
    --lc3m-header-measure: 40rem; /* header title and intro wrap at this width */
    --lc3m-gutter: 2rem;
    --lc3m-radius: 6px;
}

/* ------------------------------------------------------------------
   Base
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--lc3m-font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--lc3m-text);
    background: var(--lc3m-white);
}

img, svg, video { max-width: 100%; height: auto; }

::selection { background: var(--lc3m-lightblue); color: var(--lc3m-navy); }

:focus-visible {
    outline: 3px solid var(--lc3m-lightblue);
    outline-offset: 2px;
}

/* Skip links: hidden until focused */
.screen-reader-shortcut {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 1000;
    padding: .6em 1em;
    background: var(--lc3m-navy);
    color: var(--lc3m-white);
    border-radius: var(--lc3m-radius);
    text-decoration: none;
}
.screen-reader-shortcut:focus { top: 1rem; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    margin: 1.4em 0 .4em;
    font-weight: 500;
    line-height: 1.2;
    color: var(--lc3m-navy);
}
h1 { font-size: 2.4rem; margin-top: 0; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }

p, ul, ol, dl, blockquote, pre, table, figure, fieldset { margin: 0 0 1.1em; }

a { color: var(--lc3m-link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--lc3m-navy-soft); text-decoration-thickness: 2px; }

strong, b { font-weight: 600; }

ul, ol { padding-left: 1.6em; }
li { margin-bottom: .3em; }
li > ul, li > ol { margin: .3em 0 0; }

dt { font-weight: 600; color: var(--lc3m-navy); }
dd { margin: 0 0 .8em 1.2em; }

blockquote {
    padding: .8em 1.4em;
    border-left: 4px solid var(--lc3m-lightblue);
    background: var(--lc3m-tint);
    color: var(--lc3m-muted);
}
blockquote p:last-of-type { margin-bottom: .4em; }
blockquote cite { font-style: normal; font-weight: 500; color: var(--lc3m-navy); }
blockquote cite::before { content: "\2014\00a0"; }

code, kbd, pre, samp { font-family: var(--lc3m-mono); font-size: .9em; }
code {
    padding: .1em .35em;
    background: var(--lc3m-lightblue-soft);
    border-radius: 4px;
    color: var(--lc3m-navy);
}
pre {
    padding: 1em 1.2em;
    overflow-x: auto;
    background: var(--lc3m-navy);
    color: var(--lc3m-lightblue-soft);
    border-radius: var(--lc3m-radius);
    line-height: 1.5;
}
pre code { padding: 0; background: none; color: inherit; }

sub, sup { font-size: .75em; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -.5em; }
sub { bottom: -.25em; }

abbr[title] { text-decoration: underline dotted; cursor: help; }
small { font-size: .85em; }
mark { background: var(--lc3m-lightblue); color: var(--lc3m-navy); padding: 0 .2em; }

hr {
    height: 0;
    margin: 2em 0;
    border: 0;
    border-top: 2px solid var(--lc3m-lightblue);
}

figure img { display: block; border-radius: var(--lc3m-radius); }
figcaption { margin-top: .5em; font-size: .9rem; color: var(--lc3m-muted); }

/* ------------------------------------------------------------------
   Tables
   ------------------------------------------------------------------ */
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { padding-bottom: .6em; text-align: left; font-weight: 500; color: var(--lc3m-navy); }
th, td { padding: .6em .8em; text-align: left; border-bottom: 1px solid var(--lc3m-border); }
thead th { background: var(--lc3m-navy); color: var(--lc3m-white); font-weight: 500; border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--lc3m-tint); }
tfoot th { background: var(--lc3m-lightblue-soft); color: var(--lc3m-navy); font-weight: 500; }

/* ------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------ */
fieldset {
    padding: 1.2em 1.4em .4em;
    border: 1px solid var(--lc3m-border);
    border-radius: var(--lc3m-radius);
}
legend { padding: 0 .4em; font-weight: 500; color: var(--lc3m-navy); }
label { font-weight: 500; }

input, select, textarea, button { font: inherit; color: inherit; }

input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=button]):not([type=reset]):not([type=submit]),
select,
textarea {
    width: 100%;
    max-width: 28rem;
    padding: .55em .75em;
    background: var(--lc3m-white);
    border: 1px solid #b9bfd3;
    border-radius: var(--lc3m-radius);
}
textarea { min-height: 7em; resize: vertical; }

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--lc3m-navy);
    box-shadow: 0 0 0 3px var(--lc3m-lightblue);
}

input[disabled], select[disabled], textarea[disabled] { background: #eef0f5; color: #8a8ea0; cursor: not-allowed; }
input[readonly], textarea[readonly] { background: var(--lc3m-tint); }

input[type=checkbox], input[type=radio], input[type=range], progress, meter {
    accent-color: var(--lc3m-navy);
}
input[type=color] { width: 3rem; height: 2.2rem; padding: 2px; border: 1px solid #b9bfd3; border-radius: var(--lc3m-radius); }

.button, button, input[type=button], input[type=reset], input[type=submit] {
    display: inline-block;
    padding: .6em 1.3em;
    border: 2px solid var(--lc3m-navy);
    border-radius: var(--lc3m-radius);
    background: var(--lc3m-navy);
    color: var(--lc3m-white);
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}
.button:hover, button:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
    background: var(--lc3m-navy-soft);
    border-color: var(--lc3m-navy-soft);
    color: var(--lc3m-white);
}
.button.secondary, input[type=reset] {
    background: transparent;
    color: var(--lc3m-navy);
}
.button.secondary:hover, input[type=reset]:hover { background: var(--lc3m-lightblue); color: var(--lc3m-navy); }
.button.light { background: var(--lc3m-lightblue); border-color: var(--lc3m-lightblue); color: var(--lc3m-navy); }

/* ------------------------------------------------------------------
   Page layout
   ------------------------------------------------------------------ */
/* Column layout keeps the page footer at the bottom of short pages */
.site { display: flex; flex-direction: column; min-height: 100vh; }

.content {
    display: block;
    flex: 1 0 auto;
    margin-left: var(--lc3m-sidebar-width);
}

/* Page header band */
.main-header { background: var(--lc3m-lightblue); color: var(--lc3m-navy); }
.header-group { padding: 2.5rem var(--lc3m-gutter); }
.header-group.short { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.main-header .sup-header,
.main-header .sub-header { display: block; line-height: 1.2; vertical-align: baseline; }
.main-header .sup-header { font-size: .95rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.main-header .sub-header { max-width: var(--lc3m-header-measure); margin: .25rem 0 0; font-size: 2rem; font-weight: 500; color: inherit; text-wrap: balance; }

/* Image header: set the photo inline, e.g.
   <header class="main-header image-header" style="background-image: url('./assets/photo.jpg')">
   A navy shade sits over the photo so the white text stays readable. */
.main-header.image-header {
    position: relative;
    background-color: var(--lc3m-navy);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--lc3m-white);
}
.main-header.image-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 2, 69, .9) 0%, rgba(11, 2, 69, .65) 55%, rgba(11, 2, 69, .35) 100%);
}
.main-header.image-header .header-group { position: relative; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.main-header.image-header .header-group.short { padding-top: 3rem; padding-bottom: 3rem; }
.main-header.image-header .sup-header { color: var(--lc3m-lightblue); }
.main-header.image-header .sub-header { font-size: 2.6rem; }
.main-header.image-header .header-intro { max-width: var(--lc3m-header-measure); margin: .8rem 0 0; font-size: 1.15rem; color: var(--lc3m-lightblue-soft); }
.main-header.image-header .button { margin-top: 1.4rem; }

/* Rows and columns */
.row {
    display: grid;
    gap: var(--lc3m-gutter);
    padding: 0 var(--lc3m-gutter);
}
.row.single   { grid-template-columns: minmax(0, 1fr); }
.row.halves   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row.thirds   { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row.quarters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row.side-right { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.row.side-left  { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }

/* Rows span the full content width; add .contained to cap a row's width */
.row.contained { max-width: var(--lc3m-content-max); }
.pad-top    { padding-top: 2.5rem; }
.pad-bottom { padding-bottom: 2.5rem; }

/* A row with a background color gets inner breathing room */
.row[class*="-back"] { padding-top: 2rem; padding-bottom: 2rem; }

.column > :last-child { margin-bottom: 0; }

.card {
    padding: 1.4rem 1.5rem;
    background: var(--lc3m-white);
    border: 1px solid var(--lc3m-border);
    border-radius: var(--lc3m-radius);
}

.content > :last-child { padding-bottom: 4rem; }

/* ------------------------------------------------------------------
   Sidebar
   ------------------------------------------------------------------ */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    width: var(--lc3m-sidebar-width);
    background: var(--lc3m-navy);
    color: var(--lc3m-lightblue-soft);
    font-size: .95rem;
}

.sidebar a { color: var(--lc3m-white); text-decoration: none; }
.sidebar a:hover, .sidebar a:focus-visible { color: var(--lc3m-lightblue); }

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.6rem 1.4rem 1.2rem;
}
.sidebar-logo { display: block; line-height: 0; }
.sidebar-logo img { width: 180px; }

.menu-toggle { display: none; }

.sidebar-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 1.4rem 1.4rem;
}

/* Action buttons (e.g. Contact) */
.sidebar-actions { display: flex; gap: .5rem; margin-bottom: 1rem; }
.sidebar-actions button {
    flex: 1;
    padding: .5em .8em;
    border: 1px solid rgba(201, 213, 255, .45);
    background: transparent;
    color: var(--lc3m-white);
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.sidebar-actions button:hover,
.sidebar-actions button[aria-expanded="true"] {
    background: var(--lc3m-lightblue);
    border-color: var(--lc3m-lightblue);
    color: var(--lc3m-navy);
}

.sidebar-panel {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--lc3m-navy-deep);
    border-radius: var(--lc3m-radius);
    font-size: .9rem;
    line-height: 1.5;
}
.sidebar-panel[hidden] { display: none; }
.sidebar-panel p { margin: 0 0 .5em; }
.sidebar-panel p:last-child { margin-bottom: 0; }
.sidebar-panel .panel-title { font-weight: 500; color: var(--lc3m-white); }
.sidebar-panel .panel-title:has(+ .panel-subtitle) { margin-bottom: 0; }
.sidebar-panel .panel-subtitle { color: var(--lc3m-lightblue); }
.sidebar-panel a { text-decoration: underline; text-underline-offset: .18em; }

/* Navigation lists */
.sidebar ul { margin: 0; padding: 0; list-style: none; }
.sidebar li { position: relative; margin: 0; }

.site-nav { margin-bottom: 1.5rem; }
.site-nav > ul > li { border-top: 1px solid rgba(201, 213, 255, .18); }
.site-nav > ul > li:last-child { border-bottom: 1px solid rgba(201, 213, 255, .18); }
.site-nav a { display: block; padding: .6em 2rem .6em 0; font-weight: 500; }
.site-nav ul ul { padding: 0 0 .5em .9em; }
.site-nav ul ul a { padding: .3em 0; font-weight: 400; color: var(--lc3m-lightblue-soft); }
.site-nav a[aria-current] { color: var(--lc3m-lightblue); }
.site-nav a[aria-current]::before {
    content: "";
    position: absolute;
    left: -1.4rem;
    width: 4px;
    height: 1.4em;
    margin-top: .05em;
    background: var(--lc3m-lightblue);
}

/* Sub-menu toggles are added by htmlweb.js; without JS every level shows */
.subnav-toggle {
    position: absolute;
    top: .35em;
    right: 0;
    width: 1.8rem;
    height: 1.8rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--lc3m-lightblue);
}
.subnav-toggle::before {
    content: "";
    display: block;
    width: .5rem;
    height: .5rem;
    margin: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .15s;
}
.subnav-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); }
.subnav-toggle:hover { background: transparent; color: var(--lc3m-white); }
.js .site-nav li > ul { display: none; }
.js .site-nav li.open > ul { display: block; }

.offsite-nav { margin-bottom: 1.5rem; }
.offsite-nav a { display: block; padding: .35em 0; color: var(--lc3m-lightblue-soft); }
.offsite-nav a[href^="http"]::after { content: " \2197"; font-size: .85em; opacity: .7; }

.sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(201, 213, 255, .18);
    font-size: .8rem;
}
.sidebar-footer ul { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.sidebar-footer a { letter-spacing: .06em; text-transform: uppercase; color: var(--lc3m-lightblue-soft); }
.sidebar-footer .copyright { margin: .8rem 0 0; color: rgba(230, 236, 255, .65); }
.sidebar-footer .social-links { margin-top: 1rem; gap: .4rem; }

/* ------------------------------------------------------------------
   Icons (drawn inline so they work from any domain)
   ------------------------------------------------------------------ */
.social-links a::before,
.footer-contact [class^="icon-"]::before {
    content: "";
    flex: none;
    display: block;
    width: 18px;
    height: 18px;
    /* longhands, so the per-icon background-image rules below still apply */
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.social-linkedin::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Crect x='3.5' y='9' width='3.4' height='11.5'/%3E%3Ccircle cx='5.2' cy='5.2' r='2'/%3E%3Cpath d='M9.6 9h3.3v1.6c.6-1.1 1.9-1.9 3.6-1.9 3.1 0 4 2 4 4.9v6.9h-3.4v-6.1c0-1.4-.3-2.5-1.8-2.5s-2.3 1.1-2.3 2.6v6H9.6z'/%3E%3C/svg%3E"); }
.social-facebook::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.5 21v-7.5H16l.4-3h-2.9V8.6c0-.9.3-1.5 1.5-1.5h1.6V4.4c-.3 0-1.2-.1-2.3-.1-2.2 0-3.7 1.3-3.7 3.8v2.4H8.1v3h2.5V21z'/%3E%3C/svg%3E"); }
.social-instagram::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='.5' fill='white'/%3E%3C/svg%3E"); }
.social-x::before         { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M3.5 3.5h5l12 17h-5z'/%3E%3Cpath d='M19.6 3.5h-1.9l-5.4 6.2 1 1.4zM4.4 20.5h1.9l5.6-6.4-1-1.4z'/%3E%3C/svg%3E"); }
.social-youtube::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='5.5' width='20' height='13' rx='4' fill='white'/%3E%3Cpath d='M10 9.2v5.6l5-2.8z' fill='%230b0245'/%3E%3C/svg%3E"); }
.icon-email::before       { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }
.icon-phone::before       { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.2'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/svg%3E"); }

/* Social links: round icon buttons; add .labeled to show the network name */
.social-links { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.social-links li { margin: 0; }
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(201, 213, 255, .45);
    border-radius: 50%;
    color: var(--lc3m-white);
    text-decoration: none;
    transition: background-color .15s, border-color .15s;
}
.social-links a:hover,
.social-links a:focus-visible { background: rgba(201, 213, 255, .18); border-color: var(--lc3m-lightblue); }

.social-links.labeled { flex-direction: column; gap: .7rem; }
.social-links.labeled a {
    justify-content: flex-start;
    gap: .7rem;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
}
.social-links.labeled a:hover,
.social-links.labeled a:focus-visible { background: none; text-decoration: underline; text-underline-offset: .2em; }

/* ------------------------------------------------------------------
   Page footer
   ------------------------------------------------------------------ */
.site-footer {
    margin-left: var(--lc3m-sidebar-width);
    padding: 3rem var(--lc3m-gutter) 1.5rem;
    background: var(--lc3m-navy-deep);
    color: var(--lc3m-lightblue-soft);
    font-size: .95rem;
    line-height: 1.6;
}
.site-footer a { color: var(--lc3m-white); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--lc3m-lightblue); text-decoration: underline; text-underline-offset: .2em; }
.site-footer strong { color: var(--lc3m-white); font-weight: 500; }

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr);
    gap: 2.5rem;
}
.footer-logo { display: inline-block; margin-bottom: 1.4rem; line-height: 0; }
.footer-logo img { width: 220px; }
.footer-heading {
    margin: 0 0 .9rem;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lc3m-lightblue);
}

.footer-contact { font-style: normal; }
.footer-contact p { margin: 0 0 1rem; }
.footer-contact [class^="icon-"] { display: flex; gap: .8rem; align-items: flex-start; }
.footer-contact [class^="icon-"]::before { margin-top: .2em; }

.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 0 0 .55rem; }

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(201, 213, 255, .18);
    font-size: .85rem;
    color: rgba(230, 236, 255, .7);
}
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------------
   Color utilities
   ------------------------------------------------------------------ */
.navy-back      { background-color: var(--lc3m-navy); color: var(--lc3m-white); }
.navy-text      { color: var(--lc3m-navy); }
.lightblue-back { background-color: var(--lc3m-lightblue); color: var(--lc3m-navy); }
.lightblue-text { color: var(--lc3m-lightblue); }
.paleblue-back  { background-color: var(--lc3m-lightblue-soft); }
.tint-back      { background-color: var(--lc3m-tint); }
.white-back     { background-color: var(--lc3m-white); }
.muted-text     { color: var(--lc3m-muted); }

.navy-back h1, .navy-back h2, .navy-back h3, .navy-back h4, .navy-back h5, .navy-back h6,
.navy-back a { color: var(--lc3m-white); }

/* ------------------------------------------------------------------
   Small screens: the sidebar becomes a top bar with a slide-down menu
   ------------------------------------------------------------------ */
@media (max-width: 900px) {
    .sidebar {
        bottom: auto;
        right: 0;
        width: auto;
        max-height: 100vh;
    }
    .sidebar-header { justify-content: space-between; height: var(--lc3m-topbar-height); padding: 0 1rem; }
    .sidebar-logo img { width: 140px; }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: .5em;
        padding: .45em .8em;
        border: 1px solid rgba(201, 213, 255, .45);
        background: transparent;
        font-size: .85rem;
        letter-spacing: .06em;
        text-transform: uppercase;
    }
    .menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: var(--lc3m-lightblue); color: var(--lc3m-navy); }
    .menu-toggle-icon,
    .menu-toggle-icon::before,
    .menu-toggle-icon::after {
        display: block;
        width: 16px;
        height: 2px;
        background: currentColor;
        transition: transform .15s;
    }
    .menu-toggle-icon { position: relative; }
    .menu-toggle-icon::before, .menu-toggle-icon::after { content: ""; position: absolute; left: 0; }
    .menu-toggle-icon::before { top: -5px; }
    .menu-toggle-icon::after { top: 5px; }
    .nav-open .menu-toggle-icon { background: transparent; }
    .nav-open .menu-toggle-icon::before { transform: translateY(5px) rotate(45deg); }
    .nav-open .menu-toggle-icon::after { transform: translateY(-5px) rotate(-45deg); }

    .js .sidebar-body { display: none; }
    .js.nav-open .sidebar-body { display: flex; max-height: calc(100vh - var(--lc3m-topbar-height)); padding-top: .4rem; }
    .js.nav-open body { overflow: hidden; }

    .site-nav a[aria-current]::before { left: -1rem; }

    .content { margin-left: 0; padding-top: var(--lc3m-topbar-height); }
    .site-footer { margin-left: 0; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .content [id] { scroll-margin-top: calc(var(--lc3m-topbar-height) + .5rem); }
    html:not(.js) .content { padding-top: 0; }
    html:not(.js) .sidebar { position: static; }

    .row.halves, .row.thirds, .row.side-right, .row.side-left { grid-template-columns: minmax(0, 1fr); }
    .row.quarters { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    :root { --lc3m-gutter: 1.25rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .main-header .sub-header,
    .main-header.image-header .sub-header { font-size: 1.6rem; }
    .main-header.image-header .header-group { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .main-header.image-header::before { background: rgba(11, 2, 69, .78); }
}

@media (max-width: 520px) {
    .row.quarters { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* ------------------------------------------------------------------
   Print
   ------------------------------------------------------------------ */
@media print {
    .sidebar, .screen-reader-shortcut { display: none; }
    .content { margin: 0; padding: 0; }
    .site-footer { margin: 2rem 0 0; padding: 1rem 0 0; background: none; color: inherit; border-top: 2px solid var(--lc3m-navy); }
    .site-footer a, .site-footer strong, .footer-heading { color: inherit; }
    .footer-logo, .social-links, .footer-heading { display: none; }
    .footer-contact [class^="icon-"]::before { display: none; }
    .main-header, .main-header.image-header { background: none; color: var(--lc3m-navy); border-bottom: 2px solid var(--lc3m-navy); }
    .main-header.image-header::before { display: none; }
    a { color: inherit; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
    pre { background: none; color: inherit; border: 1px solid var(--lc3m-border); }
}
