/* =========================================================
   Hills & Harbour — website styles
   Brand rules: monochrome first, square corners, hairline
   rules, no shadows or gradients, one bold move per screen.
   ========================================================= */

/* Display face: RT (Realtime) Bold. Drop the licensed file into
   assets/fonts/ and uncomment to replace the Geist fallback.
@font-face { font-family: "RT"; src: url("../fonts/RT-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
*/

:root {
  --black: #141414;
  --white: #ffffff;
  --green: #2fd27a;
  --red: #ff4d4d;
  --green-text: #127a45;
  --red-text: #c4302b;
  --g-line-dark: #3a3a3a;
  --g-meta-light: #5c5c5c;
  --g-note: #6b6b6b;
  --g-meta-dark: #a8a8a8;
  --g-text-dark: #bdbdbd;
  --g-line-light: #d6d6d6;
  --g-panel: #f2f2f2;

  --f-display: "RT", "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(0.65, 0.05, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 700ms;

  --gutter: 64px;
  --max: 1280px;
  --header-h: 88px;
  --band-y: clamp(80px, 9vw, 144px);
}

@media (max-width: 1024px) { :root { --gutter: 48px; } }
@media (max-width: 640px)  { :root { --gutter: 20px; --header-h: 72px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--green); color: var(--black); }

body {
  font-family: var(--f-mono);
  font-size: 16px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 10000;
  background: var(--green); color: var(--black); padding: 12px 16px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  transform: translateY(-200%); transition: transform 300ms var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: none; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }

.band { position: relative; padding: var(--band-y) 0; }
.band--black { background: var(--black); color: var(--white); }
.band--white { background: var(--white); color: var(--black); }
.band--panel { background: var(--g-panel); color: var(--black); }
.band--tight { padding: calc(var(--band-y) * 0.6) 0; }
.band--flush { padding: 0; }

.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  background-position: -1px -1px;
}
.band--white.grid-bg::before {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, 0.05) 1px, transparent 1px);
}

/* ---------- Typography ---------- */
.display-xxl, .display-xl, .display-lg, .display-md, .display-sm, .stat-num {
  font-family: var(--f-display); font-weight: 700;
}
.display-xxl { font-size: clamp(56px, 11.5vw, 196px); line-height: 0.88; letter-spacing: -0.055em; }
.display-xl  { font-size: clamp(56px, 7.6vw, 128px); line-height: 0.92; letter-spacing: -0.045em; }
.display-lg  { font-size: clamp(42px, 5.2vw, 84px);  line-height: 0.95; letter-spacing: -0.04em; }
.display-md  { font-size: clamp(34px, 3.6vw, 56px);  line-height: 1.0;  letter-spacing: -0.03em; }
.display-sm  { font-size: clamp(22px, 1.9vw, 28px);  line-height: 1.12; letter-spacing: -0.02em; }

.lead { font-size: 18px; line-height: 1.55; max-width: 660px; }
.body-copy { max-width: 660px; }
.body-copy p + p { margin-top: 1.1em; }
.caption, .source { font-size: 12px; line-height: 1.6; color: var(--g-note); }
.band--black .caption, .band--black .source { color: var(--g-meta-dark); }
.muted { color: var(--g-meta-light); }
.band--black .muted { color: var(--g-text-dark); }

.kicker, .label {
  font-family: var(--f-mono); font-weight: 600; text-transform: uppercase;
}
.kicker { font-size: 12px; letter-spacing: 3px; color: var(--green-text); display: inline-flex; gap: 12px; align-items: center; }
.band--black .kicker { color: var(--green); }
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; display: inline-block; }
.kicker--plain::before { display: none; }
.label { font-size: 11px; letter-spacing: 2px; }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head--split { grid-template-columns: 1fr minmax(0, 420px); align-items: end; column-gap: 48px; }
.section-head--split > .lead, .section-head--split > p:not(.kicker) { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
@media (max-width: 900px) {
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split > .lead, .section-head--split > p:not(.kicker) { grid-column: auto; grid-row: auto; }
}

.text-green { color: var(--green-text); }
.band--black .text-green { color: var(--green); }
.hl {
  background: linear-gradient(var(--green), var(--green)) no-repeat 0 88% / 0% 0.18em;
  transition: background-size 900ms var(--ease-out);
}
.hl.is-in { background-size: 100% 0.18em; }

/* ---------- Buttons, links, chips ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid currentColor; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color 450ms var(--ease), border-color 450ms var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green);
  transform: translateY(101%); transition: transform 500ms var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--black); border-color: var(--green); }
.btn .arrow { display: inline-block; transition: transform 500ms var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--solid { background: var(--black); color: var(--white); border-color: var(--black); }
.band--black .btn--solid, .btn--invert { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--green { background: var(--green); color: var(--black); border-color: var(--green); }
.btn--green::before { background: var(--white); }
.btn--green:hover { border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding-bottom: 6px; position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform 600ms var(--ease);
}
.link-arrow:hover::after { transform: scaleX(0); }
.link-arrow .arrow { transition: transform 500ms var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid currentColor;
}
.chip--granted { background: var(--green); color: var(--black); border-color: var(--green); }
.chip--refused { background: var(--red); color: var(--black); border-color: var(--red); }
.chip--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.band--black .chip--dark { background: var(--white); color: var(--black); border-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--header-h);
  color: var(--white);
  transition: transform 600ms var(--ease), background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { background: var(--black); border-color: var(--g-line-dark); }
.site-header.is-light { color: var(--black); }
.site-header.is-light.is-scrolled { background: var(--white); border-color: var(--g-line-light); }
body.menu-open .site-header { transform: none; background: transparent; border-color: transparent; color: var(--white); }

.brand-logo { position: relative; display: block; width: 128px; height: 49px; flex: none; }
.brand-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 400ms var(--ease); }
.brand-logo .logo-black { opacity: 0; }
.site-header.is-light .logo-black { opacity: 1; }
.site-header.is-light .logo-white { opacity: 0; }
body.menu-open .site-header .logo-white { opacity: 1; }
body.menu-open .site-header .logo-black { opacity: 0; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; align-items: center; gap: 32px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: var(--header-h);
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
}
.nav__link span { position: relative; }
.nav__link span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 500ms var(--ease);
}
.nav__link:hover span::after, .nav__link[aria-current="page"] span::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] span::after { background: var(--green); height: 2px; }
.nav__caret { width: 9px; height: 9px; transition: transform 400ms var(--ease); }

.nav__item--drop { position: relative; }
.dropdown {
  position: absolute; top: calc(var(--header-h) - 1px); left: 50%; width: 560px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: var(--black); color: var(--white); border: 1px solid var(--g-line-dark);
  display: grid; grid-template-columns: 1fr 1fr;
  transition: opacity 400ms var(--ease), transform 500ms var(--ease-out), visibility 0s linear 400ms;
}
.nav__item--drop:hover .dropdown, .nav__item--drop:focus-within .dropdown, .nav__item--drop.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.nav__item--drop:hover .nav__caret, .nav__item--drop.is-open .nav__caret { transform: rotate(180deg); }
.dropdown a { display: grid; gap: 14px; padding: 16px; transition: background-color 300ms; }
.dropdown a + a { border-left: 1px solid var(--g-line-dark); }
.dropdown a:hover { background: #1d1d1d; }
.dropdown__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--g-line-dark); }
.dropdown__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1.04); transition: filter 700ms var(--ease), transform 900ms var(--ease-out); }
.dropdown a:hover .dropdown__img img { filter: grayscale(0); transform: scale(1); }
.dropdown__num { font-size: 11px; letter-spacing: 2px; color: var(--green); font-weight: 600; }
.dropdown__title { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
.dropdown__desc { font-size: 12px; color: var(--g-text-dark); line-height: 1.5; }

.nav .btn { min-height: 44px; padding: 0 20px; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform 500ms var(--ease), top 500ms var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 850; background: var(--black); color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 800ms var(--ease), visibility 0s linear 800ms;
}
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.mobile-menu__list li { overflow: hidden; border-bottom: 1px solid var(--g-line-dark); }
.mobile-menu__list a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 9vw, 56px); letter-spacing: -0.04em; line-height: 1;
  transform: translateY(105%); transition: transform 800ms var(--ease-out);
}
.mobile-menu__list a small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 2px; color: var(--green); font-weight: 600; }
.mobile-menu__list .sub a { font-size: clamp(20px, 5.4vw, 28px); padding-left: 24px; color: var(--g-text-dark); }
body.menu-open .mobile-menu__list a { transform: none; }
.mobile-menu__foot { display: grid; gap: 6px; font-size: 13px; color: var(--g-text-dark); }
.mobile-menu__foot a { color: var(--white); }

@media (max-width: 1080px) {
  .nav__list, .nav .btn { display: none; }
  .burger { display: block; }
}

/* ---------- Loader & page transition ---------- */
.loader, .pt {
  position: fixed; inset: 0; z-index: 9990; background: var(--black); color: var(--white);
  display: grid; place-items: center; pointer-events: none;
}
.loader { visibility: hidden; }
html.is-loading .loader { visibility: visible; pointer-events: all; }
.loader__logo { width: min(440px, 70vw); aspect-ratio: 2400 / 921; position: relative; }
.loader__logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__logo .reveal-a { clip-path: inset(0 100% 50% 0); }
.loader__logo .reveal-b { clip-path: inset(50% 100% 0 0); }
.loader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: flex; justify-content: space-between; align-items: end;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--g-meta-dark);
}
.loader__count { font-family: var(--f-display); font-size: clamp(48px, 8vw, 112px); line-height: 0.8; color: var(--white); letter-spacing: -0.04em; font-weight: 700; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }

