

/* ===== CSS Variables (Design System) ===== */
:root {
    /* Colour Palette */
    --ink: #15201C;
    --stone: #E7E7DF;
    --verdigris: #1C6F5C;
    --amber: #C46A2B;
    --white: #FFFFFF;
    --light-gray: #F9F9F7;
    --medium-gray: #D4D4CE;
    --dark-gray: #4A4A45;

    /* Typography */
    --font-sans: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Newsreader", "Georgia", "Garamond", serif;
    --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

    /* Spacing */
    --spacing-unit: 1rem;
    --spacing-xs: calc(var(--spacing-unit) * 0.5);
    --spacing-sm: calc(var(--spacing-unit) * 1);
    --spacing-md: calc(var(--spacing-unit) * 1.5);
    --spacing-lg: calc(var(--spacing-unit) * 2.5);
    --spacing-xl: calc(var(--spacing-unit) * 4);
    --spacing-2xl: calc(var(--spacing-unit) * 6);

    /* Other */
    --border-radius: 6px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-serif);
    color: var(--ink);
    background-color: var(--white);
    line-height: 1.6;
}

main {
    min-height: 100vh;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: 1.1rem;
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

a {
    color: var(--verdigris);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

ul, ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-family: var(--font-sans);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--verdigris);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1a5d4f;
    color: var(--white);
}

.btn-secondary {
    background-color: var(--stone);
    color: var(--ink);
    border: 2px solid var(--ink);
}

.btn-secondary:hover {
    background-color: var(--ink);
    color: var(--stone);
}

/* ===== Header & Navigation ===== */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--medium-gray);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--spacing-md) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.nav-active {
    color: var(--verdigris);
    font-weight: 600;
}

.nav-cta {
    background-color: var(--verdigris);
    color: var(--white) !important;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius);
}

.nav-cta:hover {
    background-color: #1a5d4f;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-container {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

/* ===== Page Hero (About, Advisory, etc.) ===== */
.page-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-lg);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: var(--spacing-lg);
}

/* ===== Speaking Page ===== */

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.topic {
    background-color: var(--light-gray);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
}

.topic h3 {
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

/* ===== Contact Page ===== */

.inquiry-form {
    margin-top: var(--spacing-lg);
}

.form-note {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-top: var(--spacing-md);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--ink);
    color: var(--stone);
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-section a {
    color: var(--stone);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--verdigris);
}

.footer-section ul {
    list-style: none;
    margin-left: 0;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(231, 231, 223, 0.2);
    text-align: center;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2.5rem;
        --spacing-2xl: 3rem;
    }

    .nav-menu {
        gap: var(--spacing-sm);
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--spacing-md);
    }

    .hero,
    .page-hero {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    

}

/* ===== Print Styles ===== */
@media print {
    .header,
    .footer,
    .cta-footer {
        display: none;
    }

    body {
        background-color: var(--white);
    }
}

/* ============================================
   PORTRAIT / PHOTO
   ============================================ */
.hero-portrait {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(21, 32, 28, 0.28);
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* thin strata accent down the side of the photo */
.hero-portrait::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg,
        var(--verdigris) 0%,
        var(--verdigris) 22%,
        var(--amber) 22%,
        var(--amber) 40%,
        var(--stone) 40%,
        var(--stone) 62%,
        var(--ink) 62%,
        var(--ink) 100%);
    z-index: 2;
}

/* ============================================
   SPEAKING — selected reel + toggle archive
   ============================================ */
.roles-strip {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--verdigris);
    margin-bottom: var(--spacing-xl);
    line-height: 1.9;
}

.selected-group { margin-bottom: var(--spacing-lg); }

.selected-group h3 {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--amber);
    margin-bottom: var(--spacing-sm);
}

.selected-line {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-xs);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--medium-gray);
}

.selected-line .role {
    color: var(--dark-gray);
    font-style: italic;
}

.show-all-wrap { margin: var(--spacing-xl) 0; }

.show-all-btn {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    background: none;
    border: 1px solid var(--ink);
    color: var(--ink);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.show-all-btn:hover { background: var(--ink); color: var(--white); }

.full-archive { display: none; margin-top: var(--spacing-xl); }
.full-archive.open { display: block; }

.archive-group { margin-bottom: var(--spacing-2xl); }

.archive-group > h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--verdigris);
}

.archive-year { margin-bottom: var(--spacing-lg); }

