/* ============================================================
   CHANA CONSTRUCTION — Premium architectural, light theme
   Type: Newsreader (display serif) · Hanken Grotesk (UI/body)
         Spline Sans Mono (labels) · Accent: warm terracotta
   ============================================================ */

:root {
  /* warm stone / paper neutrals */
  --paper:    oklch(0.976 0.006 85);
  --paper-2:  oklch(0.949 0.008 84);
  --paper-3:  oklch(0.918 0.010 82);
  --ink:      oklch(0.225 0.012 60);
  --ink-2:    oklch(0.360 0.012 58);
  --ink-soft: oklch(0.470 0.012 56);
  --line:     oklch(0.872 0.010 80);
  --line-2:   oklch(0.815 0.012 78);

  /* single warm architectural accent (overridable by tweaks) */
  --accent:      oklch(0.585 0.130 42);
  --accent-deep: oklch(0.495 0.128 40);
  --accent-tint: oklch(0.585 0.130 42 / 0.10);

  --serif: "Newsreader", Georgia, serif;
  --sans:  "Hanken Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --mono:  "Spline Sans Mono", ui-monospace, monospace;

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

::selection { background: var(--accent); color: var(--paper); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- layout primitives ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 6vw, 88px); position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 0.96; }

.display {
  font-family: var(--serif);
  font-weight: 380;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(0.976 0.006 85 / 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .5s var(--ease);
}
.nav.scrolled .nav-inner { padding-block: 13px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  position: relative;
  transition: transform .6s var(--ease);
}
.brand-mark::after {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  transition: background .4s;
}
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-name { font-family: var(--serif); font-size: 21px; letter-spacing: -0.01em; }
.brand-name b { font-weight: 500; }
.brand-name span { color: var(--ink-soft); font-weight: 300; }

.nav-pill {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px;
  background: oklch(0.976 0.006 85 / 0.5);
}
.nav-link {
  font-size: 13.5px; color: var(--ink-2);
  padding: 8px 15px; border-radius: 999px;
  transition: color .25s, background .25s;
  position: relative; white-space: nowrap;
}
.nav-link.current { color: var(--ink); background: var(--paper-3); }
.nav-link:hover { color: var(--ink); background: var(--paper-3); }
.nav-link.cta {
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; gap: 7px;
}
.nav-link.cta:hover { background: var(--accent-deep); color: var(--paper); }
.nav-link.cta svg { transition: transform .3s var(--ease); }
.nav-link.cta:hover svg { transform: translateX(3px); }

.nav-burger {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: none; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-burger span { width: 18px; height: 1.5px; background: var(--ink); transition: .3s var(--ease); }

@media (max-width: 1080px) {
  .nav-pill { display: none; }
  .nav-burger { display: flex; }
}

/* mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform .6s var(--ease);
}
.sheet.open { transform: translateY(0); }
.sheet a {
  font-family: var(--serif); font-size: clamp(34px, 9vw, 56px);
  padding: 10px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-2); transition: color .3s, padding-left .3s;
}
.sheet a:hover { color: var(--accent-deep); padding-left: 14px; }

/* ============================================================
   HERO
   ============================================================ */
.hero-wire { display: none; }
.hero-anim { position: absolute; right: 5%; top: 30%; width: 28%; height: 58%; pointer-events: auto; cursor: crosshair; z-index: 0; }
.hero-top, .hero-head { position: relative; z-index: 1; }
.hero { position: relative; padding-top: 72px; padding-bottom: clamp(8px, 1vw, 16px); overflow: hidden; }
.hero-top {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 16px; align-items: end;
  padding-bottom: clamp(8px, 1.2vw, 16px);
}
.hero-top p { color: var(--ink-soft); font-size: clamp(13px, 1vw, 15px); line-height: 1.5; max-width: 42ch; }
.hero-top .right { text-align: right; justify-self: end; padding-top: 14px; }
.hero-top .right .big {
  font-family: var(--serif); font-size: clamp(17px, 1.6vw, 22px);
  color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; max-width: 14ch;
}
@media (max-width: 860px) {
  .hero-top { grid-template-columns: 1fr; gap: 16px; }
  .hero-top .right { text-align: left; justify-self: start; }
}

.hero-head { padding-block: clamp(4px, 1vw, 12px); }
.hero-head .eyebrow { margin-bottom: clamp(10px, 1.5vw, 18px); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(44px, 9.5vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-weight: 380;
}
.hero-title .line { display: block; overflow: hidden; padding: 0.14em 0.05em 0.22em; margin-bottom: -0.18em; }
.hero-title .line-i { display: block; }
.hero-title .l2 { display: block; font-style: italic; font-weight: 360; }

/* ---- luxe entrance: staggered fade-up + masked line rise ---- */
.enter { opacity: 0; transform: translateY(26px); }
body.loaded .enter {
  opacity: 1; transform: none;
  transition: opacity 1.05s var(--ease), transform 1.05s var(--ease);
}
body.loaded .e1 { transition-delay: .15s; }
body.loaded .e4 { transition-delay: .8s; }
body.loaded .e5 { transition-delay: .9s; }
body.loaded .e6 { transition-delay: 1s; }

.hero-title .line-i { transform: translateY(118%); }
body.loaded .hero-title .line-i { transform: translateY(0); transition: transform 1.25s var(--ease); }
body.loaded .li1 { transition-delay: .32s; }
body.loaded .li2 { transition-delay: .46s; }

/* hero media clip-reveal + slow scale settle */
.media-clip { position: absolute; inset: 0; overflow: hidden; clip-path: inset(100% 0 0 0); }
body.loaded .media-clip { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: .5s; }
.media-scale { position: absolute; inset: 0; transform: scale(1.22); }
body.loaded .media-scale { transform: scale(1); transition: transform 1.9s var(--ease); transition-delay: .5s; }
.badge.float { opacity: 0; transform: translateY(14px); }
body.loaded .badge.float {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: 1.4s;
  animation: floaty 6s ease-in-out 2.4s infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (prefers-reduced-motion: reduce) {
  .enter, .hero-title .line-i, .media-clip, .media-scale, .badge.float {
    opacity: 1 !important; transform: none !important; clip-path: none !important; animation: none !important;
  }
}

/* ============================================================
   HERO MEDIA STAGE (cinematic image + cursor parallax)
   ============================================================ */
.hero-stage {
  position: relative;
  margin-top: clamp(28px, 5vw, 66px);
  height: clamp(360px, 56vw, 660px);
  border-radius: 8px;
}
.hero-stage.framed { overflow: hidden; border: 1px solid var(--line); }
.hero-stage .render-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-stage .parallax { position: absolute; inset: -10% 0; will-change: transform; }
.hero-stage .media-scale { position: absolute; inset: -4%; transform: translate(0,0); transition: transform .5s var(--ease); }
.hero-stage .badge { left: 22px; bottom: 22px; }

.render-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.render-sketch {
  position: absolute; inset: 0;
  background: url("assets/hero-render.png") center/cover no-repeat;
  filter: grayscale(1) contrast(1.18) brightness(1.07);
  clip-path: inset(0 0 0 0);
}
.render-line {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 4;
  background: linear-gradient(to bottom, transparent, var(--accent) 18%, color-mix(in oklch, var(--accent) 50%, white) 50%, var(--accent) 82%, transparent);
  box-shadow: 0 0 26px 4px var(--accent-tint), 0 0 8px 1px var(--accent-tint);
  opacity: 0;
}
body.loaded .render-sketch { animation: sketchWipe 2.7s cubic-bezier(0.65,0,0.35,1) .65s forwards; }
body.loaded .render-line { animation: lineSweep 2.7s cubic-bezier(0.65,0,0.35,1) .65s forwards; }
@keyframes sketchWipe { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes lineSweep {
  0% { left: 0%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.render-cap {
  position: absolute; right: 20px; bottom: 22px; z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper); background: oklch(0.22 0.012 60 / 0.5); backdrop-filter: blur(6px);
  padding: 7px 12px; border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .render-sketch { display: none; }
  .render-line { display: none; }
}
@media (max-width: 560px) { .render-cap { display: none; } }

/* shared badge box (used by hero stage) */
.badge {
  position: absolute; z-index: 3;
  background: oklch(0.976 0.006 85 / 0.86); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 14px 18px; max-width: 290px;
}
.badge .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.badge .v { font-family: var(--serif); font-size: 18px; margin-top: 4px; line-height: 1.2; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { padding-top: clamp(146px, 17vh, 220px); padding-bottom: clamp(28px, 5vw, 56px); }
.page-hero .eyebrow { margin-bottom: clamp(20px, 3vw, 30px); }
.page-hero-title {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(46px, 9vw, 132px); line-height: 0.92; letter-spacing: -0.04em;
}
.page-hero-title .line { display: block; overflow: hidden; padding: 0.1em 0.05em 0.18em; margin-bottom: -0.14em; }
.page-hero-title .line-i { display: block; }
.page-hero-title .li2 { font-style: italic; color: var(--accent-deep); }
.page-hero-intro {
  margin-top: clamp(24px, 3vw, 34px); max-width: 54ch;
  font-size: clamp(16px, 1.3vw, 20px); line-height: 1.6; color: var(--ink-soft);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background:
    radial-gradient(ellipse 65% 90% at 5%  55%,  oklch(0.88 0.030 60)  0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 92% 15%,  oklch(0.92 0.018 78)  0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 60% 95%,  oklch(0.86 0.022 55)  0%, transparent 55%),
    radial-gradient(ellipse 45% 65% at 88% 80%,  oklch(0.93 0.014 82)  0%, transparent 58%),
    oklch(0.946 0.010 76);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 88px);
  position: relative;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-glass {
  background: oklch(0.99 0.003 80 / 0.22);
  backdrop-filter: blur(40px) saturate(2) brightness(1.08);
  -webkit-backdrop-filter: blur(40px) saturate(2) brightness(1.08);
  border: 1px solid oklch(1 0 0 / 0.6);
  border-bottom-color: oklch(0.75 0.015 70 / 0.2);
  border-right-color: oklch(1 0 0 / 0.35);
  border-radius: 22px;
  box-shadow:
    0 1.5px 0 0 oklch(1 0 0 / 0.95) inset,
    0 -1px 0 0 oklch(0.72 0.015 70 / 0.2) inset,
    0 20px 60px -16px oklch(0.55 0.030 65 / 0.22),
    0 4px 16px -4px oklch(0.55 0.025 65 / 0.1);
  padding: clamp(36px, 4vw, 60px) clamp(32px, 4vw, 56px);
}
@supports not (backdrop-filter: blur(1px)) {
  .cta-glass { background: oklch(0.97 0.008 78 / 0.92); }
}
.cta-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 94px); line-height: 0.92; letter-spacing: -0.02em; color: var(--ink); }
.cta-band .eyebrow { color: var(--accent-deep); }
.cta-band .eyebrow::before { background: var(--accent); }
.cta-aside p { color: var(--ink-soft); font-size: 17px; line-height: 1.6; margin-bottom: 28px; max-width: 36ch; }
.cta-band .btn { background: var(--ink); color: var(--paper); }
.cta-band .btn:hover { background: var(--accent); color: var(--paper); }
@supports not (backdrop-filter: blur(1px)) {
  .cta-glass { background: var(--paper); }
}
@media (max-width: 820px) { .cta-inner { grid-template-columns: 1fr; gap: 28px; align-items: start; } }

/* ============================================================
   PAGE TRANSITION CURTAIN
   ============================================================ */
.curtain {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink); display: grid; place-items: center;
  transform: translateY(-100%); will-change: transform; pointer-events: none;
}

/* Initial page-load curtain: visible before .loaded */
body:not(.loaded) .curtain {
  transform: translateY(0) !important;
  transition: none !important;
}

/* Word slide-up animation */
@keyframes curtainWordIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes curtainRuleIn {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

.curtain-inner {
  display: flex; align-items: center; gap: 13px;
}
.curtain-mark-dot {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid oklch(1 0 0 / 0.35);
  position: relative; flex: none;
  animation: curtainWordIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.curtain-mark-dot::after {
  content: ""; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
}
.curtain-name {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: -0.01em;
  line-height: 1;
  animation: curtainWordIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.22s both;
}
.curtain-name b { font-weight: 500; color: var(--paper); }
.curtain-name span { color: oklch(1 0 0 / 0.45); font-weight: 300; }

.curtain-rule {
  display: block; width: clamp(48px, 6vw, 80px); height: 1px;
  background: oklch(1 0 0 / 0.22);
  transform-origin: left center;
  animation: curtainRuleIn 0.6s cubic-bezier(0.22,1,0.36,1) 0.48s both;
  margin-top: 4px;
}

/* Keep old .curtain-mark working for transition use */
.curtain-mark { display: none; }

.shiny {
  background: linear-gradient(100deg,
    var(--accent) 28%,
    color-mix(in oklch, var(--accent) 35%, white) 48%,
    var(--accent) 68%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shine 4.5s linear infinite;
}
@keyframes shine { from { background-position: 180% 0; } to { background-position: -80% 0; } }
@media (prefers-reduced-motion: reduce) { .shiny { animation: none; } }

.hero-cta-row {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  margin-top: clamp(30px, 4vw, 52px);
}

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 500;
  padding: 17px 26px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  cursor: pointer; border: none;
  transition: background .35s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--accent-deep); }
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.ghost { background: none; color: var(--ink); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn-note { font-size: 13px; color: var(--ink-soft); font-family: var(--mono); }

/* hero image band */
.hero-media {
  margin-top: clamp(40px, 6vw, 84px);
  position: relative; height: clamp(320px, 52vw, 620px);
  border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line);
}
.hero-media .parallax { position: absolute; inset: -12% 0; will-change: transform; }
.hero-media .badge {
  position: absolute; left: 24px; bottom: 24px; z-index: 3;
  background: oklch(0.976 0.006 85 / 0.86); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 14px 18px; max-width: 280px;
}
.hero-media .badge .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.hero-media .badge .v { font-family: var(--serif); font-size: 18px; margin-top: 4px; }

/* ============================================================
   PLACEHOLDER (striped) — stands in for real photography
   ============================================================ */
.ph {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg,
      var(--paper-2) 0 14px, var(--paper-3) 14px 28px);
  display: grid; place-items: center; overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
  background: oklch(0.976 0.006 85 / 0.7);
  padding: 6px 11px; border: 1px solid var(--line); border-radius: 3px;
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg,
      oklch(0.30 0.012 60) 0 14px, oklch(0.26 0.012 60) 14px 28px);
}
.ph.dark::after { color: var(--paper-2); background: oklch(0.22 0.012 60 / 0.6); border-color: oklch(0.4 0.01 60); }

/* ============================================================
   MARQUEE (accreditations)
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 26px; overflow: hidden; position: relative;
  background: var(--paper-2);
}
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scrollx 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 22px; color: var(--ink-2);
  white-space: nowrap;
}
.marquee-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================
   SECTION HEADER shared
   ============================================================ */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 52px); }
.sec-head h2 { font-size: clamp(36px, 5.4vw, 78px); line-height: 0.94; }
.sec-head .lead { color: var(--ink-soft); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; max-width: 46ch; align-self: end; }
.sec-head .eyebrow { margin-bottom: 22px; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: 18px; } }