.pt { transform: translateY(100%); }
html.pt-in .pt { transform: none; }
.pt img { width: 180px; opacity: 0; transition: opacity 300ms; }
html.pt-in .pt img, .pt.is-active img { opacity: 1; }

/* ---------- Reveal utilities ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 900ms var(--ease-out), transform 1100ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="line"] { transform: scaleX(0); transform-origin: left; opacity: 1; transition: transform 1200ms var(--ease); }
.js [data-reveal="line"].is-in { transform: none; }

.split-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-word > span { display: inline-block; transform: translateY(110%); transition: transform 1100ms var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0ms)); }
.is-in .split-word > span, .split-word.is-in > span { transform: none; }
.no-js .split-word > span { transform: none; }

[data-fill] .fw { opacity: 0.16; transition: opacity 200ms linear; }
[data-fill] .fw.on { opacity: 1; }

.mask-img { position: relative; overflow: hidden; background: #1d1d1d; }
.band--white .mask-img, .band--panel .mask-img { background: var(--g-panel); }
.mask-img img { width: 100%; height: 100%; object-fit: cover; }
/* A cover panel lifts away (clip-path on the element itself would hide it from IntersectionObserver) */
.js .mask-img[data-reveal] { opacity: 1; transform: none; }
.js .mask-img[data-reveal]::after {
  content: ""; position: absolute; inset: -1px; z-index: 3; background: var(--cover, var(--black));
  transform-origin: top; transition: transform 1400ms var(--ease); transition-delay: var(--d, 0ms);
}
.band--white .mask-img[data-reveal], .band--white.mask-img { --cover: var(--white); }
.band--panel .mask-img[data-reveal] { --cover: var(--g-panel); }
.js .mask-img[data-reveal].is-in::after { transform: scaleY(0); }
.js .mask-img[data-reveal] img { transform: scale(1.25); transition: transform 1800ms var(--ease-out), filter 900ms var(--ease); }
.js .mask-img[data-reveal].is-in img { transform: scale(1); }
[data-parallax] img { will-change: transform; }

.mono-img img { filter: grayscale(1) contrast(1.05); transition: filter 900ms var(--ease), transform 1200ms var(--ease-out); }
.mono-img:hover img, a:hover .mono-img img, .mono-img.is-colour img { filter: grayscale(0) contrast(1); }

.img-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: var(--black); color: var(--white); padding: 6px 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 40px) 0 40px; overflow: hidden;
}
.hero__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--g-meta-dark); border-top: 1px solid var(--g-line-dark); padding-top: 16px; }
.hero__meta > :nth-child(2) { text-align: center; }
.hero__meta > :last-child { text-align: right; }
.hero__meta .live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 1px; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 210, 122, 0.6); } 50% { box-shadow: 0 0 0 6px rgba(47, 210, 122, 0); } }

.hero__title { margin: clamp(40px, 8vh, 96px) 0; }
.hero__title .display-xxl { max-width: 14ch; }
.hero__title em { font-style: normal; color: var(--green); }
.hero__foot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.hero__tagline { font-size: 11px; letter-spacing: 6px; font-weight: 600; text-transform: uppercase; color: var(--g-text-dark); }
.hero__tagline b { color: var(--green); font-weight: 600; }
.scroll-cue { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--g-meta-dark); }
.scroll-cue__line { width: 1px; height: 48px; background: var(--g-line-dark); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: var(--green); animation: cue 2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(200%); } }

