/* zero21, Boutique × Atelier blend
 *
 * Atelier v3's architecture (sticky top, ticker bar, shader hero, sharp bordered sections,
 * multi-page hash routing) reskinned with the Boutique brief's palette and type:
 *
 *   Forest moss primary (#3B4D2D / #2C3B22)  ·  Bone parchment bg (#F4F1E9)
 *   Saffron warm pop (#C8862A)               ·  Chartreuse wildcard (#C9D947, used once)
 *
 *   Display:  Fraunces (variable opsz + SOFT axes, editorial italic does real work)
 *   Body:     Hanken Grotesk (humanist, warm)
 *   Mono:     JetBrains Mono (eyebrows, captions, ticker)
 *
 * Borders soften from v3's harsh 3px black to 1.5-2px moss-700.
 * Cards keep their sharp bordered grid energy but lose the heavy drop-shadow buttons.
 * Body sits at 17px, boutique brief says long-form reading is part of the value.
 */

:root {
  /* Forest moss ramp */
  --moss-50:  #F1F4EE;
  --moss-100: #DDE3D5;
  --moss-200: #BCC8AC;
  --moss-300: #94A580;
  --moss-400: #6E815A;
  --moss-500: #4F633F;
  --moss-600: #3B4D2D;
  --moss-700: #2C3B22;
  --moss-800: #1F2A18;
  --moss-900: #131B0F;

  /* Warm neutrals */
  --bg:      #F4F1E9;
  --bg-2:    #ECE7DA;
  --parch:   #E5DECC;
  --line:    rgba(31,27,18,0.12);
  --line-2:  rgba(31,27,18,0.22);
  --line-strong: var(--moss-700);

  --ink:     #1F1B12;
  --ink-2:   #3B3526;
  --ink-3:   #6E6753;

  /* Pops */
  --gold:       #C8862A;     /* saffron, replaces v3's gold token */
  --gold-2:     #A56C18;
  --chartreuse: #C9D947;     /* wildcard, used once */

  --serif: 'Fraunces', 'GT Sectra', Georgia, serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  --shadow-soft: 0 12px 28px -16px rgba(31,42,24,0.22);
  --shadow-deep: 0 32px 64px -28px rgba(31,42,24,0.32);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01' 1; }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; }
.cap  { text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; font-weight: 600;
        font-family: var(--mono); color: var(--gold-2); }
.serif { font-family: var(--serif); font-weight: 400; }
.serif.it { font-style: italic; font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.gold { color: var(--gold); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ─── Atelier ticker bar ─── */
.atelier-bar { background: var(--moss-800); color: var(--bg); padding: 9px 0; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; overflow: hidden; }
.atelier-bar .row { display: flex; justify-content: space-between; align-items: center; gap: 24px;
  white-space: nowrap; }
.atelier-bar .row > span { white-space: nowrap; flex-shrink: 0; }
.atelier-bar .gold { color: var(--gold); }

/* dynamic ticker strip */
.ticker-scroll { flex: 1; min-width: 0; overflow: hidden; position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); }
.ticker-track { display: flex; gap: 0; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); will-change: transform; }
.ticker-item { display: inline-block; width: 210px; text-align: center;
  color: rgba(244,241,233,0.6); white-space: nowrap; flex-shrink: 0; padding: 0 8px; }
@media (max-width: 760px) { .ticker-scroll { display: none; } }

@media (max-width: 760px) { .ticker-scroll { display: none; } }

/* ─── Top nav ─── */
.top { border-bottom: 1px solid var(--line); position: sticky; top: 0;
  background: rgba(244,241,233,0.85); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); z-index: 1000; }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; }
.logo .logo-img { height: 26px; width: auto; display: block; }
.logo b { font-style: italic; font-weight: 400; color: var(--moss-600); }
.top-right { display: flex; align-items: center; gap: 20px; font-size: 14px;
  white-space: nowrap; min-width: 0; }
.top-right a { color: var(--ink-2); position: relative; padding: 4px 0; }
.top-right a:not(.start)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--gold); transition: right .25s ease; }
.top-right a:not(.start):hover::after,
.top-right a.active::after { right: 0; }
.top-right a.active { color: var(--ink); }
.top-right .start { background: var(--moss-700); color: var(--bg); padding: 9px 16px;
  border-radius: 999px; font-weight: 500; transition: background .2s ease; white-space: nowrap; flex-shrink: 0; }
.top-right .start:hover { background: var(--gold); color: var(--ink); }
.top-right .start::after { display: none; }

/* Avatar placeholders */
.avatar { background: var(--parch); position: relative; overflow: hidden; border-radius: 12px;
  box-shadow: var(--shadow-soft); }
.avatar.lg { width: 100%; aspect-ratio: 4 / 5; }
.avatar .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
  background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(31,27,18,0.05) 10px 11px); }

/* Buttons (boutique pill, no harsh shadow) */
.btn { padding: 13px 22px; font-size: 14px; font-weight: 500; font-family: var(--sans);
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink);
  cursor: pointer; transition: all .25s cubic-bezier(.34,1.56,.64,1);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  border-radius: 999px; }
.btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.btn.primary { background: var(--moss-700); color: var(--bg); border-color: var(--moss-700);
  box-shadow: var(--shadow-soft); }
.btn.primary:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ─── Hero (Atelier shape, Boutique skin) ─── */
.atelier-hero { position: relative; min-height: clamp(560px, 74vh, 780px); overflow: hidden;
  display: flex; flex-direction: column; align-items: stretch; }
.atelier-hero .copy { flex: 1 1 auto; }
/* Trust marquee rides on the same shader background as the hero (one continuous bg) */
.atelier-hero .hero-trust { position: relative; z-index: 10; }
.atelier-hero .hero-trust .trust-marquee { background: transparent; padding: 0 0 48px; }
.atelier-hero .shader { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.atelier-hero .shader > div { z-index: 0 !important; pointer-events: none; }
.atelier-hero .shader canvas { pointer-events: none; }
.atelier-hero .veil { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(244,241,233,0) 38%, rgba(244,241,233,0.34) 74%, rgba(244,241,233,0.5) 100%),
    radial-gradient(ellipse at 30% 0%, rgba(47,77,45,0.10), transparent 60%); }
.atelier-hero .grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.35; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.10  0 0 0 0 0.07  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply; }

.atelier-hero .ser { position: absolute; top: 32px; left: 40px; right: 40px; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); font-weight: 500; gap: 16px; }
.atelier-hero .ser > span { white-space: nowrap; }
.atelier-hero .ser .pulse { flex-shrink: 0; }
.atelier-hero .ser .gold { color: var(--gold-2); font-weight: 600; }
.atelier-hero .ser .pulse { display: inline-block; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%; margin-right: 8px; vertical-align: middle;
  animation: pulse 2.4s infinite; box-shadow: 0 0 0 0 rgba(200,134,42,0.6); }

.atelier-hero .copy { position: relative; z-index: 10; width: 100%;
  display: flex; align-items: center; padding: 48px 0 52px; overflow: visible; }
.atelier-hero h1 { font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4vw, 72px); line-height: 1.05; letter-spacing: -0.03em;
  margin: 0; max-width: 14ch; color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 50; }
.atelier-hero h1 .it { font-style: italic; color: var(--moss-700);
  font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.atelier-hero h1 .ac { color: var(--gold); }
.atelier-hero .meta { font-family: var(--mono); font-size: 10px; color: var(--gold-2);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; line-height: 1.5; }
.atelier-hero .meta .dot { width: 9px; height: 9px; background: var(--gold); border-radius: 50%;
  display: inline-block; animation: pulse 2.4s infinite; box-shadow: 0 0 0 0 rgba(200,134,42,0.6); }
.atelier-hero .right { display: flex; flex-direction: column; gap: 24px; align-items: flex-end;
  max-width: 460px; text-align: right; }
.atelier-hero .right p { font-family: var(--serif); font-weight: 350; font-size: clamp(15px, 1.4vw, 19px);
  color: var(--ink-2); margin: 0; line-height: 1.5;
  font-variation-settings: 'opsz' 36, 'SOFT' 100; }
.atelier-hero .right .row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ─── Stats strip (with count-up support) ─── */
.stats { padding: 56px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 4px 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat:first-child { padding-left: 0; }
.stat .k { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-3); font-weight: 600; margin-bottom: 14px; display: block; }
.stat .n { font-family: var(--serif); font-size: clamp(40px, 4.2vw, 68px); font-weight: 400;
  letter-spacing: -0.03em; line-height: 0.95; color: var(--moss-700);
  font-variation-settings: 'opsz' 144, 'SOFT' 60; }
.stat .n .ac { color: var(--gold); }
.stat .l { font-size: 14px; color: var(--ink-2); margin-top: 14px; line-height: 1.5; max-width: 22ch; }

/* ─── Trusted by · marquee (continuous with hero, no border, same bg) ─── */
.trust-marquee { padding: 4px 0 44px; background: var(--bg); overflow: hidden; }
.trust-marquee .trust-head { margin-bottom: 24px; }
.trust-marquee .trust-head .lab { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-2); font-weight: 600; white-space: nowrap; }
.marquee-wrap { position: relative; width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); }
.marquee-track { display: flex; gap: 0; width: max-content;
  animation: marquee-scroll 28s linear infinite; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; justify-content: center;
  height: 72px; padding: 0 40px; flex-shrink: 0; white-space: nowrap; }
.marquee-text { font-family: var(--serif); font-weight: 400; font-size: clamp(16px, 1.8vw, 22px);
  color: var(--ink-3); letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 36, 'SOFT' 80; }
.marquee-item img { transition: opacity .25s ease; }
/* Logos are pre-baked to a single warm ink with their alpha preserved, so no filter is needed, just a muted resting opacity that lifts on hover. */
.trust-logo { width: auto; max-width: 190px; object-fit: contain;
  opacity: 0.72; filter: none; transition: opacity .25s ease; }
.marquee-item:hover .trust-logo { opacity: 1; }
/* Colored logos (full-color source) get flattened to mono ink for consistency. */
.trust-logo-darken { filter: brightness(0); }
.marquee-item:hover .trust-logo-darken { }
.marquee-item:hover .marquee-text { color: var(--gold-2); }

/* ─── Brand wordmarks · unified monochrome "as seen in" strip ─── */
a.marquee-item { text-decoration: none; cursor: pointer; }
.wm { display: inline-flex; align-items: center; white-space: nowrap; line-height: 1;
  font-size: 23px; letter-spacing: -0.01em; color: var(--ink-2); opacity: 0.78;
  transition: opacity .22s ease, color .22s ease; }
.marquee-item:hover .wm { opacity: 1; color: var(--ink); }
.wm b { font-weight: 800; }

