/* ==========================================================================
   Raghav Sharma, personal site
   Concept: the editorial dossier. Ink, paper, one gilt accent.
   Hand-written, framework-free. Dark (ink) default + light (paper) theme.
   ========================================================================== */

/* ---- Design tokens -------------------------------------------------------- */
:root {
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    --container: 1080px;
    --radius: 3px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    /* Ink (dark, default) */
    --bg: #0c0d10;
    --bg-2: #0f1114;
    --surface: rgba(236, 230, 215, 0.025);
    --surface-2: rgba(236, 230, 215, 0.05);
    --border: rgba(236, 230, 215, 0.13);
    --border-strong: rgba(236, 230, 215, 0.26);
    --text: #eae6dc;
    --text-muted: #a39d8f;
    --text-faint: #767061;
    --accent: #d9ab5e;          /* gilt */
    --accent-contrast: #e5bd77; /* gilt, brighter for small text */
    --btn-bg: #d9ab5e;
    --btn-fg: #17130a;
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] {
    /* Paper */
    --bg: #f5f2ea;
    --bg-2: #efebe0;
    --surface: rgba(27, 24, 16, 0.02);
    --surface-2: rgba(27, 24, 16, 0.045);
    --border: rgba(27, 24, 16, 0.16);
    --border-strong: rgba(27, 24, 16, 0.34);
    --text: #1b1810;
    --text-muted: #575142;
    --text-faint: #7d7666;
    --accent: #8a5f14;
    --accent-contrast: #7c550f;
    --btn-bg: #1b1810;
    --btn-fg: #f5f2ea;
    --shadow: 0 24px 50px -30px rgba(27, 24, 16, 0.25);
}

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

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

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

::selection { background: var(--accent); color: var(--btn-fg); }
[data-theme="light"] ::selection { background: #1b1810; color: #f5f2ea; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 200;
    background: var(--accent);
    color: var(--btn-fg);
    padding: 0.6rem 1rem;
    font-weight: 600;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* Small-caps mono label, used everywhere annotations appear */
.eyebrow, .section-label, .hero-trust, .exhibit-tag, .cred-tag, .cta-note,
.ledger-when span, .file-line {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ---- Buttons: rectangular, letterpress-stamp feel ------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.9em 1.6em;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease),
                border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.7em 1.2em; font-size: 0.7rem; }

.btn-primary {
    background: var(--btn-bg);
    color: var(--btn-fg);
    border-color: var(--btn-bg);
}
.btn-primary:hover { box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--btn-bg) 60%, transparent); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-contrast); }

/* ---- Header / nav --------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg); /* fallback for browsers without color-mix */
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: var(--container);
    margin-inline: auto;
    padding: 0.8rem clamp(1.25rem, 4vw, 2.5rem);
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand img { border-radius: 50%; border: 1px solid var(--border); }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; letter-spacing: 0; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu > li > a {
    display: inline-block;
    padding: 0.45rem 0.65rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.2s var(--ease);
}
.nav-num {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--accent-contrast);
    margin-right: 0.4em;
    letter-spacing: 0.05em;
}
.nav-menu > li > a:hover { color: var(--text); }
.nav-menu > li > a.current {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
}

.nav-actions { display: inline-flex; align-items: center; gap: 0.6rem; margin-left: 0.5rem; }

.theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-contrast); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: transparent;
    cursor: pointer;
}
.nav-toggle-bar { width: 16px; height: 1.5px; background: var(--text); margin-inline: auto; transition: transform 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* ---- Cover / hero ---------------------------------------------------------- */
.hero {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
    background:
        radial-gradient(52% 44% at 78% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%),
        var(--bg);
}

.file-line {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    color: var(--text-faint);
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.file-line-rule { flex: 1; height: 1px; background: var(--border); }

.hero-inner { max-width: 860px; }

.eyebrow { color: var(--accent-contrast); display: inline-block; margin-bottom: 1.4rem; }

.hero-title {
    font-size: clamp(3rem, 8.5vw, 5.9rem);
    margin-bottom: 1.6rem;
    letter-spacing: -0.02em;
}
.hero-title em, .section-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent-contrast);
}