.hero__hills { position: absolute; right: -4vw; bottom: 0; width: min(64vw, 980px); color: var(--g-line-dark); pointer-events: none; opacity: 0.9; }
.hero__hills path { fill: none; stroke: currentColor; stroke-width: 1.2; }

@media (max-width: 900px) {
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hero__meta > :nth-child(2) { display: none; }
  .hero__foot { grid-template-columns: 1fr; gap: 24px; }
  .scroll-cue { display: none; }
}

/* ---------- Expanding media ---------- */
.expand { --bt: 20%; --bx: 31%; --bb: 31%; position: relative; height: 100svh; background: var(--black); overflow: hidden; }
.expand__frame { position: absolute; inset: 0; clip-path: inset(var(--bt) var(--bx) var(--bb) var(--bx)); will-change: clip-path; }
.expand__frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.expand__shade { position: absolute; inset: 0; background: rgba(20, 20, 20, 0.35); }
.expand__copy {
  position: absolute; inset: auto var(--gutter) 48px; z-index: 3; color: var(--white);
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
}
.expand__ground { position: absolute; left: 10%; right: 10%; bottom: var(--bb); height: 1px; background: var(--g-line-dark); z-index: 2; }
.expand__plot { position: absolute; top: var(--bt); bottom: var(--bb); left: var(--bx); right: var(--bx); z-index: 2; pointer-events: none; color: var(--g-meta-dark); }
.expand__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.expand__plot rect { fill: none; stroke: var(--green); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.expand__peg { position: absolute; width: 10px; height: 10px; margin: -5px; background: var(--green); }
.expand__dim { position: absolute; left: 0; right: 0; top: -34px; height: 12px; border-left: 1px solid currentColor; border-right: 1px solid currentColor; display: grid; place-items: center; }
.expand__dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; }
.expand__dim span { position: relative; background: var(--black); padding: 0 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.expand__tag { position: absolute; bottom: -28px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; }
.expand__tag--lot { left: 0; }
.expand__tag--stage { right: 0; }
.expand__tag--stage b { color: var(--green); font-weight: 600; }
.expand__words { position: absolute; left: 0; right: 0; bottom: calc(var(--bb) * 0.5 - 0.6em); z-index: 2; text-align: center; color: var(--white); pointer-events: none; font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 6.4vw, 112px); letter-spacing: -0.045em; line-height: 1; }
.expand__roll { display: inline-block; height: 1.05em; overflow: hidden; vertical-align: top; }
.expand__roll-inner { display: flex; flex-direction: column; }
.expand__roll-inner span { display: block; height: 1.05em; color: var(--green); }
@media (max-width: 700px) { .expand { --bt: 24%; --bx: 9%; --bb: 34%; } .expand__ground { left: 4%; right: 4%; } }

/* ---------- Statement ---------- */
.statement { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 4.1vw, 66px); line-height: 1.05; letter-spacing: -0.035em; max-width: 20ch; }
.statement-wrap { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; }
.statement-side { display: grid; align-content: start; gap: 24px; padding-top: 12px; }
.statement-foot { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 112px); border-top: 2px solid var(--black); }
.statement-foot > div { padding: 24px 24px 0 0; display: grid; gap: 8px; }
.statement-foot > div + div { padding-left: 24px; border-left: 1px solid var(--g-line-light); }
.statement-foot h3 { font-family: var(--f-display); font-size: 22px; letter-spacing: -0.02em; }
@media (max-width: 900px) {
  .statement-wrap { grid-template-columns: 1fr; }
  .statement-foot { grid-template-columns: 1fr; }
  .statement-foot > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--g-line-light); }
  .statement-foot > div { padding-bottom: 24px; }
}

/* ---------- Service rows ---------- */
.services-list { border-top: 2px solid currentColor; }
.service-row {
  position: relative; display: grid; grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1fr) 56px; gap: 24px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--g-line-light); overflow: hidden;
}
.band--black .service-row { border-color: var(--g-line-dark); }
.service-row::before {
  content: ""; position: absolute; inset: 0; background: var(--black); z-index: 0;
  transform: scaleY(0); transform-origin: bottom; transition: transform 600ms var(--ease);
}
.band--black .service-row::before { background: var(--white); }
.service-row > * { position: relative; z-index: 1; transition: color 500ms var(--ease), transform 600ms var(--ease); }
.service-row__num { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--green-text); }
.service-row__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 54px); letter-spacing: -0.035em; line-height: 1; }
.service-row__desc { font-size: 14px; color: var(--g-meta-light); max-width: 46ch; }
.service-row__icon { width: 48px; height: 48px; color: currentColor; justify-self: end; }
.service-row__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-row__icon .fill-green { fill: var(--green); stroke: none; }
@media (hover: hover) {
  .service-row:hover::before { transform: scaleY(1); transform-origin: top; }
  .service-row:hover { color: var(--white); }
  .band--black .service-row:hover { color: var(--black); }
  .service-row:hover .service-row__desc { color: var(--g-text-dark); }
  .band--black .service-row:hover .service-row__desc { color: var(--g-meta-light); }
  .service-row:hover .service-row__num { color: var(--green); }
  .service-row:hover .service-row__title { transform: translateX(16px); }
}
@media (max-width: 800px) {
  .service-row { grid-template-columns: 44px 1fr 40px; row-gap: 8px; padding: 26px 0; }
  .service-row__desc { grid-column: 2 / 4; grid-row: 2; }
  .service-row__icon { width: 36px; height: 36px; }
}

.hover-reveal {
  position: fixed; top: 0; left: 0; z-index: 800; width: 320px; aspect-ratio: 4 / 5; pointer-events: none;
  overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 400ms var(--ease), transform 500ms var(--ease-out);
}
.hover-reveal.is-on { opacity: 1; }
.hover-reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity 500ms var(--ease), transform 900ms var(--ease-out); }
.hover-reveal img.is-active { opacity: 1; transform: scale(1); }
@media (hover: none) { .hover-reveal { display: none; } }

