/* ==========================================================================
   Adventis — editorial monochrome design system
   Near-black canvas, hairline structure, Syne display over Inter body,
   mint reserved for the mark, the primary action and one highlighted clause.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts — self-hosted variable woff2, subset by unicode-range
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                   U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                   U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/syne-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/syne-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                   U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                   U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
    --bg:        #070707;   /* outside the frame */
    --panel:     #0c0c0c;   /* inside the frame */
    --surface:   #121212;   /* cards, inputs */
    --surface-2: #171717;

    --hair:        rgba(255, 255, 255, 0.08);
    --hair-strong: rgba(255, 255, 255, 0.16);

    --text:  #f4f4f4;
    --muted: #9c9c9c;
    --dim:   #7c7c7c;   /* labels; 4.7:1 on --panel */

    --mint:        #88e4be;
    --mint-bright: #a3f0ce;
    --mint-ink:    #061410;

    --font-display: 'Syne', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container-max: 1180px;
    --frame-gap: 12px;
    --radius-frame: 24px;
    --radius: 16px;
    --radius-sm: 10px;

    --section-pad: clamp(4rem, 8vw, 6.5rem);
}
@media (min-width: 900px) { :root { --frame-gap: 16px; } }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    padding: var(--frame-gap);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* The whole site sits inside one bordered, rounded canvas.
   overflow: clip (not hidden) keeps the sticky header working. */
.frame {
    position: relative;
    min-height: calc(100vh - 2 * var(--frame-gap));
    background: var(--panel);
    border: 1px solid var(--hair);
    border-radius: var(--radius-frame);
    overflow: clip;
}

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

a { color: var(--text); text-decoration: none; transition: color .18s ease, opacity .18s ease; }
a:hover { color: #fff; }

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
    hyphens: manual;
}
p { margin: 0 0 1.1rem; color: var(--muted); text-wrap: pretty; }

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

/* Two-tone headline helpers */
.dim { color: var(--muted); font-weight: 400; }
.hl  { color: var(--mint); }

/* Small labels */
.label {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 1.1rem;
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--dim);
}
.label::before {
    content: "";
    width: 18px; height: 1px;
    background: var(--hair-strong);
}

/* Section header: left-aligned, optional link on the right */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); max-width: 26ch; margin: 0; text-wrap: balance; }
.section-head .label { margin-bottom: .9rem; }
.section-head > a { flex-shrink: 0; padding-bottom: .25rem; }

/* --------------------------------------------------------------------------
   Buttons — pills
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .78rem 1.45rem;
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 500;
    letter-spacing: .01em;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn-primary { background: var(--mint); color: var(--mint-ink); }
.btn-primary:hover { background: var(--mint-bright); color: var(--mint-ink); transform: translateY(-1px); }
.btn-secondary { background: transparent; border-color: var(--hair-strong); color: var(--text); }
.btn-secondary:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: #fff; }
.btn-large { padding: .95rem 1.8rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.05rem; font-size: .84rem; }
.btn .chev { font-size: .85em; opacity: .8; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 500;
    color: var(--text);
}
.link-arrow::after { content: "→"; transition: transform .2s ease; color: var(--muted); }
.link-arrow:hover { color: #fff; }
.link-arrow:hover::after { transform: translateX(4px); color: #fff; }
.link-arrow-back { font-family: var(--font-display); font-size: .92rem; color: var(--muted); }
.link-arrow-back:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Focus, skip link, utilities
   -------------------------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; }

.skip-link {
    position: absolute;
    left: 50%; top: 0;
    transform: translate(-50%, -140%);
    z-index: 300;
    padding: .7rem 1.2rem;
    background: var(--surface-2);
    border: 1px solid var(--hair-strong);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    color: var(--text);
    font-weight: 600;
    transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--text); }

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Header — floating pill
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: var(--frame-gap);
    z-index: 100;
    padding: 12px clamp(1rem, 3vw, 1.5rem) 0;
}
.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 58px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 .55rem 0 1.15rem;
    border-radius: 999px;
    background: rgba(14, 14, 14, .78);
    border: 1px solid var(--hair);
    backdrop-filter: saturate(140%) blur(16px);
    -webkit-backdrop-filter: saturate(140%) blur(16px);
    transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled .nav { border-color: var(--hair-strong); background: rgba(14, 14, 14, .9); }

.logo { display: flex; align-items: center; gap: .55rem; }
.logo-img { height: 30px; width: auto; }
.logo .wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: -0.01em;
    color: #fff;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .1rem;
    margin: 0;
    padding: 0;
}
.nav-menu > li > a {
    display: inline-block;
    white-space: nowrap;
    padding: .45rem .8rem;
    font-family: var(--font-display);
    font-size: .86rem;
    font-weight: 500;
    color: var(--muted);
    border-radius: 999px;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: #fff; }

.nav-right { display: flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.nav-menu .lang-switch { display: none; }
.lang-switch { display: flex; align-items: center; gap: .1rem; }
.lang-switch a {
    padding: .35rem .5rem;
    font-family: var(--font-display);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--dim);
    border-radius: 999px;
}
.lang-switch a.active, .lang-switch a:hover { color: #fff; }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; border-radius: 999px;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Textures — dot field and perspective floor, pure CSS
   -------------------------------------------------------------------------- */