.archive-year .yr {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--amber);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.archive-year ul { list-style: none; margin-left: 0; }

.archive-year li {
    padding-left: 1.1rem;
    position: relative;
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.archive-year li::before { content: "—"; position: absolute; left: 0; color: var(--verdigris); }
.archive-year li .role { color: var(--dark-gray); font-style: italic; }

/* ============================================
   SPEAKING GALLERY
   ============================================ */

.speaking-gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--spacing-md);
}
.speaking-gallery figure { margin: 0; border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 10px 30px rgba(21,32,28,0.18); }
.speaking-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }
@media (max-width: 700px) {
    .speaking-gallery { grid-template-columns: 1fr 1fr; }
    .speaking-gallery figure:first-child { grid-column: 1 / -1; }
}

/* From the field gallery */

.field-lede { color: var(--stone); max-width: 720px; margin-bottom: var(--spacing-xl); opacity: 0.9; }
.field-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: var(--spacing-sm);
}
.field-gallery figure { margin: 0; border-radius: var(--border-radius); overflow: hidden; }
.field-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.field-gallery figure:hover img { transform: scale(1.05); }
/* feature a couple of tiles larger */
.field-gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.field-gallery figure:nth-child(4) { grid-row: span 2; }
@media (max-width: 800px) {
    .field-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
    .field-gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .field-gallery figure:nth-child(4) { grid-row: span 1; }
}

/* ---- Design tokens (light) ---- */
.sc {
    --font-display: 'Zodiak', 'Newsreader', Georgia, serif;
    --font-body: 'Satoshi', 'Schibsted Grotesk', system-ui, sans-serif;

    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
    --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
    --text-2xl: clamp(2.1rem, 1.3rem + 3vw, 3.9rem);
    --text-hero: clamp(2.6rem, 1.2rem + 4.4vw, 4.6rem);

    --sec-y: clamp(3rem, 6vw, 5rem);
    --radius: 16px;
    --radius-lg: 28px;
    --radius-full: 9999px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --txn: 200ms cubic-bezier(0.16, 1, 0.3, 1);

    --home-bg: #F3F3EC;
    --surface: #FFFFFF;
    --text: var(--ink);
    --text-muted: #5f665c;
    --ring: rgba(21, 32, 28, 0.10);
    --accent: var(--verdigris);
    --accent-2: var(--amber);
    --on-accent: #FFFFFF;

    --shadow-sm: 0 1px 2px rgba(72, 61, 44, 0.08);
    --shadow-md: 0 12px 30px rgba(72, 61, 44, 0.12);
    --shadow-lg: 0 24px 70px rgba(72, 61, 44, 0.16);

    color: var(--text);
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 82% 3%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 34rem),
        var(--home-bg);
}

/* ---- Dark theme ---- */
[data-theme='dark'] .sc {
    --home-bg: #10140f;
    --surface: #171d17;
    --text: #f0eadc;
    --text-muted: #b3b6a9;
    --ring: rgba(240, 234, 220, 0.14);
    --accent: #8fc6aa;
    --accent-2: #d7a27b;
    --on-accent: #10140f;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.30);
    --shadow-md: 0 16px 38px rgba(0, 0, 0, 0.34);
    --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.48);
}

/* ---- Subtle background texture (grid + top glow) ---- */
.sc::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    background-image:
        linear-gradient(color-mix(in srgb, var(--text) 6%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--text) 6%, transparent) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 62%);
            mask-image: linear-gradient(to bottom, black, transparent 62%);
}

/* ---- Typography ---- */
.sc h1, .sc h2, .sc h3 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--text);
    text-wrap: balance;
}
.sc h1 { font-size: var(--text-hero); margin-bottom: 0; }
.sc h2 { font-size: var(--text-2xl); margin-bottom: 0; }
.sc h3 { font-size: var(--text-lg); }
.sc h4 { font-family: var(--font-body); }
.sc p, .sc li { text-wrap: pretty; }
.sc .accent { color: var(--accent); }

.sc ::selection { background: color-mix(in srgb, var(--accent) 26%, transparent); color: var(--text); }
.sc a:focus-visible, .sc button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 6px;
}

/* ---- Container ---- */
.sc .home-wrap {
    width: min(100% - 3rem, 1140px);
    margin-inline: auto;
    padding-block: var(--sec-y);
}
.sc .nav-container { max-width: 1140px; }

