/* ===========================================================================
   Mount Olympus Development — site-v2
   Design system rebuilt 2026-09-27 against measured craft benchmarks
   (Snøhetta grid · Terra type scale · JDS/Snøhetta motion · DDG restraint).

   Rules this file keeps, deliberately:
     · Two typefaces. Two weights each. No third family, no icon font.
     · Five colour values. Warm ink on warm ground. Accent on labels and the
       mark only — never as a decorative fill.
     · One radius: 0. One shadow: none.
     · Two aspect ratios: 3/2 and 3/4.
     · Display line-height 1.02. Body 1.55. Labels 1.4.
     · Latin display tracks −0.016em. Hebrew display tracks 0 — negative
       tracking damages Hebrew letterforms, which are wide by construction.
     · Content arrives in ~1s. The cursor is answered in 0.2s.
   ======================================================================== */

/* --- type, self-hosted -----------------------------------------------------
   Eight WOFF2 files, 75 KB for the whole system. Subset by unicode-range so a
   Hebrew reader never downloads the Latin outlines and vice versa. font-display
   swap: the fallback paints immediately and is metric-matched closely enough
   that the swap does not reflow the page.
   -------------------------------------------------------------------------- */
@font-face{font-family:"Frank Ruhl Libre";font-style:normal;font-weight:500;font-display:swap;
  src:url("/assets/fonts/frl-he-500.woff2") format("woff2");
  unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Frank Ruhl Libre";font-style:normal;font-weight:700;font-display:swap;
  src:url("/assets/fonts/frl-he-700.woff2") format("woff2");
  unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Frank Ruhl Libre";font-style:normal;font-weight:500;font-display:swap;
  src:url("/assets/fonts/frl-la-500.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:"Frank Ruhl Libre";font-style:normal;font-weight:700;font-display:swap;
  src:url("/assets/fonts/frl-la-700.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:"Assistant";font-style:normal;font-weight:400;font-display:swap;
  src:url("/assets/fonts/asi-he-400.woff2") format("woff2");
  unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Assistant";font-style:normal;font-weight:600;font-display:swap;
  src:url("/assets/fonts/asi-he-600.woff2") format("woff2");
  unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Assistant";font-style:normal;font-weight:400;font-display:swap;
  src:url("/assets/fonts/asi-la-400.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:"Assistant";font-style:normal;font-weight:600;font-display:swap;
  src:url("/assets/fonts/asi-la-600.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}

:root {
  /* v7: light ground, institutional. White page, near-black ink, bronze used
     sparingly for labels. One dark band (the live ledger) and a dark footer.
     Contrast on #FFF: ink 18.4:1 · mute 6.8:1 · bronze 6.2:1. */
  --bg:        #FFFFFF;
  --bg-2:      #F3F2EF;
  --ink:       #141414;
  --mute:      #5F5B54;
  --gold:      #7A5C28;
  --gold-l:    #6E5220;
  --line:      rgba(20, 20, 20, 0.12);
  --line-2:    rgba(122, 92, 40, 0.45);

  /* type */
  --display:   "Frank Ruhl Libre", "Times New Roman", Georgia, serif;
  --text:      "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* scale — px ÷ 14.4 anchors every step to a 1440 design width */
  --d1:  max(42px, 5.8vw);       /*  84px */
  --d2:  max(30px, 3.6vw);       /*  52px */
  --d3:  max(22px, 2.2222vw);    /*  32px */
  --lead: max(17px, 1.5278vw);   /*  22px */
  --body: max(16px, 1.1111vw);   /*  16px */
  --small: 14px;
  --nav: 84px;
  --label: 12px;

  /* grid + rhythm */
  --max:   1360px;
  --gut:   40px;
  --gap:   136px;                /* between sections */
  --gap-s: 40px;                 /* inside a section */

  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--text);
  font-size: var(--body);
  line-height: 1.55;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--ink); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; }

.wrap { width: min(var(--max), calc(100% - 2 * var(--gut))); margin-inline: auto; }

/* ---------- typography --------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.04; }
h1, h2, h3, h4, .display { letter-spacing: -0.022em; }
h1, h2, h3 { text-wrap: balance; }
p.lead, p.sub { text-wrap: pretty; }
html[dir="rtl"] h1, html[dir="rtl"] h2,
html[dir="rtl"] h3, html[dir="rtl"] h4 { letter-spacing: 0; line-height: 1.12; }

h1 { font-size: var(--d1); }
h2 { font-size: var(--d2); }
h3 { font-size: var(--d3); font-weight: 600; }
h4 { font-size: var(--small); }

p { max-width: 62ch; }
.lead { font-size: var(--lead); line-height: 1.5; color: var(--mute); max-width: 56ch; }
.muted { color: var(--mute); }
.gold  { color: var(--gold-l); }

.eyebrow {
  display: block;
  font-family: var(--text); font-weight: 600;
  font-size: var(--label); line-height: 1.4;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}
html[dir="rtl"] .eyebrow { letter-spacing: 0.06em; text-transform: none; }

.section-head .eyebrow { font-family: var(--display); font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.rule { width: 56px; height: 1px; background: var(--line-2); margin: 1.1rem 0 1.6rem; }
.rule.c { margin-inline: auto; }

.close-line { border-top: 1px solid var(--line); padding-block: clamp(3rem, 7vh, 5rem); }
.close-line p {
  font-family: var(--display); font-size: var(--d3); line-height: 1.25;
  color: var(--ink); text-align: center; letter-spacing: -0.016em; margin: 0;
}
html[dir="rtl"] .close-line p { letter-spacing: 0; }

/* section rhythm — one value, used everywhere */
section { padding-block: var(--gap); }
section + section { padding-top: 0; }
.section-head { margin-bottom: var(--gap-s); }
.section-head h2 { max-width: 20ch; }

/* ---------- links + buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.7rem;
  font-family: var(--text); font-weight: 600; font-size: var(--small);
  letter-spacing: 0.04em;
  border: 1px solid transparent; border-radius: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  cursor: pointer;
}
.btn-gold  { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-gold:hover  { background: var(--gold); border-color: var(--gold); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-l); }
.btn-sm { padding: 0.6rem 1.05rem; font-size: 13px; }

/* ---------- nav ---------------------------------------------------------- */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 60;
  background: transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--bg); border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: var(--nav);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b {
  font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 0.01em;
}
.brand-text span {
  font-family: var(--text); font-size: 9px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
}
html[dir="rtl"] .brand-text b { letter-spacing: 0; }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a {
  position: relative; font-size: var(--small); color: var(--mute);
  transition: color 0.2s var(--ease); white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -7px;
  height: 1px; background: var(--gold);
}
.nav-cta { display: flex; align-items: center; gap: 1rem; }
/* nothing in the bar outshouts the headline */
.nav-cta .btn-gold { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); }
.nav-cta .btn-gold:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }

