/* ===================================================================
   LESY PODLÁZKY – Editorial / Real-asset design system
   Fonts: Fraunces (display serif) + Inter (sans)
   =================================================================== */

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

:root {
    --bone: #f7f5ef;          /* warm off-white background */
    --bone-2: #efece3;        /* slightly deeper panel */
    --paper: #ffffff;
    --ink: #15201b;           /* near-black, green-tinted */
    --ink-soft: #4f574f;      /* secondary text */
    --ink-faint: #8b9088;
    --forest: #1f4d3a;        /* deep green accent */
    --forest-deep: #112a20;   /* dark sections */
    --forest-deeper: #0c1f17;
    --gold: #a9842f;          /* gold hairline / accent */
    --gold-soft: #c2a256;
    --line: rgba(21, 32, 27, 0.14);
    --line-strong: rgba(21, 32, 27, 0.30);
    --line-light: rgba(247, 245, 239, 0.18);

    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', system-ui, -apple-system, sans-serif;

    --wrap: 1200px;
    --gut: clamp(1.25rem, 4vw, 4rem);
    --section-y: clamp(4.5rem, 9vw, 9rem);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bone);
    overflow-x: hidden;
    font-weight: 400;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; color: var(--ink); letter-spacing: -0.01em; }
p { margin-bottom: 1rem; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
strong { font-weight: 600; color: var(--ink); }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.container--narrow { max-width: 860px; }

.eyebrow {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.6rem;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold);
    display: inline-block;
}
.eyebrow--plain::before { display: none; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.65; }
.muted { color: var(--ink-soft); }
.rule { height: 1px; background: var(--line); border: 0; }
.rule--gold { width: 56px; height: 2px; background: var(--gold); border: 0; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 1rem 1.7rem;
    border: 1px solid var(--ink);
    border-radius: 2px;
    cursor: pointer;
    transition: all .28s ease;
    background: transparent;
    color: var(--ink);
    line-height: 1;
}
.btn--solid { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn--solid:hover { background: var(--forest-deep); border-color: var(--forest-deep); transform: translateY(-2px); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); transform: translateY(-2px); }
.btn--light { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--light:hover { background: #fff; color: var(--forest-deep); border-color: #fff; }
.btn--solid-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--solid-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-2px); }
.link-arrow { font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: color .25s; }
.link-arrow:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: background .3s ease, border-color .3s ease, padding .3s ease;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(247,245,239,0.92); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem var(--gut); transition: padding .3s ease; }
.site-header.scrolled .nav-bar { padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.01em; color: var(--ink); }
.brand__name small { display: block; font-family: var(--sans); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav__links a {
    font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink); position: relative; padding-bottom: 3px;
}
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .28s ease; }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--forest); }
.nav__cta { font-size: 0.74rem; padding: 0.75rem 1.2rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 4px; }
.hamburger span { width: 26px; height: 2px; background: var(--ink); transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(8rem, 16vh, 11rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero__title { font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 1.6rem; }
.hero__title em { font-style: italic; color: var(--forest); }
.hero__lead { max-width: 36ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta span::before { content: ''; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }

/* snapshot block */
.snapshot { border: 1px solid var(--line-strong); background: var(--paper); padding: 2rem; }
.snapshot__title { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 0.4rem; }
.snap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.snap:last-child { border-bottom: 0; padding-bottom: 0; }
.snap__label { font-size: 0.82rem; color: var(--ink-soft); }
.snap__value { font-family: var(--serif); font-size: 1.5rem; color: var(--forest); white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(3rem,6vw,5rem) 0; }
.section--bone2 { background: var(--bone-2); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--forest-deep); color: var(--bone); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--bone); }
.section--dark .lead, .section--dark .muted { color: rgba(247,245,239,0.72); }
.section--dark .eyebrow { color: var(--gold-soft); }
.section--dark .eyebrow::before { background: var(--gold-soft); }
.section--dark .rule { background: var(--line-light); }

.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.section__num { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; color: var(--gold); display: block; margin-bottom: 1.2rem; }

/* editorial two columns */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); }
.split--even { grid-template-columns: 1fr 1fr; }
.split__aside h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.split__body { font-size: 1.05rem; color: var(--ink-soft); }
.split__body h3 { font-size: 1.5rem; color: var(--ink); margin: 2rem 0 0.7rem; }
.split__body p { margin-bottom: 1.1rem; }

/* ---------- Figures (big serif numbers) ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.figure { padding: 2.2rem 1.5rem 0 0; border-right: 1px solid var(--line); }
.figure:last-child { border-right: 0; }
.figure__value { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--forest); letter-spacing: -0.02em; }
.figure__value .u { font-size: 0.42em; color: var(--ink-faint); margin-left: 0.2rem; letter-spacing: 0; }
.figure__label { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.7rem; line-height: 1.4; }
.section--dark .figures { border-top-color: var(--line-light); }
.section--dark .figure { border-right-color: var(--line-light); }
.section--dark .figure__value { color: var(--gold-soft); }
.section--dark .figure__label { color: rgba(247,245,239,0.7); }

/* ---------- Thesis (numbered rows) ---------- */
.thesis { display: grid; gap: 0; }
.thesis__item { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 2.2rem 0; border-top: 1px solid var(--line); align-items: start; }
.thesis__item:last-child { border-bottom: 1px solid var(--line); }
.thesis__num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); }
.thesis__title { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 0.6rem; }
.thesis__text { color: var(--ink-soft); max-width: 60ch; }

