/* ======================================
   AAKV — Stone & Sage · Editorial 2026
   ====================================== */
:root {
  --bg: #F5F4F0;
  --bg-warm: #EFEDE6;
  --dark: #14140F;
  --ink: #1A1A1A;
  --sage: #8B9D77;
  --sage-deep: #6F8260;
  --stone: #C4B49A;
  --stone-soft: #DCD2BE;
  --muted: #6B6B6B;
  --muted-soft: #9A9A9A;
  --line: rgba(20,20,15,0.10);
  --line-soft: rgba(20,20,15,0.06);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.2,.7,.2,1);
}

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

html, body {
  background: #0c0c0a;
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ======================================
   PRESENTER STAGE — desktop + mobile side by side
   ====================================== */
.stage {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 30% 0%, #2a2a2a 0%, #161616 60%, #0e0e0e 100%);
  padding: 56px 48px 96px;
  color: #d6d6d6;
}

.stage__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 32px;
  flex-wrap: wrap;
}
.stage__bar > * { min-width: 0; }
.stage__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.01em;
  color: #f1ede4;
  white-space: nowrap;
}
.stage__title em {
  color: var(--sage);
  font-style: normal;
  font-weight: 400;
}
.stage__sub {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.stage__nav {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 4px;
}
.stage__nav button {
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8b8b8;
  border-radius: 999px;
  transition: all .25s var(--ease);
}
.stage__nav button:hover { color: #fff; }
.stage__nav button.is-active {
  background: var(--sage);
  color: #fff;
}

.frames {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: start;
}

.frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 80px 120px -40px rgba(0,0,0,0.6),
    0 30px 60px -30px rgba(0,0,0,0.5);
  background: var(--bg);
}
.frame__chrome {
  background: #ECEAE3;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.frame__dots { display: flex; gap: 6px; }
.frame__dots span {
  width: 11px; height: 11px; border-radius: 999px;
  background: #d4cfc4;
}
.frame__dots span:nth-child(1) { background: #E5A0A0; }
.frame__dots span:nth-child(2) { background: #E5CB8C; }
.frame__dots span:nth-child(3) { background: #A8C29B; }
.frame__url {
  flex: 1;
  background: #f4f2ec;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.frame__url b { color: var(--dark); font-weight: 500; }

.frame__viewport {
  position: relative;
  height: 880px;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg);
  scroll-behavior: smooth;
}
.frame__viewport .site.is-editorial::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.42 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.06; mix-blend-mode: multiply;
  pointer-events: none; z-index: 100;
}
.frame__viewport::-webkit-scrollbar { width: 8px; }
.frame__viewport::-webkit-scrollbar-track { background: transparent; }
.frame__viewport::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 8px; }

/* mobile bezel */
.mobile {
  background: #111;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 80px 120px -40px rgba(0,0,0,0.6),
    0 30px 60px -30px rgba(0,0,0,0.5),
    inset 0 0 0 2px rgba(255,255,255,0.04);
  width: 396px;
  margin: 0 auto;
}
.mobile__screen {
  background: var(--bg);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  height: 800px;
}
.mobile__notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #000; border-radius: 999px;
  z-index: 50;
}
.mobile__statusbar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 44px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px;
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  color: var(--dark);
  z-index: 40;
  pointer-events: none;
}
.mobile__viewport {
  position: absolute; inset: 0;
  padding-top: 44px;
  overflow-y: auto;
  overflow-x: hidden;
}
.mobile__viewport::-webkit-scrollbar { width: 0; }

/* ======================================
   SITE — shared
   ====================================== */
.site { color: var(--dark); background: var(--bg); font-size: 15px; line-height: 1.55; }

.site h1, .site h2, .site h3, .site h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.005em;
  color: var(--dark);
  text-wrap: balance;
}

.site .eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
}

.site .body { font-family: var(--sans); color: var(--muted); line-height: 1.7; text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 0;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--dark); color: var(--bg); }
.btn--primary:hover { background: var(--sage); }
.btn--ghost { color: var(--dark); border-bottom: 1px solid var(--dark); padding: 6px 0; }
.btn--ghost:hover { color: var(--sage); border-color: var(--sage); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }

/* ======================================
   NAV
   ====================================== */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  background: rgba(245,244,240,0.86);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  letter-spacing: 0.04em;
}
.nav__brand .mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--sage);
  color: var(--bg);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
  border-radius: 1px;
}
.nav__brand small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
  white-space: nowrap;
}
.nav__links { display: flex; gap: 22px; flex-wrap: nowrap; }
.nav__link {
  position: relative;
  white-space: nowrap;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
  padding: 4px 0;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute;
  left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--sage);
  transition: width .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--sage); }
.nav__link.is-active::after { width: 100%; }
.nav__cta { white-space: nowrap; flex-shrink: 0; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--ink); transition: all .3s var(--ease); }
.nav__cta:hover { background: var(--ink); color: var(--bg); }

/* mobile nav */
.mnav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: rgba(245,244,240,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
}
.mnav__brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 16px; }
.mnav__brand .mark { width: 26px; height: 26px; background: var(--sage); color: var(--bg); display: grid; place-items: center; font-style: italic; font-size: 14px; }
.mnav__burger {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 0;
}
.mnav__burger span { display: block; width: 14px; height: 1px; background: var(--dark); position: relative; }
.mnav__burger span::before, .mnav__burger span::after {
  content: ""; position: absolute; left: 0; width: 14px; height: 1px; background: var(--dark);
}
.mnav__burger span::before { top: -5px; }
.mnav__burger span::after { top: 5px; }

/* ======================================
   FOOTER
   ====================================== */
.foot {
  background: var(--dark);
  color: #d8d6cf;
  padding: 96px 56px 36px;
  font-family: var(--sans);
  font-size: 13px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 96px;
}
.foot h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  color: #f1ede4;
  margin-bottom: 24px;
  line-height: 1.15;
}
.foot__col-title {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 18px; font-weight: 500;
}
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot a:hover { color: var(--sage); }
.foot__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #8b8b8b;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.foot__bar .right { display: flex; gap: 24px; }

/* mobile footer */
.mfoot { background: var(--dark); color: #d8d6cf; padding: 48px 22px 28px; font-size: 13px; }
.mfoot h3 { font-family: var(--serif); font-size: 26px; font-weight: 300; color: #f1ede4; margin-bottom: 22px; line-height: 1.2; }
.mfoot__bar { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); color: #8b8b8b; font-size: 10px; letter-spacing: 0.06em; }

/* ======================================
   HERO
   ====================================== */
.hero {
  position: relative;
  padding: 120px 56px 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: end;
  min-height: 820px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(139,157,119,0.10), transparent 60%),
    var(--bg);
}
.hero__num {
  position: absolute; top: 100px; right: 56px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--muted); text-transform: uppercase;
  display: flex; gap: 14px; align-items: center;
}
.hero__num::before { content: ""; width: 24px; height: 1px; background: var(--sage); }
.hero__num span { color: var(--sage); }
.hero__title {
  font-size: 124px; line-height: 0.92;
  font-weight: 300; letter-spacing: -0.025em;
}
.hero__title em { font-style: italic; color: var(--sage); font-weight: 300; }
.hero__title .thin { font-weight: 300; }
.hero__lede { font-family: var(--sans); color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 420px; margin-top: 28px; }
.hero__meta {
  display: flex; gap: 32px; margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__meta div { display: flex; flex-direction: column; gap: 4px; }
.hero__meta .k { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.hero__meta .v { font-family: var(--serif); font-size: 22px; }
.hero__visual {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  transform: translateY(0);
}
.hero__visual::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}
.hero__caption {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(26,26,26,0.78);
  color: var(--bg);
  padding: 8px 14px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.hero__cta-row { display: flex; gap: 28px; align-items: center; margin-top: 36px; }

.hero__marquee {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 18px 56px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg);
  overflow: hidden;
}
.hero__marquee b { color: var(--ink); font-weight: 500; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; flex-shrink: 0; }
.hero__marquee__track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 38s linear infinite; padding-left: 48px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* photo container */
.ph {
  background: var(--stone-soft);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.32));
  pointer-events: none;
}
.ph__label {
  position: absolute; bottom: 14px; left: 16px; z-index: 2;
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.20em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

/* ======================================
   SECTION TITLE
   ====================================== */
.sec {
  padding: 120px 56px;
  border-top: 1px solid var(--line-soft);
}
.sec--dark { background: var(--dark); color: var(--bg); border-top: 0; }
.sec--dark .body { color: rgba(245,244,240,0.7); }
.sec--dark h1, .sec--dark h2, .sec--dark h3 { color: var(--bg); }
.sec--warm { background: var(--bg-warm); }

.sec__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  margin-bottom: 72px;
}
.sec__head .eyebrow + h2 { margin-top: 18px; }
.sec__head h2 { font-size: 56px; line-height: 1.05; font-weight: 300; letter-spacing: -0.01em; }
.sec__head h2 em { color: var(--sage); font-style: italic; }
.sec__head .body { font-size: 16px; max-width: 480px; }