/* Papara, rounded lowercase wordmark */
.wm-papara { font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -0.005em; }

/* Watermelon, playful rounded, ink seed-dot */
.wm-watermelon { font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 800; font-size: 22px; }
.wm-watermelon .wm-dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 7px;
  background: currentColor; box-shadow: inset -2px -2px 0 rgba(255,255,255,0.35); flex-shrink: 0; }

/* Spring Studios, refined editorial serif */
.wm-spring { font-family: var(--serif); font-weight: 500; font-size: 24px;
  font-variation-settings: 'opsz' 40, 'SOFT' 60; }
.wm-spring .wm-it { font-style: italic; font-weight: 400; }

/* sallis.io, technical mono */
.wm-sallis { font-family: var(--mono); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.wm-sallis .wm-tld { opacity: 0.55; }

/* Sheraa, soft rounded lowercase (the "sail") */
.wm-sheraa { font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 600; font-size: 23px; letter-spacing: 0.01em; }

/* KAUST TAQADAM, uppercase engineered caps with light prefix */
.wm-taqadam { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 19px;
  text-transform: uppercase; letter-spacing: 0.04em; }
.wm-taqadam .wm-pre { font-weight: 400; opacity: 0.6; margin-right: 7px; letter-spacing: 0.08em; }

/* WeBuild Ventures, heavy + light geometric grotesque */
.wm-webuild { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 21px; letter-spacing: -0.02em; }
.wm-webuild .wm-light { font-weight: 400; opacity: 0.62; }

/* Startup Bahrain, friendly geometric with rounded-square mark */
.wm-bahrain { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 600; font-size: 21px; letter-spacing: -0.01em; }
.wm-bahrain .wm-sq { width: 14px; height: 14px; border-radius: 4px; margin-right: 9px; flex-shrink: 0;
  background: currentColor; }

/* ─── Testimonials · Masonry grid ─── */
.testi { padding: 84px 0; border-top: 1px solid var(--line); }
.testi-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; gap: 24px; flex-wrap: nowrap; }
.testi-head .lab { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-2); font-weight: 600; white-space: nowrap; }
.testi-masonry { columns: 3; column-gap: 20px; }
.testi-card { break-inside: avoid; padding: 32px 28px 24px; border-radius: 18px; background: var(--bg-2);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
  margin-bottom: 20px; }
.testi-card:hover { background: var(--moss-50); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.testi-card .qmark { font-family: var(--serif); font-style: italic; font-size: 48px; line-height: 0.5;
  color: var(--gold); margin-bottom: -8px; height: 16px;
  font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.testi-card blockquote { font-family: var(--serif); font-weight: 400; font-size: 19px;
  line-height: 1.45; letter-spacing: -0.005em; margin: 0; color: var(--ink); flex: 1;
  font-variation-settings: 'opsz' 36, 'SOFT' 80; }
.testi-card blockquote .it { font-style: italic; color: var(--moss-700); }
.testi-card .who { display: flex; align-items: center; gap: 12px; padding-top: 16px;
  border-top: 1px solid var(--line); }
.testi-card .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--parch);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 16px; color: var(--moss-700); font-weight: 400;
  font-variation-settings: 'opsz' 36, 'SOFT' 100; font-style: italic; }
.testi-card .who .av-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0; }
.testi-card .who .nm { display: flex; flex-direction: column; gap: 2px; }
.testi-card .who .name { font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--ink); }
.testi-card .who .role { font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }


/* ─── Problem section ─── */
.problem-s { background: var(--bg-2); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.problem-left { display: flex; flex-direction: column; gap: 28px; }
.problem-left h2 { font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.2vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; max-width: 14ch;
  font-variation-settings: 'opsz' 96, 'SOFT' 80; }
.problem-left h2 .it { font-style: italic; color: var(--moss-700);
  font-variation-settings: 'opsz' 96, 'SOFT' 100; }
.problem-close { font-family: var(--serif); font-weight: 350; font-size: 20px; line-height: 1.5;
  color: var(--ink-2); margin: 0; font-variation-settings: 'opsz' 36, 'SOFT' 100; font-style: italic; }
.problem-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.problem-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0;
  border-bottom: 1px solid var(--line-2); align-items: baseline; }
.problem-item:first-child { border-top: 1px solid var(--line-2); }
.problem-n { font-family: var(--mono); font-size: 11px; color: var(--gold-2); font-weight: 600;
  letter-spacing: 0.1em; }
.problem-text { font-family: var(--sans); font-size: 17px; color: var(--ink-2); line-height: 1.55; }

/* ─── Services: gain callout ─── */
.svc-gain { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--moss-700);
  margin-bottom: 4px; font-variation-settings: 'opsz' 36, 'SOFT' 100; }

/* ─── Work cards (expandable) ─── */
.work-cards { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-2); }
.work-card { padding: 32px 0; border-bottom: 1px solid var(--line); cursor: pointer;
  transition: background .2s ease, padding .25s ease; }
.work-card:hover { background: var(--bg-2); }
.work-card.open { background: var(--bg-2); }
.wc-top { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.wc-left { display: flex; flex-direction: column; gap: 6px; }
.wc-kind { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase;
  letter-spacing: 0.14em; font-weight: 600; }
.wc-client { font-family: var(--mono); font-size: 11.5px; color: var(--gold-2); text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 600; }
.wc-title { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.8vw, 36px);
  margin: 6px 0 10px; line-height: 1.15; letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 60, 'SOFT' 80; }
.wc-metric { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 18px;
  color: var(--moss-700); font-variation-settings: 'opsz' 36, 'SOFT' 100; }
.wc-toggle { font-family: var(--serif); font-size: 32px; color: var(--gold); line-height: 1;
  padding-top: 4px; flex-shrink: 0; font-variation-settings: 'opsz' 36, 'SOFT' 100; font-style: italic;
  transition: transform .3s ease; }
.work-card.open .wc-toggle { transform: rotate(90deg); }
/* Smooth accordion wrapper */
.wc-body-wrap { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(0.4,0,0.2,1), opacity .3s ease;
  opacity: 0; }
.wc-body-wrap.is-open { max-height: 600px; opacity: 1; }
.wc-body { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding-top: 28px; border-top: 1px solid var(--line-2); }
.wc-section { display: flex; flex-direction: column; gap: 8px; }
.wc-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--gold-2); font-weight: 600; }
.wc-body p { font-size: 16px; color: var(--ink-2); line-height: 1.65; margin: 0; }
/* Work card images */
.wc-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.wc-img { width: 100%; border-radius: 10px; object-fit: cover; aspect-ratio: 16/10; }

/* ─── Work cards v2 · 2×2 flip grid ─── */
.wc2-section { background: var(--bg); padding-top: 64px !important; }
.wc2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.wc2-card {
  border-radius: 20px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
  user-select: none;
  perspective: 1200px;
  cursor: pointer;
  background: transparent !important;
  border: none !important;
}
.wc2-card:hover { transform: translateY(-4px); box-shadow: none; }

/* Inner flipper */
.wc2-flipper {
  position: relative;
  width: 100%; height: 100%; min-height: 360px;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.4, 0.2, 0.2, 1);
  border-radius: 20px;
}
.wc2-card.flipped .wc2-flipper {
  transform: rotateY(180deg);
}

.wc2-face {
  position: absolute; inset: 0;
  border-radius: 20px;
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.wc2-face-back {
  transform: rotateY(180deg);
}

/* Scheme variants, applied to faces, not card */
.wc2-dark .wc2-face {
  background: var(--moss-800);
  color: var(--bg);
  border: 1px solid var(--moss-700);
}
.wc2-light .wc2-face {
  background: var(--moss-50);
  color: var(--ink);
  border: 1px solid var(--moss-200);
}
.wc2-accent .wc2-face {
  background: var(--moss-700);
  color: var(--bg);
  border: 1px solid var(--moss-600);
}

/* Subtle texture overlay */
.wc2-face::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.10  0 0 0 0 0.07  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
  border-radius: 20px;
  mix-blend-mode: overlay;
  opacity: 0.4;
}

.wc2-front, .wc2-back {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wc2-hidden { display: none; }

/* Top row */
.wc2-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.wc2-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.wc2-dark .wc2-tag, .wc2-accent .wc2-tag {
  background: rgba(244,241,233,0.12);
  color: var(--gold);
}
.wc2-light .wc2-tag {
  background: var(--moss-200);
  color: var(--moss-700);
}
.wc2-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.35;
}

/* Client name */
.wc2-client {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.wc2-light .wc2-client { color: var(--gold-2); }

/* The big metric number */
.wc2-metric-big {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
}
.wc2-dark .wc2-metric-big, .wc2-accent .wc2-metric-big { color: var(--bg); }
.wc2-light .wc2-metric-big { color: var(--moss-700); }

.wc2-metric-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
  opacity: 0.65;
}

/* Title */
.wc2-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 auto;
  font-variation-settings: 'opsz' 36, 'SOFT' 80;
  flex: 1;
  padding-bottom: 20px;
}
.wc2-dark .wc2-title, .wc2-accent .wc2-title { color: rgba(244,241,233,0.82); }
.wc2-light .wc2-title { color: var(--ink-2); }

/* Footer row */
.wc2-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(244,241,233,0.12);
  padding-top: 16px;
  margin-top: auto;
}
.wc2-light .wc2-footer { border-top-color: var(--line-2); }
.wc2-kind {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}
.wc2-flip-hint {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
  transition: opacity .2s;
}
.wc2-flip-hint:hover { opacity: 0.75; }

/* Back face */
.wc2-back-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  margin-top: 4px;
  overflow: hidden;
}
.wc2-back-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wc2-back-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.wc2-light .wc2-back-label { color: var(--gold-2); }
.wc2-back-block p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  font-variation-settings: 'opsz' 24, 'SOFT' 80;
}
.wc2-dark .wc2-back-block p, .wc2-accent .wc2-back-block p { color: rgba(244,241,233,0.80); }
.wc2-light .wc2-back-block p { color: var(--ink-2); }

.wc2-ext-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,134,42,0.35);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
  align-self: flex-start;
}
.wc2-ext-link:hover { border-color: var(--gold); color: var(--chartreuse); }
.wc2-light .wc2-ext-link { color: var(--gold-2); border-bottom-color: rgba(165,108,24,0.35); }

/* Responsive */
@media (max-width: 760px) {
  .wc2-grid { grid-template-columns: 1fr; }
  .wc2-card { min-height: 300px; }
  .wc2-flipper { min-height: 300px; }
  .wc2-face { padding: 28px 24px; }
  .wc2-metric-big { font-size: clamp(48px, 12vw, 72px); }
}