/* ---------- Assets / portfolio ---------- */
.assets { border-top: 1px solid var(--line-strong); }
.asset {
    display: grid; grid-template-columns: 1.3fr 0.9fr 0.7fr 0.8fr; gap: 1.5rem;
    padding: 2rem 0.5rem; border-bottom: 1px solid var(--line);
    transition: padding .3s ease, background .3s ease; position: relative; align-items: start;
}
.asset::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .3s ease; }
.asset:hover { background: var(--paper); padding-left: 1.4rem; padding-right: 1.4rem; }
.asset:hover::before { transform: scaleY(1); }
.asset__head { grid-column: 1; }
.asset__index { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; color: var(--gold); }
.asset__name { font-family: var(--serif); font-size: 1.5rem; margin: 0.3rem 0 0.5rem; }
.asset__spv { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); }
.asset__desc { font-size: 0.92rem; color: var(--ink-soft); }
.asset__metric { display: flex; flex-direction: column; gap: 0.25rem; }
.asset__metric .k { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-faint); }
.asset__metric .v { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.asset__phase { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--forest); }

/* ---------- Composition list (forest types) ---------- */
.comp { display: grid; gap: 0; border-top: 1px solid var(--line); }
.comp__row { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.comp__name { font-family: var(--serif); font-size: 1.25rem; }
.comp__name small { display: block; font-family: var(--sans); font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.3rem; max-width: 60ch; }
.comp__bar { width: clamp(120px, 22vw, 260px); }
.comp__track { height: 6px; background: var(--bone-2); border: 1px solid var(--line); position: relative; }
.comp__fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--forest); }
.comp__meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.5rem; }
.comp__meta strong { color: var(--forest); }

/* ---------- Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 2.2rem 2rem 2.2rem 0; border-bottom: 1px solid var(--line); }
.step:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 2.5rem; }
.step:nth-child(even) { padding-left: 2.5rem; }
.step__num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.step__title { font-family: var(--serif); font-size: 1.4rem; margin: 0.8rem 0 0.6rem; }
.step__text { color: var(--ink-soft); }
.step__tag { display: inline-block; margin-top: 1rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--forest); border: 1px solid var(--line-strong); padding: 0.3rem 0.7rem; border-radius: 2px; }

/* ---------- Drivers / methods (hairline list) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 2.2rem 1.8rem 2.2rem 0; border-bottom: 1px solid var(--line); }
.feature__k { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; color: var(--gold); }
.feature__title { font-family: var(--serif); font-size: 1.4rem; margin: 0.7rem 0 0.6rem; }
.feature__text { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Statement (pull quote) ---------- */
.statement { text-align: left; }
.statement__quote { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.18; letter-spacing: -0.01em; max-width: 22ch; }
.statement__quote em { font-style: italic; color: var(--gold-soft); }
.statement__by { margin-top: 2rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(247,245,239,0.6); }

/* ---------- Risks ---------- */
.risks { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.risk { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.risk:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 2.5rem; }
.risk:nth-child(even) { padding-left: 2.5rem; }
.risk__title { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 0.7rem; }
.risk p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 0.4rem; }
.risk .k { font-weight: 600; color: var(--forest); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.6rem 2.5rem 1.6rem 0; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); position: relative; }
.faq__q::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.4rem; color: var(--gold); transition: transform .3s; }
.faq__item.open .faq__q::after { content: '\2212'; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: var(--ink-soft); }
.faq__a p { padding-bottom: 1.6rem; max-width: 70ch; }
.faq__item.open .faq__a { max-height: 320px; }

/* ---------- Info / legal box ---------- */
.notebox { border: 1px solid var(--line-strong); padding: 2rem; background: var(--paper); }
.notebox h4 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 0.8rem; }
.notebox p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 18ch; margin: 0 auto 1.2rem; }
.cta-band .lead { max-width: 52ch; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-deeper); color: rgba(247,245,239,0.8); padding: clamp(3.5rem,7vw,6rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand .brand__name { color: #fff; }
.footer__desc { font-size: 0.92rem; margin-top: 1.2rem; max-width: 32ch; color: rgba(247,245,239,0.65); }
.footer h4 { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold-soft); margin-bottom: 1.3rem; }
.footer__links { list-style: none; display: grid; gap: 0.7rem; }
.footer__links a, .footer__links li { font-size: 0.92rem; color: rgba(247,245,239,0.7); }
.footer__links a:hover { color: #fff; }
.footer__bottom { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between; font-size: 0.78rem; color: rgba(247,245,239,0.5); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem,5vw,5rem); }
.contact-line { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-line .k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); display: block; margin-bottom: 0.5rem; }
.contact-line .v { font-size: 1.05rem; }
.contact-line a { border-bottom: 1px solid var(--line-strong); }
.contact-line a:hover { color: var(--forest); }