/* ======================================
   PROJECTS GRID
   ====================================== */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.proj {
  position: relative;
  cursor: pointer;
  transition: all .4s var(--ease);
}
.proj:hover .proj__img::after { opacity: 1; }
.proj:hover .proj__img > div { transform: scale(1.04); }
.proj__img {
  position: relative;
  overflow: hidden;
}
.proj__img > div { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.proj__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55));
  opacity: 0.4; transition: opacity .4s var(--ease);
}
.proj__index {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--serif); font-style: italic; font-size: 13px;
  color: rgba(255,255,255,0.95);
  z-index: 2;
}
.proj__cat {
  position: absolute; top: 16px; right: 16px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  z-index: 2;
}
.proj__meta {
  margin-top: 18px;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
}
.proj__title { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.proj__loc { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* layout patterns */
.proj.span-7 { grid-column: span 7; }
.proj.span-5 { grid-column: span 5; }
.proj.span-6 { grid-column: span 6; }
.proj.span-4 { grid-column: span 4; }
.proj.span-8 { grid-column: span 8; }
.proj.span-12 { grid-column: span 12; }

.proj .ph { aspect-ratio: 4/3; }
.proj.span-7 .ph, .proj.span-8 .ph, .proj.span-12 .ph { aspect-ratio: 16/10; }
.proj.tall .ph { aspect-ratio: 4/5; }

/* ======================================
   PHILOSOPHY / SPLIT
   ====================================== */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}
.split.reverse { grid-template-columns: 7fr 5fr; }
.split__media { aspect-ratio: 4/5; }
.split__copy h2 { font-size: 48px; font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 28px; }
.split__copy h2 em { color: var(--sage); font-style: italic; }
.split__copy p + p { margin-top: 18px; }
.split__sig {
  margin-top: 32px;
  display: flex; gap: 18px; align-items: center;
  font-family: var(--serif); font-style: italic;
  color: var(--muted);
  font-size: 14px;
}
.split__sig::before { content: ""; width: 36px; height: 1px; background: var(--sage); }

/* ======================================
   SERVICES
   ====================================== */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.svc {
  padding: 56px 48px 56px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 56px 1fr 80px;
  gap: 28px;
  align-items: start;
  cursor: pointer;
  transition: padding .4s var(--ease);
}
.svc:nth-child(odd) { padding-right: 48px; padding-left: 0; border-right: 1px solid var(--line); }
.svc:nth-child(even) { padding-left: 48px; padding-right: 0; }
.svc:hover { background: rgba(139,157,119,0.04); }
.svc:hover .svc__plus { background: var(--sage); color: var(--bg); border-color: var(--sage); transform: rotate(45deg); }
.svc__num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--sage); padding-top: 10px; }
.svc__body h3 { font-size: 28px; font-weight: 400; margin-bottom: 12px; }
.svc__body p { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 380px; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font-size: 11px; color: var(--muted); }
.svc__tags span::before { content: "·"; margin-right: 14px; color: var(--stone); }
.svc__tags span:first-child::before { display: none; }
.svc__plus {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 14px; color: var(--muted);
  transition: all .35s var(--ease);
  margin-top: 6px;
}