/* ---- Header: blur + hide-on-scroll ---- */
.sc .header {
    padding-block: 0.6rem;
    background: color-mix(in srgb, var(--home-bg) 82%, transparent);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ring);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.sc .nav-menu { align-items: center; }
.sc .header.header--hidden { transform: translateY(-100%); }
.sc .header.header--scrolled { box-shadow: var(--shadow-sm); }
.sc .logo-text { color: var(--text); font-family: var(--font-body); }
.sc .nav-menu a {
    color: var(--text-muted);
    font-family: var(--font-body);
    transition: color var(--txn);
}
.sc .nav-menu a:hover, .sc .nav-menu a.nav-active { color: var(--accent); font-weight: inherit; }
.sc .nav-cta { color: var(--on-accent) !important; background: var(--accent); }

/* theme toggle */
.sc .nav-menu li { margin-bottom: 0; }
.sc .theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    overflow: hidden;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--ring);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--txn), transform var(--txn);
}
.sc .theme-toggle:hover { transform: translateY(-1px); background: var(--surface); }
.sc .theme-toggle svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc .theme-toggle .icon-sun { display: none; }
[data-theme='dark'] .sc .theme-toggle .icon-sun { display: inline-block; }
[data-theme='dark'] .sc .theme-toggle .icon-moon { display: none; }

/* ---- Buttons: pill, warm shadow, lift ---- */
.sc .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: background var(--txn), color var(--txn), border-color var(--txn), box-shadow var(--txn), transform var(--txn);
}
.sc .btn-primary { background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); }
.sc .btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: color-mix(in srgb, var(--accent) 88%, #000); }
.sc .btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--ring); box-shadow: none; }
.sc .btn-secondary:hover { transform: translateY(-2px); background: var(--surface); border-color: color-mix(in srgb, var(--text) 24%, transparent); }

/* =================== HERO =================== */
.sc .hero-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding-top: clamp(2.5rem, 5vw, 4rem);
}
.sc .hero-kicker {
    display: block;
    color: var(--accent-2);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.sc .hero-v2 h1 { margin-bottom: 1.25rem; }
.sc .hero-v2 .lede {
    color: var(--text-muted);
    font-size: var(--text-lg);
    line-height: 1.45;
    max-width: 34rem;
    margin-bottom: 1.75rem;
}
.sc .btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.sc .hero-stats {
    display: flex;
    gap: 2.25rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--ring);
    padding-top: 1.5rem;
}
.sc .hero-stat { display: flex; flex-direction: column; gap: 0.15rem; }
.sc .hero-stat strong {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--text);
    line-height: 1;
}
.sc .hero-stat span { font-size: var(--text-sm); color: var(--text-muted); }

.sc .hero-v2-visual { display: flex; justify-content: center; }
.sc .hero-portrait { box-shadow: var(--shadow-lg); }
.sc .hero-portrait img { transition: transform 0.6s var(--ease); }
.sc .hero-portrait:hover img { transform: scale(1.05); }

/* =================== LOGO BAND =================== */
.sc .logos-v2 { text-align: center; }
.sc .eyebrow-center {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}
.sc .logo-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.75rem 2.5rem;
}
.sc .logo-grid img {
    height: 34px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    opacity: 0.65;
    filter: grayscale(1);
    transition: opacity var(--txn), filter var(--txn), transform var(--txn);
}
.sc .logo-grid img:hover { opacity: 1; filter: grayscale(0); transform: translateY(-3px); }
/* Dark mode: logos on light chips so every mark stays legible */
[data-theme='dark'] .sc .logo-grid img {
    filter: none;
    opacity: 0.92;
    background: #f0ede3;
    padding: 7px 13px;
    border-radius: 8px;
    box-sizing: content-box;
}
[data-theme='dark'] .sc .logo-grid img:hover { opacity: 1; transform: translateY(-3px); }

/* =================== SPLIT (sticky label + prose) =================== */
.sc .split {
    display: grid;
    grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2rem, 6vw, 5rem);
}
.sc .sticky-label { position: sticky; top: 100px; align-self: start; }
.sc .sticky-label h2 { font-size: var(--text-xl); }
.sc .prose {
    display: grid;
    gap: 1rem;
    max-width: 62ch;
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.7;
}
.sc .prose p { margin-bottom: 0; }