/* ============================================================
   ABOUT / intro statement
   ============================================================ */
.statement { padding-block: clamp(48px, 6vw, 88px); }
.statement .big-quote {
  font-family: var(--serif); font-weight: 360;
  font-size: clamp(28px, 4.6vw, 66px);
  line-height: 1.06; letter-spacing: -0.025em;
  max-width: 19ch;
}
.statement .big-quote em { font-style: italic; color: var(--accent-deep); }
.statement-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.statement-side p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.statement-side p + p { margin-top: 18px; }
.statement-side .sig { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 22px; }
.statement-side .sig small { display: block; font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 820px) { .statement-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ============================================================
   SERVICES — interactive numbered list w/ preview
   ============================================================ */
/* Services → LIGHT */
.services-bg { background: var(--paper); border-block: 1px solid var(--line); }
.svc-layout { display: grid; grid-template-columns: 1fr 0.78fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.svc-list { border-top: 1px solid var(--line-2); }
.svc-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  padding: clamp(20px, 2.6vw, 34px) 4px;
  border-bottom: 1px solid var(--line-2);
  cursor: pointer; position: relative;
  transition: padding-left .4s var(--ease);
}
.svc-row .num { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .1em; }
.svc-row .name { font-family: var(--serif); font-size: clamp(22px, 2.7vw, 36px); color: var(--ink-2); transition: color .35s; line-height: 1; }
.svc-row .arrow { opacity: 0; transform: translateX(-8px); transition: .4s var(--ease); color: var(--accent-deep); }
.svc-row::before {
  content: ""; position: absolute; left: -4px; right: -4px; top: 0; bottom: 0;
  background: var(--paper); opacity: 0; transition: opacity .35s; z-index: -1;
  border-radius: 4px;
}
.svc-row:hover, .svc-row.active { padding-left: 20px; }
.svc-row:hover .name, .svc-row.active .name { color: var(--ink); }
.svc-row.active .arrow { opacity: 1; transform: translateX(0); }
.svc-row.active::before { opacity: 1; }
.svc-row .desc {
  grid-column: 1 / -1; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s var(--ease), opacity .4s, margin-top .4s;
  color: var(--ink-soft); font-size: 15px; line-height: 1.65; max-width: 54ch;
}
.svc-row.active .desc { max-height: 160px; opacity: 1; margin-top: 16px; }

.svc-preview {
  position: sticky; top: 110px;
  height: clamp(360px, 42vw, 540px);
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: var(--paper-2);
}
.svc-preview .frame { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); transform: scale(1.04); overflow: hidden; }
.svc-preview .frame.show { opacity: 1; transform: scale(1); }
.svc-preview .cap {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--paper); background: oklch(0.22 0.012 60 / 0.55); backdrop-filter: blur(6px);
  padding: 7px 12px; border-radius: 3px;
}
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } .svc-preview { display: none; } }