.tex-dots::before {
    content: "";
    position: absolute; inset: 0 0 auto 0; height: 62%;
    background-image: radial-gradient(rgba(255,255,255,.22) .8px, transparent 1.2px);
    background-size: 14px 14px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.tex-floor::after {
    content: "";
    position: absolute; left: -20%; right: -20%; bottom: -1px; height: 46%;
    background-image:
        linear-gradient(var(--hair-strong) 1px, transparent 1px),
        linear-gradient(90deg, var(--hair-strong) 1px, transparent 1px);
    background-size: 100% 44px, 64px 100%;
    transform: perspective(520px) rotateX(58deg);
    transform-origin: 50% 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 100%);
    opacity: .7;
    pointer-events: none;
    z-index: 0;
}

/* Dotted dome — the monochrome set piece */
.dome {
    position: relative;
    aspect-ratio: 1;
    width: min(100%, 420px);
    margin: 0 auto;
    border-radius: 50%;
    background-image:
        radial-gradient(circle at 42% 38%, rgba(255,255,255,.95) 0 1px, transparent 1.6px);
    background-size: 12px 12px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0 61%, transparent 62%);
    mask-image: radial-gradient(circle at 50% 50%, #000 0 61%, transparent 62%);
}
.dome::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 34%, rgba(12,12,12,0) 0%, rgba(12,12,12,.55) 55%, rgba(12,12,12,.92) 100%);
}
.dome::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, transparent 58%, var(--panel) 62%);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    text-align: center;
    padding: clamp(5rem, 11vw, 8.5rem) 0 clamp(6rem, 12vw, 9rem);
    overflow: hidden;
    border-bottom: 1px solid var(--hair);
}
.hero .container { position: relative; z-index: 1; }
.hero-label {
    display: inline-block;
    max-width: 100%;
    line-height: 1.5;
    margin-bottom: 1.6rem;
    padding: .38rem .9rem;
    font-family: var(--font-display);
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--hair);
    border-radius: 999px;
    background: rgba(255,255,255,.02);
}
.hero h1 {
    max-width: 30ch;
    text-wrap: balance;
    margin: 0 auto 1.4rem;
    font-size: clamp(2.5rem, 5.6vw, 4.2rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.025em;
}
.hero h1 .hero-eyebrow { display: block; color: #fff; }
.hero h1 .hl { display: block; }
.hero-subtitle {
    max-width: 66ch;
    text-wrap: balance;
    margin: 0 auto 2.2rem;
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: var(--muted);
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }

/* --------------------------------------------------------------------------
   Sections & hairline grids
   -------------------------------------------------------------------------- */
.section { position: relative; padding: var(--section-pad) 0; }
.section + .section, .section.hair-top { border-top: 1px solid var(--hair); }

/* Numbered strip: hairline columns with 01, 02, 03 … */
.strip {
    counter-reset: strip;
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
}
.strip > * {
    counter-increment: strip;
    padding: 2.1rem 1.7rem 2.3rem;
    border-left: 1px solid var(--hair);
}
.strip > :first-child { border-left: 0; }
.strip .num, .step .num {
    display: block;
    margin-bottom: 1.4rem;
    font-family: var(--font-display);
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .14em;
    color: var(--dim);
}
.strip .num::before { content: counter(strip, decimal-leading-zero); }
.strip h3, .cell h3 { font-size: 1.08rem; margin-bottom: .55rem; }
.strip p, .cell p { font-size: .95rem; margin: 0; }
.strip-hero { margin-top: 0; border-top: 0; }

/* Cell grid: hairline-divided cards without backgrounds */
.cells {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 0;
    border-top: 1px solid var(--hair);
}
.cell {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.8rem 2.2rem;
    border-right: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    transition: background .2s ease;
}
[data-cols="4"] { --cols: 4; }
[data-cols="3"] { --cols: 3; }
[data-cols="2"] { --cols: 2; }
[data-cols="4"] > .cell:nth-child(4n) { border-right: 0; }
[data-cols="3"] > .cell:nth-child(3n) { border-right: 0; }
[data-cols="2"] > .cell:nth-child(2n) { border-right: 0; }
a.cell:hover { background: rgba(255,255,255,.03); color: inherit; }
.cell .icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem;
    border: 1px solid var(--hair-strong);
    border-radius: 12px;
    color: var(--text);
}
.cell .icon svg { width: 18px; height: 18px; }
.cell .label { margin-bottom: .8rem; }
.cell .link-arrow { margin-top: auto; padding-top: 1.2rem; }
.cell time {
    display: block;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dim);
}