/* ======================================
   PROCESS
   ====================================== */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute; top: 18px; left: 0; right: 0; height: 1px;
  background: rgba(245,244,240,0.16);
}
.step__dot {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(245,244,240,0.3);
  background: var(--dark);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--bg);
  margin-bottom: 28px;
  position: relative; z-index: 1;
}
.step:nth-child(1) .step__dot { background: var(--sage); border-color: var(--sage); }
.step h4 { font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.step p { font-size: 13px; line-height: 1.6; color: rgba(245,244,240,0.65); }
.step__when { display: block; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone); margin-top: 12px; }

/* ======================================
   STATS
   ====================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__num em { font-style: italic; color: var(--sage); }
.stat__lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 14px; max-width: 160px; }

/* ======================================
   CONTACT
   ====================================== */
.contact-block { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info dl { display: grid; gap: 28px; }
.contact-info dt { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-info dd { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.contact-info dd a:hover { color: var(--sage); }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--dark);
  outline: none;
  transition: border-color .3s var(--ease);
  resize: none;
}
.field textarea { min-height: 100px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sage); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  transition: all .25s var(--ease);
}
.chip.is-on, .chip:hover { background: var(--dark); color: var(--bg); border-color: var(--dark); }

/* ======================================
   FILTERS
   ====================================== */
.filters {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 56px;
}
.filter {
  padding: 10px 18px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--dark); border-color: var(--dark); }
.filter.is-on { background: var(--dark); color: var(--bg); border-color: var(--dark); }
.filter .count { color: inherit; opacity: 0.6; margin-left: 6px; font-family: var(--serif); font-style: italic; }

/* ======================================
   PROJECT DETAIL
   ====================================== */