/* =================== SECTION HEADING =================== */
.sc .section-heading { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.sc .section-heading h2 { font-size: var(--text-xl); }

/* =================== BENTO CARDS =================== */
.sc .bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
}
.sc .bento-card {
    position: relative;
    display: block;
    padding: 1.9rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--txn), box-shadow var(--txn), border-color var(--txn);
}
.sc .bento-card::after {
    content: '';
    position: absolute;
    top: -34px;
    right: -34px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    opacity: 0.45;
    pointer-events: none;
}
.sc .bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
/* highlighted middle card */
.sc .bento-card:nth-child(2) {
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.sc .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--on-accent);
    margin-bottom: 1.25rem;
    transition: transform var(--txn), background var(--txn);
}
.sc .card-icon svg { width: 24px; height: 24px; }
.sc .bento-card:hover .card-icon { transform: scale(1.08) rotate(-4deg); background: var(--accent-2); }
.sc .bento-card h3 {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
}
.sc .bento-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.55;
    margin-bottom: 1.1rem;
}
.sc .card-link {
    color: var(--accent);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-sm);
    transition: color var(--txn);
}
.sc .bento-card:hover .card-link { color: var(--accent-2); }

/* =================== METRICS =================== */
.sc .metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}
.sc .metric {
    padding: 1.75rem 1.25rem;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--txn), box-shadow var(--txn);
}
.sc .metric:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.sc .metric strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.6rem;
}
.sc .metric p { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.5; margin: 0; }
.sc .center-cta { text-align: center; }

/* =================== CLOSING CTA PANEL =================== */
.sc .cta-section { padding-bottom: clamp(3rem, 7vw, 6rem); }
.sc .cta-panel {
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface));
    border: 1px solid var(--ring);
    box-shadow: var(--shadow-md);
}
.sc .strata-dot {
    display: block;
    width: 60px;
    height: 6px;
    margin: 0 auto 1.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent) 0 40%, var(--accent-2) 40% 72%, color-mix(in srgb, var(--text) 30%, transparent) 72% 100%);
}
.sc .cta-panel h2 { font-size: var(--text-xl); color: var(--text); margin-bottom: 1rem; }
.sc .cta-panel .btn-cta { background: var(--accent); color: var(--on-accent); padding: var(--spacing-sm) var(--spacing-lg); }
.sc .cta-panel .btn-cta:hover { background: var(--accent-2); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* =================== FOOTER (tighter) =================== */
.sc .footer { padding-block: clamp(2.25rem, 4vw, 3rem); }
.sc .footer-content { margin-bottom: var(--spacing-lg); }
.sc .footer-bottom { padding-top: var(--spacing-md); }

/* =================== SCROLL REVEAL (blur-in) =================== */
.js-anim .sc .reveal {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(14px);
    transition: opacity 0.7s var(--ease), filter 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-anim .sc .reveal.is-visible { opacity: 1; filter: blur(0); transform: none; }
/* stagger the bento cards as they appear */
.js-anim .sc .bento-card.reveal:nth-child(1) { transition-delay: 0ms; }
.js-anim .sc .bento-card.reveal:nth-child(2) { transition-delay: 90ms; }
.js-anim .sc .bento-card.reveal:nth-child(3) { transition-delay: 180ms; }

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
    .sc .hero-v2 { grid-template-columns: 1fr; }
    .sc .hero-v2-visual { order: -1; max-width: 300px; margin-inline: auto; }
    .sc .bento { grid-template-columns: 1fr; }
    .sc .bento-card:nth-child(2) { margin-top: 0; }
    .sc .metrics { grid-template-columns: repeat(2, 1fr); }
    .sc .split { grid-template-columns: 1fr; gap: 1.25rem; }
    .sc .sticky-label { position: static; }
}
@media (max-width: 520px) {
    .sc .metrics { grid-template-columns: 1fr; }
    .sc .btn-row { flex-direction: column; }
    .sc .btn-row .btn { width: 100%; }
    .sc .hero-stats { gap: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .js-anim .sc .reveal { opacity: 1; filter: none; transform: none; transition: none; }
    .sc .bento-card:hover,
    .sc .metric:hover,
    .sc .btn:hover,
    .sc .logo-grid img:hover,
    .sc .hero-portrait:hover img,
    .sc .bento-card:hover .card-icon,
    .sc .theme-toggle:hover { transform: none; }
    .sc .header { transition: none; }
}

/* =================== CROSS-PAGE FADE (View Transitions) =================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: sc-vt-out 0.2s ease; }
::view-transition-new(root) { animation: sc-vt-in 0.3s ease; }
@keyframes sc-vt-out { to { opacity: 0; } }
@keyframes sc-vt-in { from { opacity: 0; } }

/* Tighter section rhythm for inner pages (half the home spacing) */
.sc.page-tight { --sec-y: clamp(1.5rem, 3vw, 2.5rem); }

.sc .page-hero { text-align: left; padding-top: clamp(1rem, 2.5vw, 1.75rem); padding-bottom: 0; }
.sc .page-lede {
    color: var(--text-muted);
    font-size: var(--text-lg);
    line-height: 1.45;
    max-width: 42rem;
    margin-top: 1.1rem;
}

/* Story: photo + prose */
.sc .about-lead {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.sc .about-photo-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.sc .about-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.sc .about-photo-frame:hover img { transform: scale(1.05); }

/* Journey: marker list */
.sc .marker-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}
.sc .marker-list li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.sc .marker-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* Education / Languages: detail list */
.sc .detail-list { display: grid; }
.sc .detail-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.25rem 1.25rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--ring);
}
.sc .detail-item:first-child { padding-top: 0; }
.sc .detail-item:last-child { border-bottom: none; }
.sc .detail-item strong {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text);
    font-size: var(--text-base);
}
.sc .detail-item span { color: var(--text-muted); font-size: var(--text-sm); }