/* ─── About: not-for block ─── */
.not-for { padding: 20px 24px; border-radius: 10px; background: var(--bg);
  border: 1px solid var(--line-2); margin: 24px 0; }
.not-for-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--gold-2); font-weight: 600; display: block; margin-bottom: 10px; }
.not-for p { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; margin: 0; }

/* ─── Contact note ─── */
.contact-note { font-family: var(--mono); font-size: 12px; color: rgba(244,241,233,0.55);
  text-transform: uppercase; letter-spacing: 0.14em; margin-top: 18px; }

/* ─── Section frame ─── */
section.s { padding: 84px 0; border-top: 1px solid var(--line); }
.s-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 44px; align-items: end; }
.s-head .h-left { display: flex; flex-direction: column; gap: 18px; }
.s-head h2 { font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4vw, 64px); line-height: 1.0; letter-spacing: -0.025em; margin: 0; max-width: 13ch;
  font-variation-settings: 'opsz' 96, 'SOFT' 80; }
.s-head h2 .it { font-style: italic; color: var(--moss-700);
  font-variation-settings: 'opsz' 96, 'SOFT' 100; }
.s-head .lede { color: var(--ink-2); font-size: 16px; max-width: 44ch; line-height: 1.65; }

/* Section index dot */
.s-ix { display: inline-flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.s-ix .num { background: var(--moss-700); color: var(--bg); padding: 4px 10px; font-family: var(--mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.s-ix .lab { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; color: var(--gold-2); white-space: nowrap; }

/* ─── Services v2, Big number cards ─── */
.svc2-section { background: var(--bg); }
.svc2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.svc2-card {
  border-radius: 20px;
  padding: 36px 32px 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.svc2-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.svc2-dark  { background: var(--moss-800); color: var(--bg); border: 1px solid var(--moss-700); }
.svc2-light { background: var(--moss-50);  color: var(--ink); border: 1px solid var(--moss-200); }
.svc2-accent { background: var(--moss-700); color: var(--bg); border: 1px solid var(--moss-600); }

/* grain overlay */
.svc2-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.10  0 0 0 0 0.07  0 0 0 0.03 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none; border-radius: 20px;
  mix-blend-mode: overlay; opacity: 0.35;
}

.svc2-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}
/* THE BIG NUMBER */
.svc2-big-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-style: italic;
  opacity: 0.10;
  transition: opacity .25s ease;
  user-select: none;
}
.svc2-dark  .svc2-big-num, .svc2-accent .svc2-big-num { color: var(--bg); }
.svc2-light .svc2-big-num { color: var(--moss-700); }
.svc2-card:hover .svc2-big-num { opacity: 0.18; }

.svc2-sub-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 6px;
}
.svc2-dark  .svc2-sub-label, .svc2-accent .svc2-sub-label {
  background: rgba(244,241,233,0.1); color: var(--gold);
}
.svc2-light .svc2-sub-label { background: var(--moss-200); color: var(--moss-700); }

.svc2-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
  font-variation-settings: 'opsz' 60, 'SOFT' 80;
  flex: 1;
  padding-bottom: 16px;
}
.svc2-dark  .svc2-title, .svc2-accent .svc2-title { color: var(--bg); }
.svc2-light .svc2-title { color: var(--ink); }

.svc2-blurb {
  display: none;
}

.svc2-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(244,241,233,0.1);
  padding-top: 18px;
}
.svc2-light .svc2-bottom { border-top-color: var(--line-2); }

.svc2-gain {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  font-variation-settings: 'opsz' 36, 'SOFT' 100;
  color: var(--gold);
}
.svc2-light .svc2-gain { color: var(--gold-2); }

.svc2-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.svc2-tag {
  font-family: var(--mono); font-size: 9.5px; padding: 3px 8px; border-radius: 999px;
  letter-spacing: 0.04em; white-space: nowrap;
}
.svc2-dark  .svc2-tag, .svc2-accent .svc2-tag { background: rgba(244,241,233,0.08); color: rgba(244,241,233,0.55); }
.svc2-light .svc2-tag { background: rgba(31,27,18,0.06); color: var(--ink-3); }

.svc2-cta { display: none; }

@media (max-width: 760px) {
  .svc2-grid { grid-template-columns: 1fr; }
  .svc2-card { min-height: 280px; padding: 28px 24px 24px; }
  .svc2-big-num { font-size: clamp(72px, 18vw, 100px); }
  .svc2-blurb { opacity: 1; max-height: none; }
  .svc2-cta { opacity: 1; transform: none; }
}

/* ─── Testimonials · Scattered wall ─── */
.twall { padding: 84px 0 96px; border-top: 1px solid var(--line); background: var(--moss-800); color: var(--bg);
  overflow: hidden; }
.twall-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.twall-head .lab { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--chartreuse); font-weight: 600; }
.twall-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: var(--bg);
  font-variation-settings: 'opsz' 96, 'SOFT' 80; }
.twall-head h2 .it { font-style: italic; color: var(--moss-200);
  font-variation-settings: 'opsz' 96, 'SOFT' 100; }
.twall-grid { display: flex; align-items: flex-start; gap: 22px; }
.twall-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.twall-card { position: relative; margin: 0 0 22px; padding: 28px 26px 22px;
  border-radius: 16px; background: var(--bg); color: var(--ink);
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.45);
  transition: transform .3s ease, box-shadow .3s ease;
  transform-origin: center top; }
.twall-card:hover { box-shadow: 0 28px 56px -24px rgba(0,0,0,0.55); z-index: 5; }
/* scattered rotations + tint variety (rotation only; hover lifts via translate) */
.twc-0 { transform: rotate(-1.4deg); }
.twc-1 { transform: rotate(1.1deg); background: var(--parch); }
.twc-2 { transform: rotate(-0.6deg) translateY(6px); }
.twc-3 { transform: rotate(1.6deg); background: var(--moss-50); }
.twc-4 { transform: rotate(-1.1deg) translateY(-4px); background: var(--bg-2); }
.twc-5 { transform: rotate(0.8deg); }
.twc-0:hover { transform: rotate(0deg) translateY(-6px); }
.twc-1:hover { transform: rotate(0deg) translateY(-6px); }
.twc-2:hover { transform: rotate(0deg) translateY(0px); }
.twc-3:hover { transform: rotate(0deg) translateY(-6px); }
.twc-4:hover { transform: rotate(0deg) translateY(-10px); }
.twc-5:hover { transform: rotate(0deg) translateY(-6px); }
.twall-pin { position: absolute; top: -7px; left: 50%; margin-left: -7px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--gold);
  box-shadow: 0 2px 5px rgba(0,0,0,0.35), inset 0 -2px 3px rgba(0,0,0,0.25); }
.twall-quote { font-family: var(--serif); font-weight: 400; font-size: 16.5px; line-height: 1.5;
  letter-spacing: -0.004em; margin: 0; color: var(--ink);
  font-variation-settings: 'opsz' 36, 'SOFT' 80; }
.twall-who { display: flex; align-items: center; gap: 12px; padding-top: 14px;
  border-top: 1px solid var(--line); }
.twall-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.twall-av-init { width: 38px; height: 38px; border-radius: 50%; background: var(--parch); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--moss-700); }
.twall-nm { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.twall-name { font-family: var(--sans); font-weight: 600; font-size: 13.5px; color: var(--ink); }
.twall-role { font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 500; }
@media (max-width: 680px) {
  .twall { padding: 60px 0; }
  .twall-card, .twc-0, .twc-1, .twc-2, .twc-3, .twc-4, .twc-5 { transform: none; }
}

/* ─── Testimonials v2 · Spotlight carousel (legacy) ─── */
.testi2 { padding: 128px 0; border-top: 1px solid var(--line); background: var(--moss-800); color: var(--bg); }

.testi2-inner {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 80px;
  align-items: center;
}

.testi2-eyebrow {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.testi2-eyebrow .lab { color: var(--chartreuse); }
.testi2-counter {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: rgba(244,241,233,0.35); font-weight: 600; text-transform: uppercase;
}

.testi2-qmark {
  font-family: var(--serif); font-style: italic;
  font-size: 72px; line-height: 0.5; color: var(--gold);
  margin-bottom: 16px; height: 20px;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.testi2-quote-box {
  min-height: 160px;
  display: flex;
  align-items: flex-start;
  margin-bottom: 28px;
}

.testi2-blockquote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.45; letter-spacing: -0.01em;
  margin: 0; color: var(--bg);
  font-variation-settings: 'opsz' 60, 'SOFT' 80;
  /* transition handled inline */
}

.testi2-attr {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px; border-top: 1px solid rgba(244,241,233,0.12);
  margin-bottom: 32px;
}
.testi2-av {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(200,134,42,0.4);
}
.testi2-av-init {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--moss-600); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; color: var(--bg); font-style: italic;
  font-variation-settings: 'opsz' 36, 'SOFT' 100;
}
.testi2-who { display: flex; flex-direction: column; gap: 3px; }
.testi2-name { font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--bg); }
.testi2-role { font-family: var(--mono); font-size: 10px; color: rgba(244,241,233,0.45);
  text-transform: uppercase; letter-spacing: 0.1em; }

.testi2-nav {
  display: flex; align-items: center; gap: 16px;
}
.testi2-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(244,241,233,0.08); border: 1px solid rgba(244,241,233,0.15);
  color: var(--bg); font-family: var(--serif); font-size: 18px;
  cursor: pointer; transition: all .2s ease;
  display: flex; align-items: center; justify-content: center;
}
.testi2-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.testi2-dots { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; max-width: 160px; }
.testi2-dot {
  width: 6px; height: 6px; border-radius: 50%; border: none; padding: 0;
  background: rgba(244,241,233,0.22); cursor: pointer; transition: all .2s ease;
}
.testi2-dot.active { background: var(--gold); width: 18px; border-radius: 3px; }

/* Avatar stack (right column) */
.testi2-avatar-col {
  position: relative; height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.testi2-av-stack-item {
  position: absolute;
  width: 72px; height: 72px;
  border-radius: 50%; overflow: hidden;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.34,1.2,.64,1), opacity .4s ease;
  border: 2px solid rgba(244,241,233,0.1);
}
.testi2-av-stack-item.is-current {
  width: 90px; height: 90px;
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: 0 0 0 6px rgba(200,134,42,0.15);
}
.testi2-av-stack-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi2-av-stack-init {
  width: 100%; height: 100%; background: var(--moss-600);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; color: var(--bg);
  font-style: italic; font-variation-settings: 'opsz' 36, 'SOFT' 100;
}
.testi2-av-stack-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid rgba(200,134,42,0.4);
  animation: testi2Ring 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes testi2Ring {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.08); opacity: 0.15; }
}