.pd-hero { padding: 64px 56px 0; }
.pd-back { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 8px; }
.pd-back:hover { color: var(--sage); }
.pd-title { font-size: 84px; font-weight: 300; line-height: 1; letter-spacing: -0.02em; margin-top: 32px; }
.pd-title em { color: var(--sage); font-style: italic; }
.pd-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-meta .k { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pd-meta .v { font-family: var(--serif); font-size: 18px; }

.pd-cover { padding: 56px; }
.pd-cover .ph { aspect-ratio: 16/9; }

.pd-body {
  padding: 0 56px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.pd-body h3 { font-size: 36px; font-weight: 300; line-height: 1.15; }
.pd-body h3 em { color: var(--sage); font-style: italic; }
.pd-body p { color: var(--muted); line-height: 1.7; }
.pd-body p + p { margin-top: 18px; }

.pd-gallery {
  padding: 0 56px 96px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
}
.pd-gallery .ph { aspect-ratio: 4/3; }
.pd-gallery .col { display: grid; gap: 24px; }
.pd-gallery .col .ph:nth-child(1) { aspect-ratio: 4/4; }
.pd-gallery .col .ph:nth-child(2) { aspect-ratio: 4/3; }

.pd-foot { padding: 64px 56px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.pd-foot .next { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.pd-foot .next em { color: var(--sage); font-style: italic; }

/* ======================================
   BLOG
   ====================================== */
.blog-hero { padding: 88px 56px 56px; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: end; }
.blog-hero h1 { font-size: 88px; line-height: 1; font-weight: 300; letter-spacing: -0.02em; }
.blog-hero h1 em { color: var(--sage); font-style: italic; }

.blog-feat { padding: 0 56px 80px; }
.blog-feat__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  align-items: center;
}
.blog-feat__card .ph { aspect-ratio: 4/3; }
.blog-feat__card .meta { display: flex; gap: 16px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.blog-feat__card .meta .tag { color: var(--sage); }
.blog-feat__card h2 { font-size: 48px; font-weight: 300; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 22px; }

.blog-list {
  padding: 0 56px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  border-top: 1px solid var(--line);
  padding-top: 64px;
}
.bl-card { cursor: pointer; }
.bl-card .ph { aspect-ratio: 4/3; margin-bottom: 22px; transition: opacity .3s var(--ease); }
.bl-card:hover .ph { opacity: 0.85; }
.bl-card .meta { display: flex; gap: 14px; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.bl-card .meta .tag { color: var(--sage); }
.bl-card h3 { font-size: 24px; font-weight: 400; line-height: 1.2; margin-bottom: 10px; }
.bl-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ======================================
   ABOUT
   ====================================== */
.about-hero { padding: 96px 56px 64px; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.about-hero h1 { font-size: 80px; line-height: 1; font-weight: 300; letter-spacing: -0.02em; }
.about-hero h1 em { color: var(--sage); font-style: italic; }
.about-hero .body { font-size: 17px; max-width: 520px; }

.duo { padding: 0 56px 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.duo__card .ph { aspect-ratio: 4/5; margin-bottom: 24px; }
.duo__card h3 { font-size: 32px; font-weight: 300; }
.duo__card .role { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); margin-top: 6px; margin-bottom: 18px; }
.duo__card p { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 440px; }

.timeline { padding: 0 56px 120px; }
.timeline__row { display: grid; grid-template-columns: 100px 1fr 1fr; gap: 40px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline__row:last-child { border-bottom: 1px solid var(--line); }
.timeline__year { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--sage); }
.timeline__title { font-family: var(--serif); font-size: 22px; }
.timeline__body { color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ======================================
   MAP / LEAFLET-LOOK
   ====================================== */
.map {
  height: 360px;
  background:
    radial-gradient(circle at 30% 40%, rgba(139,157,119,0.18), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(196,180,154,0.18), transparent 50%),
    repeating-linear-gradient(0deg, var(--line-soft) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 60px),
    var(--bg-warm);
  position: relative;
  border: 1px solid var(--line);
}
.map__pin {
  position: absolute;
  width: 16px; height: 16px;
  background: var(--sage); border-radius: 999px;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 4px rgba(139,157,119,0.25);
}
.map__pin--main { width: 22px; height: 22px; box-shadow: 0 0 0 8px rgba(139,157,119,0.18), 0 0 0 16px rgba(139,157,119,0.08); }
.map__pin::after {
  content: attr(data-label);
  position: absolute;
  top: -28px; left: 50%; transform: translateX(-50%);
  background: var(--dark); color: var(--bg);
  padding: 4px 8px;
  font-family: var(--sans); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
}

/* ======================================
   CUSTOM CURSOR
   ====================================== */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: 999px;
  pointer-events: none;
  z-index: 9999;
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), opacity .3s var(--ease);
  transform: translate(-50%, -50%);
  mix-blend-mode: normal;
}
.cursor.is-hover {
  width: 56px; height: 56px;
  background: rgba(139,157,119,0.0);
  border: 1px solid var(--sage);
}

/* ======================================
   GRAIN + PAGE TRANSITION (editorial 2026)
   ====================================== */
.frame__viewport.is-editorial::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.42 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.10; mix-blend-mode: multiply;
}
.page-fade { opacity: 1; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======================================
   EDITORIAL HERO (full-bleed)
   ====================================== */
.ehero {
  position: relative;
  height: 880px;
  overflow: hidden;
  color: #f5f4f0;
  background: #1a1a1a;
}
.ehero__media { position: absolute; inset: 0; }
.ehero__media .ph { width: 100%; height: 100%; }
.ehero__media .ph::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.85) 100%);
}
.ehero__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 56px;
  z-index: 2;
}
.ehero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.ehero__no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; opacity: 0.85; }
.ehero__no span { color: var(--sage); }
.ehero__cap { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; text-align: right; max-width: 220px; line-height: 1.7; }
.site .ehero__title {
  color: #f5f4f0;
  font-family: var(--serif); font-weight: 300;
  font-size: 168px; line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  text-wrap: balance;
}
.ehero__title em { font-style: italic; color: var(--sage); }
.ehero__bottom { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: end; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.18); }
.ehero__lede { max-width: 380px; font-size: 15px; line-height: 1.65; opacity: 0.9; text-shadow: 0 1px 24px rgba(0,0,0,0.6); }
.ehero__meta { display: flex; gap: 32px; }
.ehero__meta div { display: flex; flex-direction: column; gap: 6px; }
.ehero__meta .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; opacity: 0.6; text-transform: uppercase; }
.ehero__meta .v { font-family: var(--serif); font-size: 22px; }
.ehero__cta { justify-self: end; }
.ehero__cta .btn--primary { background: var(--sage); color: #fff; }
.ehero__cta .btn--primary:hover { background: #fff; color: var(--ink); }

.ehero__scroll { position: absolute; bottom: 56px; right: 56px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; display: none; }

/* ======================================
   TYPOGRAPHIC INDEX (à la Office KGDVS)
   ====================================== */
.eindex { padding: 120px 56px; border-top: 1px solid var(--line); }
.eindex__head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 56px; align-items: end; }
.eindex__head h2 { font-family: var(--serif); font-size: 64px; font-weight: 300; letter-spacing: -0.015em; line-height: 1; }
.eindex__head h2 em { color: var(--sage); font-style: italic; }
.eindex__head .body { max-width: 460px; }

.eindex__list { position: relative; }
.erow {
  display: grid;
  grid-template-columns: 60px 1fr 200px 180px 100px 32px;
  gap: 32px;
  align-items: baseline;
  padding: 28px 8px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: padding .35s var(--ease), background .35s var(--ease);
  position: relative;
}
.erow:last-child { border-bottom: 1px solid var(--line); }
.erow:hover { padding-left: 24px; background: rgba(139,157,119,0.04); }
.erow:hover .erow__title { color: var(--sage); }
.erow:hover .erow__arrow { opacity: 1; transform: translateX(0); }
.erow__no { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.erow__title { font-family: var(--serif); font-size: 32px; font-weight: 400; transition: color .3s var(--ease); }
.erow__title em { font-style: italic; color: var(--sage); }
.erow__cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.erow__loc { font-size: 13px; color: var(--muted); }
.erow__year { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); text-align: right; }
.erow__arrow { font-family: var(--mono); color: var(--sage); opacity: 0; transform: translateX(-8px); transition: all .3s var(--ease); text-align: right; }

/* hover preview floating image */
.eindex__preview {
  position: fixed;
  pointer-events: none;
  width: 360px; height: 460px;
  z-index: 20;
  opacity: 0;
  transition: opacity .25s var(--ease);
  background-size: cover; background-position: center;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
}
.eindex__preview.is-on { opacity: 1; }

/* ======================================
   CONTEXTUAL CURSOR
   ====================================== */
.cursor.has-label {
  width: auto; height: auto;
  background: var(--ink);
  border-radius: 999px;
  padding: 14px 22px;
  border: 0;
  color: #f5f4f0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cursor.has-label::after { content: attr(data-label); }

/* ======================================
   PLAN WATERMARK (technical line accent)
   ====================================== */
.sec--plan { position: relative; }
.sec--plan::before {
  content: ""; position: absolute;
  top: 0; right: 0; width: 280px; height: 280px;
  background:
    repeating-linear-gradient(0deg, var(--line-soft) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 24px);
  pointer-events: none;
  opacity: 0.6;
}

/* scroll-in animations */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.fade-up.is-in { opacity: 1; transform: none; }


/* ======================================
   MOBILE OVERRIDES
   ====================================== */
.is-mobile .nav, .is-mobile .foot, .is-mobile .stage__bar { display: none; }
.is-mobile .hero {
  grid-template-columns: 1fr;
  padding: 32px 22px 32px;
  min-height: 0;
}
.is-mobile .hero__num { display: none; }
.is-mobile .hero__title { font-size: 56px; }
.is-mobile .hero__visual { aspect-ratio: 4/5; margin-top: 24px; }
.is-mobile .hero__meta { grid-template-columns: 1fr 1fr; display: grid; gap: 18px; }
.is-mobile .hero__marquee { position: static; padding: 14px 22px; }
.is-mobile .hero__cta-row { flex-direction: column; align-items: stretch; gap: 16px; }
.is-mobile .hero__cta-row .btn { justify-content: space-between; }

.is-mobile .sec { padding: 64px 22px; }
.is-mobile .sec__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
/* !important needed: page hero h2s use inline fontSize that would otherwise win */
.is-mobile .sec__head h2 { font-size: 38px !important; line-height: 1.1 !important; }

.is-mobile .proj-grid { grid-template-columns: 1fr; gap: 32px; }
.is-mobile .proj.span-7, .is-mobile .proj.span-5, .is-mobile .proj.span-6, .is-mobile .proj.span-4, .is-mobile .proj.span-8, .is-mobile .proj.span-12 { grid-column: span 1; }

.is-mobile .split, .is-mobile .split.reverse { grid-template-columns: 1fr; gap: 28px; }
.is-mobile .split__copy h2 { font-size: 32px; }

.is-mobile .services { grid-template-columns: 1fr; }
.is-mobile .svc, .is-mobile .svc:nth-child(odd), .is-mobile .svc:nth-child(even) { padding: 32px 0; border-right: 0; grid-template-columns: 36px 1fr 32px; gap: 16px; }

.is-mobile .process { grid-template-columns: 1fr; gap: 32px; }
.is-mobile .process::before { display: none; }
.is-mobile .step { display: grid; grid-template-columns: 36px 1fr; gap: 18px; align-items: start; }
.is-mobile .step__dot { margin-bottom: 0; }

.is-mobile .stats { grid-template-columns: 1fr 1fr; }
.is-mobile .stat { padding: 28px 22px; border-bottom: 1px solid var(--line); }
.is-mobile .stat:nth-child(2n) { border-right: 0; }
.is-mobile .stat__num { font-size: 52px; }

.is-mobile .contact-block { grid-template-columns: 1fr; gap: 36px; }
/* contact h2 is not inside .sec__head, needs its own override */
.is-mobile .contact-block h2 { font-size: 36px; line-height: 1.1; }
/* form rows stack to 1 col on mobile (~153px per col otherwise) */
.is-mobile .field--row { grid-template-columns: 1fr; }
/* pricing grid: 3 cols → 1 col on mobile */
.is-mobile .pricing-grid { grid-template-columns: 1fr !important; }
/* ghost btn touch target: 6px padding is below 44px minimum */
.is-mobile .btn--ghost { min-height: 44px; padding: 10px 0; }
/* filter touch targets */
.is-mobile .filter, .is-mobile .chip { min-height: 44px; display: inline-flex; align-items: center; }

.is-mobile .pd-hero { padding: 28px 22px 0; }
.is-mobile .pd-title { font-size: 44px; }
.is-mobile .pd-meta { grid-template-columns: 1fr 1fr; gap: 22px; }
.is-mobile .pd-cover { padding: 28px 22px; }
.is-mobile .pd-body { grid-template-columns: 1fr; gap: 22px; padding: 0 22px 56px; }
.is-mobile .pd-body h3 { font-size: 26px; }
.is-mobile .pd-gallery { grid-template-columns: 1fr; padding: 0 22px 56px; }
.is-mobile .pd-foot { padding: 32px 22px; flex-direction: column; gap: 18px; align-items: flex-start; }

.is-mobile .blog-hero { grid-template-columns: 1fr; padding: 32px 22px; }
.is-mobile .blog-hero h1 { font-size: 48px; }
.is-mobile .blog-feat { padding: 0 22px 32px; }
.is-mobile .blog-feat__card { grid-template-columns: 1fr; gap: 22px; }
.is-mobile .blog-feat__card h2 { font-size: 28px; }
.is-mobile .blog-list { grid-template-columns: 1fr; padding: 0 22px 56px; }

.is-mobile .about-hero { grid-template-columns: 1fr; padding: 36px 22px; gap: 22px; }
.is-mobile .about-hero h1 { font-size: 48px; }
.is-mobile .duo { grid-template-columns: 1fr; padding: 0 22px 56px; gap: 36px; }
.is-mobile .timeline { padding: 0 22px 56px; }
.is-mobile .timeline__row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }

.is-mobile .filters { gap: 6px; margin-bottom: 28px; }
.is-mobile .filter { padding: 8px 12px; font-size: 10px; }

  .is-mobile.is-editorial .ehero,
  .is-mobile .is-editorial .ehero,
  .is-mobile .ehero { height: auto; min-height: 540px; padding: 0; }
  .is-mobile .ehero__media .ph::after {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 30%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.92) 100%);
  }
  .is-mobile .ehero__overlay { padding: 22px; gap: 28px; }
  .is-mobile .ehero__top { flex-direction: column; gap: 6px; }
  .is-mobile .ehero__cap { text-align: left; }
  .is-mobile .ehero__title { font-size: 36px; line-height: 1.02; }
  .is-mobile .ehero__lede { font-size: 13px; max-width: none; opacity: 0.95; text-shadow: 0 1px 20px rgba(0,0,0,0.85); }
  .is-mobile .ehero__bottom { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; }
  .is-mobile .ehero__meta { gap: 22px; }
  .is-mobile .ehero__cta { justify-self: start; }
  .is-mobile .eindex { padding: 56px 22px; }
  .is-mobile .eindex__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .is-mobile .eindex__head h2 { font-size: 38px; }
  .is-mobile .erow { grid-template-columns: 36px 1fr 60px; gap: 14px; padding: 18px 4px; }
  .is-mobile .erow__cat, .is-mobile .erow__loc, .is-mobile .erow__arrow { display: none; }
  .is-mobile .erow__title { font-size: 20px; }
  .is-mobile .eindex__preview { display: none; }