/* Stats → DARK */
/* Stats — dark by default (home page) */
#stats { background: var(--ink); color: var(--paper); }
#stats .eyebrow { color: color-mix(in oklch, var(--accent) 60%, white); }
#stats .eyebrow::before { background: var(--accent); }
#stats .sec-head h2 { color: var(--paper); }
#stats .sec-head .lead { color: oklch(0.78 0.01 80); }
#stats .stat { background: oklch(1 0 0 / 0.04); }
#stats .stat .v { color: var(--paper); }
#stats .stat .k { color: oklch(0.72 0.01 80); }
#stats .stats { background: oklch(1 0 0 / 0.08); border-color: oklch(1 0 0 / 0.1); }
/* Stats — light on About page */
.page-about #stats { background: var(--paper); color: var(--ink); border-block: 1px solid var(--line); }
.page-about #stats .eyebrow { color: var(--accent-deep); }
.page-about #stats .eyebrow::before { background: var(--accent); }
.page-about #stats .sec-head h2 { color: var(--ink); }
.page-about #stats .sec-head .lead { color: var(--ink-soft); }
.page-about #stats .stat { background: var(--paper-2); border-color: var(--line); }
.page-about #stats .stat .v { color: var(--ink); }
.page-about #stats .stat .k { color: var(--ink-soft); }
.page-about #stats .stats { background: var(--paper-2); border-color: var(--line); }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.stat { background: var(--paper); padding: clamp(28px, 3.4vw, 48px) clamp(20px, 2.4vw, 36px); }
.stat .v { font-family: var(--serif); font-size: clamp(44px, 6vw, 86px); line-height: 0.9; letter-spacing: -0.03em; }
.stat .v .suf { color: var(--accent-deep); }
.stat .k { margin-top: 14px; font-size: 14px; color: var(--ink-soft); line-height: 1.4; max-width: 22ch; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Projects → DARK */
#projects { background: var(--ink); color: var(--paper); }
#projects .eyebrow { color: color-mix(in oklch, var(--accent) 60%, white); }
#projects .eyebrow::before { background: var(--accent); }
#projects .sec-head h2 { color: var(--paper); }
#projects .sec-head .lead { color: oklch(0.78 0.01 80); }
#projects .proj { border-color: oklch(1 0 0 / 0.1); }

/* ============================================================
   PROJECTS gallery
   ============================================================ */
.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 258px; gap: clamp(14px, 1.6vw, 22px); }
.proj { position: relative; overflow: hidden; border-radius: 5px; border: 1px solid var(--line); cursor: pointer; }
.proj-img { position: absolute; inset: 0; overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.proj-img .ph { position: absolute; inset: 0; }
.proj:hover .proj-img img { transform: scale(1.07); }
.proj-img-blur { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(28px) saturate(0.85); transform: scale(1.15); opacity: 0.55; z-index: 0; }

/* Card before/after split */
.proj-card-split { display: flex; width: 100%; height: 100%; }
.proj-card-half { position: relative; flex: 1; overflow: hidden; }
.proj-card-half img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.proj:hover .proj-card-half img { transform: scale(1.07); }
.proj-card-half + .proj-card-half { border-left: 2px solid rgba(255,255,255,0.4); }
.proj-card-label {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  white-space: nowrap; pointer-events: none;
}
.proj-card-before .proj-card-label { background: rgba(0,0,0,0.6); color: #fff; }
.proj-card-after  .proj-card-label { background: var(--accent); color: #fff; }
.proj .ph, .proj .img { transition: transform 1s var(--ease); }
.proj:hover .ph, .proj:hover .img { transform: scale(1.05); }
.proj .meta {
  position: absolute; inset: auto 0 0 0; z-index: 3;
  padding: 22px; display: flex; align-items: flex-end; justify-content: space-between;
  background: linear-gradient(to top, oklch(0.18 0.01 60 / 0.72), transparent);
  transform: translateY(8px); opacity: .92; transition: .5s var(--ease);
}
.proj:hover .meta { transform: translateY(0); opacity: 1; }
.proj .meta .t { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); color: var(--paper); }
.proj .meta .s { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: oklch(0.9 0.01 80 / 0.85); margin-top: 4px; }
.proj .tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: oklch(0.976 0.006 85 / 0.9); padding: 6px 10px; border-radius: 99px;
}
.proj-status {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 6px 12px; border-radius: 99px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18); white-space: nowrap;
}
.proj.tall { grid-column: span 6; grid-row: span 2; }
.proj.wide { grid-column: span 6; }
.proj.sqr  { grid-column: span 6; }
.proj.full { grid-column: span 12; grid-row: span 2; }
@media (max-width: 760px) {
  .proj-grid { grid-auto-rows: auto; }
  .proj.tall, .proj.wide, .proj.sqr, .proj.full { grid-column: span 12; grid-row: span 1; aspect-ratio: 4/3; }
}

