/* =========================================================
   SNAPCON — concrete monochrome
   ========================================================= */
:root {
  /* palette: raw concrete, from formwork-black to fresh pour */
  --ink: #0d0e0f;          /* night site */
  --ink-2: #151618;
  --ink-3: #1d1f21;
  --line: rgba(236, 234, 229, 0.09);
  --line-strong: rgba(236, 234, 229, 0.22);
  --bone: #ecebe6;         /* cured concrete, lit */
  --concrete: #b6b4ae;
  --muted: #85878a;
  --slab: #dedcd6;         /* light section bg */
  --slab-ink: #232425;

  --f-display: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 300 17px/1.65 var(--f-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 300; margin: 0; }
p { margin: 0 0 1em; }
::selection { background: var(--bone); color: var(--ink); }
:focus-visible { outline: 1px solid var(--bone); outline-offset: 4px; }

/* film grain over everything — concrete texture */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 200; pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; position: relative; }

/* ---------- shared atoms ---------- */
.label {
  font: 400 12px/1.4 var(--f-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--concrete);
  margin: 0 0 1.5rem;
  display: flex; align-items: center; gap: 14px;
}
.bar { display: inline-block; width: 3px; height: 1.6em; background: var(--bone); flex: none; }
.section-title {
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}
.todo { color: var(--muted); font-style: italic; }
.todo::after { content: " ✎"; font-style: normal; opacity: .5; font-size: .8em; }
a.todo { font-style: normal; color: inherit; }

/* Orano-style structural grid lines */
.grid-lines { position: absolute; inset: 0; pointer-events: none; display: grid; grid-template-columns: 1fr 2fr 1fr; }
.grid-lines span { border-right: 1px solid var(--line); }
.grid-lines span:last-child { border-right: 0; }
.grid-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 24%; border-top: 1px solid var(--line); }

/* whole-page fade: projects, about, contact fade in each time you arrive */
.fade-section { opacity: 0; transition: opacity 1.4s ease; }
.fade-section.is-in { opacity: 1; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.line { display: block; overflow: hidden; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.line.in > span { transform: none; }
.line.reveal { opacity: 1; transform: none; }
.line + .line > span { transition-delay: .12s; }

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: grid; place-items: center;
  transition: transform 1.4s var(--ease), opacity 1s ease;
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.intro.is-done { transform: translateY(-100%); pointer-events: none; }
.intro.is-gone { display: none; }
.intro__top { position: absolute; top: clamp(24px, 6vh, 64px); left: var(--gutter); }

.intro__stage { position: relative; width: min(38vw, 300px); aspect-ratio: 365 / 392; margin-bottom: 170px; }
.intro__mark { width: 100%; height: 100%; overflow: visible; }
.intro__floor {
  position: absolute; left: 100%; bottom: 22%; margin-left: 24px;
  font: 400 clamp(28px, 4vw, 44px)/1 var(--f-mono); color: var(--bone); white-space: nowrap;
}
.intro__floor small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* the mark: towers rise from their footing */
.mark-frame { fill: none; stroke: currentColor; stroke-width: 5; }
.intro__mark { color: var(--bone); fill: var(--bone); }
.mark-shadows { fill: var(--muted); }
/* rules target the <symbol> clones directly (selectors don't cross <use>), progress vars inherit in */
.intro__mark { --p1: 0; --p2: 0; --p3: 0; --ps: 0; --pf: 0; }
.mark-tower { transform-box: view-box; transform-origin: 0 287px; }
.mark-tower.t1 { transform: scaleY(var(--p1, 1)); }
.mark-tower.t2 { transform: scaleY(var(--p2, 1)); }
.mark-tower.t3 { transform: scaleY(var(--p3, 1)); }
.mark-shadows { opacity: var(--ps, 1); }
.mark-frame { stroke-dasharray: 570; stroke-dashoffset: calc(570 * (1 - var(--pf, 1))); }

.intro__loading, .hold, .intro__hint, .intro__skip { position: absolute; left: 50%; transform: translateX(-50%); }
.intro__loading { bottom: clamp(60px, 14vh, 140px); text-align: center; }
.intro__loading .label { justify-content: center; }
.loadbar { width: 220px; height: 1px; background: var(--line-strong); margin: 0 auto; }
.loadbar span { display: block; height: 100%; width: 0; background: var(--bone); transition: width .3s linear; }

.hold {
  bottom: clamp(70px, 15vh, 150px);
  width: 112px; height: 112px; border-radius: 50%;
  background: transparent; border: 0; padding: 0; cursor: pointer; color: var(--bone);
  animation: breathe 2.6s ease-in-out infinite;
}
.hold[hidden], .intro__hint[hidden], .intro__skip[hidden] { display: none; }
.hold.is-holding { animation: none; }
.hold__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.hold__ring circle { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.hold__ring .hold__progress { stroke: var(--bone); stroke-width: 2; stroke-dasharray: 289; stroke-dashoffset: 289; }
.hold__label { font: 400 12px/1.5 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; }
@keyframes breathe { 50% { transform: translateX(-50%) scale(1.06); } }

.intro__hint { bottom: clamp(30px, 8vh, 80px); white-space: nowrap; margin: 0; color: var(--muted); font-size: 12px; }
.intro__skip {
  left: auto; right: var(--gutter); transform: none; bottom: clamp(24px, 5vh, 48px);
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font: 400 12px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase;
}
.intro__skip:hover { color: var(--bone); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  transition: background .5s, transform .6s var(--ease);
  transform: translateY(-100%);
}
.site-header.is-visible { transform: none; }
.site-header.is-solid { background: rgba(13, 14, 15, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header__logo img { height: 30px; width: auto; filter: invert(1) brightness(1.1); }
.site-nav { margin-left: auto; display: flex; gap: clamp(16px, 2.6vw, 40px); }
.site-nav a { font: 400 12px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--concrete); transition: color .3s; }
.site-nav a:hover { color: var(--bone); }
.site-nav__cta { color: var(--bone) !important; border-bottom: 1px solid var(--bone); padding-bottom: 4px; }

/* phone menu button (hidden on desktop) */
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--bone); }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49; background: var(--ink);
  padding: calc(var(--header-h) + 5vh) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity .45s ease;
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mobile-menu__list li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .7s var(--ease); }
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) { transition-delay: .05s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) { transition-delay: .15s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) { transition-delay: .2s; }
.mobile-menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; text-decoration: none; font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 300; text-transform: uppercase; line-height: 1.1; }
.mobile-menu__list a span { font: 400 12px/1 var(--f-mono); letter-spacing: .15em; color: var(--muted); }
.mobile-menu__foot { margin: 0; }
.mobile-menu__foot a { color: var(--bone); }
html.menu-open, html.menu-open body { overflow: hidden; }