/* ---------- Build sequence ---------- */
.build { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: flex; align-items: center; }
.build__inner { width: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.build__stages { margin-top: 40px; border-top: 2px solid var(--white); }
.build__stage { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; padding: 16px 0; border-bottom: 1px solid var(--g-line-dark); color: #5e5e5e; transition: color 500ms var(--ease); }
.build__stage .n { font-size: 12px; letter-spacing: 2px; font-weight: 600; padding-top: 5px; }
.build__stage h3 { font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; line-height: 1.1; }
.build__stage p { grid-column: 2; font-size: 13px; line-height: 1.55; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 700ms var(--ease), opacity 500ms var(--ease), margin 700ms var(--ease); }
.build__stage.is-active { color: var(--white); }
.build__stage.is-active .n { color: var(--green); }
.build__stage.is-active p { max-height: 120px; opacity: 1; margin-top: 8px; color: var(--g-text-dark); }
.build__drawing { position: relative; }
.build__drawing svg { width: 100%; height: auto; overflow: visible; }
.build__drawing .ln { fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.build__drawing .ln--thin { stroke-width: 1; stroke: #6b6b6b; }
.build__drawing .ln--dash { stroke: var(--g-meta-dark); stroke-width: 1; }
.build__drawing .ln--green { stroke: var(--green); }
.build__drawing .fill-green { fill: var(--green); opacity: 0; }
.build__drawing .txt { font-family: var(--f-mono); font-size: 10px; letter-spacing: 2px; fill: var(--g-meta-dark); opacity: 0; font-weight: 600; }
.build__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--g-line-dark); }
.build__progress span { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }
.build__counter { position: absolute; top: -8px; right: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(48px, 6vw, 96px); line-height: 1; letter-spacing: -0.04em; color: var(--g-line-dark); }
.build__counter b { color: var(--white); }
@media (max-width: 900px) {
  .build { height: auto; min-height: 0; padding: var(--band-y) 0; }
  .build__inner { grid-template-columns: 1fr; }
  .build__drawing { order: -1; }
  .build__stage p { max-height: none; opacity: 1; margin-top: 8px; }
  .build__stage { color: var(--white); }
}

/* ---------- Stat grid ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid currentColor; }
.stat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 28px 32px; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--g-line-light); }
.band--black .stat { border-color: var(--g-line-dark); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat--hl { background: var(--green); color: var(--black); padding-left: 28px !important; }
.stat-num { font-size: clamp(48px, 5vw, 80px); line-height: 1; letter-spacing: -0.04em; display: flex; align-items: baseline; gap: 8px; }
.stat-num small { font-size: 0.42em; letter-spacing: -0.01em; }
.stat-label { font-weight: 700; font-size: 14px; margin-top: 10px; }
.stat-note { font-size: 12px; color: var(--g-note); }
.band--black .stat-note { color: var(--g-meta-dark); }
.stat--hl .stat-note { color: var(--black); opacity: 0.75; }
@media (max-width: 760px) {
  .stat-grid, .stat-grid--4 { grid-template-columns: 1fr; }
  .stat { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--g-line-light); }
  .band--black .stat { border-color: var(--g-line-dark); }
  .stat--hl { padding: 24px !important; }
}

/* ---------- Approval stamp ---------- */
.stamp { position: relative; width: 168px; height: 168px; color: var(--green); flex: none; }
.stamp svg { width: 100%; height: 100%; overflow: visible; }
.stamp__ring { animation: spin 26s linear infinite; transform-origin: 50% 50%; }
.stamp text { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 3.2px; fill: currentColor; }
.stamp circle { fill: none; stroke: currentColor; stroke-width: 2; }
.stamp .tick { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Featured project ---------- */
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.feature__media { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.feature__head { grid-column: 1 / 8; display: grid; gap: 20px; align-content: start; }
.feature__side { grid-column: 9 / -1; display: grid; gap: 24px; align-content: start; }
.feature__stats { grid-column: 1 / -1; margin-top: 24px; }
.feature__media .stamp svg { background: var(--black); border-radius: 50%; padding: 6px; overflow: hidden; }
.feature__media .stamp { position: absolute; right: clamp(16px, 4vw, 56px); top: clamp(16px, 4vw, 56px); z-index: 2; width: clamp(110px, 12vw, 168px); height: auto; aspect-ratio: 1; }
@media (max-width: 900px) {
  .feature__media { aspect-ratio: 4 / 3; }
  .feature__head, .feature__side { grid-column: 1 / -1; }
}

/* ---------- Two paths ---------- */
.paths { display: flex; min-height: 88svh; border-top: 1px solid var(--g-line-dark); }
.path {
  position: relative; flex: 1 1 50%; overflow: hidden; color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 56px);
  transition: flex-grow 900ms var(--ease);
}
.path + .path { border-left: 1px solid var(--g-line-dark); }
.path__bg { position: absolute; inset: 0; z-index: 0; }
.path__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.45); transform: scale(1.08); transition: filter 1000ms var(--ease), transform 1400ms var(--ease-out); }
.path > *:not(.path__bg) { position: relative; z-index: 1; }
.path__top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; }
.path__top span:first-child { color: var(--green); }
.path__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 5.4vw, 92px); line-height: 0.92; letter-spacing: -0.045em; }
.path__body { display: grid; gap: 24px; max-width: 460px; }
.path__body p { color: var(--g-text-dark); font-size: 14px; opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 800ms var(--ease-out); }
@media (hover: hover) and (min-width: 901px) {
  .paths:hover .path { flex-grow: 0.7; }
  .paths .path:hover { flex-grow: 1.3; }
  .path:hover .path__bg img { filter: grayscale(0) brightness(0.55); transform: scale(1); }
  .path:hover .path__body p { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .paths { flex-direction: column; min-height: 0; }
  .path { min-height: 70svh; }
  .path + .path { border-left: 0; border-top: 1px solid var(--g-line-dark); }
  .path__body p { opacity: 1; transform: none; }
}

/* ---------- Marquee CTA ---------- */
.cta { overflow: hidden; }
.marquee { display: flex; white-space: nowrap; user-select: none; border-top: 1px solid var(--g-line-dark); border-bottom: 1px solid var(--g-line-dark); padding: clamp(20px, 3vw, 40px) 0; }
.marquee__track { display: flex; flex: none; will-change: transform; }
.marquee__item { font-family: var(--f-display); font-weight: 700; font-size: clamp(56px, 10vw, 176px); line-height: 1; letter-spacing: -0.05em; padding-right: 0.5em; display: inline-flex; align-items: center; gap: 0.5em; }
.marquee__item i { display: inline-block; width: 0.32em; height: 0.32em; background: var(--green); font-style: normal; }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.cta__row { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-top: clamp(40px, 5vw, 72px); }
.cta__contacts { display: grid; grid-template-columns: repeat(3, auto); gap: 40px; justify-content: start; }
.cta__contacts div { display: grid; gap: 4px; }
.cta__contacts a { font-size: 15px; user-select: text; }
.cta__contacts a:hover { color: var(--green); }
@media (max-width: 900px) {
  .cta__row { grid-template-columns: 1fr; }
  .cta__contacts { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding-top: clamp(64px, 7vw, 112px); overflow: hidden; position: relative; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 56px; border-bottom: 1px solid var(--g-line-dark); }
.footer__col h4 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--g-meta-dark); margin-bottom: 16px; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { font-size: 14px; transition: color 300ms; }
.footer__col a:hover { color: var(--green); }
.footer__lead { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -0.03em; max-width: 14ch; }
.footer__giant { padding: clamp(32px, 5vw, 72px) 0 0; }
.footer__giant img { width: 100%; height: auto; transform-origin: bottom center; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--g-meta-dark); font-weight: 600; }
.to-top { display: inline-flex; gap: 8px; align-items: center; }
.to-top:hover { color: var(--green); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(64px, 10vw, 160px)) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.page-hero__crumbs { display: flex; gap: 10px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--g-meta-dark); margin-bottom: 32px; }
.band--white .page-hero__crumbs { color: var(--g-meta-light); }
.page-hero__crumbs a:hover { color: var(--green); }
.page-hero__title { max-width: 16ch; }
.page-hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--g-line-dark); }
.band--white .page-hero__foot { border-color: var(--g-line-light); }
.page-hero__index { font-family: var(--f-display); font-weight: 700; font-size: clamp(80px, 14vw, 240px); line-height: 0.8; letter-spacing: -0.06em; position: absolute; right: var(--gutter); top: calc(var(--header-h) + 32px); color: transparent; -webkit-text-stroke: 1px var(--g-line-dark); pointer-events: none; }
.band--white .page-hero__index { -webkit-text-stroke-color: var(--g-line-light); }
@media (max-width: 760px) { .page-hero__foot { grid-template-columns: 1fr; } .page-hero__index { display: none; } }