/* Split layout: text + visual / list */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
.split h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.split .link-arrow { margin-top: .4rem; }
.split-top { align-items: start; }

/* Hairline row list (Parlo's icon lists) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.rows li {
    display: flex; align-items: center; gap: .9rem;
    padding: .95rem .2rem;
    border-bottom: 1px solid var(--hair);
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 500;
    color: var(--text);
}
.rows li::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--mint);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
    position: relative;
    text-align: center;
    padding: clamp(5rem, 10vw, 8rem) 0 clamp(6rem, 12vw, 9rem);
    border-top: 1px solid var(--hair);
    overflow: hidden;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
    max-width: 24ch;
    text-wrap: balance;
    margin: 0 auto 1rem;
    font-size: clamp(2rem, 4.4vw, 3.3rem);
    font-weight: 400;
    line-height: 1.05;
}
.cta-band p { max-width: 60ch; margin: 0 auto 2rem; text-wrap: balance; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }

/* --------------------------------------------------------------------------
   Inner page header
   -------------------------------------------------------------------------- */
.page-header {
    position: relative;
    text-align: center;
    padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(2.8rem, 5vw, 4rem);
    overflow: hidden;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
    max-width: 24ch;
    text-wrap: balance;
    margin: 0 auto .9rem;
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 400;
    letter-spacing: -0.025em;
}
.page-header p { max-width: 64ch; margin: 0 auto; font-size: 1.05rem; text-wrap: balance; }
.page-header .insight-date {
    display: block;
    margin-bottom: 1.2rem;
    font-family: var(--font-display);
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dim);
}
.page-header-article h1 { max-width: 30ch; font-size: clamp(2rem, 4.2vw, 3.1rem); text-wrap: balance; }

/* --------------------------------------------------------------------------
   Prose, with optional sticky page index
   -------------------------------------------------------------------------- */