.lang { display: inline-flex; border: 1px solid var(--line); }
.lang a {
  padding: 0.35rem 0.7rem; font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; color: var(--mute); transition: 0.2s var(--ease);
}
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; }
.burger span { width: 22px; height: 1px; background: var(--gold-l); transition: 0.3s var(--ease); display: block; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  position: fixed; inset: var(--nav) 0 0; z-index: 55;
  background: var(--bg); padding: 2.5rem var(--gut);
  display: none; flex-direction: column; gap: 1.6rem;
}
.mobile-panel.open { display: flex; }
.mobile-panel a { font-family: var(--display); font-size: var(--d3); }

.skip {
  position: absolute; inset-inline-start: var(--gut); top: 0; transform: translateY(-200%);
  background: var(--ink); color: #FFFFFF; padding: 0.6rem 1rem; z-index: 100;
}
.skip:focus { transform: none; top: 1rem; }

/* ---------- hero --------------------------------------------------------- */
/* The claim is set on flat ground, at full contrast, with nothing behind it.
   The photograph follows underneath as evidence — a masthead, then a plate.
   Type over a mid-tone skyline is the one composition every developer site
   already uses, and the only one in which this sentence cannot be read. */
.hero {
  position: relative;
  padding-block: calc(var(--nav) + clamp(5rem, 13vh, 9rem)) clamp(3.5rem, 8vh, 6rem);
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 { max-width: 16ch; margin-block: 1.4rem 1.6rem; }
.hero .sub { font-size: var(--lead); line-height: 1.5; color: var(--ink); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.4rem; }
.hero-note { margin-top: 1.5rem; font-size: 13px; color: var(--mute); max-width: 52ch; }

/* full-bleed plate under the masthead */
.plate { position: relative; margin: 0; }
.plate img {
  display: block; width: 100%; height: clamp(320px, 62vh, 620px);
  object-fit: cover; object-position: center 62%;
}
.plate figcaption {
  display: flex; gap: 0.9rem; align-items: baseline;
  max-width: var(--max); margin: 0.85rem auto 0; padding-inline: var(--gut);
  font-size: var(--label); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mute);
}
html[dir="rtl"] .plate figcaption { letter-spacing: 0.04em; text-transform: none; font-size: 12.5px; }
.plate figcaption b { color: var(--gold); font-weight: 600; white-space: nowrap; }
.plate { padding-bottom: clamp(2.5rem, 5vh, 4rem); }
.paper { padding-block: clamp(3.5rem, 8vh, 6.5rem); }
.paper + section, section + .paper { margin-top: 0; }