.hero-lead {
    font-size: clamp(1.08rem, 1.9vw, 1.32rem);
    color: var(--text-muted);
    max-width: 56ch;
    margin-bottom: 2rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 2rem;
    list-style: none;
    margin: 0 0 2.2rem;
    padding: 0;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-meta svg { color: var(--accent); flex-shrink: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 3.2rem; }

.hero-trust { color: var(--text-faint); margin-bottom: 1rem; }
.hero-orgs { border-top: 1px solid var(--border); padding-top: 1.6rem; }
.hero-logos {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.8rem 2.6rem;
    list-style: none; margin: 0; padding: 0;
}
.hero-logos li {
    font-weight: 600; /* Inter 700 isn't loaded; 600 avoids faux-bold synthesis */
    font-size: clamp(1.1rem, 2.4vw, 1.4rem);
    letter-spacing: -0.02em;
    color: var(--text-faint);
    transition: color 0.3s var(--ease);
    cursor: default;
}
.brand-accenture:hover { color: #a100ff; }
.brand-vodafone:hover { color: #e60000; }
.brand-intel:hover { color: #0071c5; }

/* ---- Sections -------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; scroll-margin-top: 72px; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }

/* Numbered section header: 02 [rule line] EVIDENCE */
.section-head {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: clamp(2.2rem, 5vw, 3.4rem);
}
.section-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--accent-contrast);
    line-height: 1;
}
.section-rule { flex: 1; height: 1px; background: var(--border); }
.section-label { color: var(--text-faint); }

.section-title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.section-sub { color: var(--text-muted); margin-top: 1rem; max-width: 58ch; font-size: 1.05rem; }
.section-intro { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }

.prose { color: var(--text-muted); margin-bottom: 1.15rem; }
.prose:last-child { margin-bottom: 0; }

/* ---- 01 · Position --------------------------------------------------------- */
.position-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.position-grid .section-title { margin-bottom: 1.5rem; }

.prose-opening::first-letter {
    font-family: var(--font-display);
    font-size: 3.4em;
    font-weight: 500;
    float: left;
    line-height: 0.82;
    padding: 0.06em 0.14em 0 0;
    color: var(--accent-contrast);
}

.facts {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 1.6rem;
}
.facts dl { margin: 0; display: grid; gap: 1.05rem; }
.fact dt {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 0.3rem;
}
.fact dd { margin: 0; font-weight: 500; color: var(--text); font-size: 0.96rem; }
.fact + .fact { border-top: 1px solid var(--border); padding-top: 1.05rem; }

/* ---- 02 · Evidence ---------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--surface-2); }
.card-num {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--accent-contrast);
    margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.16rem; margin-bottom: 0.55rem; }
.card p { color: var(--text-muted); font-size: 0.94rem; }

/* Exhibits: mounted photographs with mono captions */
.exhibits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.exhibit { margin: 0; }
.exhibit-frame {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 0.55rem;
    overflow: hidden;
    transition: border-color 0.25s var(--ease);
}
.exhibit-frame img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    border-radius: 2px;
    transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.exhibit:hover .exhibit-frame { border-color: var(--border-strong); }
.exhibit:hover .exhibit-frame img { transform: scale(1.025); }

.exhibit-trigger {
    position: absolute; inset: 0; z-index: 2;
    border: 0; padding: 0; margin: 0;
    background: transparent; cursor: zoom-in;
}
.exhibit-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }

.exhibit figcaption {
    margin-top: 0.8rem;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.exhibit-tag { display: block; color: var(--accent-contrast); margin-bottom: 0.25rem; }

/* ---- 03 · Record: the ledger ------------------------------------------------ */
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: clamp(1.2rem, 3vw, 2.5rem);
    border-top: 1px solid var(--border);
    padding: clamp(1.8rem, 4vw, 2.6rem) 0;
}
.ledger-row:last-child { border-bottom: 1px solid var(--border); }
.ledger-when span { color: var(--accent-contrast); }
.ledger-body { min-width: 0; }

.role-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.9rem;
    margin-bottom: 0.9rem;
}
.role-title { font-size: 1.45rem; }
.role-org { font-weight: 600; font-size: 0.98rem; color: var(--text); }
.role-org::before { content: "· "; color: var(--text-faint); font-weight: 400; }
.role-loc { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--text-faint); }

.role-points { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.role-points li { position: relative; padding-left: 1.6rem; color: var(--text-muted); font-size: 0.96rem; }
.role-points li::before {
    content: "";
    position: absolute; left: 0; top: 0.72em;
    width: 14px; height: 1px;
    background: var(--accent);
}

/* ---- 04 · Method: principles ------------------------------------------------ */
.principles { list-style: none; margin: 0; padding: 0; }
.principle {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.2rem;
    align-items: start;
    border-top: 1px solid var(--border);
    padding: 1.7rem 0;
}
.principle:last-child { border-bottom: 1px solid var(--border); }
.principle-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--accent-contrast);
}
.principle h3 { font-size: 1.32rem; margin-bottom: 0.45rem; }
.principle p { color: var(--text-muted); max-width: 62ch; }