/* ============================================================
   PROCESS
   ============================================================ */
/* Process → LIGHT */
.process-bg { background: var(--paper); color: var(--ink); border-block: 1px solid var(--line); }
.process-bg .eyebrow { color: var(--accent-deep); }
.process-bg .eyebrow::before { background: var(--accent); }
.process-bg .sec-head h2 { color: var(--ink); }
.process-bg .sec-head .lead { color: var(--ink-soft); }
.process-bg .steps { border-top: 1px solid var(--line); }
.process-bg .step { border-bottom: 1px solid var(--line); }
.process-bg .step .n { color: var(--accent-deep); }
.process-bg .step .h { color: var(--ink); }
.process-bg .step .p { color: var(--ink-soft); }
.steps { border-top: 1px solid oklch(1 0 0 / 0.14); }
.step {
  display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: clamp(20px, 4vw, 60px);
  padding: clamp(26px, 3.2vw, 44px) 0; border-bottom: 1px solid oklch(1 0 0 / 0.14);
  align-items: baseline;
}
.step .n { font-family: var(--mono); font-size: 13px; color: color-mix(in oklch, var(--accent) 65%, white); letter-spacing: .1em; }
.step .h { font-family: var(--serif); font-size: clamp(24px, 3vw, 40px); line-height: 1; }
.step .p { color: oklch(0.8 0.01 80); font-size: 15.5px; line-height: 1.65; }
.step:hover .h { color: color-mix(in oklch, var(--accent) 55%, white); transition: color .3s; }
@media (max-width: 760px) { .step { grid-template-columns: 1fr; gap: 10px; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
/* Testimonials → DARK */
#testimonials { background: var(--ink); color: var(--paper); }
#testimonials .eyebrow { color: color-mix(in oklch, var(--accent) 60%, white); }
#testimonials .eyebrow::before { background: var(--accent); }
#testimonials .sec-head h2 { color: var(--paper); }
#testimonials .sec-head .lead { color: oklch(0.78 0.01 80); }
#testimonials .testi { background: oklch(1 0 0 / 0.04); border-color: oklch(1 0 0 / 0.1); }
#testimonials .testi:hover { background: oklch(1 0 0 / 0.08); }
#testimonials .testi .q { color: var(--paper); }
#testimonials .testi .who .nm { color: var(--paper); }
#testimonials .testi .who .rl { color: oklch(0.65 0.01 80); }
#testimonials .testi::before { color: var(--accent); opacity: 0.15; }

/* Testimonials on Projects page — sandwiched between dark projects and light CTA,
   so use paper-2 with a strong top border to visually separate from #projects above */
.page-projects #testimonials {
  background: var(--paper-2);
  color: var(--ink);
  border-top: 3px solid var(--accent);
}
.page-projects #testimonials .eyebrow { color: var(--accent); }
.page-projects #testimonials .eyebrow::before { background: var(--accent); }
.page-projects #testimonials .sec-head h2 { color: var(--ink); }
.page-projects #testimonials .sec-head .lead { color: var(--ink-soft); }
.page-projects #testimonials .testi { background: var(--paper); border-color: var(--line); box-shadow: 0 2px 16px oklch(0 0 0 / 0.06); }
.page-projects #testimonials .testi:hover { box-shadow: 0 6px 28px oklch(0 0 0 / 0.10); }
.page-projects #testimonials .testi .q { color: var(--ink); }
.page-projects #testimonials .testi .who .nm { color: var(--ink); }
.page-projects #testimonials .testi .who .rl { color: var(--ink-soft); }
.page-projects #testimonials .testi::before { color: var(--accent); opacity: 0.18; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 26px); }
.testi {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: clamp(28px, 2.8vw, 42px); display: flex; flex-direction: column; gap: 22px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s;
  position: relative; overflow: hidden; min-height: 0; word-break: break-word;
}
.testi::before {
  content: "\201C"; position: absolute; top: 8px; right: 18px;
  font-family: var(--serif); font-size: 110px; line-height: 1; color: var(--accent);
  opacity: 0.07; pointer-events: none; z-index: 0;
}
.testi:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -20px oklch(0.3 0.05 50 / 0.18); }
.testi .stars { color: var(--accent); letter-spacing: 3px; font-size: 13px; position: relative; z-index: 1; }
.testi .q { font-family: var(--serif); font-size: clamp(15px, 1.2vw, 19px); line-height: 1.55; letter-spacing: -0.01em; flex: 1; color: var(--ink); position: relative; z-index: 1; overflow-wrap: break-word; }
.testi .who { display: flex; align-items: center; gap: 13px; }
.testi .who .av { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-2); flex: none; }
.testi .who .nm { font-weight: 600; font-size: 14px; }
.testi .who .rl { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); letter-spacing: .06em; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-left h2 { font-size: clamp(40px, 6vw, 90px); line-height: 0.92; }
.contact-left .lead { color: var(--ink-soft); font-size: 17px; line-height: 1.6; max-width: 40ch; margin-top: 24px; }
.contact-details { margin-top: 44px; display: grid; gap: 2px; }
.cdetail { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.cdetail .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); width: 90px; flex: none; padding-top: 3px; }
.cdetail .v { font-family: var(--serif); font-size: 19px; }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 9px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 15px 18px; transition: border-color .3s, background .3s, box-shadow .3s; width: 100%;
}
.field input:hover, .field textarea:hover { background: var(--paper); border-color: var(--line-2); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: var(--paper); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
}
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: oklch(0.55 0.18 25); }
.field .err { font-family: var(--mono); font-size: 11px; color: oklch(0.55 0.18 25); display: none; }
.field.invalid .err { display: block; }
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper-2); cursor: pointer;
  transition: .25s var(--ease); color: var(--ink-2);
}
.chip:hover { border-color: var(--ink-soft); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.form .btn { justify-content: center; width: 100%; margin-top: 6px; }
.form-success {
  border: 1px solid var(--accent); background: var(--accent-tint); border-radius: 6px;
  padding: 40px; text-align: center;
}
.form-success .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto 18px; color: var(--paper); }
.form-success h3 { font-size: 30px; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }

/* contact page needs to clear the fixed nav (no PageHero) */
.page-contact #contact { padding-top: clamp(140px, 17vh, 210px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; font-weight: 500; }
.footer .fcol a { display: block; padding: 6px 0; color: var(--ink-2); font-size: 15px; transition: color .25s, padding-left .25s; }
.footer .fcol a:hover { color: var(--accent-deep); padding-left: 6px; }
.footer .fbrand .brand-name { font-size: 26px; }
.footer .fbrand p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin-top: 18px; max-width: 30ch; }
.footer-base { display: flex; justify-content: space-between; align-items: center; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--ink-soft); flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } }

/* ============================================================
   SERVICE CARDS (Services page) — LIGHT
   ============================================================ */
.svc-cards-bg { background: var(--paper); }
.svc-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(32px, 4vw, 52px); }
.svc-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px -16px oklch(0.5 0.04 60 / 0.14); }
.svc-card-anim { height: 180px; background: var(--paper-3); flex: none; }
.svc-card-body { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-card-num { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--accent); }
.svc-card-name { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 24px); font-weight: 400; color: var(--ink); line-height: 1.1; }
.svc-card-desc { font-size: 14px; line-height: 1.65; color: var(--ink-soft); flex: 1; }
/* Last card spans full width — horizontal layout */
.svc-card:last-child { grid-column: 1 / -1; flex-direction: row; }
.svc-card:last-child .svc-card-anim { width: 340px; height: auto; flex: none; min-height: 180px; }
.svc-card:last-child .svc-card-body { padding: clamp(28px, 3vw, 48px); justify-content: center; }
.svc-card:last-child .svc-card-name { font-size: clamp(22px, 2.5vw, 34px); }
@media (max-width: 900px) { .svc-cards-grid { grid-template-columns: repeat(2, 1fr); } .svc-card:last-child { grid-column: 1 / -1; flex-direction: row; } .svc-card:last-child .svc-card-anim { width: 220px; } }
@media (max-width: 560px) { .svc-cards-grid { grid-template-columns: 1fr; } .svc-card:last-child { flex-direction: column; } .svc-card:last-child .svc-card-anim { width: 100%; height: 180px; } }