.sound-toggle { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--concrete); cursor: pointer; font: 400 12px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; padding: 8px 0; }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 2px; height: 3px; background: currentColor; }
.sound-toggle[aria-pressed="true"] { color: var(--bone); }
.sound-toggle[aria-pressed="true"] .eq i { animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s !important; }
.eq i:nth-child(3) { animation-delay: -.6s !important; }
.eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eq { 50% { height: 14px; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  padding: calc(var(--header-h) + 4vh) var(--gutter) 0;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
/* fly-through terrain + tower (drawn in main.js) */
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 2.4s ease .2s;
}
.hero__canvas.is-ready { opacity: 1; }
/* keeps the titles readable over the lines */
.hero__shade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(13,14,15,.85) 0%, rgba(13,14,15,.35) 45%, rgba(13,14,15,0) 70%),
              linear-gradient(0deg, rgba(13,14,15,.9) 0%, rgba(13,14,15,0) 28%); }
.hero .grid-lines { z-index: 0; }

/* chapters stack in one grid cell and cross-fade */
.chapters { position: relative; z-index: 2; display: grid; max-width: 1100px; margin-bottom: 14vh; }
.chapter { grid-area: 1 / 1; align-self: center; visibility: hidden; transition: visibility 0s linear 1s; }
.chapter.is-active { visibility: visible; transition: none; }
.chapter > .label, .chapter .hero__lead { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .9s var(--ease); }
.chapter .line > span { transition: transform 1.1s var(--ease); }
.chapter:not(.is-active) .line > span { transform: translateY(-105%); transition-duration: .6s; }
.chapter.is-active.in > .label, .chapter.is-active.in .hero__lead { opacity: 1; transform: none; }
.chapter.is-active.in .line > span { transform: none; }
.chapter.is-active .line > span { transition-delay: .25s; }
.chapter.is-active .line + .line > span { transition-delay: .37s; }
.chapter.is-active .hero__lead { transition-delay: .55s; }

.hero__title {
  font-size: clamp(2.5rem, 7.2vw, 7.6rem); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; font-weight: 200;
  margin-bottom: 2rem;
}
.hero__title em { font-style: normal; font-weight: 400; }
.hero__lead { max-width: 36ch; font-size: clamp(1.02rem, 1.4vw, 1.25rem); color: var(--concrete); }