.media-band { position: relative; height: clamp(360px, 80svh, 860px); overflow: hidden; background: var(--black); }
.media-band img { width: 100%; height: 120%; object-fit: cover; }

/* ---------- Founders ---------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.founder { border-top: 2px solid currentColor; padding-top: 24px; display: grid; gap: 20px; }
.founder__mark {
  aspect-ratio: 4 / 3; background: var(--black); color: var(--white); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.founder__mark > span:first-child { font-family: var(--f-display); font-weight: 700; font-size: clamp(96px, 14vw, 220px); letter-spacing: -0.07em; line-height: 1; transition: transform 1200ms var(--ease-out); }
.founder:hover .founder__mark > span:first-child { transform: scale(1.06); }
.founder__mark .caption { position: absolute; left: 16px; bottom: 12px; color: var(--g-meta-dark); }
.founder__name { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.founder__role { font-size: 11px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; color: var(--green-text); }
.founder__skills { display: flex; flex-wrap: wrap; gap: 8px; }
.founder__skills li { font-size: 11px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; border: 1px solid var(--g-line-light); padding: 6px 10px; }
.founder__contact { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--g-line-light); font-size: 14px; }
.founder__contact a:hover { color: var(--green-text); }
@media (max-width: 800px) { .founders { grid-template-columns: 1fr; } }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid currentColor; }
.principle { padding: 28px 24px 8px 0; display: grid; gap: 14px; align-content: start; }
.principle + .principle { padding-left: 24px; border-left: 1px solid var(--g-line-dark); }
.band--white .principle + .principle { border-color: var(--g-line-light); }
.principle__n { font-size: 12px; letter-spacing: 2px; font-weight: 600; color: var(--green); }
.band--white .principle__n { color: var(--green-text); }
.principle h3 { font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; line-height: 1.08; }
.principle p { font-size: 14px; color: var(--g-text-dark); }
.band--white .principle p { color: var(--g-meta-light); }
@media (max-width: 900px) {
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .principles { grid-template-columns: 1fr; }
  .principle + .principle { padding-left: 0; border-left: 0; border-top: 1px solid var(--g-line-dark); }
}

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--g-line-dark); }
.band--white .timeline::before { background: var(--g-line-light); }
.timeline__fill { position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--green); transform-origin: left; transform: scaleX(0); }
.tl-step { position: relative; display: grid; gap: 12px; padding-right: 24px; }
.tl-step::before { content: ""; position: absolute; top: -40px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--black); border: 2px solid var(--green); transition: background-color 500ms var(--ease); }
.band--white .tl-step::before { background: var(--white); }
.tl-step.is-in::before { background: var(--green); }
.tl-step__n { font-size: 12px; letter-spacing: 2px; font-weight: 600; color: var(--g-meta-dark); }
.tl-step h3 { font-family: var(--f-display); font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.03em; line-height: 1; }
.tl-step p { font-size: 14px; color: var(--g-text-dark); max-width: 36ch; }
.band--white .tl-step p { color: var(--g-meta-light); }
.tl-step ul { display: grid; gap: 6px; font-size: 13px; }
.tl-step li::before { content: "— "; color: var(--green); }
@media (max-width: 800px) {
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; gap: 48px; }
  .timeline::before, .timeline__fill { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline__fill { transform-origin: top; transform: scaleY(0); }
  .tl-step::before { top: 4px; left: -40px; }
}

/* ---------- Dot map ---------- */
.dotmap { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: end; }
.dotmap canvas { width: 100%; height: 100%; display: block; }
.dotmap__pin { position: absolute; display: grid; gap: 4px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; transform: translate(14px, -50%); }
.dotmap__pin small { color: var(--g-meta-dark); font-size: 10px; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } .dotmap { justify-self: start; } }

/* ---------- Service page blocks ---------- */
.intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.intro-grid__media { grid-column: 1 / 6; grid-row: 1; aspect-ratio: 4 / 5; }
.intro-grid__copy { grid-column: 7 / -1; grid-row: 1; display: grid; gap: 28px; padding-top: 8px; align-self: center; }
.intro-grid__small { grid-row: 2; }
.intro-grid__media--offset { margin-top: clamp(40px, 8vw, 140px); }
.intro-grid__small { grid-column: 4 / 7; aspect-ratio: 1; margin-top: -30%; position: relative; z-index: 2; border: 10px solid var(--white); }
@media (max-width: 900px) {
  .intro-grid__media, .intro-grid__copy { grid-column: 1 / -1 !important; grid-row: auto; }
  .intro-grid__media--offset { margin-top: 0; }
  .intro-grid__small { display: none; }
}

.who { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid currentColor; }
.who > div { padding: 28px 24px 0 0; display: grid; gap: 12px; align-content: start; }
.who > div + div { padding-left: 24px; border-left: 1px solid var(--g-line-light); }
.band--black .who > div + div { border-color: var(--g-line-dark); }
.who h3 { font-family: var(--f-display); font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.who p { font-size: 14px; color: var(--g-meta-light); }
.band--black .who p { color: var(--g-text-dark); }
@media (max-width: 860px) {
  .who { grid-template-columns: 1fr; }
  .who > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--g-line-light); }
  .who > div { padding-bottom: 24px; }
}