/* Section pages open on type and a rule. No dimmed photograph behind a
   heading — a picture at 40% opacity is a picture nobody chose. Keeping the
   photographs to the places where they carry evidence is what makes them
   read as evidence. */
.phero {
  position: relative; border-bottom: 1px solid var(--line);
  padding-block: calc(var(--nav) + clamp(4.5rem, 11vh, 7.5rem)) clamp(3rem, 7vh, 5rem);
}
.phero-inner { position: relative; z-index: 2; }
.phero h1 { max-width: 16ch; margin-block: 1rem 1.25rem; }
.phero .lead, .phero .sub { max-width: 52ch; color: var(--mute); font-size: var(--lead); line-height: 1.5; }

/* ---------- ink band -----------------------------------------------------
   The one dark surface on a light site, and it holds the live ledger: the
   pipeline reads like a board, not a brochure. Footer shares the palette.
   Contrast on #141414: ink 16.9:1 · mute 7.0:1 · bronze 6.3:1.
   -------------------------------------------------------------------------- */
.paper, footer {
  --bg:     #141414;
  --bg-2:   #1C1C1E;
  --ink:    #F4F2EE;
  --mute:   #A7A29A;
  --gold:   #C29E62;
  --gold-l: #D6BA87;
  --line:   rgba(244, 242, 238, 0.14);
  --line-2: rgba(194, 158, 98, 0.45);
  background: var(--bg); color: var(--ink);
}
.paper .btn-ghost { border-color: rgba(244,242,238,.3); color: var(--ink); }
.paper .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- the ledger band (signature) ---------------------------------- */
/* The pipeline, set as ledger entries: hairline rules, serif, no boxes. */
.ledger-head, .ledger-foot {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--text); font-size: var(--label); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
}
html[dir="rtl"] .ledger-head, html[dir="rtl"] .ledger-foot {
  letter-spacing: 0.04em; text-transform: none; font-size: 12.5px;
}
.ledger-head { padding-bottom: 0.7rem; }
.ledger-head b { color: var(--gold); font-weight: 600; }
.ledger-head span:last-child, .ledger-foot a { margin-inline-start: auto; }
.ledger-foot { padding-top: 0.9rem; border-top: 1px solid var(--line); }
.ledger-foot a { color: var(--gold); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.ledger-foot a:hover { color: var(--ink); }

.stats { border-top: 1px solid var(--ink); }
.stat {
  display: flex; align-items: baseline; gap: 0.75rem;
  padding-block: 1.05rem; border-bottom: 1px solid var(--line);
}
.stat .n {
  font-family: var(--display); font-weight: 700;
  font-size: max(20px, 1.7361vw); line-height: 1.15; letter-spacing: -0.016em;
  font-variant-numeric: tabular-nums;
}
html[dir="rtl"] .stat .n { letter-spacing: 0; }
.stat .l {
  font-family: var(--text); font-size: 13px; font-weight: 400;
  color: var(--mute); margin-inline-start: auto; white-space: nowrap;
}

/* ---------- grids -------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gut); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); }
.two {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gut); align-items: start;
}
/* First child takes six columns, second takes five, column 7 stays empty.
   Both placements are definite: an auto-placed item cannot backtrack, so
   `span N` on the second child drops it onto a new row whenever the first
   one was placed explicitly. Alternate sides by DOM order, not by class. */
.two > :first-child { grid-column: 1 / span 6; }
.two > :last-child  { grid-column: 8 / -1; }
.wrap-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); }