/* ============================================================
   WHY CHANA (Services page) — DARK
   ============================================================ */
.why-bg { background: var(--ink); color: var(--paper); }
.why-bg .eyebrow { color: color-mix(in oklch, var(--accent) 60%, white); }
.why-bg .eyebrow::before { background: var(--accent); }
.why-bg .sec-head h2 { color: var(--paper); }
.why-bg .sec-head .lead { color: oklch(0.78 0.01 80); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid oklch(1 0 0 / 0.1); }
.why-item { padding: clamp(28px, 3.2vw, 48px) clamp(20px, 2.4vw, 36px); border-right: 1px solid oklch(1 0 0 / 0.1); display: flex; flex-direction: column; gap: 14px; }
.why-item:last-child { border-right: none; }
.why-n { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--accent); }
.why-h { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 24px); font-weight: 400; color: var(--paper); line-height: 1.1; }
.why-p { font-size: 14px; line-height: 1.65; color: oklch(0.72 0.01 80); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } .why-item { border-right: none; border-bottom: 1px solid oklch(1 0 0 / 0.1); } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOUNDER STORY (About page) — DARK
   ============================================================ */
.founder-bg { background: var(--ink); color: var(--paper); }
.founder-bg .eyebrow { color: color-mix(in oklch, var(--accent) 60%, white); }
.founder-bg .eyebrow::before { background: var(--accent); }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.founder-img { border-radius: 6px; overflow: hidden; aspect-ratio: 4/5; }
.founder-copy h2 { color: var(--paper); font-size: clamp(32px, 4vw, 58px); line-height: 1.0; margin-bottom: clamp(20px, 2.5vw, 32px); }
.founder-copy p { color: oklch(0.78 0.01 80); font-size: 16px; line-height: 1.7; margin-bottom: 18px; max-width: 52ch; }
.founder-copy .sig { margin-top: 36px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--paper); }
.founder-copy .sig small { display: block; font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: oklch(0.65 0.01 80); margin-top: 6px; }
@media (max-width: 820px) { .founder-grid { grid-template-columns: 1fr; } .founder-img { aspect-ratio: 16/9; } }

/* ============================================================
   VALUES (About page) — LIGHT
   ============================================================ */