.steps { counter-reset: step; }
.step-row {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px;
  padding: 36px 0; border-bottom: 1px solid var(--g-line-dark); align-items: start; position: relative;
}
.band--white .step-row { border-color: var(--g-line-light); }
.steps { border-top: 2px solid currentColor; }
.step-row__n { font-family: var(--f-display); font-weight: 700; font-size: 56px; line-height: 0.9; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px var(--g-meta-dark); transition: color 600ms var(--ease), -webkit-text-stroke-color 600ms; }
.step-row.is-in .step-row__n { color: var(--green); -webkit-text-stroke-color: var(--green); }
.band--white .step-row.is-in .step-row__n { color: var(--black); -webkit-text-stroke-color: var(--black); }
.step-row h3 { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -0.03em; line-height: 1.05; }
.step-row p { font-size: 14px; color: var(--g-text-dark); }
.band--white .step-row p { color: var(--g-meta-light); }
.step-row ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.step-row li { font-size: 10px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; border: 1px solid var(--g-line-dark); padding: 5px 9px; }
.band--white .step-row li { border-color: var(--g-line-light); }
@media (max-width: 800px) {
  .step-row { grid-template-columns: 64px 1fr; }
  .step-row__n { font-size: 40px; }
  .step-row > div:last-child { grid-column: 2; }
}

.sticky-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky-split__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; }
@media (max-width: 900px) { .sticky-split { grid-template-columns: 1fr; } .sticky-split__aside { position: static; } }

/* ---------- Accordion ---------- */
.accordion { border-top: 2px solid currentColor; }
.acc-item { border-bottom: 1px solid var(--g-line-light); }
.band--black .acc-item { border-color: var(--g-line-dark); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
.acc-btn:hover { color: var(--green-text); }
.band--black .acc-btn:hover { color: var(--green); }
.acc-icon { position: relative; width: 16px; height: 16px; flex: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: currentColor; transition: transform 500ms var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
.acc-item.is-open .acc-icon::after { transform: rotate(0deg); }
.acc-panel { height: 0; overflow: hidden; transition: height 600ms var(--ease); }
.acc-panel__inner { padding: 0 0 28px; max-width: 660px; font-size: 14px; color: var(--g-meta-light); }
.band--black .acc-panel__inner { color: var(--g-text-dark); }

/* ---------- Projects page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 2px solid currentColor; margin-bottom: clamp(40px, 5vw, 72px); }
.filters__group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { min-height: 40px; padding: 0 16px; border: 1px solid var(--g-line-light); font-size: 11px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; transition: background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms; }
.filter-btn sup { font-size: 9px; margin-left: 4px; color: var(--g-note); }
.filter-btn:hover { border-color: var(--black); }
.filter-btn.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.filter-btn.is-active sup { color: var(--green); }
.view-count { font-size: 11px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; color: var(--g-meta-light); }

.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(48px, 6vw, 96px) 24px; }
.project-card { display: grid; gap: 16px; align-content: start; transition: opacity 600ms var(--ease), transform 800ms var(--ease-out); }
.project-card.is-hidden { display: none; }
.project-card:nth-child(4n + 1) { grid-column: 1 / 8; }
.project-card:nth-child(4n + 2) { grid-column: 9 / -1; margin-top: clamp(80px, 14vw, 220px); }
.project-card:nth-child(4n + 3) { grid-column: 2 / 7; }
.project-card:nth-child(4n + 4) { grid-column: 8 / -1; margin-top: clamp(40px, 7vw, 120px); }
.project-grid.is-filtered .project-card { grid-column: span 6 !important; margin-top: 0 !important; }
.project-card__media { aspect-ratio: 4 / 3; }
.project-card:nth-child(4n + 2) .project-card__media, .project-card:nth-child(4n + 3) .project-card__media { aspect-ratio: 4 / 5; }
.project-card__media img { transition: filter 900ms var(--ease), transform 1400ms var(--ease-out) !important; }
.project-card:hover .project-card__media img { transform: scale(1.04) !important; }
.project-card__meta { display: flex; justify-content: space-between; gap: 16px; align-items: start; padding-top: 14px; border-top: 1px solid var(--g-line-light); }
.project-card__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -0.03em; line-height: 1.05; }
.project-card__sub { font-size: 12px; color: var(--g-note); margin-top: 6px; }
.project-card__soon { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgba(20, 20, 20, 0.7); color: var(--white); font-size: 11px; letter-spacing: 3px; font-weight: 600; text-transform: uppercase; opacity: 0; transition: opacity 500ms var(--ease); }
.project-card:hover .project-card__soon { opacity: 1; }
@media (max-width: 800px) {
  .project-card, .project-grid.is-filtered .project-card { grid-column: 1 / -1 !important; margin-top: 0 !important; }
}

/* ---------- Single project ---------- */
.proj-hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: var(--white); background: var(--black); }
.proj-hero__img { position: absolute; inset: 0; }
.proj-hero__img img { width: 100%; height: 115%; object-fit: cover; }
.proj-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0.2) 55%, rgba(20, 20, 20, 0.45) 100%); }
.proj-hero__content { position: absolute; inset: auto 0 0 0; padding-bottom: 48px; z-index: 2; }
.proj-hero__content .container { display: grid; gap: 28px; }
.proj-hero__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.proj-hero .img-tag { left: auto; right: var(--gutter); top: calc(var(--header-h) + 16px); bottom: auto; }

.fact-table { width: 100%; border-collapse: collapse; border-top: 2px solid currentColor; }
.fact-table th, .fact-table td { text-align: left; vertical-align: top; padding: 16px 0; border-bottom: 1px solid var(--g-line-light); font-size: 14px; }
.band--black .fact-table th, .band--black .fact-table td { border-color: var(--g-line-dark); }
.fact-table th { width: 38%; font-weight: 700; padding-right: 24px; }
.fact-table td { color: var(--g-meta-light); }
.band--black .fact-table td { color: var(--g-text-dark); }