/* ---------- cards: hairline, no fill, no radius, no shadow --------------- */
/* A set of parallel items is ruled, not boxed. One hairline above each,
   nothing else — the border-box card is the single loudest cheapness tell. */
.card, .problem-card, .solution-card, .partner, .thanks-card {
  border: 0; border-top: 1px solid var(--line); border-radius: 0;
  background: none; padding: 1.5rem 0 0;
}
.form-shell { border: 0; background: none; padding: 0; }
.card .num, .problem-card .num {
  font-family: var(--display); font-size: 15px; color: var(--gold);
  display: block; margin-bottom: 0.9rem; font-variant-numeric: tabular-nums;
}
.card h3, .problem-card h3, .solution-card h3 { margin-bottom: 0.6rem; }
.card p, .problem-card p, .solution-card p { color: var(--mute); font-size: var(--small); }
.solution-card { border-top-color: var(--gold); }
.problems-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gut); }

.project-card { position: relative; display: block; }
.project-card .pic { border-bottom: 1px solid var(--line); }
.project-card:hover .pic { border-bottom-color: var(--gold); }
.project-card .pic { overflow: hidden; }
.project-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card:hover img { transform: scale(1.03); }
.project-card .body { padding: 1.2rem 0 0; }
.stage, .project-card .stage {
  display: block; font-family: var(--text); font-size: var(--label); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem;
}
html[dir="rtl"] .stage, html[dir="rtl"] .project-card .stage {
  letter-spacing: 0.05em; text-transform: none; font-size: 12.5px;
}

/* a ruled index, the way a contents page is set */
.index { display: grid; gap: 0; margin-bottom: var(--gap-s); border-top: 1px solid var(--line); }
.index a {
  display: flex; align-items: baseline; gap: 1rem;
  padding-block: 0.85rem; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: max(18px, 1.5278vw);
  color: var(--ink); transition: color 0.2s var(--ease);
}
.index a i {
  font-style: normal; font-size: 13px; color: var(--gold);
  font-variant-numeric: tabular-nums; min-width: 2.2em;
}
.index a:hover { color: var(--gold-l); }
@media (min-width: 821px) { .index { grid-template-columns: repeat(3, 1fr); column-gap: var(--gut); } }
.project-card h3 { font-size: var(--d3); }

/* ---------- figures: two ratios, nothing else ---------------------------- */
.figure { overflow: hidden; }
.figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.figure figcaption {
  padding-top: 0.8rem; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line);
}
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; margin-top: 0.65rem; }
.gal img { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: var(--bg-2); }
.gal img[src*="th_render"], .gal img[src*="ll_tower"] { object-fit: contain; }

/* ---------- the method steps: a stage, a picture, a caption -------------- */
.steps { border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gut); align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line);
}
.step .idx {
  grid-column: span 1;
  font-family: var(--display); font-size: var(--d3); color: var(--gold); line-height: 1;
}
.step .txt { grid-column: span 4; }
.step .shot { grid-column: span 7 / -1; }
.step .shot img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border: 1px solid var(--line); }
.step .shot figcaption {
  margin-top: 0.7rem; font-size: 13px; color: var(--mute);
}
.step h3 { margin-bottom: 0.7rem; }
.step p { color: var(--mute); max-width: 44ch; }

/* ---------- pull line / mark --------------------------------------------- */
.close-line { border-block: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 5.5rem); text-align: center; }
.close-line span {
  font-family: var(--display); font-weight: 700;
  font-size: var(--d2); line-height: 1.05; letter-spacing: -0.016em;
}
html[dir="rtl"] .close-line span { letter-spacing: 0; }

.note-strip {
  border: 1px solid var(--line); padding: 1.1rem 1.25rem;
  font-size: 13px; color: var(--mute); max-width: none;
}

/* ---------- form --------------------------------------------------------- */
.form-shell { padding: 2.25rem 2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.form-grid label { display: block; font-size: 13px; color: var(--mute); margin-bottom: 0.4rem; }
.form-grid input, .form-grid select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 0; padding: 0.8rem 0.9rem; color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.form-grid input:focus, .form-grid select:focus { outline: none; border-color: var(--gold); }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.hp {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--gut); align-items: start; }