@media (max-width: 900px) {
  .testi2-inner { grid-template-columns: 1fr; gap: 40px; }
  .testi2-avatar-col { display: none; }
  .testi2 { padding: 80px 0; }
  .testi2-blockquote { font-size: clamp(17px, 4.5vw, 22px); }
}
@media (max-width: 640px) {
  .testi2 { padding: 56px 0; }
  .testi2-qmark { font-size: 56px; }
}

/* ─── Pull quote (boutique moment) ─── */
.quote-section { padding: 84px 0; border-top: 1px solid var(--line); position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--moss-50) 100%); }
.quote-grid { display: grid; grid-template-columns: 80px 1fr; gap: 32px; align-items: start; }
.quote-section .qmark { font-family: var(--serif); font-size: 120px; line-height: 0.7; color: var(--gold);
  margin-top: 0; font-variation-settings: 'opsz' 144, 'SOFT' 100; font-style: italic; flex-shrink: 0; }
.quote-section blockquote { font-family: var(--serif); font-weight: 350; font-size: clamp(22px, 3vw, 44px);
  line-height: 1.25; letter-spacing: -0.02em; margin: 0; color: var(--ink); max-width: 24ch;
  font-variation-settings: 'opsz' 96, 'SOFT' 100; }
.quote-section blockquote .it { font-style: italic; color: var(--moss-700); }
.quote-section .attr { margin-top: 32px; font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--ink-3); font-weight: 500; }
.quote-section .attr .name { color: var(--ink); }

/* ─── Work index (boutique row hover) ─── */
.work-list { font-family: var(--sans); border-top: 1px solid var(--line-2); }
.work-row { display: grid; grid-template-columns: 200px 1fr 200px 40px; gap: 36px;
  padding: 32px 0; border-bottom: 1px solid var(--line); align-items: center;
  cursor: pointer; transition: padding .3s, background .3s; }
.work-row:hover { padding-left: 20px; background: var(--moss-50); }
.work-row .k { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.14em; }
.work-row .ti { display: flex; flex-direction: column; gap: 6px; }
.work-row .client { font-family: var(--mono); font-size: 11.5px; color: var(--gold-2); text-transform: uppercase;
  letter-spacing: 0.14em; font-weight: 600; }
.work-row h4 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 0; line-height: 1.15;
  letter-spacing: -0.015em; font-variation-settings: 'opsz' 60, 'SOFT' 80; }
.work-row .sub { font-size: 15px; color: var(--ink-2); }
.work-row .met { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--moss-700);
  text-align: right; line-height: 1.2; font-style: italic;
  font-variation-settings: 'opsz' 36, 'SOFT' 100; }
.work-row .arr { text-align: right; color: var(--ink-3); font-size: 22px; font-family: var(--serif);
  transition: color .2s, transform .25s; }
.work-row:hover .arr { color: var(--gold); transform: translateX(6px); }

/* ─── Process (boutique timeline, hanging italic numerals) ─── */
.proc { display: grid; grid-template-columns: 1fr; gap: 0; }
.proc-row { display: grid; grid-template-columns: 64px 1fr; gap: 36px; padding: 36px 0;
  border-bottom: 1px solid var(--line); align-items: start; }
.proc-row:last-child { border-bottom: none; }
.proc-row .ix { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1;
  color: var(--moss-200); letter-spacing: -0.02em; font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.proc-row h4 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1;
  margin: 0 0 12px; letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 60, 'SOFT' 80; }
.proc-row p { font-size: 17px; color: var(--ink-2); margin: 0; line-height: 1.65; max-width: 56ch; }

/* ─── Writing log ─── */
.log { font-family: var(--sans); border-top: 1px solid var(--line-2); }
.log-row { display: grid; grid-template-columns: 130px 110px 1fr 80px 30px; gap: 28px;
  padding: 26px 0; border-bottom: 1px solid var(--line); cursor: pointer; align-items: center;
  transition: padding .3s, background .3s; }
.log-row:hover { padding-left: 16px; background: var(--moss-50); }
.log-row .d { font-family: var(--mono); color: var(--ink-3); font-size: 12px; letter-spacing: 0.06em; }
.log-row .k { font-family: var(--mono); color: var(--gold-2); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600; }
.log-row h4 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 0; line-height: 1.25;
  letter-spacing: -0.005em; font-variation-settings: 'opsz' 36, 'SOFT' 80; }
.log-row .r { font-family: var(--mono); color: var(--ink-3); font-size: 11px; text-align: right; }
.log-row .arr { color: var(--ink-3); text-align: right; font-family: var(--serif); }
.log-row:hover .arr { color: var(--gold); }

/* ─── About ─── */
.about-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.about-block .pic-wrap { position: relative; }
.about-block .pic-wrap .badge { position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(244,241,233,0.92); backdrop-filter: blur(8px); border-radius: 12px;
  padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
.about-block .pic-wrap .badge .n { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.about-block .pic-wrap .badge .r { font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-3); }
.about-block .lede-p { font-family: var(--serif); font-weight: 350; font-size: 24px; line-height: 1.45;
  margin: 0 0 18px; letter-spacing: -0.005em; color: var(--ink);
  font-variation-settings: 'opsz' 36, 'SOFT' 80; }
.about-block p { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.quick { font-size: 16px; border-top: 1px solid var(--line-2); margin-top: 0; padding-top: 12px; }
.quick .row { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 12px 0;
  color: var(--ink-2); }
.quick .ix { color: var(--gold); font-family: var(--mono); font-size: 12px; }

/* ─── Contact ─── */
.contact { padding: 116px 0; text-align: center; border-top: 1px solid var(--line);
  background: var(--moss-800); color: var(--bg); position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(800px 400px at 50% 0%, rgba(200,134,42,0.18), transparent 60%);
  pointer-events: none; }
.contact .lab { color: var(--chartreuse); display: inline-block; margin-bottom: 28px; }
.contact h2 { font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5.5vw, 96px); line-height: 1.0; letter-spacing: -0.03em;
  margin: 0 0 32px; color: var(--bg);
  font-variation-settings: 'opsz' 144, 'SOFT' 80; }
.contact h2 .it { font-style: italic; color: var(--gold);
  font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.contact p { color: var(--bg); opacity: 0.78; font-size: 18px; max-width: 56ch; margin: 0 auto 40px;
  line-height: 1.65; font-family: var(--serif); font-weight: 350;
  font-variation-settings: 'opsz' 24, 'SOFT' 100; }
.contact a.mail { display: inline-block; padding: 18px 32px; background: var(--gold); color: var(--ink);
  border-radius: 999px; font-size: 16px; font-family: var(--sans); font-weight: 500; white-space: nowrap;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.contact a.mail:hover { transform: translateY(-2px) scale(1.03); }

/* ─── Contact message box ─── */
.contact-box { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px;
  text-align: left; }
.contact-field { width: 100%; background: rgba(255,255,255,0.96); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px; padding: 15px 17px; font-family: var(--sans); font-size: 15.5px; color: #15130f;
  transition: border-color .2s ease, box-shadow .2s ease; }
.contact-field::placeholder { color: #8c877d; }
.contact-field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,134,42,0.28); }
.contact-area { resize: vertical; min-height: 120px; line-height: 1.55; }
.contact-send { align-self: flex-start; margin-top: 4px; padding: 16px 30px; background: var(--gold);
  color: var(--ink); border: 0; border-radius: 999px; font-size: 16px; font-family: var(--sans); font-weight: 500;
  cursor: pointer; white-space: nowrap; transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.contact-send:hover { transform: translateY(-2px) scale(1.03); }
@media (max-width: 560px) {
  .contact-send { width: 100%; text-align: center; align-self: stretch; min-height: 50px; }
}

footer { padding: 56px 0; border-top: 1px solid var(--line); background: var(--moss-900); color: var(--bg); }
.foot-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
footer h5 { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--chartreuse); margin: 0 0 16px; font-weight: 600; }
footer .sign { font-family: var(--serif); font-weight: 350; font-size: 22px; line-height: 1.4;
  margin: 0 0 24px; color: var(--bg); opacity: 0.92; max-width: 30ch;
  font-variation-settings: 'opsz' 36, 'SOFT' 100; }
footer .sign .it { font-style: italic; color: var(--gold); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: 6px 0; font-size: 14.5px; color: rgba(244,241,233,0.78); }
footer li a:hover { color: var(--gold); }
.foot-bot { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(244,241,233,0.12);
  display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em; color: rgba(244,241,233,0.55);
  white-space: nowrap; gap: 24px; }

/* ─── Nav plain links ─── */
.nav-link { color: var(--ink-2); position: relative; padding: 4px 0; font-size: 14px; font-weight: 400; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--gold); transition: right .25s ease; }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.nav-link.active { color: var(--ink); }

/* ─── Dark section theming ─── */
.dark-section { background: var(--moss-800) !important; color: var(--bg); }
.dark-section h2 { color: var(--bg); }
.dark-section h2 .it { color: var(--gold); }
.dark-section .s-ix-plain .lab { color: var(--chartreuse); }
.dark-section .problem-close { color: rgba(244,241,233,0.75); }
.dark-section .problem-n { color: var(--gold); }
.dark-section .problem-text { color: rgba(244,241,233,0.82); }
.dark-section .problem-item { border-bottom-color: rgba(244,241,233,0.12); }
.dark-section .problem-item:first-child { border-top-color: rgba(244,241,233,0.12); }
.dark-section .btn { border-color: rgba(244,241,233,0.25); background: rgba(244,241,233,0.08);
  color: var(--bg); }
.dark-section .btn:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.dark-section .btn.primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.dark-section .lede { color: rgba(244,241,233,0.7); }
/* Process dark */
.process-dark .proc-row { border-bottom-color: rgba(244,241,233,0.12); }
.process-dark .proc-row .ix { color: rgba(244,241,233,0.2); }
.process-dark .proc-row h4 { color: var(--bg); }
.process-dark .proc-row p { color: rgba(244,241,233,0.72); }

/* ─── s-ix-plain (no number pill, just label) ─── */
.s-ix-plain { display: inline-flex; align-items: center; gap: 10px; }
.s-ix-plain .lab { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600; color: var(--gold-2); white-space: nowrap; }

/* ─── Logo wordmark ─── */
.logo-wordmark { display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); opacity: 0.75; transition: opacity .2s ease; }
.logo-cell:hover .logo-wordmark { opacity: 1; }

/* ─── Hero split layout ─── */
.atelier-hero .hero-split { display: grid; grid-template-columns: 1fr 0.72fr;
  gap: 48px; align-items: stretch; width: 100%; }