.drawing-panel { background: var(--white); padding: 10px; }
.drawing-panel svg { width: 100%; height: auto; }
.drawing-panel .dl { fill: none; stroke: var(--black); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2400ms var(--ease); }
.drawing-panel .dl--thin { stroke-width: 0.8; stroke: #6b6b6b; }
.drawing-panel .dl--green { stroke: var(--green-text); stroke-width: 2; }
.drawing-panel.is-in .dl { stroke-dashoffset: 0; }
.drawing-panel .dt { font-family: var(--f-mono); font-size: 9px; letter-spacing: 1.5px; fill: var(--g-meta-light); font-weight: 600; }
.drawing-panel .fill-green { fill: var(--green); opacity: 0; transition: opacity 800ms var(--ease) 1800ms; }
.drawing-panel.is-in .fill-green { opacity: 0.9; }
.drawing-panel .bld { fill: #ececec; }
.drawing-panel .dt { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: 1px; fill: #6b6b6b; }
.drawing-panel .dt--b { fill: var(--black); font-size: 13px; font-weight: 700; }
.mask-img > .drawing-panel { position: absolute; inset: 0; display: grid; place-items: center; padding: 4%; }
.mask-img > .drawing-panel svg { width: 100%; height: 100%; }

.approval { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 760px) { .approval { grid-template-columns: 1fr; } }

.hscroll { position: relative; overflow: hidden; }
.hscroll__track { display: flex; gap: 24px; padding: 0 var(--gutter); will-change: transform; width: max-content; }
.hscroll__item { flex: none; width: clamp(280px, 42vw, 680px); display: grid; gap: 12px; }
.hscroll__item:nth-child(even) { width: clamp(240px, 28vw, 440px); }
.hscroll__item .mask-img { aspect-ratio: 4 / 3; }
.hscroll__item:nth-child(even) .mask-img { aspect-ratio: 4 / 5; }
.hscroll__item button { display: block; width: 100%; cursor: zoom-in; }
.hscroll__bar { margin: 40px var(--gutter) 0; height: 2px; background: var(--g-line-dark); }
.hscroll__bar span { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) {
  .hscroll__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .hscroll__item { scroll-snap-align: start; width: 80vw !important; }
  .hscroll__bar { display: none; }
}

.next-project { display: block; position: relative; overflow: hidden; color: var(--white); background: var(--black); }
.next-project__inner { position: relative; z-index: 2; padding: clamp(80px, 12vw, 180px) 0; }
.next-project__bg { position: absolute; inset: 0; }
.next-project__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.35); transform: scale(1.1); transition: transform 1600ms var(--ease-out), filter 1000ms var(--ease); }
.next-project:hover .next-project__bg img { transform: scale(1); filter: grayscale(0) brightness(0.45); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 9500; background: rgba(20, 20, 20, 0.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 500ms var(--ease), visibility 0s linear 500ms; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-width: calc(100vw - var(--gutter) * 2); max-height: 80vh; object-fit: contain; transform: scale(0.94); transition: transform 700ms var(--ease-out); }
.lightbox.is-open img { transform: none; }
.lightbox__bar { position: absolute; left: var(--gutter); right: var(--gutter); top: 24px; display: flex; justify-content: space-between; align-items: center; color: var(--white); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.lightbox__nav { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px; display: flex; justify-content: space-between; }
.lightbox button { color: var(--white); min-height: 44px; padding: 0 16px; border: 1px solid var(--g-line-dark); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.lightbox button:hover { border-color: var(--green); color: var(--green); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-card { background: var(--black); color: var(--white); padding: clamp(28px, 3.5vw, 48px); display: grid; gap: 32px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card__person { display: grid; gap: 6px; padding-top: 20px; border-top: 1px solid var(--g-line-dark); }
.contact-card__person:first-of-type { border-top: 2px solid var(--white); }
.contact-card__name { font-family: var(--f-display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.contact-card a.big { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.1; user-select: text; width: fit-content; transition: color 300ms; }
.contact-card a.big:hover { color: var(--green); }
.contact-card .label { color: var(--g-meta-dark); }
.contact-card__mail { word-break: break-all; }
.copy-btn { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--g-meta-dark); border: 1px solid var(--g-line-dark); padding: 6px 10px; width: fit-content; transition: color 300ms, border-color 300ms; }
.copy-btn:hover, .copy-btn.is-done { color: var(--green); border-color: var(--green); }

.form { display: grid; gap: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { position: relative; display: grid; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--g-line-light); background: transparent; border-radius: 0;
  padding: 28px 0 12px; font-size: 16px; outline: none; transition: border-color 400ms;
}
.field textarea { min-height: 140px; resize: vertical; }
.field label { position: absolute; left: 0; top: 30px; font-size: 13px; color: var(--g-note); pointer-events: none; transition: transform 400ms var(--ease), font-size 400ms var(--ease), color 400ms; transform-origin: left; }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label { transform: translateY(-26px); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--black); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--black); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field.has-error::after { background: var(--red-text); transform: scaleX(1); }
.field__err { font-size: 12px; color: var(--red-text); margin-top: 6px; display: none; }
.field.has-error .field__err { display: block; }
.choice-group { display: grid; gap: 14px; }
.choice-group > span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--g-line-light); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: all 400ms var(--ease); }
.choice span:hover { border-color: var(--black); }
.choice input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.choice input:checked + span::before { content: "✓"; margin-right: 8px; color: var(--green); }
.choice input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 8px; }
.form-success { display: none; border-top: 2px solid var(--black); padding-top: 24px; gap: 16px; }
.form.is-sent { display: none; }
.form.is-sent + .form-success { display: grid; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { position: static; } }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9400; pointer-events: none; display: none; }
.cursor__dot { width: 8px; height: 8px; background: var(--green); transform: translate(-50%, -50%); transition: width 400ms var(--ease), height 400ms var(--ease), background-color 300ms; display: grid; place-items: center; }
.cursor__dot span { font-size: 10px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; color: var(--black); opacity: 0; transition: opacity 200ms; white-space: nowrap; }
.cursor.is-label .cursor__dot { width: 84px; height: 84px; }
.cursor.is-label .cursor__dot span { opacity: 1; transition-delay: 150ms; }
.cursor.is-link .cursor__dot { width: 20px; height: 20px; background: transparent; border: 2px solid var(--green); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- Misc ---------- */
.rule { height: 2px; background: currentColor; }
.hairline { height: 1px; background: var(--g-line-light); }
.band--black .hairline { background: var(--g-line-dark); }
.mt-s { margin-top: 24px; } .mt-m { margin-top: 48px; } .mt-l { margin-top: 96px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .split-word > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .mask-img[data-reveal] img { transform: none !important; }
  .js .mask-img[data-reveal]::after { display: none; }
  .expand__frame { clip-path: none !important; }
  .expand__plot, .expand__ground { display: none; }
  .build__drawing .ln { stroke-dashoffset: 0 !important; }
  .build__drawing .fill-green, .build__drawing .txt { opacity: 1 !important; }
  .build__stage p { max-height: none; opacity: 1; }
  html.is-loading .loader { visibility: hidden; }
}

.project-grid.is-filtered .project-card__media { aspect-ratio: 4 / 3 !important; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 960; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }

/* ---------- Hero stage cycler (Land → Build → Handover) ---------- */
.hero__title { position: relative; z-index: 2; pointer-events: none; }
.hero__stage { position: absolute; z-index: 1; top: var(--header-h); bottom: 0; right: var(--gutter); display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.hero__stage-inner { width: clamp(240px, 23vw, 360px); display: grid; gap: 12px; }
.hero__stage-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1d1d1d; }
.hero__stage-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(0.8); clip-path: inset(100% 0 0 0); transform: scale(1.18);
  transition: clip-path 1100ms var(--ease), transform 4200ms var(--ease-out);
}
.hero__stage-frame img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 2; }
.hero__stage-frame img.is-leaving { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.hero__stage-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hero__stage-bars span { height: 2px; background: var(--g-line-dark); overflow: hidden; }
.hero__stage-bars i { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }
.hero__stage-label { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.hero__tagline [data-stage-word] { transition: color 500ms var(--ease); }
.hero__tagline [data-stage-word].is-on { color: var(--white); }
@media (max-width: 900px) {
  .hero__stage { position: relative; inset: auto; padding: 32px var(--gutter) 0; }
  .hero__stage-inner { width: 100%; }
  .hero__stage-frame { aspect-ratio: 16 / 10; }
  .hero__title { margin: 40px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__stage-frame img:first-child { clip-path: none; transform: none; }
}

/* Mobile build stages: one text colour throughout */
@media (max-width: 900px) {
  .build__stage p, .build__stage.is-active p { color: var(--g-text-dark); }
  .build__stage .n { color: var(--green); }
}

/* ---------- Round 2 tweaks ---------- */
/* Hero headline: the tagline itself, stacked; each word lights green with its stage */
.hero__h1 { font-size: clamp(56px, 10vw, 168px); line-height: 0.86; max-width: none !important; }
.hero__h1 [data-stage-word] { transition: color 700ms var(--ease); }
.hero__h1 [data-stage-word].is-on { color: var(--green); }
.hero__foot--simple { grid-template-columns: 1fr auto; }
@media (max-width: 900px) { .hero__foot--simple { grid-template-columns: 1fr; } }

/* Cursor: a touch bigger, grows while scrolling (scale set in JS) */
.cursor__dot { width: 12px; height: 12px; transform: translate(-50%, -50%) scale(var(--s, 1)); }
.cursor.is-link .cursor__dot { width: 30px; height: 30px; }
.cursor.is-label .cursor__dot { width: 92px; height: 92px; }

/* Build figure fills */
.build__drawing .fill-black { fill: var(--black); opacity: 0; }
.build__drawing .fill-lit { fill: #ffffff; opacity: 0; }

/* Six-stage timeline */
.timeline { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tl-step h3 { font-size: clamp(22px, 1.9vw, 30px); }
.tl-step p { font-size: 13px; }
@media (max-width: 1100px) {
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; gap: 40px; }
  .timeline::before, .timeline__fill { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline__fill { transform-origin: top; transform: scaleY(0); }
  .tl-step::before { top: 4px; left: -40px; }
}

/* Map labels */
.dotmap__pin--muted { transform: translate(-50%, -50%); color: var(--g-meta-dark); font-size: 10px; letter-spacing: 2.5px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .build__drawing .fill-black { opacity: 1 !important; }
  .build__drawing .fill-lit { opacity: 0.14 !important; }
}

.dotmap__pin:not(.dotmap__pin--muted) { transform: translate(34px, -50%); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) 24px; }
.post-grid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-grid--feature .post-card:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(24px, 4vw, 64px); align-items: end; }
.post-grid--feature .post-card:first-child .post-card__media { aspect-ratio: 16 / 10; }
.post-grid--feature .post-card:first-child .post-card__title { font-size: clamp(28px, 3.2vw, 48px); }
.post-card { display: grid; gap: 18px; align-content: start; }
.post-card__media { aspect-ratio: 4 / 3; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__media img { transition: filter 900ms var(--ease), transform 1400ms var(--ease-out); }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--g-note); }
.post-card__meta .cat { color: var(--green-text); }
.post-card__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.12; letter-spacing: -0.02em; margin-top: 10px; }
.post-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--g-meta-light); margin-top: 10px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; } .post-grid--feature .post-card:first-child { grid-template-columns: 1fr; } }