#values { background: var(--ink); color: var(--paper); }
#values .eyebrow { color: color-mix(in oklch, var(--accent) 60%, white); }
#values .eyebrow::before { background: var(--accent); }
#values .sec-head h2 { color: var(--paper); }
#values .sec-head .lead { color: oklch(0.78 0.01 80); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.value-card {
  background: oklch(1 0 0 / 0.04); border: 1px solid oklch(1 0 0 / 0.10); border-radius: 8px;
  padding: clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 14px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
}
.value-card:hover { background: oklch(1 0 0 / 0.08); transform: translateY(-4px); }
.v-icon { font-size: 18px; color: var(--accent); }
.v-h { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); font-weight: 400; color: var(--paper); line-height: 1; }
.v-p { font-size: 14.5px; line-height: 1.65; color: oklch(0.72 0.01 80); }
@media (max-width: 820px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TRADES LIST (Services page) — DARK
   ============================================================ */
.trades-bg { background: var(--paper-2); color: var(--ink); }
.trades-bg .eyebrow { color: var(--accent); }
.trades-bg .eyebrow::before { background: var(--accent); }
.trades-bg .sec-head h2 { color: var(--ink); }
.trades-bg .sec-head .lead { color: var(--ink-soft); }
.trades-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
.trade-col { display: flex; flex-direction: column; gap: 16px; }
.trade-cat { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.trade-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.trade-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.trade-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; opacity: 0.7; }
@media (max-width: 900px) { .trades-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .trades-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ACCREDITATIONS BAND
   ============================================================ */
.accreds-bg { background: var(--ink); color: var(--paper); }
.accreds-bg .eyebrow { color: color-mix(in oklch, var(--accent) 60%, white); }
.accreds-bg .eyebrow::before { background: var(--accent); }
.accreds-bg .sec-head h2 { color: var(--paper); }
.accreds-bg .sec-head .lead { color: oklch(0.78 0.01 80); }
.accreds-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  margin-top: clamp(36px, 5vw, 64px);
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: 16px;
  overflow: hidden;
}
.accred-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 36px 20px;
  background: oklch(1 0 0 / 0.03);
  border-right: 1px solid oklch(1 0 0 / 0.08);
  text-align: center; transition: background 0.25s;
}
.accred-card:last-child { border-right: none; }
.accred-card:hover { background: oklch(1 0 0 / 0.07); }
.accred-badge {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
}
.accred-sub {
  font-size: 12px; color: oklch(0.65 0.01 80); line-height: 1.4; max-width: 12ch; text-align: center;
}
.accreds-note {
  margin-top: clamp(28px, 4vw, 48px);
  font-size: 14px; color: oklch(0.60 0.01 80); line-height: 1.7;
  text-align: center; max-width: 72ch; margin-inline: auto;
}
@media (max-width: 900px) { .accreds-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .accreds-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   WHERE WE BUILD
   ============================================================ */
.where-bg { background: var(--ink); color: var(--paper); }
.where-bg .eyebrow { color: color-mix(in oklch, var(--accent) 60%, white); }
.where-bg .eyebrow::before { background: var(--accent); }
.where-bg .sec-head h2 { color: var(--paper); }
.where-bg .sec-head .lead { color: oklch(0.78 0.01 80); }

.where-map-wrap {
  margin-top: clamp(28px, 3vw, 40px);
  height: clamp(400px, 52vw, 580px);
  overflow: hidden;
  border-top: 1px solid oklch(1 0 0 / 0.10);
  border-bottom: 1px solid oklch(1 0 0 / 0.10);
}

/* Custom map pins */
.map-pin { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.map-pin-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); flex: none;
  box-shadow: 0 0 0 3px oklch(0.585 0.130 42 / 0.25);
  transition: box-shadow 0.2s;
}
.map-pin:hover .map-pin-dot { box-shadow: 0 0 0 6px oklch(0.585 0.130 42 / 0.20); }
.map-pin-label {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  color: var(--paper); white-space: nowrap;
  text-shadow: 0 1px 3px oklch(0 0 0 / 0.8);
  letter-spacing: 0.02em;
}

/* Popup */
.map-popup .leaflet-popup-content-wrapper {
  background: var(--ink); border: 1px solid oklch(1 0 0 / 0.15);
  border-radius: 8px; box-shadow: 0 8px 32px oklch(0 0 0 / 0.5);
  color: var(--paper); font-family: var(--sans); font-size: 13px;
}
.map-popup .leaflet-popup-tip { background: var(--ink); }

/* Leaflet zoom control */
.leaflet-control-zoom a {
  background: var(--ink) !important; color: var(--paper) !important;
  border-color: oklch(1 0 0 / 0.15) !important;
}
.leaflet-control-zoom a:hover { background: oklch(1 0 0 / 0.1) !important; }

.map-overlay {
  position: absolute; inset: 0; z-index: 400;
  background: oklch(0 0 0 / 0.35);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 12px;
  transition: background 0.2s;
}
.map-overlay:hover { background: oklch(0 0 0 / 0.18); }
.map-overlay-hint {
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.08em;
  color: oklch(1 0 0 / 0.7); text-transform: uppercase;
  background: oklch(0 0 0 / 0.45); padding: 10px 20px; border-radius: 99px;
  border: 1px solid oklch(1 0 0 / 0.15);
}

.where-foot {
  margin-top: clamp(24px, 3vw, 36px);
  font-size: 14px; color: oklch(0.60 0.01 80); line-height: 1.7; text-align: center;
}

/* ============================================================
   PROJECT SPECS (on cards)
   ============================================================ */
.proj-specs {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  color: var(--paper); background: oklch(0.18 0.01 60 / 0.6);
  backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 99px;
}
.proj-specs .sep { opacity: 0.4; }

/* ============================================================
   PROJECT BREAKDOWN (Projects page) — LIGHT
   ============================================================ */