/* Portrait removed from the hero (it now lives on the About page): the copy
   runs as a single left-aligned column, width-capped for readable measure. */
/* Portrait removed from the hero — recentre the message so it commands the full
   shader canvas as the page's headline moment instead of sitting in a narrow
   left column with dead space beside it. */
.atelier-hero .hero-split.hero-solo { grid-template-columns: 1fr; justify-items: center; }
.atelier-hero .hero-split.hero-solo .hero-left {
  max-width: 100%; align-items: center; text-align: center; gap: 28px;
}
.atelier-hero .hero-solo h1 {
  font-size: clamp(44px, 6vw, 88px);
  max-width: 17ch;
  margin: 0 auto;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
}
.atelier-hero .hero-solo .meta { justify-content: center; margin-bottom: 4px; }
.atelier-hero .hero-solo .hero-sub {
  font-size: clamp(17px, 1.45vw, 21px);
  max-width: 62ch; margin: 4px auto 0; text-align: center;
}
.atelier-hero .hero-solo .hero-ctas { justify-content: center; margin-top: 8px; }
.hero-left { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.hero-sub { font-family: var(--serif); font-weight: 350;
  font-size: clamp(15px, 1.3vw, 18px); color: var(--ink-2); margin: 0;
  line-height: 1.55; max-width: 46ch;
  font-variation-settings: 'opsz' 36, 'SOFT' 100; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-right { display: flex; align-items: stretch; }
.hero-portrait { position: relative; width: 100%; border-radius: 20px;
  background: var(--parch); overflow: hidden; min-height: 400px;
  box-shadow: var(--shadow-deep);
  background-image: repeating-linear-gradient(45deg, transparent 0 10px, rgba(31,27,18,0.04) 10px 11px); }
.hero-portrait .ph { position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.1em; text-transform: uppercase; }
.hero-badge { position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: rgba(244,241,233,0.92); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-radius: 12px;
  padding: 12px 16px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; }
.hero-badge-left { display: flex; flex-direction: column; gap: 2px; }
.hb-name { font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--ink); }
.hb-role { font-family: var(--mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-3); }
.hb-avail { display: flex; align-items: center; gap: 6px; font-family: var(--mono);
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--moss-600); font-weight: 600; flex-shrink: 0; }

/* ─── About text block ─── */
.about-text-block { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: stretch; }
.about-col-left { display: flex; flex-direction: column; gap: 32px; }
.about-col-right { display: flex; flex-direction: column; justify-content: flex-start; }

/* ─── Page transitions ─── */
.page { display: none; animation: fadeIn .25s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Page hero sections */
.services-page-hero, .work-page-hero, .about-page-hero, .case-studies-hero {
  padding: 80px 0 60px; border-bottom: 1px solid var(--line); background: var(--bg);
}
.services-page-hero h1, .work-page-hero h1, .about-page-hero h1, .case-studies-hero h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05; letter-spacing: -0.03em; margin: 20px 0 16px;
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
}
.services-page-hero p, .work-page-hero p, .case-studies-hero p {
  font-family: var(--serif); font-weight: 350; font-size: 20px;
  color: var(--ink-2); max-width: 60ch; margin: 0; line-height: 1.55;
  font-variation-settings: 'opsz' 36, 'SOFT' 100;
}
.back-link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-2); font-weight: 600;
  display: inline-block; margin-bottom: 12px; transition: color .2s ease;
}
.back-link:hover { color: var(--gold); }

/* About page specific */
.about-page-section { padding: 0; border-top: none; }
.about-page-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.about-page-portrait { position: relative; }
.about-page-content h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 64px);
  line-height: 1.0; letter-spacing: -0.025em; margin: 0 0 24px; max-width: 13ch;
  font-variation-settings: 'opsz' 96, 'SOFT' 80;
}
.about-page-bio { font-family: var(--serif); font-weight: 350; font-size: 20px; line-height: 1.55;
  color: var(--ink-2); margin: 0 0 20px; font-variation-settings: 'opsz' 36, 'SOFT' 100;
}
.about-page-facts { display: flex; flex-direction: column; gap: 0; margin: 40px 0; border-top: 1px solid var(--line-2); }
.fact-row { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--line-2); align-items: baseline; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.fact-num { color: var(--gold); font-family: var(--mono); font-size: 12px; font-weight: 600; }

/* Service detail pages */
.service-hero { padding: 80px 0 60px; border-bottom: 1px solid var(--line); background: var(--bg); }
.service-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05; letter-spacing: -0.03em; margin: 20px 0 16px; font-variation-settings: 'opsz' 144, 'SOFT' 80;
}
.service-hero-sub { font-family: var(--serif); font-weight: 350; font-size: 20px;
  color: var(--ink-2); max-width: 60ch; margin: 0 0 24px; line-height: 1.55;
  font-variation-settings: 'opsz' 36, 'SOFT' 100;
}
.service-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-detail { max-width: 800px; }
.service-detail h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.5vw, 56px);
  line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 20px; font-variation-settings: 'opsz' 96, 'SOFT' 80;
}
.service-detail-text { font-family: var(--serif); font-weight: 350; font-size: 20px; line-height: 1.65;
  color: var(--ink-2); font-variation-settings: 'opsz' 36, 'SOFT' 100;
}