.post-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--g-meta-dark); }
.post-cover { aspect-ratio: 21 / 9; margin-top: calc(var(--band-y) * -0.5); position: relative; z-index: 2; }
@media (max-width: 680px) { .post-cover { aspect-ratio: 4 / 3; } }

.article-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 14px; }
.toc ol { display: grid; gap: 10px; counter-reset: toc; border-top: 2px solid var(--black); padding-top: 18px; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 28px 1fr; font-size: 14px; line-height: 1.4; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; color: var(--g-note); padding-top: 2px; }
.toc a:hover { color: var(--green-text); }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .toc { position: static; } }

.article { max-width: 720px; font-size: 17px; line-height: 1.7; }
.article > * + * { margin-top: 1.1em; }
.article h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -0.025em; margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 24px); }
.article h3 { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.25; margin-top: 1.8em; }
.article ul, .article ol { display: grid; gap: 0.5em; padding-left: 1.3em; }
.article ul { list-style: square; }
.article ol { list-style: decimal; }
.article li::marker { color: var(--green-text); font-weight: 700; }
.article a:not(.btn) { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.article a:not(.btn):hover { color: var(--green-text); }
.article strong { font-weight: 700; }
.article .fact-table { font-size: 15px; }
.article .fact-table th { width: auto; }
.article .fact-table th, .article .fact-table td { padding-right: 20px; }
.article .fact-table thead th { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--g-note); }
.article .table-wrap { overflow-x: auto; }
.article .table-wrap table { min-width: 560px; }

.quick-answer { background: var(--g-panel); border-left: 4px solid var(--green); padding: 24px 28px; display: grid; gap: 10px; }
.quick-answer .label { color: var(--green-text); }
.quick-answer p { font-size: 18px; line-height: 1.6; }
.key-points { border-top: 2px solid var(--black); padding-top: 20px; }
.key-points ul { margin-top: 12px; }

.faq { border-top: 2px solid var(--black); }
.faq details { border-bottom: 1px solid var(--g-line-light); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-weight: 400; font-size: 22px; line-height: 1; transition: transform 300ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--g-meta-light); }
.article-note { font-size: 13px; color: var(--g-note); border-top: 1px solid var(--g-line-light); padding-top: 16px; }