/* ---------- partners ----------------------------------------------------- */
.partner .role {
  font-family: var(--text); font-size: var(--label); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.8rem;
}
html[dir="rtl"] .partner .role { letter-spacing: 0.05em; text-transform: none; }
.partner h3 { margin-bottom: 0.8rem; }
.partner p { color: var(--mute); font-size: var(--small); }

/* ---------- band / footer ------------------------------------------------ */
.band { background: var(--bg-2); }
.band-deep { background: var(--bg-2); }

footer { padding-block: calc(var(--gap-s) * 2) 2rem; margin-top: var(--gap); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--gut); }
.footer-brand b { font-family: var(--display); font-size: 19px; display: block; margin-bottom: 0.5rem; }
.footer-brand p { color: var(--mute); font-size: var(--small); }
.footer-col h4 {
  font-family: var(--text); font-size: var(--label); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem;
}
html[dir="rtl"] .footer-col h4 { letter-spacing: 0.05em; text-transform: none; }
.footer-col a { display: block; color: var(--mute); font-size: var(--small); padding: 0.28rem 0; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-disclaimer { margin-top: 2.5rem; font-size: 12px; color: var(--mute); line-height: 1.6; max-width: none; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--mute);
}
.disclaimer { font-size: 12px; color: var(--mute); line-height: 1.6; max-width: none; }

/* ---------- chooser / thanks --------------------------------------------- */
.chooser { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.chooser-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.32; }
.chooser-inner { position: relative; z-index: 2; }
.chooser h1 { margin-block: 1.25rem 0.75rem; }
.chooser-btns { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.thanks { min-height: 72svh; display: grid; place-items: center; text-align: center; }
.thanks-card { padding: 3rem 2.5rem; }
.scrollcue { position: absolute; inset-inline-start: var(--gut); bottom: 2rem; z-index: 3; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }

/* ---------- motion: content arrives slowly, the cursor is answered fast --- */
/* The hidden state is applied only once scripting has confirmed itself, via
   the .js class an inline head script sets. Without it every .reveal element
   on the site — which is most of the content — would be invisible the moment
   one script fails to run. Content first; the animation is the enhancement. */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease), transform 0.7s var(--ease);
}
@media print { .js .reveal { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive --------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --gut: 28px; --gap: 84px; --gap-s: 32px; }
  .two > :first-child, .two > :last-child { grid-column: 1 / -1; }
  .step .idx { grid-column: 1 / -1; }
  .step .txt { grid-column: 1 / -1; }
  .step .shot { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --gap: 64px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .grid-3, .grid-4, .problems-grid, .form-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat { flex-wrap: wrap; gap: 0.3rem; }
  .stat .l { margin-inline-start: 0; width: 100%; }
  /* the gold CTA is repeated inside the mobile panel — one is enough */
  .nav-cta .btn { display: none; }
  .nav-cta { gap: 0.7rem; }
  :root { --nav: 72px; }
  .brand-text b { font-size: 15px; }
  .brand svg { width: 30px; height: 30px; }
}

/* ---------- v7: icons, maps, image finish -------------------------------- */
.card .icon { width: 44px; height: 44px; color: var(--gold); display: block; margin-bottom: 1.1rem; }
.card .icon svg { width: 100%; height: 100%; }
.card { padding-top: 1.75rem; }
.figure img, .project-card img, .step .shot img { background: var(--bg-2); }
img[src$=".svg"] { object-fit: contain !important; }
.project-card h3 { letter-spacing: -0.02em; }
.hero h1 { max-width: 14ch; }
.eyebrow.hook { font-size: max(16px, 1.15vw); letter-spacing: 0; text-transform: none; font-weight: 600; max-width: 40ch; }
.band { border-block: 0; }
/* bands carry their own vertical rhythm; the section after a band gets air back */
section.band, section.paper { padding-block: var(--gap); }
.band + section, .paper + section, .plate + section { padding-top: var(--gap); }
section.paper { padding-block: clamp(3.5rem, 8vh, 6.5rem); }

/* v7.1: the top of each page sits on a soft, blurred photograph of our own
   work, washed toward white on the reading side so the headline keeps full
   contrast. It is atmosphere, not evidence; the sharp photo follows below. */
.hero, .phero { isolation: isolate; overflow: hidden; }
.hero::before, .phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center 55%;
  transform: scale(1.06);
}
.hero::before {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.86) 42%, rgba(255,255,255,0.42) 100%),
    url("/assets/img/hero_blur.jpg");
}
.phero::before {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.88) 50%, rgba(255,255,255,0.55) 100%),
    url("/assets/img/phero_blur.jpg");
}
html[dir="rtl"] .hero::before {
  background-image:
    linear-gradient(270deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.86) 42%, rgba(255,255,255,0.42) 100%),
    url("/assets/img/hero_blur.jpg");
}
html[dir="rtl"] .phero::before {
  background-image:
    linear-gradient(270deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.88) 50%, rgba(255,255,255,0.55) 100%),
    url("/assets/img/phero_blur.jpg");
}
@media (max-width: 820px) {
  .hero::before, .phero::before { opacity: 1; }
  .hero::before { background-image: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.8)), url("/assets/img/hero_blur.jpg"); }
  .phero::before { background-image: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.84)), url("/assets/img/phero_blur.jpg"); }
}
.nav:not(.scrolled) { background: transparent; }