/* ---- 05 · Credentials -------------------------------------------------------- */
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.cred-card {
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 1.5rem;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cred-card:hover { transform: translateY(-3px); border-color: var(--border-strong); border-top-color: var(--accent); }
.cred-tag { display: block; color: var(--text-faint); margin-bottom: 0.9rem; }
.cred-card h3 { font-size: 1.14rem; line-height: 1.3; margin-bottom: 0.35rem; }
.cred-card > p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.cred-meta { display: grid; gap: 0.55rem; margin: 0; }
.cred-meta div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); padding-top: 0.55rem; }
.cred-meta dt { color: var(--text-faint); font-size: 0.8rem; }
.cred-meta dd { margin: 0; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; }

/* ---- 06 · Contact ------------------------------------------------------------ */
.section-cta .cta-inner { max-width: 680px; margin-inline: auto; text-align: center; }
.section-cta .section-sub { margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 2.2rem; }
.cta-note { color: var(--text-faint); margin-top: 2rem; }

/* ---- Footer ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--border); padding: 2.2rem 0; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: center; text-align: center; }
.copyright { color: var(--text-muted); font-size: 0.88rem; }

/* ---- Lightbox (native <dialog>) ---------------------------------------------- */
.lightbox {
    margin: auto;
    max-width: min(92vw, 1080px);
    max-height: 92vh;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
    color: #f5f2ea;
}
.lightbox::backdrop {
    background: rgba(8, 8, 10, 0.86);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.lightbox[open] { animation: lb-in 0.28s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.lightbox-figure img {
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    border-radius: 3px;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.lightbox-figure figcaption {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: rgba(245, 242, 234, 0.85);
    text-align: center;
}
.lightbox-close {
    position: absolute;
    top: -3.1rem; right: 0;
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: var(--radius);
    border: 1px solid rgba(245, 242, 234, 0.25);
    background: rgba(245, 242, 234, 0.06);
    color: #f5f2ea;
    cursor: pointer;
    transition: background 0.2s var(--ease);
}
.lightbox-close:hover { background: rgba(245, 242, 234, 0.16); }
.lightbox-close:focus-visible { outline: 2px solid #d9ab5e; outline-offset: 2px; }
@media (max-width: 600px) {
    .lightbox-close { top: 0.4rem; right: 0.4rem; background: rgba(8, 8, 10, 0.6); }
}

/* ---- Reveal on scroll --------------------------------------------------------- */
/* Only hide initially when JS is available, so no-JS users still see content. */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* Section rules draw themselves in as they arrive */
html.js .reveal .section-rule,
html.js .reveal .file-line-rule { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) 0.2s; }
html.js .reveal.is-visible .section-rule,
html.js .reveal.is-visible .file-line-rule { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
    html.js .reveal { opacity: 1; transform: none; }
    html.js .reveal .section-rule,
    html.js .reveal .file-line-rule { transform: none; }
}

/* ---- Responsive ---------------------------------------------------------------- */
@media (max-width: 980px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .cred-grid { grid-template-columns: 1fr; }
    .position-grid { grid-template-columns: 1fr; }
    .exhibits { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }

    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        inset: 66px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.4rem;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    }
    .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
    .nav-menu > li > a { display: block; padding: 0.7rem 0.25rem; font-size: 1rem; }
    .nav-actions { margin: 0.7rem 0 0; justify-content: space-between; }
    .nav-actions .btn { flex: 1; padding-block: 1em; }
    .theme-toggle { width: 44px; height: 44px; }

    .exhibits { grid-template-columns: 1fr; }
    .hero-actions .btn { flex: 1 1 auto; }

    .ledger-row { grid-template-columns: 1fr; gap: 0.6rem; }
    .principle { grid-template-columns: 44px 1fr; gap: 0.9rem; }
}

@media (max-width: 520px) {
    .cards { grid-template-columns: 1fr; }
    .file-line span:last-child { display: none; }
}

/* ---- Print: the file, printed -------------------------------------------------- */
@media print {
    :root, [data-theme="dark"], [data-theme="light"] {
        --bg: #fff; --bg-2: #fff;
        --surface: #fff; --surface-2: #fff;
        --border: #d5d2c8; --border-strong: #b9b5a8;
        --text: #111; --text-muted: #333; --text-faint: #555;
        --accent: #111; --accent-contrast: #111;
        --btn-bg: #111; --btn-fg: #fff;
        --shadow: none;
    }
    body { font-size: 11pt; background: #fff; color: #111; }
    .site-header, .nav-toggle, .theme-toggle, .hero-actions, .cta-actions,
    .exhibit-trigger, .skip-link, .lightbox { display: none !important; }
    .hero, .section { padding: 1.2rem 0; background: #fff; }
    .section-alt { border: 0; }
    html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    html.js .reveal .section-rule, html.js .reveal .file-line-rule { transform: none !important; }
    .card, .cred-card, .facts, .exhibit, .ledger-row, .principle { break-inside: avoid; }
    .exhibits { grid-template-columns: repeat(3, 1fr); }
    a[href^="http"]::after, a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #555; }
    .hero-logos li, .role-org { color: #111; }
}
