@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --ink: #0f1426;
    --ink-muted: #4b5572;
    --ink-soft: #6c7895;
    --navy: #030b43;
    --navy-2: #0a1764;
    --navy-3: #122189;
    --gold: #d8bf70;
    --gold-deep: #b58d32;
    --gold-soft: #efe2b4;
    --cream: #f8f2e4;
    --cream-2: #f2ead6;
    --paper: #fbf8f1;
    --surface: #ffffff;
    --line: rgba(15, 20, 38, 0.1);
    --line-soft: rgba(15, 20, 38, 0.06);
    --shadow-sm: 0 1px 2px rgba(6, 12, 34, 0.04), 0 2px 6px rgba(6, 12, 34, 0.04);
    --shadow-md: 0 12px 28px rgba(6, 12, 34, 0.08);
    --shadow-lg: 0 30px 60px rgba(6, 12, 34, 0.12);
    --max: 1180px;
    --radius: 14px;
    --radius-lg: 22px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 3px; }

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

.skip-link {
    position: absolute;
    top: -3rem;
    left: 1rem;
    z-index: 5000;
    padding: 0.7rem 1rem;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    border-radius: 0 0 10px 10px;
}
.skip-link:focus { top: 0; }

.masthead {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(3, 11, 67, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.masthead-row {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
    min-height: 72px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: inherit;
}

.brand-mark {
    height: 40px;
    width: 40px;
    object-fit: contain;
    flex: 0 0 auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.brand-text {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1;
    letter-spacing: -0.035em;
    white-space: nowrap;
    font-variation-settings: 'opsz' 40;
}

.brand-text-event { color: #ffffff; }
.brand-text-gavel { color: var(--gold); }

.nav-desktop {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-desktop a {
    position: relative;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.25rem 0;
}

.nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after,
.nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }

.nav-desktop a[aria-current="page"] { color: #fff; }

.nav-trigger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(216, 191, 112, 0.3);
    border-radius: 10px;
    cursor: pointer;
    justify-self: end;
    position: relative;
}

.nav-trigger span {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 1.6px;
    background: var(--gold);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}
.nav-trigger span:nth-child(1) { top: 14px; }
.nav-trigger span:nth-child(2) { top: 20px; }
.nav-trigger span:nth-child(3) { top: 26px; }

.nav-trigger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: translateX(-50%) rotate(45deg); }
.nav-trigger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-trigger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: translateX(-50%) rotate(-45deg); }

.drawer-root {
    position: fixed;
    inset: 0;
    z-index: 200;
}

.drawer-scrim {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3, 8, 28, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.drawer-root.is-open .drawer-scrim { opacity: 1; }

.drawer {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(360px, 100%);
    background: linear-gradient(180deg, #061069 0%, #030b43 100%);
    color: #fff;
    box-shadow: -30px 0 60px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    transition: transform 0.26s ease;
    display: flex;
    flex-direction: column;
    padding: 1.1rem 1.15rem 1.4rem;
}

.drawer-root.is-open .drawer { transform: translateX(0); }

.drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.drawer-close {
    position: relative;
    width: 38px;
    height: 38px;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(216, 191, 112, 0.28);
    border-radius: 10px;
    cursor: pointer;
}

.drawer-close span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 1.6px;
    background: var(--gold);
    border-radius: 2px;
    margin: -0.8px 0 0 -7px;
}

.drawer-close span:first-child { transform: rotate(45deg); }
.drawer-close span:last-child { transform: rotate(-45deg); }

.drawer-nav {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
}

.drawer-nav a {
    padding: 1.05rem 0;
    color: #fff;
    text-decoration: none;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-nav a[aria-current="page"] { color: var(--gold); }

.drawer-foot {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-foot p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    line-height: 1.5;
}

body.drawer-open { overflow: hidden; }

.page {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 5rem) 0 4rem;
}

.hero { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.8rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    background: var(--navy);
    color: #fff;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.read-time {
    font-size: 0.82rem;
    color: var(--ink-soft);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-title {
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(2.3rem, 6.4vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: var(--navy);
    font-variation-settings: 'opsz' 144;
}

.hero-title-line { display: block; }

.hero-title-accent {
    font-style: italic;
    color: var(--gold-deep);
    font-weight: 500;
}

.hero-deck {
    max-width: 62ch;
    margin: 1.6rem 0 0;
    font-size: clamp(1.02rem, 1.6vw, 1.22rem);
    line-height: 1.6;
    color: var(--ink-muted);
    font-weight: 400;
}

.hero-ticker {
    margin-top: 2.2rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-ticker span:nth-child(even) {
    color: var(--gold-deep);
}

.prose-stack {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.prose-stack-lede p {
    margin: 0 0 1.2rem;
    font-size: 1.06rem;
    line-height: 1.78;
    color: var(--ink);
}

.prose-stack-lede p:last-child { margin-bottom: 0; }

.prose-stack-lede em { font-family: 'Fraunces', Georgia, serif; font-style: italic; color: var(--navy); }

.dropcap::first-letter {
    float: left;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 0.86;
    padding: 0.3rem 0.6rem 0 0;
    color: var(--navy);
    font-variation-settings: 'opsz' 144;
}

.prose-stack-pull {
    position: sticky;
    top: 100px;
    margin: 0;
    padding: 1.6rem 1.5rem;
    background: var(--cream);
    border-left: 3px solid var(--gold);
    border-radius: 6px;
}

.prose-stack-pull blockquote {
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.015em;
}

.pull-attribution {
    margin: 1rem 0 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.section-head {
    max-width: 64ch;
    margin: 0 0 clamp(1.6rem, 3vw, 2.5rem);
}

.section-head h2 {
    margin: 0.5rem 0 0;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.028em;
    color: var(--navy);
    font-variation-settings: 'opsz' 144;
}

.section-lede {
    margin: 1rem 0 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ink-muted);
    max-width: 62ch;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.eyebrow-on-dark { color: var(--gold); }

.timeline-section,
.formats-section,
.before-after-section,
.shifts-section,
.tech-section,
.outlook-section {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.timeline-section,
.before-after-section,
.tech-section {
    border-bottom: 1px solid var(--line);
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    counter-reset: era;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: 11px;
    width: 1px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--line) 100%);
}

.timeline-item {
    position: relative;
    padding: 0 0 2rem 3rem;
    counter-increment: era;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
    position: absolute;
    left: 0;
    top: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 4px var(--paper);
}

.timeline-marker::before {
    content: counter(era, decimal-leading-zero);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--gold-deep);
}

.timeline-item-pivot .timeline-marker {
    background: var(--gold);
    border-color: var(--gold);
}

.timeline-item-pivot .timeline-marker::before { color: var(--navy); }

.timeline-body { max-width: 70ch; }

.timeline-range {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.35rem;
}

.timeline-body h3 {
    margin: 0 0 0.55rem;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.timeline-body p {
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.7;
}

.timeline-body em { font-style: italic; color: var(--ink); }

.format-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.format-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.55rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.format-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.format-card header { display: flex; flex-direction: column; gap: 0.6rem; }

.format-tag {
    align-self: flex-start;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--cream);
    color: var(--gold-deep);
    border: 1px solid var(--gold-soft);
}

.format-card-virtual .format-tag { background: #e9efff; border-color: #c7d3ff; color: #2e3ea6; }
.format-card-hybrid .format-tag { background: #e8f5ef; border-color: #bde1cf; color: #1d6b46; }

.format-card h3 {
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.format-card p {
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.65;
    font-size: 0.96rem;
}

.format-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.format-card li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--ink);
    line-height: 1.5;
}

.format-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.compare-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.45rem;
    box-shadow: var(--shadow-sm);
}

.compare-card h3 {
    margin: 0 0 1.1rem;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.compare-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.compare-col {
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--cream);
}

.compare-col-now { background: var(--navy); color: rgba(255, 255, 255, 0.88); }

.compare-label {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.compare-col-now .compare-label { color: var(--gold); }

.compare-col p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: inherit;
}

.compare-col-then p { color: var(--ink-muted); }

.shifts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
}

.shift {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.25rem 1.25rem 1.3rem;
    box-shadow: var(--shadow-sm);
}

.shift dt {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.015em;
    color: var(--navy);
    margin-bottom: 0.55rem;
}

.shift dd {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.62;
    color: var(--ink-muted);
}

.tech-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    -webkit-overflow-scrolling: touch;
}

.tech-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.tech-table th,
.tech-table td {
    padding: 1rem 1.15rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line-soft);
}

.tech-table thead th {
    background: var(--cream);
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
}

.tech-table tbody tr:last-child td { border-bottom: 0; }

.tech-table tbody td:first-child {
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1rem;
}

.tech-table tbody td:nth-child(2) { color: var(--ink); }
.tech-table tbody td:nth-child(3) { color: var(--ink-muted); line-height: 1.6; }

.outlook-card {
    background: linear-gradient(135deg, #030b43 0%, #0a1764 55%, #060f56 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 4vw, 3rem);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.outlook-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 520px;
    height: 520px;
    background: radial-gradient(closest-side, rgba(216, 191, 112, 0.22), transparent 70%);
    pointer-events: none;
}

.outlook-card h2 {
    position: relative;
    margin: 0.5rem 0 0.95rem;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #fff;
    max-width: 22ch;
    font-variation-settings: 'opsz' 144;
}

.outlook-card p {
    position: relative;
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    max-width: 64ch;
}

.site-foot {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--line);
}

.site-foot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand-foot .brand-mark { filter: none; }
.brand-foot .brand-text-event { color: var(--navy); }
.brand-foot .brand-text-gavel { color: var(--gold-deep); }
.brand-foot .brand-text { font-size: 1.25rem; }

.site-foot p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.85rem;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (max-width: 1080px) {
    .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shifts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
    .nav-desktop { display: none; }
    .nav-trigger { display: inline-flex; align-items: center; justify-content: center; }

    .prose-stack { grid-template-columns: 1fr; gap: 1.6rem; }
    .prose-stack-pull { position: static; }

    .compare-grid { grid-template-columns: 1fr; }
}

@media (min-width: 881px) {
    .drawer-root { display: none; }
}

@media (max-width: 640px) {
    :root { --radius-lg: 18px; }

    body { font-size: 15.5px; }

    .masthead-row {
        width: min(calc(100% - 1rem), var(--max));
        min-height: 64px;
        gap: 0.75rem;
    }

    .brand-mark { height: 34px; width: 34px; }
    .brand-text { font-size: 1.38rem; }

    .page {
        width: min(calc(100% - 1rem), var(--max));
        padding-top: 2rem;
    }

    .pill { font-size: 0.68rem; padding: 0.38rem 0.7rem; }

    .hero-ticker {
        margin-top: 1.6rem;
        padding-top: 0.95rem;
        font-size: 0.72rem;
        gap: 0.4rem 0.7rem;
    }

    .dropcap::first-letter { font-size: 3.6rem; padding-right: 0.45rem; }

    .prose-stack-pull { padding: 1.2rem 1.15rem; }
    .prose-stack-pull blockquote { font-size: 1.2rem; }

    .format-grid,
    .shifts-grid { grid-template-columns: 1fr; }

    .format-card,
    .compare-card,
    .shift { padding: 1.15rem; }

    .compare-split { gap: 0.6rem; }
    .compare-col { padding: 0.85rem; }

    .tech-table { min-width: 540px; font-size: 0.88rem; }
    .tech-table th, .tech-table td { padding: 0.8rem 0.9rem; }

    .timeline-item { padding-left: 2.4rem; padding-bottom: 1.55rem; }
    .timeline::before { left: 9px; }
    .timeline-marker { width: 19px; height: 19px; }
    .timeline-marker::before { font-size: 0.54rem; }
}

@media (max-width: 380px) {
    .hero-title { font-size: 2.05rem; }
    .hero-deck { font-size: 0.98rem; }
    .brand-text { font-size: 1.22rem; }
    .brand-mark { height: 30px; width: 30px; }
}

@media (orientation: landscape) and (max-width: 900px) and (max-height: 520px) {
    .drawer {
        width: min(420px, 70%);
        padding: 0.8rem 1rem 1rem;
    }
    .drawer-head { padding-bottom: 0.6rem; }
    .drawer-nav a { padding: 0.7rem 0; font-size: 1.05rem; }
    .drawer-foot { padding-top: 0.6rem; }
    .drawer-foot p { font-size: 0.76rem; }

    .page { padding-top: 1.5rem; }
    .hero { padding-bottom: 1.6rem; }
    .timeline-section,
    .formats-section,
    .before-after-section,
    .shifts-section,
    .tech-section,
    .outlook-section { padding: 2rem 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