/* ---------- v8: first frame carries the evidence ------------------------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero-copy { min-width: 0; }
.hero-photo { position: relative; margin: 0; padding: 0; }
.hero-photo img { height: clamp(380px, 64vh, 640px); width: 100%; object-fit: cover; object-position: 50% 60%;
  box-shadow: 0 30px 60px -30px rgba(20,20,20,0.45); }
.hero-photo figcaption { margin: 0.85rem 0 0; padding: 0; max-width: none; }
.live-tag { position: absolute; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.92); color: #141414; font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.45rem 0.7rem; }
html[dir="rtl"] .live-tag { letter-spacing: 0; text-transform: none; }
.live-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2F8F4E; box-shadow: 0 0 0 3px rgba(47,143,78,0.2); }

/* facts: four numbers that describe the structure, never the returns */
.facts { padding-block: 0 clamp(3rem, 7vh, 5rem); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.fact { padding: 1.4rem 1.5rem 0 0; border-inline-end: 1px solid var(--line); }
.fact:last-child { border-inline-end: 0; }
html[dir="rtl"] .fact { padding: 1.4rem 0 0 1.5rem; }
.fact b { display: block; font-family: var(--display); font-weight: 500; font-size: var(--d2); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 0.8rem; color: var(--mute); font-size: var(--small); max-width: 30ch; }

/* series: the fixed serial format, numbered because it is a sequence */
.episodes { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); counter-reset: none; }
.episode { border-top: 1px solid var(--ink); padding-top: 1.2rem; min-width: 0; }
.episode i { font-style: normal; font-size: var(--label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
html[dir="rtl"] .episode i { letter-spacing: 0.04em; text-transform: none; }
.episode h3 { margin-top: 0.8rem; font-size: max(20px, 1.7vw); line-height: 1.18; }
.series-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: var(--gap-s); padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--mute); }

/* check us: public records, the third-party proof nobody can buy */
.check { padding-block: var(--gap); }
.checks { list-style: none; border-top: 1px solid var(--ink); }
.checks a { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); transition: color 0.2s var(--ease); }
.checks a:hover b, .checks a:focus-visible b { color: var(--gold); }
.checks b { font-family: var(--display); font-weight: 500; font-size: var(--d3); line-height: 1.15; }
.checks span { grid-column: 1; color: var(--mute); font-size: var(--small); font-variant-numeric: tabular-nums; }
.checks i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; color: var(--gold); font-size: 22px; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo img { height: clamp(260px, 52vw, 460px); }
  .episodes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-inline-end: 0; }
}
@media (max-width: 560px) {
  .episodes, .facts-grid { grid-template-columns: 1fr; }
  .fact { border-inline-end: 0; border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
}
.facts { padding-top: clamp(2.5rem, 5vh, 3.5rem); }
.episode { background: var(--bg-2); border-top: 2px solid var(--ink); padding: 1.4rem 1.4rem 1.8rem; }
.episode h3 { font-size: max(21px, 1.85vw); }
.series { padding-top: var(--gap); }
footer { margin-top: 0; }
