/* ==========================================================================
   Adigan — landing
   Layout concept: stacked "sheets" (ink / sand / paper) that rise over one
   another with large rounded shoulders; the slanted stripes of the Adigan
   mark are the one motion motif (intro curtain, image wipes, scene changes).
   ========================================================================== */

@font-face { font-family: "Involve"; src: url("../assets/fonts/Involve-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../assets/fonts/Switzer-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../assets/fonts/Switzer-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../assets/fonts/Switzer-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Color — brand lime and ink from adigan.cz; ink is biased toward fairway green */
  --ink: #0b110d;
  --ink-2: #131b16;
  --ink-3: #1d2822;
  --lime: #e4ed64;
  --lime-deep: #aab414;
  --paper: #ffffff;
  --sand: #f6f3ec;
  --sand-2: #e9e4d6;
  --text: #474a45;
  --mute: #868a83;
  --line: rgba(11, 17, 13, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);

  /* Type — Involve for display (brand), Switzer for text and labels */
  --display: "Involve", "Avenir Next", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --body: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --gut: clamp(20px, 4.4vw, 64px);
  --max: 1440px;
  --shoulder: clamp(28px, 3.4vw, 48px);
  --r: 24px;
  --r-sm: 14px;
  --pad: clamp(88px, 11vw, 176px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Native smooth scrolling only when Lenis is not driving the page */
html:not(.js) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
/* Images carry width/height attributes (to reserve space while loading). Without this, the height
   attribute wins over a CSS aspect-ratio and a picture renders at its full original height. */
img { height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
::selection { background: var(--lime); color: var(--ink); }

.wrap { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 300; background: var(--lime); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }
.nb { white-space: nowrap; }
.u-logo { width: 100%; aspect-ratio: 3982 / 1267; }
.u-wing { aspect-ratio: 1344 / 1267; }

/* ---------- Shared pieces ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 0.75rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-deep); flex: none; }
.eyebrow--light { color: rgba(255, 255, 255, 0.9); }
.eyebrow--light .dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(228, 237, 100, 0.18); }

.btn {
  --hb: var(--ink); --hc: var(--lime);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 0.9rem/1 var(--display); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: color 0.45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--hb); transform: translateY(102%); transition: transform 0.55s var(--ease); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--ink { --hb: var(--lime); --hc: var(--ink); background: var(--ink); color: #fff; }
.btn--lg { height: 58px; padding: 0 28px; font-size: 0.98rem; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.hero .btn, .footer .btn, .plain .btn { --hb: #fff; --hc: var(--ink); }

/* A thin bar above everything, e.g. the preview of an unpublished project. */
.notice { position: fixed; inset: auto 0 0; z-index: 170; margin: 0; padding: 10px var(--gut); background: var(--lime); color: var(--ink); font: 600 0.88rem/1.3 var(--display); text-align: center; }

/* Simple pages: not found, error. */
.plain { position: relative; z-index: 1; min-height: 76svh; display: flex; align-items: center; padding-block: clamp(150px, 20vh, 220px) var(--pad); background: var(--ink); color: #fff; }
.plain .wrap { display: grid; justify-items: start; gap: 24px; }
.plain__title { font: 600 clamp(2.6rem, 7vw, 7rem)/0.98 var(--display); letter-spacing: -0.04em; }
.plain__text { max-width: 30em; font-size: 1.12rem; color: rgba(255, 255, 255, 0.75); }
.plain + .footer, main:has(.plain) + .footer { margin-top: 0; border-radius: 0; border-top: 1px solid var(--line-light); }
.arr { width: 0.82em; height: 0.82em; flex: none; transition: transform 0.45s var(--ease); }
@media (hover: hover) {
  .btn:hover { color: var(--hc); }
  .btn:hover::before { transform: none; }
  .btn:hover .arr, .link:hover .arr, .footer__mail:hover .arr { transform: translate(3px, -3px); }
}

.link { display: inline-flex; align-items: center; gap: 10px; font: 600 0.95rem/1 var(--display); text-decoration: none; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.5s var(--ease); }
@media (hover: hover) { .link:hover { background-size: 0 1px; background-position: 100% 100%; } }

.status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border: 1px solid var(--line-light); border-radius: 999px; font: 500 0.78rem/1 var(--body); letter-spacing: 0.02em; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--lime); }
.status--live i { background: var(--lime); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(228, 237, 100, 0.55); } 100% { box-shadow: 0 0 0 9px rgba(228, 237, 100, 0); } }

/* SplitText line masks: keep Czech diacritics and descenders unclipped */
.line-mask { margin-block: -0.14em; }
.line { padding-block: 0.14em; }

/* ---------- Intro curtain ---------- */
.loader { display: none; }
.js .loader { display: block; position: fixed; inset: 0; z-index: 200; overflow: hidden; color: #fff; }
.loader__bands { position: absolute; left: 50%; top: 50%; width: 240vmax; height: 240vmax; transform: translate(-50%, -50%) rotate(-28deg); display: flex; flex-direction: column; }
.loader__bands i { flex: 1; margin-top: -1px; background: var(--ink); }
.loader__inner { position: absolute; inset: 0; display: grid; place-items: center; }
.loader__mark { width: clamp(84px, 11vw, 148px); color: var(--lime); }
.loader__mark .wing { width: 100%; overflow: visible; }
.loader__foot { position: absolute; inset: auto var(--gut) clamp(20px, 4vw, 44px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.loader__count { font: 600 clamp(4rem, 13vw, 10rem)/0.8 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.loader__count b { font-weight: 600; }
.loader__count i { font-style: normal; font-size: 0.28em; letter-spacing: 0; margin-left: 0.2em; color: var(--lime); vertical-align: top; }
.loader__meta { font: 500 0.72rem/1.7 var(--body); letter-spacing: 0.14em; text-transform: uppercase; text-align: right; color: rgba(255, 255, 255, 0.6); }

/* ---------- Cursor + scroll caddie (fine pointers only) ---------- */
.cursor, .caddie { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; background: var(--lime); color: var(--ink); transform: scale(0); opacity: 0; }
  .cursor__label { font: 600 0.8rem/1 var(--display); letter-spacing: -0.005em; }
  .js [data-cursor], .js [data-cursor] * { cursor: none; }
}
@media (min-width: 1100px) and (hover: hover) {
  .js .caddie { position: fixed; right: 16px; top: 50%; z-index: 40; transform: translateY(-50%); width: 26px; padding: 14px 0 9px; display: flex; flex-direction: column; align-items: center; gap: 7px; border-radius: 999px; background: rgba(11, 17, 13, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .caddie__track { position: relative; width: 2px; height: 112px; border-radius: 2px; background: rgba(255, 255, 255, 0.22); }
  .caddie__ball { position: absolute; left: -4px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); transition: scale 0.5s var(--ease), opacity 0.5s; }
  .caddie.in-hole .caddie__ball { scale: 0.2; opacity: 0; }
  .caddie__flag { width: 13px; transform-origin: 25% 100%; transition: rotate 0.6s var(--ease); }
  .caddie.in-hole .caddie__flag { rotate: 9deg; }
}

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; padding: max(clamp(10px, 1.4vw, 20px), env(safe-area-inset-top, 0px)) var(--gut) 0; transition: transform 0.7s var(--ease); pointer-events: none; }
.nav.is-hidden { transform: translateY(calc(-100% - 70px)); }
.nav:focus-within { transform: none; }
.nav__pill { pointer-events: auto; max-width: var(--max); margin-inline: auto; height: 68px; padding: 0 10px 0 28px; display: flex; align-items: center; gap: 32px; background: rgba(255, 255, 255, 0.96); border-radius: 999px; box-shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.5); }
.nav__logo { width: 128px; flex: none; color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: 4px; margin-right: auto; padding-left: 28px; border-left: 1px solid var(--line); height: 34px; }
.nav__link { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; font: 600 0.9rem/1 var(--display); text-decoration: none; color: var(--ink); transition: background-color 0.3s; }
.nav__link .chev { width: 9px; transition: transform 0.4s var(--ease); }
.nav__link:hover { background: var(--sand); }
.nav__drop { position: relative; }
.nav__panel { position: absolute; left: -14px; top: calc(100% + 14px); width: 340px; padding: 10px; background: #fff; border-radius: var(--r); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.45); display: grid; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.98); transform-origin: 20% 0; transition: opacity 0.35s, transform 0.5s var(--ease), visibility 0.35s; }
.nav__panel::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__drop:hover .nav__panel, .nav__drop:focus-within .nav__panel { opacity: 1; visibility: visible; transform: none; }
.nav__drop:hover .chev, .nav__drop:focus-within .chev { transform: rotate(180deg); }
.nav__proj { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--r-sm); text-decoration: none; transition: background-color 0.3s; }
.nav__proj:hover { background: var(--sand); }
.nav__proj img { width: 76px; height: 58px; object-fit: cover; border-radius: 10px; flex: none; }
.nav__proj b { display: block; font: 600 1rem/1.2 var(--display); }
.nav__proj small { display: block; margin-top: 4px; font-size: 0.82rem; line-height: 1.3; color: var(--mute); }
.nav__burger { display: none; }

.menu { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 120px var(--gut) 36px; overflow-y: auto; overscroll-behavior: contain; background: var(--ink); color: #fff; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__links { display: grid; }
.menu__links a { padding: 0.28em 0; font: 600 clamp(2.2rem, 10vw, 3.6rem)/1.05 var(--display); letter-spacing: -0.03em; text-decoration: none; border-bottom: 1px solid var(--line-light); transform: translateY(24px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.5s; }
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.15s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.2s; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.menu__foot a { color: var(--lime); }

/* ---------- Stage: hero stays put while the next sheet rises over it ---------- */
.stage { position: relative; }
.hero { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 620px; overflow: hidden; background: var(--ink); color: #fff; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__img, .hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 46%; }
.hero__gl { opacity: 0; transition: opacity 0.8s; }
.hero__gl.is-on { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8, 14, 10, 0.6) 0%, rgba(8, 14, 10, 0) 26%),
  linear-gradient(0deg, rgba(8, 14, 10, 0.86) 0%, rgba(8, 14, 10, 0.42) 42%, rgba(8, 14, 10, 0) 72%),
  radial-gradient(70% 80% at 0% 78%, rgba(8, 14, 10, 0.72), rgba(8, 14, 10, 0) 70%); }
.hero__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-bottom: clamp(176px, 25vh, 250px); }
.hero__title { margin: 22px 0 30px; max-width: 11.2em; font: 600 clamp(2.5rem, min(5.2vw, 9.4vh), 6.1rem)/1 var(--display); letter-spacing: -0.038em; }
.hero__row { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap; }
.hero__lead { max-width: 27em; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.5; color: rgba(255, 255, 255, 0.84); }

/* ---------- Approach (ink sheet) ---------- */
.approach { position: relative; z-index: 1; display: flow-root; margin-top: calc(-1 * var(--shoulder)); padding-bottom: calc(var(--pad) + var(--shoulder)); background: var(--ink); color: #fff; border-radius: var(--shoulder) var(--shoulder) 0 0; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); margin-top: clamp(-128px, -13vh, -88px); perspective: 1200px; }
.pillar { --mx: 50%; --my: 0%; position: relative; overflow: hidden; padding: clamp(22px, 2.3vw, 36px); border-radius: var(--r); border: 1px solid rgba(255, 255, 255, 0.16); background: linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.05) 70%), rgba(15, 24, 18, 0.45); -webkit-backdrop-filter: blur(26px) saturate(1.3); backdrop-filter: blur(26px) saturate(1.3); }
.pillar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(228, 237, 100, 0.2), transparent 60%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.pillar:hover::before { opacity: 1; }
.pillar__ico { width: 44px; height: 44px; color: var(--lime); margin-bottom: clamp(18px, 1.8vw, 26px); transition: transform 0.9s var(--ease); }
.pillar:hover .pillar__ico { transform: rotate(90deg); }
.pillar h3 { padding-top: clamp(16px, 1.6vw, 22px); border-top: 1px solid rgba(255, 255, 255, 0.16); font: 600 clamp(1.2rem, 1.6vw, 1.55rem)/1.2 var(--display); letter-spacing: -0.015em; text-wrap: balance; }
.pillar p { margin-top: 14px; font-size: 0.98rem; line-height: 1.6; color: rgba(255, 255, 255, 0.68); }

.manifesto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr); gap: clamp(20px, 4vw, 64px); align-items: start; margin-top: var(--pad); }
.manifesto .eyebrow { margin-top: 1.1em; }
.manifesto__text { font: 600 clamp(2rem, 4.7vw, 5.1rem)/1.06 var(--display); letter-spacing: -0.035em; }

/* ---------- About (sand sheet) ---------- */
.about { position: relative; z-index: 1; margin-top: calc(-1 * var(--shoulder)); padding-block: var(--pad) calc(var(--pad) + var(--shoulder)); background: var(--sand); border-radius: var(--shoulder) var(--shoulder) 0 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 110px); align-items: center; }
.about__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--sand-2); }
.about__media img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.about__media figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(11, 17, 13, 0.55); color: #fff; font: 500 0.7rem/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.about__copy { display: grid; gap: clamp(40px, 5vw, 76px); }
.about__lede { margin-top: 22px; font: 600 clamp(1.5rem, 2.55vw, 2.75rem)/1.14 var(--display); letter-spacing: -0.028em; }
.about__text { margin-top: 20px; max-width: 34em; font-size: 1.08rem; color: var(--text); }
.about__block--mission { padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px); margin-top: var(--pad); }
.stat { padding-top: 20px; border-top: 1px solid var(--ink); }
.stat__label { font: 500 0.75rem/1.3 var(--body); letter-spacing: 0.14em; text-transform: uppercase; }
.stat__num { margin-top: clamp(20px, 3vw, 48px); font: 600 clamp(4.4rem, 11.5vw, 11.5rem)/0.82 var(--display); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: 0.42em; line-height: 1; vertical-align: top; letter-spacing: 0; margin-left: 0.06em; color: var(--lime-deep); }
.stat__unit { margin-top: 14px; font-size: 1.05rem; color: var(--text); }