@media (max-width: 900px) {
    .sc .about-lead { grid-template-columns: 1fr; }
    .sc .about-photo-frame { max-width: 460px; }
    .sc .detail-item { justify-content: flex-start; gap: 0.15rem; flex-direction: column; }
}

/* ============================================================
   SERVICES PAGE  (uses the shared .sc design system)
   ============================================================ */
.sc .svc-block { border-top: 1px solid var(--ring); }
.sc .svc-head { max-width: 780px; margin-bottom: 1.75rem; }
.sc .svc-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 0.75rem;
}
.sc .svc-head h2 { font-size: var(--text-xl); margin-bottom: 0.75rem; }
.sc .svc-lede { color: var(--text-muted); font-size: var(--text-lg); line-height: 1.5; }
.sc .svc-tailored { color: var(--text-muted); font-size: var(--text-base); line-height: 1.6; max-width: 62ch; margin-top: 1.5rem; }

.sc .svc-body {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
.sc .svc-support h3,
.sc .svc-formats h3 {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* "Designed for" aside card */
.sc .svc-aside {
    background: var(--surface);
    border: 1px solid var(--ring);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}
.sc .svc-aside h3 {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.6rem;
}
.sc .svc-aside p { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.6; margin: 0; }

/* Engagement approaches */

@media (max-width: 820px) {
    .sc .svc-body { grid-template-columns: 1fr; }
    .sc .svc-aside { position: static; }
}

/* ============================================================
   PROJECTS PAGE  (uses the shared .sc design system)
   ============================================================ */
.sc .proj-card { border-top: 1px solid var(--ring); }
.sc .proj-head { max-width: 820px; margin-bottom: 1.5rem; }
.sc .proj-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 0.75rem;
}
.sc .proj-head h2 { font-size: var(--text-xl); margin-bottom: 0.6rem; }
.sc .proj-context { color: var(--text-muted); font-size: var(--text-lg); line-height: 1.5; }

.sc .proj-hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.75rem;
    max-height: 360px;
}
.sc .proj-hero-img img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.sc .proj-hero-img:hover img { transform: scale(1.04); }

.sc .proj-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
.sc .proj-work h3,
.sc .proj-side h3 {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.85rem;
}
.sc .proj-outcome {
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
    border: 1px solid var(--ring);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.4rem;
    margin-bottom: 1.5rem;
}
.sc .proj-outcome p { color: var(--text); font-size: var(--text-sm); line-height: 1.6; margin: 0; }
.sc .proj-skills-h { margin-top: 0; }
.sc .proj-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sc .proj-tag {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--ring);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
}

/* From the field — dark gallery panel */
.sc .field-panel {
    background: var(--ink);
    color: var(--stone);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow: var(--shadow-md);
}
.sc .field-panel h2 { color: #fff; margin-bottom: 0.75rem; }
.sc .field-lede { color: var(--stone); opacity: 0.85; max-width: 60ch; margin-bottom: 1.75rem; }
.sc .field-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: 0.75rem;
}
.sc .field-gallery figure { margin: 0; border-radius: 12px; overflow: hidden; }
.sc .field-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.sc .field-gallery figure:hover img { transform: scale(1.06); }
.sc .field-gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.sc .field-gallery figure:nth-child(4) { grid-row: span 2; }