.prose {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.06rem;
    line-height: 1.75;
    color: var(--muted);
}
.prose > *:first-child { margin-top: 0; }
.prose h2 {
    margin: 2.6rem 0 1rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--hair);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    scroll-margin-top: 110px;
}
.prose h2:first-child { padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.8rem 0 .7rem; }
.prose p { margin: 0 0 1.25rem; }
.prose ul, .prose ol { margin: 0 0 1.35rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .55rem; }
.prose li::marker { color: var(--dim); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hair-strong); }
.prose a:hover { text-decoration-color: #fff; }
.prose blockquote {
    margin: 1.6rem 0;
    padding: .4rem 0 .4rem 1.4rem;
    border-left: 1px solid var(--hair-strong);
    color: var(--text);
    font-style: italic;
}
.prose code {
    background: var(--surface);
    border: 1px solid var(--hair);
    border-radius: 5px;
    padding: .12em .4em;
    font-size: .9em;
}

/* Insight photos: black and white, dimmed to sit on the black canvas */
.insight-media {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--hair);
}
.insight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.1) brightness(.72);
    transition: filter .4s ease, transform .6s ease;
}
.cell-media { margin: -.4rem 0 1.4rem; border-radius: 10px; }
a.cell:hover .cell-media img { filter: grayscale(1) contrast(1.1) brightness(.85); transform: scale(1.02); }
.article-media {
    max-width: 700px;
    margin: 0 auto clamp(1.8rem, 4vw, 2.5rem);
    aspect-ratio: 21 / 9;
    border-radius: 12px;
}
.article-media img { filter: grayscale(1) contrast(1.05) brightness(.62); }
.prose-media {
    margin: 2.2rem 0 2.6rem;
    aspect-ratio: 21 / 9;
    border-radius: 12px;
}
.prose-media img { filter: grayscale(1) contrast(1.05) brightness(.62); }
.photo-credit {
    position: absolute;
    right: .8rem;
    bottom: .6rem;
    font-size: .72rem;
    color: var(--muted);
    opacity: 0;
    transition: opacity .3s ease;
}
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.insight-media:hover .photo-credit,
.insight-media:focus-within .photo-credit { opacity: 1; }
@media (hover: none) { .photo-credit { opacity: .8; } }

.article-section { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--hair); }
.article-back { max-width: 700px; margin: 2.5rem auto 0; }

/* Indexed page: sticky list of sections on the left */
.indexed {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
.indexed .prose { margin: 0; max-width: 700px; }
.page-index { position: sticky; top: 96px; }
.page-index .label { margin-bottom: 1rem; }
.page-index ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--hair); }
.page-index a {
    display: block;
    padding: .45rem 0 .45rem 1rem;
    margin-left: -1px;
    border-left: 1px solid transparent;
    font-family: var(--font-display);
    font-size: .88rem;
    font-weight: 500;
    color: var(--dim);
    transition: color .18s ease, border-color .18s ease;
}
.page-index a:hover { color: var(--text); }
.page-index a.is-active { color: #fff; border-left-color: #fff; }

/* --------------------------------------------------------------------------
   Steps (process), FAQ, contact
   -------------------------------------------------------------------------- */
.step .num::before { content: attr(data-num); }

.faq {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.faq-side { position: sticky; top: 96px; }
.faq-side h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin: 0; }
.faq-list { border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: 1.15rem 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--hair-strong);
    border-radius: 50%;
    font-size: 1rem;
    color: var(--muted);
    transition: transform .2s ease, color .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: #fff; }
.faq-a { padding: 0 0 1.3rem; color: var(--muted); max-width: 60ch; }

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
.contact-info h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.contact-details { margin-top: 1.5rem; border-top: 1px solid var(--hair); }
.contact-item {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--hair);
}
.contact-item svg { color: var(--muted); flex-shrink: 0; margin-top: 3px; }
.contact-item strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--text); margin-bottom: .15rem; }
.contact-item a { color: var(--muted); }
.contact-item a:hover { color: #fff; }
.contact-expect { margin-top: 2rem; }
.contact-expect h3 { font-size: 1rem; margin-bottom: .5rem; }
.contact-expect p { font-size: .95rem; }

.contact-form {
    background: var(--surface);
    border: 1px solid var(--hair);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.2rem);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block; margin-bottom: .5rem;
    font-family: var(--font-display);
    font-size: .84rem; font-weight: 500; color: var(--text);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: .82rem 1rem;
    background: var(--panel);
    border: 1px solid var(--hair-strong);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--dim); }
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,.4);
    box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}