/* Orano-style round controls */
.chapter-nav { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(28px, 6vh, 64px); display: flex; align-items: center; gap: 18px; }
.chapter-count { font: 400 12px/1 var(--f-mono); letter-spacing: .18em; color: var(--concrete); display: flex; align-items: center; gap: 10px; margin-right: 10px; }
.chapter-count i { width: 40px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.chapter-count i::after { content: ""; position: absolute; inset: 0; background: var(--bone); transform: scaleX(var(--progress, .2)); transform-origin: left; transition: transform 1.2s var(--ease); }
.chapter-count #chapterNow { color: var(--bone); }
.round-btn {
  position: relative; width: 84px; height: 84px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: transparent; color: var(--bone); display: grid; place-items: center;
}
.round-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-strong); transition: border-color .4s, transform .6s var(--ease); }
.round-btn:hover::before { border-color: var(--bone); transform: scale(1.08); }
.round-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .6s var(--ease); }
.round-btn:hover .round-btn__arrow { transform: translateX(4px); }
.round-btn.is-down .round-btn__arrow { transform: rotate(90deg); }
.round-btn.is-down:hover .round-btn__arrow { transform: rotate(90deg) translateX(4px); }
/* ring traces round while the camera is flying */
.round-btn__ring { position: absolute; inset: 0; width: 100% !important; height: 100% !important; transform: rotate(-90deg); }
.round-btn__ring circle { stroke: var(--bone); stroke-width: 1; stroke-dasharray: 302; stroke-dashoffset: 302; }
.round-btn.is-flying .round-btn__ring circle { animation: ring var(--fly, 2.6s) var(--ease) forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.round-btn--small { width: 52px; height: 52px; }
.round-btn--small svg { width: 18px; height: 18px; }
.round-btn:disabled { opacity: .25; cursor: default; }
.round-btn:disabled:hover::before { transform: none; border-color: var(--line-strong); }
.chapter-nav__hint { margin: 0; color: var(--bone); min-width: 10ch; }

/* =========================================================
   SERVICES (pinned)
   ========================================================= */
.services { position: relative; height: 340vh; border-top: 1px solid var(--line); }
.services__pin {
  position: sticky; top: 0; height: 100svh;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--gutter);
  padding: calc(var(--header-h) + 4vh) var(--gutter) 6vh;
  overflow: hidden;
}
.services__text { align-self: center; max-width: 620px; }
.services .section-title { font-size: clamp(2rem, 4.2vw, 4rem); margin-bottom: 2.6rem; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 56px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); opacity: .38; transition: opacity .6s; }
.svc.is-active { opacity: 1; }
.svc__num { font: 400 12px/2 var(--f-mono); color: var(--muted); letter-spacing: .1em; }
.svc h3 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); text-transform: uppercase; letter-spacing: .02em; font-weight: 400; }
.svc p { overflow: hidden; color: var(--concrete); margin: 0; max-height: 0; transition: max-height .8s var(--ease), margin .6s; }
.svc.is-active p { max-height: 14em; margin-top: .8rem; }