.proj-breakdown-bg { background: var(--paper-2); border-block: 1px solid var(--line); }
.pb-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pb-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 110px; }
.pb-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 16px 18px; border-radius: 6px; border: 1px solid transparent;
  background: transparent; cursor: pointer; text-align: left;
  transition: background .3s var(--ease), border-color .3s;
}
.pb-tab:hover { background: var(--paper); border-color: var(--line); }
.pb-tab.active { background: var(--paper); border-color: var(--line); box-shadow: 0 4px 16px -8px oklch(0.5 0.04 60 / 0.1); }
.pb-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pb-name { font-family: var(--serif); font-size: 18px; color: var(--ink); font-weight: 400; }
.pb-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.pb-img { border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; }
.pb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-info { display: flex; flex-direction: column; gap: 24px; }
.pb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pb-stat { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.pb-stat .k { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.pb-stat .v { font-family: var(--serif); font-size: 22px; color: var(--ink); font-weight: 400; }
.pb-brief { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.pb-scope-label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 12px; }
.pb-scope ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pb-scope li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .pb-layout { grid-template-columns: 1fr; } .pb-tabs { flex-direction: row; flex-wrap: wrap; position: static; } .pb-detail { grid-template-columns: 1fr; } }

/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */
.page-project-detail .nav { background: oklch(0.976 0.006 85 / 0.95); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.proj-detail-hero { position: relative; overflow: hidden; height: calc(60vh + 1cm); margin-top: 72px; }
.proj-hero-blur { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(24px) sepia(0.3) saturate(0.8); transform: scale(1.1); opacity: 0.6; z-index: 0; background-color: var(--paper); }
.proj-detail-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.proj-detail-hero-overlay { position: absolute; inset: 0; display: flex; align-items: flex-start; padding-top: 20px; }
.proj-detail-hero-overlay .wrap { display: flex; align-items: center; gap: 10px; }
.back-link, .proj-detail-hero-overlay .tag {
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.back-link {
  background: var(--paper);
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--ink) !important;
}
.proj-detail-hero-overlay .tag {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff !important;
  margin-left: auto;
}
.back-link { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); display: inline-flex; align-items: center; gap: 8px; opacity: 0.85; transition: opacity .3s; }
.back-link:hover { opacity: 1; }
#proj-detail-intro { background: var(--paper); }
.proj-detail-grid { display: grid; grid-template-columns: 1fr 420px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.proj-detail-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.proj-detail-scope { grid-column: span 2; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.proj-detail-scope ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.proj-detail-scope li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.proj-others-bg { background: var(--ink); color: var(--paper); }
.proj-others-bg .eyebrow { color: color-mix(in oklch, var(--accent) 60%, white); }
.proj-others-bg .eyebrow::before { background: var(--accent); }
.proj-others-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.proj-other { display: block; position: relative; overflow: hidden; border-radius: 5px; aspect-ratio: 4/3; border: 1px solid oklch(1 0 0 / 0.1); }
.proj-other .proj-img { position: absolute; inset: 0; }
.proj-other .proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.proj-other:hover .proj-img img { transform: scale(1.06); }
.proj-other .meta { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(to top, oklch(0.18 0.01 60 / 0.75), transparent); display: flex; align-items: flex-end; justify-content: space-between; }
.proj-other .meta .t { font-family: var(--serif); font-size: clamp(16px, 1.6vw, 22px); color: var(--paper); }
.proj-other .meta .s { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: oklch(0.85 0.01 80 / 0.85); margin-top: 3px; }
@media (max-width: 900px) { .proj-detail-grid { grid-template-columns: 1fr; } .proj-others-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .proj-others-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROJECT DETAIL — STORY (challenge / approach / outcome)
   ============================================================ */
.proj-story-bg { background: var(--ink); color: var(--paper); }
.proj-story-bg .eyebrow { color: color-mix(in oklch, var(--accent) 60%, white); }
.proj-story-bg .eyebrow::before { background: var(--accent); }
.proj-story-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  border-top: 1px solid oklch(1 0 0 / 0.10);
  padding-top: clamp(32px, 4vw, 56px);
}
.proj-story-block { display: flex; flex-direction: column; gap: 16px; padding-bottom: clamp(28px, 4vw, 48px); }
.proj-story-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); opacity: 0.8;
}
.proj-story-h {
  font-family: var(--serif); font-size: clamp(20px, 2vw, 28px);
  color: var(--paper); line-height: 1.1; letter-spacing: -0.01em;
}
.proj-story-p { font-size: 15px; line-height: 1.8; color: oklch(0.72 0.01 78); }

/* ============================================================
   PROJECT DETAIL — GALLERY
   ============================================================ */
#proj-gallery { background: var(--paper-2); }
/* Before / After split columns */
.proj-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 4px;
}
.proj-split-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 0 20px;
}
.proj-split-col.col-before { background: #2c2c29; }
.proj-split-col.col-after  { background: var(--paper-2); }
.proj-split-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 18px 10px;
}
.col-before .proj-split-label { color: rgba(255,255,255,0.5); }
.col-after  .proj-split-label { color: var(--accent); }
.proj-split-item {
  background: none; border: none; padding: 0 3px;
  cursor: zoom-in; display: block; width: 100%; overflow: hidden;
}
.proj-split-item img { width: 100%; height: auto; display: block; transition: transform 0.9s var(--ease); }
.proj-split-item:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .proj-split-grid { grid-template-columns: 1fr; }
}

.proj-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 8px;
}
.proj-gallery-item { position: relative; overflow: hidden; border-radius: 6px; display: block; }
.proj-gallery-item.span2 { grid-column: span 2; grid-row: span 2; }
.proj-gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.9s var(--ease);
}
.proj-gallery-item:hover img { transform: scale(1.04); }

/* Lightbox */
.proj-lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: oklch(0.10 0.01 60 / 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 5vw, 60px);
  cursor: zoom-out;
}
.proj-lightbox img {
  max-width: 100%; max-height: 90vh;
  border-radius: 8px; box-shadow: 0 40px 100px oklch(0 0 0 / 0.6);
  cursor: default;
}
.proj-lightbox-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; color: var(--paper);
  font-size: 22px; cursor: pointer; opacity: 0.7; line-height: 1;
  transition: opacity 0.2s;
}
.proj-lightbox-close:hover { opacity: 1; }

@media (max-width: 900px) {
  .proj-story-grid { grid-template-columns: 1fr; }
  .proj-gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .proj-gallery-item.span2 { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 540px) {
  .proj-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .proj-gallery-item.span2 { grid-column: span 1; grid-row: span 1; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* progress bar */
.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--accent); z-index: 200; width: 0; }

/* tweak: calm motion */
body.calm .shiny { animation: none; }
body.calm .marquee-track { animation: none; }

/* tweak: modern (sans) headlines */
body.headline-modern h1,
body.headline-modern h2,
body.headline-modern h3,
body.headline-modern .hero-title,
body.headline-modern .display,
body.headline-modern .big-quote,
body.headline-modern .svc-row .name,
body.headline-modern .step .h,
body.headline-modern .testi .q,
body.headline-modern .brand-name,
body.headline-modern .stat .v { font-weight: 600; letter-spacing: -0.03em; }
body.headline-modern .hero-title .l2,
body.headline-modern .statement .big-quote em { font-style: normal; }

/* tweaks panel container baseline */
#tweaks-root { position: fixed; z-index: 1000; }