/* ─── Hamburger + Mobile Menu ─── */
.burger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0;
  flex-shrink: 0; -webkit-tap-highlight-color: transparent;
}
.burger-icon { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.burger-icon span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.burger-icon.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger-icon.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-icon.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(31,27,18,0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: mmFadeIn .2s ease;
}
@keyframes mmFadeIn { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu-inner {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 88vw);
  background: var(--bg); display: flex; flex-direction: column;
  padding: 84px 32px 40px; box-shadow: -8px 0 40px rgba(31,42,24,0.22);
  animation: mmSlideIn .28s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
@keyframes mmSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.mobile-menu-links { display: flex; flex-direction: column; flex: 1; }
.mm-link {
  font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.15;
  letter-spacing: -0.025em; color: var(--ink); padding: 14px 0;
  border-bottom: 1px solid var(--line); display: block;
  font-variation-settings: 'opsz' 60, 'SOFT' 80;
  transition: color .18s ease;
}
.mm-link:first-child { border-top: 1px solid var(--line); }
.mm-link.active, .mm-link:hover { color: var(--gold); }
.mm-cta { margin-top: 28px; justify-content: center; text-align: center; width: 100%; }

/* ─── About page portrait (responsive height) ─── */
.about-portrait { position: relative; width: 100%; min-height: 500px;
  border-radius: 20px; overflow: hidden; background: var(--parch);
  box-shadow: var(--shadow-deep); }

/* ─── Service detail section padding ─── */
.service-detail-wrap { padding-top: 96px; padding-bottom: 96px; }

/* ─── Region Map, Leaflet ─── */
.rmap-wrap { border-radius: 18px; overflow: hidden; margin-bottom: 0; position: relative; z-index: 0; flex: 1; display: flex; }
.rmap-leaflet { width: 100%; height: 100%; min-height: 340px; border-radius: 18px; }
.rmap-legend {
  position: absolute; bottom: 12px; left: 14px;
  display: flex; gap: 14px; align-items: center;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(6px);
  border-radius: 8px; padding: 6px 12px;
  border: 1px solid rgba(31,27,18,0.1);
  z-index: 1000;
}
.rmap-legend-item {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.rmap-legend-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.rmap-dot-hq     { background: #C8862A; box-shadow: 0 0 5px rgba(200,134,42,0.7); }
.rmap-dot-active { background: #4F633F; }
.rmap-dot-region { background: #94A580; }

/* Leaflet tooltip custom style */
.rmap-tooltip {
  background: rgba(31,27,18,0.92) !important;
  border: 1px solid rgba(200,134,42,0.35) !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  color: rgba(244,241,233,0.85) !important;
  font-family: var(--mono) !important;
  font-size: 11px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
}
.rmap-tooltip::before { display: none !important; }
.leaflet-tooltip-top.rmap-tooltip::before { display: none !important; }

/* ─── About "What is zero21?" block ─── */
.about-what { padding: 24px 28px; border-radius: 14px; background: var(--moss-50);
  border: 1px solid var(--moss-200); margin-bottom: 8px; }
.about-what-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--moss-600); font-weight: 600; display: block; margin-bottom: 12px; }
.about-what p { font-family: var(--serif); font-weight: 350; font-size: 17px; line-height: 1.6;
  color: var(--ink-2); margin: 0; font-variation-settings: 'opsz' 36, 'SOFT' 100; }

/* ─── Footer logo ─── */
.footer-logo-wrap { margin-bottom: 0; }
.footer-logo-img { height: 24px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }

/* ─── Tablet & small laptop ─── */
@media (max-width: 980px) {
  body { font-size: 16px; }
  .container { padding: 0 28px; }
  .atelier-hero { height: auto; min-height: 0; padding-bottom: 52px; }
  .atelier-hero .ser { position: absolute; top: 20px; left: 28px; right: 28px; }
  .atelier-hero .copy { position: static; display: block; padding: 80px 0 0; z-index: 2; }
  .atelier-hero .hero-split { grid-template-columns: 1fr; gap: 28px; height: auto; }
  .hero-right { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .stat { border-right: none; padding: 0 20px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-cell:nth-child(6n) { border-right: 1px solid var(--line); }
  .logo-cell:nth-child(3n) { border-right: none; }
  .logo-cell:nth-last-child(-n+6) { border-bottom: 1px solid var(--line); }
  .logo-cell:nth-last-child(-n+3) { border-bottom: none; }
  .logo-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .logo-grid-4 .logo-cell:nth-child(2n) { border-right: none; }
  .logo-grid-4 .logo-cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .logo-grid-4 .logo-cell:nth-last-child(-n+2) { border-bottom: none; }
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc { grid-template-columns: 1fr; }
  .work-card:hover { padding-left: 8px; padding-right: 8px; margin-left: -8px; margin-right: -8px; }
  .wc-body { grid-template-columns: 1fr; gap: 24px; }
  .about-block { grid-template-columns: 1fr; gap: 40px; }
  .about-text-block { grid-template-columns: 1fr; gap: 32px; }
  .s-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .quote-grid { grid-template-columns: 1fr; gap: 16px; }
  .quote-section .qmark { font-size: 120px; }
  .proc-row { grid-template-columns: 44px 1fr; gap: 22px; }
  .proc-row .ix { font-size: 44px; }
  .top-right { gap: 12px; }
  .top-right .nav-link { display: none; }
  .nav-me .name { display: none; }
  .burger { display: flex; }
  .foot-row { grid-template-columns: 1fr 1fr; gap: 32px; }
  section.s, .quote-section, .testi { padding: 64px 0; }
  .testi-masonry { columns: 2; }
  .contact { padding: 112px 0; }
  .about-page-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { min-height: 360px; }
  .about-page-content h1 { font-size: clamp(28px, 6vw, 52px); }
  .service-detail-wrap { padding-top: 72px; padding-bottom: 72px; }
}

/* ─── Phone ─── */
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .atelier-bar { font-size: 10px; padding: 7px 0; }
  .atelier-bar .row { gap: 12px; }
  .top-inner { height: 58px; }
  .logo .logo-img { height: 22px; }
  .top-right .start { padding: 8px 14px; font-size: 13px; }
  .nav-me { padding: 4px 8px 4px 4px; }
  .atelier-hero { height: auto; min-height: 0; padding-bottom: 40px; }
  .atelier-hero .ser { position: absolute; top: 14px; left: 18px; right: 18px;
    font-size: 10px; gap: 8px; flex-wrap: wrap; }
  .atelier-hero .copy { position: static; display: block; padding: 64px 0 0; z-index: 2; }
  .atelier-hero .hero-split { grid-template-columns: 1fr; height: auto; gap: 24px; }
  .hero-right { display: none; }
  .atelier-hero .meta { font-size: 9.5px; letter-spacing: 0.1em; margin-bottom: 14px; }
  .hero-ctas { gap: 10px; }
  .stats { padding: 36px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stat { padding: 0 12px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat .n { font-size: clamp(36px, 9vw, 52px); }
  .stat .l { font-size: 12.5px; }
  .stat .k { font-size: 10px; margin-bottom: 8px; }
  .trust { padding: 48px 0; }
  .trust-head { flex-direction: column; gap: 6px; margin-bottom: 24px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cell { padding: 14px 12px; }
  .logo-cell:nth-child(2n) { border-right: none !important; }
  .logo-cell:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .logo-cell:nth-last-child(-n+2) { border-bottom: none !important; }
  .logo-grid-4 .logo-cell:nth-last-child(-n+2) { border-bottom: none !important; }
  .problem-grid { gap: 32px; }
  .problem-left h2 { font-size: clamp(24px, 7.5vw, 38px); }
  .problem-close { font-size: 18px; }
  .problem-item { grid-template-columns: 32px 1fr; gap: 12px; padding: 18px 0; }
  .problem-text { font-size: 15.5px; }
  section.s, .quote-section, .testi { padding: 56px 0; }
  .testi-masonry { columns: 1; }
  .testi-card { padding: 24px 20px 20px; border-radius: 14px; }
  .testi-card blockquote { font-size: 17px; }
  .s-head { gap: 14px; margin-bottom: 32px; }
  .s-head h2 { font-size: clamp(26px, 7vw, 38px); }
  .s-head .lede { font-size: 15.5px; }
  .svc { gap: 10px; }
  .svc-card { padding: 24px 20px 20px; border-radius: 14px; min-height: 0; }
  .svc-card h3 { font-size: 22px; margin: 14px 0 10px; }
  .svc-card p, .svc-gain { font-size: 15px; }
  .quote-section .qmark { font-size: 88px; }
  .quote-section blockquote { font-size: clamp(22px, 6vw, 32px); }
  .work-card { padding: 24px 0; }
  .work-card:hover, .work-card.open { padding-left: 0; padding-right: 0;
    margin-left: 0; margin-right: 0; border-radius: 0; }
  .wc-title { font-size: clamp(20px, 5.5vw, 28px); }
  .wc-toggle { font-size: 26px; }
  .wc-body { padding-top: 20px; margin-top: 20px; }
  .testi-head { gap: 12px; margin-bottom: 24px; }
  .proc-row { padding: 20px 0; gap: 14px; grid-template-columns: 32px 1fr; }
  .proc-row .ix { font-size: 32px; }
  .proc-row h4 { font-size: 22px; }
  .proc-row p { font-size: 15.5px; }
  .about-block { gap: 28px; }
  .about-block .lede-p { font-size: 19px; }
  .not-for { padding: 16px 18px; }
  .not-for p { font-size: 15px; }
  .contact { padding: 72px 0; }
  .contact h2 { font-size: clamp(28px, 8.5vw, 48px); margin-bottom: 20px; }
  .contact p { font-size: 15.5px; margin-bottom: 28px; }
  .contact a.mail { padding: 14px 22px; font-size: 14px; min-height: 48px; }
  .contact-note { font-size: 11px; margin-top: 14px; }
  footer { padding: 40px 0; }
  .foot-row { grid-template-columns: 1fr; gap: 24px; }
  .foot-bot { flex-direction: column; gap: 6px; margin-top: 32px; padding-top: 18px; }
  .services-page-hero, .work-page-hero, .about-page-hero, .case-studies-hero { padding: 56px 0 40px; }
  .services-page-hero h1, .work-page-hero h1, .case-studies-hero h1 { font-size: clamp(28px, 7vw, 44px); }
  .services-page-hero p, .work-page-hero p, .case-studies-hero p { font-size: 17px; }
  .about-portrait { min-height: 280px; }
  .about-page-content h1 { font-size: clamp(24px, 7vw, 38px); }
  .about-page-bio { font-size: 17px; }
  .fact-row { grid-template-columns: 24px 1fr; gap: 10px; padding: 12px 0; font-size: 15px; }
  .service-hero { padding: 56px 0 36px; }
  .service-hero h1 { font-size: clamp(26px, 7vw, 44px); }
  .service-detail-wrap { padding-top: 48px; padding-bottom: 48px; }
  .service-detail h2 { font-size: clamp(22px, 6vw, 36px); }
  .service-detail-text { font-size: 17px; }
  .mm-link { font-size: 32px; padding: 12px 0; }
}

/* ─── Tiny phones (≤380px) ─── */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .atelier-bar .row { gap: 8px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; padding: 0; border-bottom: 1px solid var(--line);
    padding-bottom: 20px; }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
  .atelier-hero h1 { font-size: clamp(30px, 10vw, 44px); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }

  .mm-link { font-size: 28px; }
  .mobile-menu-inner { padding: 80px 24px 32px; }
}

/* ════════ Testimonial per-card site previews ════════ */
.twall-prev { width: 100%; height: 150px; border-radius: 10px; overflow: hidden; margin-bottom: 18px;
  border: 1px solid var(--line); background: var(--parch); }
.twall-prev image-slot { width: 100%; height: 100%; display: block; }
.twall-link { color: var(--ink-3); text-decoration: none; transition: color .2s ease; }
.twall-link:hover { color: var(--gold-2); }

/* ════════ Section CTA system ════════ */
.section-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 60px; }
.section-cta-scarcity { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-2); font-weight: 600; display: inline-flex; align-items: center; gap: 9px; }
.section-cta-scarcity .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  display: inline-block; animation: pulse 2.4s infinite; box-shadow: 0 0 0 0 rgba(200,134,42,0.6); }
.section-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ════════ Leaflet tile-seam fix (removes faint grid lines between tiles) ════ */
.rmap-leaflet .leaflet-tile { width: 256.5px !important; height: 256.5px !important; }
/* hide faint tile seams by matching the container bg to Positron's land tone */
.rmap-leaflet, .rmap-leaflet .leaflet-container { background: #f2f0ea; }

/* tighten the About / map section so the right column is not floating in dead space */
#about-sec .s-head { margin-bottom: 0; grid-template-columns: 1fr; }
#about-sec .s-head h2 { max-width: 100%; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.08; text-wrap: balance; }
#about-sec.s { padding-top: 64px; }

/* ════════ Testimonial preview image + whole-card link ════════ */
.twall-prev-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.twall-card.is-link { text-decoration: none; color: inherit; cursor: pointer; }

/* ════════ Services · horizontal flow ════════ */
.flow { position: relative; margin-top: 44px; }
.flow-rail { position: absolute; top: 7px; left: 6%; right: 6%; height: 2px; background: var(--line); overflow: hidden; }
.flow-pulse { position: absolute; top: 0; left: -30%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: flowmove 3.4s linear infinite; }
@keyframes flowmove { to { left: 110%; } }
.flow-nodes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.flow-node { position: relative; text-align: left; background: none; border: 0; cursor: pointer; font: inherit;
  padding: 28px 12px 0; display: flex; flex-direction: column; gap: 7px; color: var(--ink); opacity: 0.55; transition: opacity .22s ease; }
.flow-node.is-active { opacity: 1; }
.flow-dot { position: absolute; top: 0; left: 12px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line); transition: all .22s ease; }
.flow-node.is-active .flow-dot { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 5px rgba(200,134,42,0.18); }
.flow-num { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; }
.flow-node-sub { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gold-2); }
.flow-node-title { font-family: var(--serif); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.12; }
.flow-detail { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 24px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; animation: flowfade .35s ease; }
@keyframes flowfade { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.flow-detail-text { font-size: 17px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.flow-detail-foot { display: flex; flex-direction: column; gap: 14px; }
.flow-gain { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink); }
.flow-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-tag { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); }
@media (max-width: 760px) {
  .flow-nodes { grid-template-columns: 1fr 1fr; }
  .flow-rail { display: none; }
  .flow-node { padding-top: 8px; }
  .flow-dot { display: none; }
  .flow-detail { grid-template-columns: 1fr; }
}

/* ════════ Process · how-band ════════ */
.how-band .how-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 38px; }
.how-step { position: relative; padding: 24px 20px; border: 1px solid rgba(244,241,233,0.14); border-radius: 14px; background: rgba(244,241,233,0.035); }
.how-ix { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: 0.12em; }
.how-step h4 { font-family: var(--serif); font-size: 19px; margin: 12px 0 8px; color: #F4F1E9; font-weight: 500; }
.how-step p { font-size: 13.5px; line-height: 1.5; color: rgba(244,241,233,0.66); margin: 0; }
.how-arrow { position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 18px; z-index: 2; }
@media (max-width: 760px) { .how-band .how-row { grid-template-columns: 1fr; } .how-arrow { display: none; } }

/* ════════ Scalable newsletter · compact feature card (scalable.news skin) ════════ */

/* A self-contained black card carrying scalable.news's own type + palette, sitting
   inside a normal zero21 section. Reads as "also in my stack", not a page takeover.
   Inter is used only inside this card. */

.scalable-feature .sn-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  background: #000;
  color: #fff;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0,0,0,0.22);
}
.scalable-feature .sn-card::before {
  content: ''; position: absolute; top: -150px; right: -90px;
  width: 540px; height: 440px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.07) 0%, transparent 68%);
  pointer-events: none;
}
.scalable-feature .sn-card::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.03 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  pointer-events: none; mix-blend-mode: screen; opacity: 0.7;
}
.scalable-feature .sn-card-left,
.scalable-feature .sn-card-right { position: relative; z-index: 1; }