.form { display: grid; gap: 1.5rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); }
.field input, .field select, .field textarea {
    width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
    padding: 0.7rem 0; font-family: var(--sans); font-size: 1rem; color: var(--ink); transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--forest); }
.field textarea { resize: vertical; min-height: 120px; }
.checkbox { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); }
.checkbox input { width: auto; margin-top: 0.35rem; }
.checkbox a { border-bottom: 1px solid var(--gold); }
.form-msg { display: none; padding: 1rem; font-size: 0.92rem; border: 1px solid var(--line); }
.form-msg.success { display: block; border-color: var(--forest); color: var(--forest); }
.form-msg.error { display: block; border-color: #b3261e; color: #b3261e; }

/* departments / spv / visit */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.tri__cell { padding: 2rem 1.6rem 2rem 0; border-bottom: 1px solid var(--line); }
.tri__cell h4 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 0.6rem; }
.tri__cell .em { color: var(--forest); font-weight: 600; border-bottom: 1px solid var(--gold); }
.tri__cell p { font-size: 0.92rem; color: var(--ink-soft); }

.spv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.spv { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 1rem 1.4rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spv:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 1.5rem; }
.spv:nth-child(even) { padding-left: 1.5rem; }
.spv__name { font-family: var(--serif); font-size: 1.1rem; }
.spv__name small { display: block; font-family: var(--sans); font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.2rem; }
.spv__phase { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); white-space: nowrap; }

.directions { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; border-top: 1px solid var(--line); }
.dir { padding: 1.8rem 1.6rem 1.8rem 0; border-bottom: 1px solid var(--line); }
.dir:nth-child(odd){ border-right:1px solid var(--line); padding-right:2rem; }
.dir:nth-child(even){ padding-left:2rem; }
.dir h4 { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--forest); margin-bottom: 0.6rem; }
.dir p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

.checklist { list-style: none; display: grid; gap: 0.9rem; margin-top: 1rem; }
.checklist li { position: relative; padding-left: 1.8rem; color: var(--ink-soft); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; border: 1px solid var(--gold); background: var(--forest); }

/* ---------- Modal ---------- */
.modal { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(12,31,23,0.6); overflow: auto; }
.modal.open { display: block; }
.modal__box { background: var(--paper); max-width: 720px; width: 92%; margin: 6vh auto; padding: clamp(1.8rem,4vw,3rem); position: relative; border-top: 3px solid var(--gold); }
.modal__box h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.modal__box h4 { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--forest); margin: 1.4rem 0 0.5rem; }
.modal__box ul { margin: 0 0 0 1.2rem; }
.modal__box li { margin-bottom: 0.3rem; color: var(--ink-soft); }
.modal__box p { color: var(--ink-soft); font-size: 0.95rem; }
.modal__close { position: absolute; top: 1rem; right: 1.4rem; font-size: 1.8rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink-soft); }
.modal__close:hover { color: var(--forest); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(8.5rem,16vh,11rem) 0 clamp(2.5rem,5vw,4rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.02em; max-width: 18ch; }
.page-hero .lead { max-width: 52ch; margin-top: 1.5rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border: 1px solid var(--line-strong); background: var(--bone); color: var(--ink); cursor: pointer; opacity: 0; visibility: hidden; transition: all .3s; z-index: 900; border-radius: 2px; font-size: 1.1rem; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
    .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
    .split, .split--even, .contact__grid { grid-template-columns: 1fr; gap: 2rem; }
    .figures { grid-template-columns: repeat(2, 1fr); }
    .figure:nth-child(2) { border-right: 0; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .asset { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
    .asset__head { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .nav { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); background: var(--bone); flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 6rem 2rem 2rem; transform: translateX(105%); transition: transform .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.08); gap: 1.5rem; border-left: 1px solid var(--line); }
    .nav.open { transform: none; }
    .nav__links { flex-direction: column; align-items: flex-start; gap: 1.3rem; }
    .nav__links a { font-size: 0.95rem; }
    .hamburger { display: flex; z-index: 1001; }
    .figures { grid-template-columns: 1fr 1fr; }
    .process, .risks, .tri, .spv-grid, .directions { grid-template-columns: 1fr; }
    .step:nth-child(odd), .risk:nth-child(odd), .dir:nth-child(odd) { border-right: 0; padding-right: 0; }
    .step:nth-child(even), .risk:nth-child(even), .dir:nth-child(even) { padding-left: 0; }
    .step, .feature, .figure { padding-right: 0; }
    .feature-grid { grid-template-columns: 1fr; }
    .spv:nth-child(odd) { border-right: 0; padding-right: 0; }
    .spv:nth-child(even) { padding-left: 0; }
    .thesis__item { grid-template-columns: 1fr; gap: 0.5rem; }
    .comp__row { grid-template-columns: 1fr; }
    .comp__bar { width: 100%; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .footer__grid { grid-template-columns: 1fr; }
    .asset { grid-template-columns: 1fr; }
}