.contact-form .btn { width: 100%; }
.form-sent { text-align: center; padding: 1.5rem 0; }
.form-sent h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.form-sent p { margin-bottom: 1.4rem; }
.form-sent:focus { outline: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--hair); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2.5rem;
}
.footer-brand p { max-width: 30ch; font-size: .95rem; margin: 1rem 0 0; }
.footer-brand .logo-img { height: 26px; }
.footer-brand .wordmark { font-size: 1rem; }
.group-badge {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-top: 1.6rem;
    color: var(--muted);
    transition: color .2s ease;
}
.group-badge:hover { color: #fff; }
.group-badge .mark { width: 28px; height: 28px; flex: none; }
.group-badge span {
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    line-height: 1.3;
}
.group-badge small {
    display: block;
    font-size: .64rem;
    font-weight: 500;
    color: var(--dim);
}
.site-footer h4 {
    margin: 0 0 1rem;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--dim);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer li, .site-footer li a { font-size: .95rem; color: var(--muted); }
.site-footer li a:hover { color: #fff; }
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-top: 1.4rem;
    border-top: 1px solid var(--hair);
}
.footer-bottom p { margin: 0; font-size: .84rem; color: var(--dim); }
.footer-bottom .lang-switch a { font-size: .78rem; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.not-found { position: relative; text-align: center; padding: clamp(5rem, 14vw, 10rem) 0 clamp(5rem, 12vw, 8rem); overflow: hidden; }
.not-found .container { position: relative; z-index: 1; }
.not-found-code {
    margin: 0 0 .6rem;
    font-family: var(--font-display);
    font-size: clamp(5rem, 16vw, 10rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--dim);
}
.not-found h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .8rem; }
.not-found > .container > p { max-width: 34rem; margin-left: auto; margin-right: auto; }
.not-found-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
    .cells[data-cols], .strip[data-cols] { --cols: 2; }
    .cells > .cell { border-right: 1px solid var(--hair); }
    .cells > .cell:nth-child(2n) { border-right: 0; }
    .cells > .cell:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
    .strip > :nth-child(2n+1) { border-left: 0; }
    .strip > :nth-child(n+3) { border-top: 1px solid var(--hair); }
    .strip.strip-4 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .strip.strip-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .indexed { grid-template-columns: minmax(0, 1fr); }
    .page-index { position: static; }
    .page-index ol { display: flex; flex-wrap: wrap; gap: .2rem .4rem; border-left: 0; border-bottom: 1px solid var(--hair); padding-bottom: .6rem; }
    .page-index a { border-left: 0; margin-left: 0; padding: .35rem .7rem; border: 1px solid var(--hair); border-radius: 999px; font-size: .8rem; }
    .page-index a.is-active { border-color: #fff; }
}

@media (max-width: 960px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: absolute; left: 0; right: 0; top: calc(100% + 8px);
        display: none;
        flex-direction: column; align-items: stretch;
        padding: .6rem;
        background: rgba(14,14,14,.96);
        border: 1px solid var(--hair-strong);
        border-radius: 20px;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    .nav-menu.active { display: flex; }
    .nav-menu > li > a { padding: .75rem .9rem; font-size: .95rem; }
    .nav-menu .lang-switch { display: flex; margin: .3rem .3rem 0; padding: .6rem 0 0; border-top: 1px solid var(--hair); }
    .nav-right .lang-switch { display: none; }
    .split, .faq, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .faq-side { position: static; }
    .split .dome { order: -1; width: min(70%, 320px); }
    .section-head { flex-direction: column; align-items: flex-start; gap: .8rem; }
}

@media (max-width: 600px) {
    .cells[data-cols], .strip[data-cols] { --cols: 1; }
    .cells > .cell, .cells > .cell:nth-child(2n) { border-right: 0; }
    .strip > * { border-left: 0; border-top: 1px solid var(--hair); }
    .strip > :first-child { border-top: 0; }
    .hero h1 { font-size: 2.3rem; }
    .hero-cta .btn, .cta-band .actions .btn, .not-found-actions .btn { width: 100%; }
}

/* Privacy note under the contact form, and the footer link */
.form-privacy { margin: 1rem 0 0; font-size: .82rem; color: var(--dim); }
.form-privacy a, .footer-bottom p a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--hair-strong); }
.form-privacy a:hover, .footer-bottom p a:hover { color: #fff; }