.services__visual { position: relative; display: flex; align-items: flex-end; justify-content: center; border-left: 1px solid var(--line); }
.build { width: 100%; height: 100%; max-height: 82vh; overflow: visible; }
.build .floor { fill: none; stroke: var(--bone); stroke-width: 1; opacity: 0; transform: translateY(-14px); transition: opacity .35s, transform .45s var(--ease); }
.build .floor.on { opacity: 1; transform: none; }
.build .floor.on .slab { fill: var(--bone); }
.build .floor .slab { fill: transparent; stroke: none; transition: fill .4s; }
.build .floor .win { stroke: var(--line-strong); }
.build .ground { stroke: var(--concrete); stroke-width: 1; }
.build .crane { fill: none; stroke: var(--concrete); stroke-width: 1.2; }
.build .crane-head { transition: transform .45s var(--ease); }
/* each new mast section drops into place on top of the last */
.build .mast-sec { opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .45s var(--ease); }
.build .mast-sec.on { opacity: 1; transform: none; }
.build .dim { stroke: var(--muted); stroke-width: .8; fill: none; }
.build .dim-text { fill: var(--muted); font: 400 12px var(--f-mono); letter-spacing: .1em; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { position: relative; padding: clamp(100px, 16vh, 180px) 0; border-top: 1px solid var(--line); }
.process__pin { position: relative; }
/* desktop: section holds in place while the line draws across the five steps */
@media (min-width: 1001px) {
  .process { height: 280vh; padding: 0; }
  .process__pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; }
  .process__pin > .wrap { width: 100%; }
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.step { padding: 28px clamp(12px, 1.6vw, 28px) 0 0; border-top: 1px solid var(--line-strong); position: relative; }
/* scroll-driven progress line: --fill (0…1) is set from main.js */
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: calc(var(--fill, 0) * 100%); background: var(--bone); }
.step::after { content: ""; position: absolute; top: -3px; left: calc(var(--fill, 0) * 100% - 2px); width: 5px; height: 5px; background: var(--bone); opacity: 0; transition: opacity .3s; }
.step.is-drawing::after { opacity: 1; }
.step__num, .step h3, .step p { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.step h3 { transition-delay: .08s; }
.step p { transition-delay: .16s; }
.step.is-on .step__num, .step.is-on h3, .step.is-on p { opacity: 1; transform: none; }
.step__num { display: block; font: 200 clamp(3.5rem, 6vw, 6rem)/1 var(--f-display); margin-bottom: 1.4rem; color: var(--bone); }
.step h3 { font-size: 1.05rem; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.step p { color: var(--concrete); font-size: .95rem; }
.step:last-child .step__num::after { content: ""; display: inline-block; width: .18em; height: .18em; background: var(--bone); margin-left: .08em; }

/* =========================================================
   QUOTE
   ========================================================= */
.quote { padding: clamp(80px, 14vh, 160px) var(--gutter); border-top: 1px solid var(--line); background: var(--ink-2); }
.quote blockquote { margin: 0 auto; max-width: 1100px; }
.quote p { font-size: clamp(1.5rem, 3.4vw, 3rem); line-height: 1.2; text-transform: uppercase; font-weight: 200; letter-spacing: .01em; margin: 0; text-align: center; }

/* =========================================================
   PROJECTS
   ========================================================= */
.projects { padding: clamp(100px, 16vh, 180px) 0; border-top: 1px solid var(--line); }
.project-list { display: grid; gap: clamp(60px, 10vh, 120px); }
.project { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; }
.project:nth-child(even) .project__art { order: 2; }
.project__art { position: relative; background: var(--ink-2); border: 1px solid var(--line); aspect-ratio: 4 / 4.4; overflow: hidden; cursor: pointer; }
.project__art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; opacity: .5; }
/* wireframe model; the real rendering fades in on hover / tap, toned to the monochrome palette */
.project__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease, filter .8s; }
.project__canvas.is-ready { opacity: 1; }
/* the whole rendering is shown (never cropped); the strips above and below leave room for the labels */
.project__photo {
  position: absolute; top: 48px; bottom: 44px; left: 16px; width: calc(100% - 32px); height: calc(100% - 92px);
  object-fit: contain; object-position: center;
  filter: grayscale(1) contrast(1.05) brightness(.85); opacity: 0; transform: scale(.97);
  transition: opacity .8s ease, transform 1.4s var(--ease);
}
.project__art.show-photo .project__photo { opacity: 1; transform: none; }
.project__art.show-photo .project__canvas { opacity: 0; }
.project__hint { position: absolute; bottom: 16px; right: 20px; margin: 0; font-size: 12px; color: var(--muted); z-index: 2; transition: opacity .4s; }
.project__art.show-photo .project__hint { color: var(--bone); background: rgba(13,14,15,.7); padding: 6px 10px; }
.project__coords { position: absolute; top: 18px; left: 20px; margin: 0; z-index: 2; }
.project__body h3 { font-size: clamp(2rem, 4.4vw, 4rem); text-transform: uppercase; line-height: 1; margin-bottom: 2rem; font-weight: 300; }
.project__facts { margin: 0 0 1.6rem; border-top: 1px solid var(--line); }
.project__facts div { display: grid; grid-template-columns: 120px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.project__facts dt { font: 400 12px/1.9 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.project__facts dd { margin: 0; }

/* =========================================================
   ABOUT — light "fresh pour" slab
   ========================================================= */
.about { background: var(--slab); color: var(--slab-ink); padding: clamp(100px, 16vh, 180px) 0; }
.about .label { color: #5d5e60; }
.about .bar { background: var(--slab-ink); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.about__lead { font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.3; font-weight: 300; margin-bottom: 1.6rem; }
.about__body > p:not(.about__lead) { color: #4a4b4d; max-width: 52ch; }
.about__who { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(35,36,37,.2); }
.about__who li { padding: 18px 12px 0 0; font-size: 1.15rem; }
.about__who .label { margin-bottom: .5rem; font-size: 12px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { position: relative; padding: clamp(100px, 16vh, 180px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.contact__details { list-style: none; padding: 0; margin: 0; }
.contact__details li { display: grid; grid-template-columns: 100px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.contact__details .label { margin: 0; font-size: 12px; }
.contact__details a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }

.form { display: grid; gap: 22px; align-content: start; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font: 400 12px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 4px; }
.field input, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--bone);
  font: 300 1.1rem/1.4 var(--f-display); padding: 10px 0; border-radius: 0; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--bone); }
.field--chips { display: flex; flex-wrap: wrap; gap: 10px; }
.field--chips legend { width: 100%; margin-bottom: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-strong); font-size: .92rem; cursor: pointer; transition: background .3s, color .3s; }
.chip input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chip input:focus-visible + span { outline: 1px solid var(--bone); outline-offset: 3px; }
.btn {
  justify-self: start; margin-top: 10px; background: var(--bone); color: var(--ink); border: 0; cursor: pointer;
  font: 500 12px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; padding: 20px 28px; min-height: 48px;
  transition: background .3s, letter-spacing .4s var(--ease);
}
.btn:hover { background: #fff; letter-spacing: .26em; }
.form__note { font-size: .92rem; color: var(--concrete); min-height: 1.5em; margin: 0; }
.form__note a { color: var(--bone); }
.form__privacy { font-size: .85rem; color: var(--muted); margin: 0; }
.form__privacy a, .site-footer__small a { color: var(--concrete); }
.btn[disabled] { opacity: .55; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   LEGAL PAGES (privacy policy)
   ========================================================= */
.legal { padding: calc(var(--header-h) + clamp(48px, 10vh, 120px)) 0 clamp(80px, 12vh, 140px); }
.legal .wrap { max-width: 860px; }
.legal .section-title { margin-bottom: 1rem; }
.legal__date { color: var(--muted); font: 400 12px/1.4 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.legal section { border-top: 1px solid var(--line); padding: 1.8rem 0 .6rem; }
.legal h2 { font-size: 1.15rem; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.legal p, .legal li { color: var(--concrete); max-width: 68ch; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .6em; }
.legal strong { color: var(--bone); font-weight: 400; }
.legal a { color: var(--bone); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding: 64px var(--gutter) 40px; display: grid; justify-items: start; gap: 8px; }
.site-footer__logo { height: 44px; width: auto; filter: invert(1) brightness(1.1); margin-bottom: 18px; }
.site-footer .label { margin: 0; }
.site-footer__small { font-size: .85rem; color: var(--muted); margin: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .step:last-child { grid-column: span 2; }
}
@media (max-width: 820px) {
  :root { --header-h: 60px; }
  .site-nav a:not(.site-nav__cta) { display: none; }
  .menu-toggle { display: block; }
  .sound-toggle__txt { display: none; }
  .site-header { gap: 18px; }
  .site-header__logo img { height: 24px; }

  .services { height: 300vh; }
  .services__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; padding-top: calc(var(--header-h) + 16px); }
  .services .section-title { font-size: 1.8rem; margin-bottom: 1rem; }
  .svc { padding: 12px 0; grid-template-columns: 40px 1fr; }
  .svc h3 { font-size: 1rem; }
  .svc p { font-size: .92rem; }
  .services__visual { border-left: 0; border-top: 1px solid var(--line); min-height: 0; }
  .build { max-height: 100%; }
    
  .project, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .project:nth-child(even) .project__art { order: 0; }
  .about__who { grid-template-columns: 1fr; }
  .about__who li { padding: 14px 0; border-bottom: 1px solid rgba(35,36,37,.15); }
  .chapters { margin-bottom: 22vh; }
  .chapter-nav { left: var(--gutter); right: var(--gutter); justify-content: flex-end; gap: 12px; }
  .chapter-count { margin-right: auto; }
  .chapter-nav__hint { display: none; }
  .round-btn { width: 68px; height: 68px; }
  .hero__shade { background: linear-gradient(0deg, rgba(13,14,15,.92) 0%, rgba(13,14,15,.55) 45%, rgba(13,14,15,.2) 100%); }
  .intro__stage { width: 46vw; margin-bottom: 200px; }
  .intro__floor { left: auto; right: 0; bottom: -64px; margin: 0; font-size: 24px; text-align: right; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step:last-child { grid-column: auto; }
  .intro__hint { white-space: normal; width: 80vw; text-align: center; justify-content: center; }
  .intro__skip { right: 50%; transform: translateX(50%); bottom: 16px; }
  .project__facts div { grid-template-columns: 90px 1fr; }
}

/* fading line that follows the mouse (desktop only, drawn in main.js).
   "difference" blending keeps it visible on both dark and light sections */
.cursor-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 150; pointer-events: none; mix-blend-mode: difference; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor-trail { display: block; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .line > span, .step__num, .step h3, .step p, .fade-section,
  .chapter > .label, .chapter .hero__lead, .chapter .line > span { opacity: 1; transform: none; }
}