/* ---------- Projects (ink sheet, horizontal run) ---------- */
.projects { position: relative; z-index: 1; margin-top: calc(-1 * var(--shoulder)); background: var(--ink); color: #fff; border-radius: var(--shoulder) var(--shoulder) 0 0; overflow: hidden; }
.projects__pin { display: flex; flex-direction: column; padding-top: clamp(84px, 9vw, 112px); }
.projects__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: clamp(20px, 2.4vw, 34px); }
.projects__title { margin-top: 16px; font: 600 clamp(2.1rem, 4.2vw, 4.4rem)/1 var(--display); letter-spacing: -0.035em; }
.projects__meter { display: none; }
.projects__track { display: grid; gap: 18px; padding: 0 var(--gut) var(--pad); }
.project { display: grid; overflow: hidden; border-radius: var(--r); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.07); }
.project__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.project__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
@media (hover: hover) { .project__media:hover img { scale: 1.05; } }
.project__media:focus-visible { outline: 3px solid var(--lime); outline-offset: -7px; border-radius: var(--r); }
.project__info { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(20px, 3vh, 40px); padding: clamp(22px, 2.5vw, 40px); }
.project__id { display: grid; gap: clamp(14px, 2.4vh, 26px); }
.project__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.project__hole small { display: block; margin-bottom: 10px; font: 500 0.72rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.project__hole b { display: block; font: 600 clamp(4.6rem, min(9vw, 17vh), 10rem)/0.8 var(--display); letter-spacing: -0.06em; color: var(--lime); font-variant-numeric: tabular-nums; }
.project__name { font: 600 clamp(1.3rem, 1.75vw, 1.85rem)/1.16 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.project__name small { display: block; margin-top: 8px; font: 400 0.95rem/1.3 var(--body); letter-spacing: 0; color: rgba(255, 255, 255, 0.6); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; margin-block: 0 clamp(18px, 2.6vh, 30px); }
.facts > div { padding: 11px 0 12px; border-top: 1px solid var(--line-light); }
.facts dt { font: 500 0.68rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.facts dd { margin-top: 7px; font: 600 clamp(1rem, 1.2vw, 1.2rem)/1.2 var(--display); letter-spacing: -0.01em; }
.project .link { color: var(--lime); }
.project--end { align-content: space-between; gap: 40px; padding: clamp(24px, 2.8vw, 44px); background: var(--lime); color: var(--ink); border: 0; text-decoration: none; }
.project--end .u-wing { width: clamp(64px, 7vw, 110px); }
.project--end p { font: 600 clamp(1.7rem, 2.5vw, 2.7rem)/1.08 var(--display); letter-spacing: -0.03em; max-width: 9em; }
.project--end .link { color: var(--ink); justify-self: start; }

@media (min-width: 900px) {
  html:not(.js) .projects__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) and (min-height: 600px) {
  .js .projects__pin { height: 100svh; }
  .js .projects__meter { display: flex; align-items: center; gap: 16px; padding-bottom: 8px; font: 500 0.8rem/1 var(--body); letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }
  .js .projects__meter b { color: #fff; font-weight: 600; }
  .projects__bar { width: clamp(120px, 14vw, 220px); height: 2px; background: rgba(255, 255, 255, 0.16); border-radius: 2px; overflow: hidden; }
  .projects__bar i { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
  .js .projects__track { flex: 1; min-height: 0; display: flex; gap: clamp(16px, 1.8vw, 28px); width: max-content; padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2)); padding-bottom: clamp(24px, 4vh, 44px); will-change: transform; }
  .js .project { width: min(80vw, 1260px); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .js .project__media { aspect-ratio: auto; height: 100%; }
  .js .project__media img { left: -8%; width: 116%; max-width: none; }
  .js .project--end { width: min(34vw, 480px); grid-template-columns: 1fr; }
}
/* Short laptop screens: tighten the card so nothing is cut off */
@media (min-width: 900px) and (min-height: 600px) and (max-height: 780px) {
  .js .projects__pin { padding-top: 84px; }
  .js .projects__head { padding-bottom: 16px; }
  .js .projects__title { margin-top: 10px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
  .js .project__info { padding: 20px 24px; gap: 10px; }
  .js .project__hole small { margin-bottom: 6px; }
  .js .project__hole b { font-size: clamp(3rem, 11.5vh, 5.2rem); }
  .js .project__name { font-size: 1.18rem; }
  .js .project__name small { margin-top: 4px; font-size: 0.88rem; }
  .js .facts { margin-block: 0 12px; }
  .js .project__id { gap: 10px; }
  .js .facts > div { padding: 7px 0 8px; }
  .js .facts dd { margin-top: 5px; font-size: 0.98rem; }
  .js .project--end p { font-size: 1.6rem; }
}

/* ---------- Lime band ---------- */
.band { position: relative; z-index: 1; overflow: hidden; padding: clamp(14px, 1.8vw, 26px) 0; background: var(--lime); color: var(--ink); }
.band__row { display: flex; width: max-content; will-change: transform; }
.band__row span { display: inline-flex; align-items: center; white-space: nowrap; font: 600 clamp(2.6rem, 7.2vw, 7.4rem)/1.05 var(--display); letter-spacing: -0.04em; }
.band__row svg { display: inline-block; height: 0.62em; margin: 0 0.42em; }

/* ---------- Living: interior walkthrough ---------- */
.living { position: relative; z-index: 1; height: 100svh; min-height: 600px; overflow: hidden; background: var(--ink); color: #fff; }
.living__scenes, .scene { position: absolute; inset: 0; }
.scene { overflow: hidden; }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.living__shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(75% 85% at 0% 100%, rgba(8, 14, 10, 0.9), rgba(8, 14, 10, 0.45) 45%, rgba(8, 14, 10, 0) 72%); }
.living__ui { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: clamp(28px, 6vh, 68px); pointer-events: none; }
.living__title { margin-top: 18px; max-width: 8.4em; font: 600 clamp(2.4rem, min(6vw, 11vh), 6.6rem)/0.98 var(--display); letter-spacing: -0.038em; }
.living__side { display: flex; align-items: flex-end; gap: clamp(20px, 3vw, 44px); padding: clamp(16px, 1.6vw, 24px) clamp(18px, 1.9vw, 28px); border-radius: var(--r); background: rgba(11, 17, 13, 0.74); border: 1px solid rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.living__count { display: flex; align-items: flex-start; gap: 10px; overflow: hidden; }
.living__num { display: block; font: 600 clamp(3.6rem, 8vw, 8rem)/0.82 var(--display); letter-spacing: -0.06em; color: var(--lime); font-variant-numeric: tabular-nums; }
.living__count span { font: 500 0.8rem/1 var(--body); letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.7); padding-top: 4px; }
.living__labels { display: grid; gap: 10px; padding-bottom: 4px; }
.living__labels li { position: relative; padding-left: 0; font: 500 0.95rem/1.2 var(--body); color: rgba(255, 255, 255, 0.62); transition: color 0.5s, padding-left 0.6s var(--ease); }
.living__labels li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--ease); }
.living__labels li.is-active { color: #fff; padding-left: 28px; }
.living__labels li.is-active::before { transform: none; }
/* Without motion (or on very short screens) the four rooms sit side by side instead of stacked */
html:not(.js) .living { height: auto; min-height: 0; padding-bottom: var(--pad); }
html:not(.js) .living__scenes { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
html:not(.js) .scene { position: relative; aspect-ratio: 1; }
html:not(.js) .living__shade { display: none; }
html:not(.js) .living__ui { position: relative; padding-block: clamp(32px, 5vw, 64px) 0; }
html:not(.js) .living__count { display: none; }
html:not(.js) .living__labels li { color: #fff; }
@media (max-height: 599px) {
  .living { height: auto; min-height: 0; padding-bottom: var(--pad); }
  .living__scenes { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .scene { position: relative; aspect-ratio: 1; }
  .living__shade { display: none; }
  .living__ui { position: relative; padding-block: clamp(32px, 5vw, 64px) 0; }
  .living__count { display: none; }
  .living__labels li { color: #fff; }
  .hero { position: relative; height: auto; min-height: 0; }
  .hero__body { position: relative; inset: auto; padding-block: 110px 150px; }
  .menu { padding-top: 88px; }
  .menu__links a { font-size: 1.6rem; }
}

/* ---------- Why (paper sheet) ---------- */
.why { position: relative; z-index: 1; padding-block: var(--pad) calc(var(--pad) * 0.45); background: var(--paper); }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 130px); align-items: start; }
.why__head { position: sticky; top: clamp(100px, 16vh, 150px); }
.why__title { margin-top: 26px; font: 600 clamp(1.5rem, 2.35vw, 2.5rem)/1.16 var(--display); letter-spacing: -0.026em; }
.why__item { position: relative; display: grid; gap: 22px; padding: clamp(28px, 3.2vw, 46px) 0; border-top: 1px solid var(--ink); transition: padding-left 0.7s var(--ease); }
.why__item:last-child { border-bottom: 1px solid var(--ink); }
.why__item h3 { font: 600 clamp(1.6rem, 2.9vw, 3.1rem)/1.05 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.why__item p { margin-top: 16px; max-width: 33em; font-size: 1.05rem; color: var(--text); }
.why__thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.why__stage { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .js .why__thumb { display: none; }
  .js .why__stage { display: block; position: relative; height: min(34vh, 330px); margin-top: clamp(24px, 4vh, 44px); overflow: hidden; border-radius: var(--r); background: var(--sand); }
  .why__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .js .why__item { cursor: default; }
  .js .why__item::after { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 3px; background: var(--lime-deep); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.8s var(--ease); }
  .js .why__item.is-active::after { transform: none; }
  .js .why__item h3, .js .why__item p { transition: opacity 0.5s; }
  .js .why__list.has-active .why__item:not(.is-active) h3, .js .why__list.has-active .why__item:not(.is-active) p { opacity: 0.6; }
}

/* ---------- CTA ---------- */
.cta { position: relative; z-index: 1; background: var(--paper); }
.cta__frame { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: #fff; }
.cta__img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 60%; }
.cta__shade { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 55%, rgba(8, 14, 10, 0.55), rgba(8, 14, 10, 0.2) 70%), linear-gradient(0deg, rgba(8, 14, 10, 0.55), rgba(8, 14, 10, 0.1) 50%); }
.cta__content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: var(--shoulder); }
.cta__title { max-width: 8.5em; font: 600 clamp(2.8rem, min(8.6vw, 15vh), 9.4rem)/0.96 var(--display); letter-spacing: -0.045em; }
.cta__text { margin-top: clamp(20px, 2.4vw, 34px); max-width: 30em; font-size: clamp(1rem, 1.2vw, 1.18rem); color: rgba(255, 255, 255, 0.86); }
.orb { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(26px, 3.4vw, 46px); width: clamp(132px, 11.5vw, 164px); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 10px; background: var(--lime); color: var(--ink); font: 600 0.92rem/1.15 var(--display); text-decoration: none; text-align: center; transition: color 0.45s var(--ease); }
.orb::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 50%; background: #fff; transform: scale(0); transition: transform 0.6s var(--ease); }
.orb span { max-width: 6.5em; }
@media (hover: hover) { .orb:hover::before { transform: none; } .orb:hover .arr { transform: translate(3px, -3px); } }

/* ---------- Footer / contact (ink sheet) ---------- */
.footer { position: relative; z-index: 2; margin-top: calc(-1 * var(--shoulder)); padding-top: var(--pad); background: var(--ink); color: #fff; border-radius: var(--shoulder) var(--shoulder) 0 0; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.footer__title { margin-top: 26px; font: 600 clamp(1.8rem, 3.5vw, 3.7rem)/1.06 var(--display); letter-spacing: -0.035em; }
.footer__mail { display: inline-flex; align-items: center; gap: 0.4em; margin-top: clamp(28px, 4vw, 56px); padding-bottom: 0.18em; font: 600 clamp(1.5rem, 2.7vw, 2.8rem)/1 var(--display); letter-spacing: -0.03em; color: var(--lime); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; }
.footer__mail .arr { width: 0.6em; height: 0.6em; }
.form { display: grid; gap: 22px; padding: clamp(22px, 2.8vw, 40px); border-radius: var(--r); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.08); }
.form__title { font: 600 1.35rem/1 var(--display); letter-spacing: -0.02em; }
.field { display: grid; gap: 8px; }
.field span { font: 500 0.7rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.field input, .field textarea { width: 100%; padding: 12px 0 14px; background: none; border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0; font-size: 1.08rem; color: #fff; resize: vertical; transition: border-color 0.3s; }
.field textarea { min-height: 112px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--lime); box-shadow: 0 2px 0 var(--lime); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #ff9d7a; }
.form__row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__note { flex: 1; min-width: 12em; font-size: 0.86rem; line-height: 1.4; color: rgba(255, 255, 255, 0.55); }
.form__note.is-error { color: #ffb59b; }
.form__note.is-ok { color: var(--lime); }
.form__about { margin-top: -8px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.62); }
.form__about b { color: #fff; font-weight: 600; }
.form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field em { margin-left: 6px; font-style: normal; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.38); }
/* A field people never see. Whatever fills it in is a bot. */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending { opacity: 0.75; }
.nav__ph { width: 76px; height: 58px; border-radius: 10px; background: var(--sand-2); flex: none; }
.footer__meta { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 7vw, 120px); align-items: start; margin-top: var(--pad); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line-light); font-size: 0.95rem; line-height: 1.7; color: rgba(255, 255, 255, 0.62); }
.footer__meta b { display: block; margin-bottom: 10px; font: 600 1rem/1.3 var(--display); color: #fff; }
.footer__nav { display: grid; justify-items: start; }
.footer__nav a { text-decoration: none; transition: color 0.3s; }
.footer__nav a:hover { color: var(--lime); }
.footer__mark { margin-top: clamp(48px, 7vw, 110px); padding-inline: var(--gut); color: var(--sand); }
.footer__mark .u-logo { max-width: var(--max); margin-inline: auto; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: clamp(24px, 3vw, 40px); font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer__base a { text-decoration: none; }
.footer__base a:hover { color: var(--lime); }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  .nav__links, .nav__cta { display: none; }
  .nav__pill { height: 60px; padding: 0 8px 0 22px; justify-content: space-between; }
  .nav__logo { width: 112px; }
  .nav__burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--lime); cursor: pointer; }
  .nav__burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.5s var(--ease); }
  .nav__burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero__body { padding-bottom: clamp(120px, 18vh, 170px); }
  .hero__title { font-size: clamp(2.3rem, min(10.4vw, 8vh), 4.4rem); margin: 18px 0 22px; }
  .hero__img { object-position: 76% 46%; }
  .hero__shade { background: linear-gradient(180deg, rgba(8, 14, 10, 0.55) 0%, rgba(8, 14, 10, 0) 24%), linear-gradient(0deg, rgba(8, 14, 10, 0.9) 0%, rgba(8, 14, 10, 0.55) 46%, rgba(8, 14, 10, 0) 78%); }

  .pillars { grid-template-columns: 1fr; margin-top: -72px; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto .eyebrow { margin-top: 0; }
  .about__grid, .why__grid, .footer__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 5 / 4; }
  .why__head { position: static; }
  .living__ui { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .js .scene img { position: absolute; left: 0; bottom: 0; height: 124%; }
  .js .scene:nth-child(1) img { object-position: 34% 50%; }
  .js .scene:nth-child(2) img { object-position: 46% 50%; }
  .js .scene:nth-child(3) img { object-position: 58% 50%; }
  .js .scene:nth-child(4) img { object-position: 62% 50%; }
  .projects__pin { padding-top: 64px; }
  .living__shade { background: linear-gradient(0deg, rgba(8, 14, 10, 0.92) 0%, rgba(8, 14, 10, 0.62) 34%, rgba(8, 14, 10, 0) 64%); }
  .living__side { width: 100%; justify-content: space-between; }
  .footer__meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .stats { grid-template-columns: 1fr; }
  .form__pair { grid-template-columns: 1fr; }
  .stat { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 16px; }
  .stat__label { grid-column: 1 / -1; }
  .stat__num { margin-top: 14px; }
  .stat__unit { margin: 0 0 6px; text-align: right; max-width: 9em; }
  .projects__head { align-items: flex-start; flex-direction: column; }
  .footer__meta { grid-template-columns: 1fr; }
  .loader__meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