@media (max-width: 820px) {
    .sc .proj-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .sc .field-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
    .sc .field-gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .sc .field-gallery figure:nth-child(4) { grid-row: span 1; }
}

/* ============================================================
   CONTACT PAGE  (uses the shared .sc design system)
   ============================================================ */
.sc .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}
.sc .contact-card,
.sc .aside-card {
    background: var(--surface);
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.5rem, 3vw, 2rem);
}
.sc .contact-card h2 { font-size: var(--text-xl); margin-bottom: 1.25rem; }
.sc .inquiry-form { display: grid; gap: 1rem; }
.sc .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sc .field { display: grid; gap: 0.4rem; }
.sc .field label { font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); color: var(--text); }
.sc .field input,
.sc .field select,
.sc .field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text);
    background: var(--home-bg);
    border: 1px solid var(--ring);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    transition: border-color var(--txn), box-shadow var(--txn);
}
.sc .field textarea { resize: vertical; min-height: 120px; }
.sc .field input:focus,
.sc .field select:focus,
.sc .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.sc .inquiry-form .btn { justify-self: start; margin-top: 0.25rem; }
.sc .form-note { color: var(--text-muted); font-size: var(--text-sm); margin: 0.25rem 0 0; }
.sc .contact-aside { display: grid; gap: 1.25rem; }
.sc .aside-card h2 { font-size: var(--text-lg); margin-bottom: 0.6rem; }
.sc .aside-card h3 {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.sc .aside-card p { color: var(--text-muted); margin-bottom: 1rem; }
.sc .aside-card p:last-child { margin-bottom: 0; }
.sc .aside-card .link { color: var(--accent); font-weight: 700; }
.sc .aside-card .link:hover { color: var(--accent-2); }

@media (max-width: 820px) {
    .sc .contact-grid { grid-template-columns: 1fr; }
    .sc .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   SPEAKING PAGE  (uses the shared .sc design system)
   ============================================================ */
.sc .speaking-gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1rem;
}
.sc .speaking-gallery figure {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.sc .speaking-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.sc .speaking-gallery figure:hover img { transform: scale(1.05); }

/* Topics */
.sc .topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.sc .topic {
    background: var(--surface);
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--txn), box-shadow var(--txn), border-color var(--txn);
}
.sc .topic:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.sc .topic h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.sc .topic p { color: var(--text-muted); font-size: var(--text-sm); margin: 0; }

/* Roles strip + selected reel */
.sc .roles-strip {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    letter-spacing: 0.03em;
    color: var(--accent);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}
.sc .selected-group { margin-bottom: 1.5rem; }
.sc .selected-group h3 {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-2);
    margin-bottom: 0.6rem;
}
.sc .selected-line {
    font-size: var(--text-base);
    line-height: 1.6;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--ring);
}
.sc .selected-line .role { color: var(--text-muted); font-style: italic; }

/* Show-all toggle */
.sc .show-all-wrap { margin: 1.5rem 0; }
.sc .show-all-btn {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-sm);
    background: transparent;
    border: 1px solid var(--ring);
    color: var(--text);
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--txn), transform var(--txn), box-shadow var(--txn);
}
.sc .show-all-btn:hover { background: var(--surface); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* Full archive */
.sc .full-archive { display: none; margin-top: 1.5rem; }
.sc .full-archive.open { display: block; }
.sc .archive-group { margin-bottom: 2rem; }
.sc .archive-group > h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 500;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}
.sc .archive-year { margin-bottom: 1.25rem; }
.sc .archive-year .yr {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent-2);
    margin-bottom: 0.4rem;
}
.sc .archive-year ul { list-style: none; margin: 0; padding: 0; }
.sc .archive-year li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.4rem;
    line-height: 1.5;
    color: var(--text);
}
.sc .archive-year li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.sc .archive-year li .role { color: var(--text-muted); font-style: italic; }

@media (max-width: 700px) {
    .sc .speaking-gallery { grid-template-columns: 1fr 1fr; }
    .sc .speaking-gallery figure:first-child { grid-column: 1 / -1; }
}