.is-mobile .pd-cover .ph { aspect-ratio: 4/3; }

/* hide custom cursor on mobile frame */
.is-mobile .cursor { display: none; }

/* ======================================
   FRAMER MOTION — scroll progress bar
   ====================================== */
.frame__viewport {
  position: relative;
}

/* Remove static page-fade animation — FM AnimatePresence handles transitions */
.page-fade {
  opacity: 1;
  animation: none;
}

/* Text-reveal line containers — used in hero titles */
.hero__title span,
.ehero__title span {
  display: block;
}

/* Editorial index spring preview */
.eindex__preview {
  animation: _previewIn 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
  border-radius: 2px;
}
@keyframes _previewIn {
  from { opacity: 0; transform: scale(0.88) rotate(-1.5deg); }
  to   { opacity: 1; transform: scale(1)    rotate(0deg); }
}

/* ─── Production mode (no .frame wrapper) ─────────────────────────── */
body > #presenter > .site {
  min-height: 100vh;
}

/* Custom scrollbar — prod mode uses window scroll */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 3px; opacity: 0.6; }

/* ─── Ken Burns (editorial hero) ─────────────────────────────────── */
@keyframes kenburns {
  from { transform: scale(1.14); }
  to   { transform: scale(1.0); }
}

/* ─── Premium service card hover ─────────────────────────────────── */
.svc { transition: background 0.3s var(--ease), transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s var(--ease); }
.svc:hover { transform: translateY(-3px); box-shadow: 0 12px 40px -8px rgba(0,0,0,0.1); }

/* ─── Stagger: ensure transitionDelay is respected on fade-up ─────── */
.fade-up { transition-property: opacity, transform; }

/* ─── Editorial index row underline slide ─────────────────────────── */
.erow { position: relative; }
.erow::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--sage);
  transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
}
.erow:hover::after { width: 100%; }