/* Brand pill */
.scalable-feature .sn-brand {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  margin-bottom: 22px; padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  background: rgba(255,255,255,0.04);
  transition: background .2s ease, border-color .2s ease;
}
.scalable-feature .sn-brand:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.scalable-feature .sn-logo-wrap {
  width: 38px; height: 38px; border-radius: 8px; background: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden;
  box-shadow: 0 2px 10px rgba(255,255,255,0.14);
}
.scalable-feature .sn-logo-wrap img { width: 26px; height: 26px; object-fit: contain; display: block; }
.scalable-feature .sn-brand-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.scalable-feature .sn-word {
  font-family: 'Inter', system-ui, sans-serif; font-weight: 800; font-size: 14px;
  letter-spacing: 0.24em; color: #fff; line-height: 1;
}
.scalable-feature .sn-freq {
  font-family: 'Inter', system-ui, sans-serif; font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.4); text-transform: uppercase;
}

/* Title + proof */
.scalable-feature .sn-title {
  font-family: 'Inter', system-ui, sans-serif; font-weight: 800;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.03em;
  margin: 0; color: #fff; max-width: 18ch; text-wrap: balance;
}
.scalable-feature .sn-proof { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.scalable-feature .sn-stars { color: #f6c430; font-size: 13px; letter-spacing: 2px; line-height: 1; }
.scalable-feature .sn-proof-sep { width: 1px; height: 12px; background: rgba(255,255,255,0.18); display: inline-block; }
.scalable-feature .sn-proof-text { font-family: 'Inter', system-ui, sans-serif; font-size: 12.5px; color: rgba(255,255,255,0.66); }

/* Form */
.scalable-feature .sn-form { display: flex; gap: 8px; width: 100%; }
.scalable-feature .sn-input {
  flex: 1; min-width: 0; background: #ffffff;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 10px; padding: 13px 15px;
  font-size: 14px; font-family: 'Inter', system-ui, sans-serif; color: #15130f;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.scalable-feature .sn-input::placeholder { color: #8c877d; }
.scalable-feature .sn-input:focus { outline: none; border-color: #f6c430; box-shadow: 0 0 0 3px rgba(246,196,48,0.25); }
.scalable-feature .sn-submit {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: #000; border: 0; border-radius: 10px; padding: 13px 20px;
  font-family: 'Inter', system-ui, sans-serif; font-weight: 700; font-size: 14px; letter-spacing: -0.01em;
  cursor: pointer; transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .18s ease; white-space: nowrap;
}
.scalable-feature .sn-submit:hover { transform: translateY(-2px); background: #ededed; }
.scalable-feature .sn-arrow { font-size: 15px; line-height: 1; transition: transform .18s ease; }
.scalable-feature .sn-submit:hover .sn-arrow { transform: translateX(3px); }
.scalable-feature .sn-disclaimer { font-family: 'Inter', system-ui, sans-serif; font-size: 11.5px; color: rgba(255,255,255,0.5); margin: 10px 0 0; }

/* Trusted logos */
.scalable-feature .sn-trusted { margin-top: 24px; padding-top: 0; }
.scalable-feature .sn-trusted-label { font-family: 'Inter', system-ui, sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 0.02em; color: rgba(255,255,255,0.6); margin: 0 0 16px; }
.scalable-feature .sn-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.scalable-feature .sn-trust-logo { height: 20px; width: auto; max-width: 96px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.6; transition: opacity .22s ease; }
.scalable-feature .sn-trust-logo:hover { opacity: 0.82; }

@media (max-width: 820px) {
  .scalable-feature .sn-card { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .scalable-feature .sn-form { flex-direction: column; }
  .scalable-feature .sn-submit { width: 100%; justify-content: center; }
}

/* ════════ Language dropdown ════════ */
.lang-dd { position: relative; flex-shrink: 0; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; background: transparent;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 11px; cursor: pointer;
  font-family: var(--sans); font-size: 13px; color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.lang-btn:hover { border-color: var(--ink); }
/* Navbar language button: flag only (full name stays in the dropdown + mobile) */
.lang-dd:not(.lang-dd-compact) .lang-btn .lang-cur { display: none; }
.lang-globe { width: 14px; height: 14px; opacity: 0.7; }
.lang-caret { font-size: 9px; opacity: 0.55; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 250;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 6px;
  box-shadow: 0 16px 40px rgba(31,27,18,0.18); min-width: 156px;
  display: flex; flex-direction: column; gap: 2px;
}
.lang-opt {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%;
  background: transparent; border: 0; border-radius: 8px; padding: 9px 12px; cursor: pointer;
  font-family: var(--sans); font-size: 14px; color: var(--ink); text-align: left;
  transition: background .15s ease;
}
.lang-opt:hover { background: var(--bg-2); }
.lang-opt.is-sel { color: var(--moss-700); font-weight: 600; }
.lang-opt.is-sel::after { content: '✓'; color: var(--gold); font-size: 12px; }
.lang-dd-compact { width: 100%; margin-bottom: 14px; }
.lang-dd-compact .lang-btn { width: 100%; justify-content: center; padding: 13px; font-size: 15px; }
.lang-dd-compact .lang-menu { right: auto; left: 0; width: 100%; }
@media (max-width: 980px) { .top-right .lang-dd { display: none; } }

/* ════════ Lean footer ════════ */
.foot-row-lean { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.foot-brand { max-width: 440px; }
.foot-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot-links a { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(244,241,233,0.7); text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.foot-cta { align-self: flex-start; }
.foot-row-lean { align-items: flex-start; }
.foot-bot { margin-top: 36px; }
/* on dark sections, keep secondary legible */
.dark-section .section-cta-btns .btn:not(.primary) { background: transparent; border-color: rgba(244,241,233,0.32); color: var(--bg); }
.dark-section .section-cta-btns .btn:not(.primary):hover { border-color: var(--bg); }

/* ════════ Building with AI ════════ */
.buildai-wrap { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
.buildai-caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.buildai-card { border: 1px solid rgba(244,241,233,0.16); border-radius: 16px; padding: 22px 22px 20px;
  background: rgba(244,241,233,0.03); transition: background .25s ease, transform .25s ease; }
.buildai-card:hover { background: rgba(244,241,233,0.07); transform: translateY(-3px); }
.buildai-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; display: block; margin-bottom: 10px; }
.buildai-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(244,241,233,0.78); }
.buildai-shot { min-height: 200px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(244,241,233,0.16); background: rgba(244,241,233,0.03); }
.buildai-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(244,241,233,0.55); margin: 26px 0 0; }
@media (max-width: 860px) {
  .buildai-wrap { grid-template-columns: 1fr; }
  .buildai-shot { min-height: 220px; }
  .buildai-caps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .buildai-caps { grid-template-columns: 1fr; } }

/* ── AI stack diagram ── */
.buildai-stack-wrap {
  min-height: 0; padding: 22px 18px;
  display: flex; align-items: center; justify-content: center;
}
.aistack { width: 100%; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.aistack-row { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start; }
.aistack-rowlab { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); font-weight: 600; text-align: right; padding-top: 11px; }
.aistack-row.is-ai .aistack-rowlab { color: var(--chartreuse); }
.aistack-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.aistack-chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 11px;
  border-radius: 12px; border: 1px solid rgba(234,231,221,0.16); background: rgba(234,231,221,0.04);
  font-family: var(--mono); font-size: 12.5px; color: rgba(234,231,221,0.82);
  transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  opacity: 0; animation: aistack-pop 0.5s cubic-bezier(.2,.7,.3,1) both, aistack-wave 2.6s ease-in-out infinite; }
.aistack-chip:hover { background: rgba(234,231,221,0.1); border-color: rgba(200,134,42,0.65);
  transform: translateY(-2px); color: var(--bg); animation-play-state: paused, paused;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.55); }
.aistack-chip-ic { flex-shrink: 0; transition: transform .2s ease; }
.aistack-chip:hover .aistack-chip-ic { transform: scale(1.12); }
.aistack-row.is-ai .aistack-chip { border-color: rgba(201,217,71,0.2);
  animation: aistack-pop 0.5s cubic-bezier(.2,.7,.3,1) both, aistack-wave-ai 2.6s ease-in-out infinite; }
.aistack-row.is-ai .aistack-chip:hover { border-color: rgba(201,217,71,0.65); }
@keyframes aistack-wave {
  0%, 100% { border-color: rgba(234,231,221,0.16); box-shadow: none; background: rgba(234,231,221,0.04); color: rgba(234,231,221,0.82); }
  45% { border-color: var(--gold); box-shadow: 0 0 18px -1px rgba(200,134,42,0.55); background: rgba(200,134,42,0.18); color: var(--bg); }
}
@keyframes aistack-wave-ai {
  0%, 100% { border-color: rgba(201,217,71,0.2); box-shadow: none; background: rgba(234,231,221,0.04); color: rgba(234,231,221,0.82); }
  45% { border-color: var(--chartreuse); box-shadow: 0 0 18px -1px rgba(201,217,71,0.5); background: rgba(201,217,71,0.16); color: var(--bg); }
}
.aistack-rowlab { animation: aistack-lab 2.6s ease-in-out infinite; }
.aistack-row:nth-child(1) .aistack-rowlab { animation-delay: 0s; }
.aistack-row:nth-child(2) .aistack-rowlab { animation-delay: 0.86s; }
.aistack-row:nth-child(3) .aistack-rowlab { animation-delay: 1.72s; }
@keyframes aistack-lab { 0%, 100% { opacity: 0.4; } 35% { opacity: 1; } }
@media (max-width: 620px) {
  .aistack-row { grid-template-columns: 1fr; gap: 8px; }
  .aistack-rowlab { text-align: left; padding-top: 0; }
}
.aistack-flow {
  stroke-dasharray: 2 11;
  animation: aistack-flow 1.3s linear infinite;
}
@keyframes aistack-flow { to { stroke-dashoffset: -39; } }
.aistack-core { transform-box: fill-box; transform-origin: center; animation: aistack-pulse 3.4s ease-in-out infinite; }
@keyframes aistack-pulse { 0%, 100% { opacity: 0.92; } 50% { opacity: 1; } }
.aistack-tile { opacity: 0; animation: aistack-pop 0.5s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes aistack-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .aistack-flow { animation: none; stroke-dasharray: none; opacity: 0.5; }
  .aistack-tile { opacity: 1; animation: none; }
  .aistack-chip { opacity: 1; animation: none; }
  .aistack-rowlab { animation: none; opacity: 1; }
  .aistack-core { animation: none; }
}

/* ════════ Out in the ecosystem · full-bleed horizontal photo strip ════════ */
/* One edge-to-edge, auto-scrolling repetition of the event photos. The header
   stays inside .container; this strip is a sibling of .container so it spans the
   full viewport with no left/right margin or padding. Cells use margin-right
   (not flex gap) so translateX(-50%) over the duplicated list loops seamlessly. */
.room-section .s-head { margin-bottom: 26px; }
.room-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 4px;
  /* Keep the strip laid out + scrolling left-to-right even under dir=rtl
     (Arabic): the duplicated-list + translateX(-50%) loop only stays seamless
     when the second copy sits to the right of the first. */
  direction: ltr;
}
.room-marquee-track {
  display: flex;
  width: max-content;
  animation: roomScroll 70s linear infinite;
  will-change: transform;
}
.room-marquee:hover .room-marquee-track { animation-play-state: paused; }
.room-strip-cell {
  position: relative;
  flex: 0 0 auto;
  height: 260px;
  margin: 0 16px 0 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
}
.room-strip-cell img {
  height: 100%; width: auto; max-width: none; display: block;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.6,.2,1), filter .4s ease;
}
.room-strip-cell:hover img { transform: scale(1.04); }
.room-strip-cell.room-ptd img { filter: saturate(1.38) contrast(1.12) brightness(1.05); }
.room-strip-cell figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 15px 12px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(to top, rgba(20,16,12,0.82), rgba(20,16,12,0));
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.room-strip-cell:hover figcaption { opacity: 1; transform: translateY(0); }
@keyframes roomScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .room-strip-cell { height: 176px; margin-right: 12px; border-radius: 12px; }
  .room-marquee-track { animation-duration: 46s; }
  .room-strip-cell figcaption { opacity: 1; transform: none; font-size: 10px; padding: 22px 12px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .room-marquee-track { animation: none; }
  .room-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ════════ Services flow on dark green ════════ */
.flow-section.dark-section .flow-rail { background: rgba(244,241,233,0.16); }
.flow-section.dark-section .flow-node { color: var(--bg); }
.flow-section.dark-section .flow-dot { background: var(--moss-800); border-color: rgba(244,241,233,0.32); }
.flow-section.dark-section .flow-node.is-active .flow-dot { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 5px rgba(200,134,42,0.22); }
.flow-section.dark-section .flow-num { color: rgba(244,241,233,0.55); }
.flow-section.dark-section .flow-node-sub { color: var(--chartreuse); }
.flow-section.dark-section .flow-node-title { color: var(--bg); }
.flow-section.dark-section .flow-detail { border-top-color: rgba(244,241,233,0.16); }
.flow-section.dark-section .flow-detail-text { color: rgba(244,241,233,0.82); }
.flow-section.dark-section .flow-gain { color: var(--gold); }
.flow-section.dark-section .flow-tag { border-color: rgba(244,241,233,0.22); color: rgba(244,241,233,0.7); }

/* ════════ Language flags ════════ */
.lang-flag { font-size: 14px; line-height: 1; flex-shrink: 0; }
.lang-opt { gap: 9px; }
.lang-opt-label { flex: 1; text-align: left; }
.lang-opt[dir="rtl"] .lang-opt-label { text-align: right; }

/* ════════ Livelier region map ════════ */
.rmap-pin { position: relative; width: 100%; height: 100%; }
.rmap-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 9px; height: 9px; border-radius: 50%; background: #C8862A;
  border: 2px solid rgba(255,255,255,0.75); box-shadow: 0 0 9px rgba(200,134,42,0.65); z-index: 2; }
.rmap-pin.is-hq .rmap-core { width: 13px; height: 13px; }
.rmap-ring { position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; border-radius: 50%;
  transform: translate(-50%, -50%); border: 2px solid rgba(200,134,42,0.5);
  animation: rmapPulse 2.6s ease-out infinite; }
.rmap-ring-2 { animation-delay: 1.3s; }
.rmap-pin.is-hq .rmap-ring { border-color: rgba(200,134,42,0.7); animation-duration: 2.2s; }
@keyframes rmapPulse {
  0% { opacity: 0.75; transform: translate(-50%, -50%) scale(0.5); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(3.4); }
}
.rmap-arc { animation: rmapDash 0.9s linear infinite; }
@keyframes rmapDash { to { stroke-dashoffset: -18; } }
@media (prefers-reduced-motion: reduce) {
  .rmap-ring { animation: none; opacity: 0; }
  .rmap-arc { animation: none; }
}

/* ════════ Closing CTA inside the map section ════════ */
.about-cta-block { display: flex; flex-direction: column; gap: 28px; height: 100%;
  justify-content: center; align-items: flex-start; }
.about-cta-text { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.22; letter-spacing: -0.015em; color: var(--ink); margin: 0; max-width: 18ch;
  font-variation-settings: 'opsz' 60, 'SOFT' 90; }
.about-cta-block .it { font-style: italic; color: var(--gold); }
.about-cta-btn { align-self: flex-start; }
@media (max-width: 900px) { .about-cta-block { justify-content: flex-start; gap: 22px; } }

/* closing contact band: single CTA, no form */
.contact .contact-cta { display: inline-flex; margin: 6px 0 30px; }

/* ════════ 404 ════════ */
.nf-page { min-height: 58vh; display: flex; align-items: center; }
.nf-wrap { text-align: center; padding: 120px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.nf-code { font-family: var(--mono); font-size: clamp(64px, 10vw, 96px); font-weight: 600;
  color: var(--gold); letter-spacing: 0.04em; line-height: 1; }
.nf-title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em; margin: 4px 0 0; }
.nf-sub { color: var(--ink-2); font-size: 17px; max-width: 46ch; line-height: 1.6; margin: 0 0 16px; }

/* ════════ RTL niceties ════════ */
[dir="rtl"] .flow-node { text-align: right; }
[dir="rtl"] .flow-dot { left: auto; right: 12px; }
[dir="rtl"] .flow-node { padding: 28px 12px 0; }
[dir="rtl"] .twall-quote, [dir="rtl"] .problem-text, [dir="rtl"] .buildai-card p { text-align: right; }

/* ══════════════════════════════════════════════════════════════════════
   MOBILE PROPORTION POLISH  ·  ≤640px  (desktop unaffected)
   Retunes the current home sections (hero → building-with-AI → ecosystem
   → testimonials wall → about/flow) that had only sparse phone rules and
   were inheriting desktop type/spacing. Focus: readable body copy, section
   headings with real presence + breathing room, and normalized labels.
   Appended last so it wins on source order over the earlier @640 block.
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* — Readability: lift base + lead/body copy off the 14.5–15.5px floor — */
  body { font-size: 16px; }
  .hero-sub { font-size: 16px; line-height: 1.55; }
  .s-head .lede { font-size: 16px; line-height: 1.6; }
  .buildai-card p { font-size: 15px; line-height: 1.6; }

  /* — Hero headline: lift it clear of the (now larger) section heads and
       kill the pre-existing 380→390px size inversion. Also retune the Fraunces
       optical axis: opsz 144 is the hairline display cut meant for 72px+ and
       reads spindly at phone sizes, so drop to opsz 96 at ~35px. */
  .atelier-hero h1 {
    font-size: clamp(34px, 9vw, 44px);
    font-variation-settings: 'opsz' 96, 'SOFT' 50;
  }
  .atelier-hero h1 .it { font-variation-settings: 'opsz' 96, 'SOFT' 100; }

  /* — Hero portrait: bring the headshot back on phones (desktop parks it in a
       side column that's hidden at ≤980px). Stacks under the text with a
       contained height so it reads as a deliberate hero element — head-and-
       shoulders, ~⅓ of the screen — not a face-filling scroll. — */
  .hero-right { display: block; }
  .hero-portrait { min-height: 0; height: clamp(240px, 74vw, 340px); border-radius: 18px; }

  /* — Section headings: presence + room to breathe —
       base was clamp(26px,7vw,38px) at line-height 1.0 with a 13ch cap that
       squeezed 2-line titles into ~210px of the ~354px column. Grow a touch,
       loosen the leading, drop the cap, balance the wrap, and pull the optical
       size down from the 72px display cut (opsz 96 → 60) so strokes stay sturdy. */
  .s-head h2 {
    font-size: clamp(28px, 7.6vw, 38px);
    line-height: 1.08;
    max-width: none;
    text-wrap: balance;
    font-variation-settings: 'opsz' 60, 'SOFT' 80;
  }
  .twall-head h2 {
    line-height: 1.07;
    text-wrap: balance;
    font-variation-settings: 'opsz' 60, 'SOFT' 80;
  }
  /* about/flow closer: nudge toward the 30px of the others (kept a touch
     smaller since its title is longer and shouldn't spill to 3 lines) */
  #about-sec .s-head h2 {
    font-size: clamp(27px, 7.2vw, 38px);
    font-variation-settings: 'opsz' 60, 'SOFT' 80;
  }
  /* bigger, looser heads want a hair more air above the lede */
  .s-head { gap: 18px; }

  /* — Labels: complete the caption scale + honor 44px tap-target minimums — */
  .atelier-hero .meta { font-size: 10.5px; }
  .flow-node-sub { font-size: 11px; }
  .twall-role { font-size: 10px; letter-spacing: 0.08em; }
  .top-right .start { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ══════════════════════════════════════════════════════════════════════
   TESTIMONIALS · two columns on mobile (per request)
   The wall now holds two columns down to the smallest phones instead of
   collapsing to one. Tighten the card padding + type so two cards sit
   comfortably side by side in a ~360px viewport. Appended last to win
   over the earlier ≤680 / ≤640 testimonial rules on source order.
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 680px) {
  .twall-grid { gap: 12px; align-items: flex-start; }
  .twall-card, .twc-0, .twc-1, .twc-2, .twc-3, .twc-4, .twc-5 { transform: none; }
  .twall-card {
    padding: 15px 14px 13px;
    margin: 0 0 12px;
    border-radius: 12px;
  }
  .twall-quote { font-size: 12.5px; line-height: 1.46; }
  .twall-prev { height: 82px; margin-bottom: 11px; border-radius: 8px; }
  .twall-who { gap: 8px; padding-top: 10px; }
  .twall-av, .twall-av-init { width: 28px; height: 28px; }
  .twall-av-init { font-size: 12px; }
  .twall-name { font-size: 11.5px; }
  .twall-role { font-size: 9.5px; letter-spacing: 0.05em; }
}
@media (max-width: 380px) {
  .twall-quote { font-size: 12px; }
  .twall-card { padding: 13px 12px 12px; }
}
