/* =========================================================
   Velora: cream, deep teal and coral
   ========================================================= */
:root {
  /* palette: cream background, deep teal ink, coral accent */
  --cream: #f6efe3;
  --teal: #0e3b3c;
  --teal-2: #1e6e6a;
  --coral: #e8604a;

  --ink: var(--cream);          /* page background */
  --ink-2: #efe5d4;             /* cards */
  --ink-3: #e6d9c3;
  --paper: var(--teal);         /* text */
  --paper-dim: rgba(14, 59, 60, 0.74);
  --paper-faint: rgba(14, 59, 60, 0.52);
  --line: rgba(14, 59, 60, 0.15);
  --sindoor: var(--coral);
  --gold: var(--teal-2);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Familjen Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--sindoor); color: var(--ink); }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow { display: inline-block; color: var(--paper-faint); margin-bottom: 28px; }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
.h2 em { color: var(--sindoor); }

:focus-visible { outline: 2px solid var(--sindoor); outline-offset: 4px; border-radius: 4px; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); }
}

/* ---------- cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--teal); mix-blend-mode: normal;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s;
  display: grid; place-items: center;
}
.cursor__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--cream); opacity: 0; transition: opacity .2s; }
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(232,96,74,.35); }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--sindoor); mix-blend-mode: normal; }
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: grid; place-items: center;
}
.loader__inner { width: min(560px, 82vw); }
.loader__thread { width: 100%; height: 60px; overflow: visible; }
.loader__thread path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.loader__row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.loader__word { font-family: var(--serif); font-size: clamp(48px, 9vw, 88px); line-height: 1; }
.loader__word em, .nav__logo em, .footer__word em { color: var(--sindoor); }
.loader__count { font-family: var(--mono); font-size: 14px; color: var(--paper-dim); }
.no-js .loader { display: none; }

/* ---------- page thread ---------- */
body { position: relative; }
/* sized to the body, never taller than the content, so it can't lengthen the page */
.thread { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: hidden; }
.thread path { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: 0.35; stroke-linecap: round; }

main, .footer { position: relative; z-index: 1; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(246, 239, 227, 0.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { font-family: var(--serif); font-size: 32px; line-height: 1; }
.nav__links { display: flex; gap: 36px; font-size: 15px; }
.nav__links a { position: relative; color: var(--paper-dim); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--sindoor); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- pills ---------- */
.pill {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--paper); color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap;
}
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--sindoor); transform: translateY(101%); transition: transform .55s var(--ease);
}
.pill:hover::before { transform: translateY(0); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sindoor); transition: background .3s, transform .5s var(--ease); }
.pill:hover .dot { background: var(--ink); transform: scale(1.4); }
.pill--small { padding: 11px 18px; font-size: 14px; }
.pill--big { padding: 22px 34px; font-size: 18px; }
.pill--ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pill--ghost:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; padding: 120px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; position: relative;
}
.hero__meta { display: flex; justify-content: space-between; color: var(--paper-dim); }
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 0 rgba(30,110,106,.5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(30,110,106,0); } 100% { box-shadow: 0 0 0 0 rgba(30,110,106,0); } }

.hero__title {
  font-family: var(--serif); font-weight: 400; margin: 6vh 0 0;
  font-size: clamp(56px, 11.2vw, 210px); line-height: 0.9; letter-spacing: -0.035em;
}
.hero__title em { color: var(--sindoor); }
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line__in { display: inline-block; will-change: transform; }
.hero__title .line:nth-child(2) { padding-left: 9vw; }
.hero__knot {
  display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%; vertical-align: 0.05em; margin-left: 0.1em;
  background: conic-gradient(from 0deg, var(--sindoor), var(--gold), var(--sindoor)); animation: spin 8s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%); mask: radial-gradient(circle, transparent 38%, #000 40%);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 32px; margin-top: 6vh; }
.hero__lede { max-width: 420px; color: var(--paper-dim); font-size: 18px; margin: 0; }
.hero__lede strong { color: var(--paper); font-weight: 600; }
.hero__scroll { justify-self: end; display: inline-flex; align-items: center; gap: 12px; color: var(--paper-dim); }
.hero__scroll svg { width: 34px; height: 34px; padding: 8px; border: 1px solid var(--line); border-radius: 50%; fill: none; stroke: var(--paper); stroke-width: 1.5; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

.hero__stack { position: relative; width: 300px; height: 190px; perspective: 900px; }
.hero__card {
  position: absolute; inset: 0; border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(14,59,60,.45), 0 0 0 1px rgba(14,59,60,.1);
  transform-origin: 50% 120%; background: var(--ink-3);
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--ink); position: relative; z-index: 1; }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 64px); line-height: 1; white-space: nowrap; }
.marquee__track span:nth-of-type(even) { font-style: italic; color: var(--paper-faint); }
.marquee__track i { font-style: normal; color: var(--sindoor); font-size: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.manifesto { padding: 22vh var(--gutter); max-width: 1500px; }
.manifesto__text {
  font-family: var(--serif); font-size: clamp(30px, 4.3vw, 68px); line-height: 1.12; letter-spacing: -0.01em; margin: 0;
}
.reveal-words .w { opacity: 0.16; transition: opacity .2s linear; }
.reveal-words .w.k { color: var(--gold); font-style: italic; }

/* ---------- work (horizontal) ---------- */
.work { padding-top: 6vh; }
.work__head { padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 32px; }
.work__head .eyebrow { grid-column: 1 / -1; }
.work__hint { color: var(--paper-faint); margin: 0 0 14px; }
.work__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; position: relative; }
.work__track { display: flex; gap: clamp(24px, 3vw, 48px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.work__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 6vh; height: 1px; background: var(--line); }
.work__progress span { position: absolute; inset: 0; background: var(--sindoor); transform: scaleX(0); transform-origin: left; }

.wcard {
  --c: #222; --a: var(--gold);
  position: relative; flex: 0 0 auto; width: min(76vw, 1060px);
  display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(20px, 2.6vw, 40px);
  padding: clamp(18px, 2vw, 28px); border-radius: 22px;
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--c) 16%, transparent) 0%, transparent 60%),
    linear-gradient(var(--ink-2), var(--ink-2));
  box-shadow: inset 0 0 0 1px var(--line);
}
.frame { border-radius: 12px; overflow: hidden; background: var(--teal); box-shadow: 0 40px 80px -34px rgba(14,59,60,.5), 0 0 0 1px rgba(14,59,60,.12); display: block; }
.frame__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--teal); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c5b5b; }
.frame__bar i:nth-child(1) { background: #ff5f57; } .frame__bar i:nth-child(2) { background: #febc2e; } .frame__bar i:nth-child(3) { background: #28c840; }
.frame__url { margin-left: 10px; flex: 1; text-align: center; font-family: var(--mono); font-size: 11px; color: rgba(246,239,227,.62); background: #17494a; border-radius: 6px; padding: 4px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.frame__screen img { width: 100%; height: auto; transform: translateY(0); transition: transform var(--dur, 6s) cubic-bezier(.45,.05,.4,1); }
.frame:hover .frame__screen img, .frame:focus-visible .frame__screen img, .frame.is-auto .frame__screen img { transform: translateY(var(--shift, 0)); transition-duration: var(--dur, 6s); }
.frame__screen::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, rgba(14,59,60,.18)); pointer-events: none; transition: opacity .4s; }
.frame:hover .frame__screen::after { opacity: 0; }

.wcard__info { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 6px 4px; }
.wcard__top { display: flex; justify-content: space-between; color: var(--paper-faint); }
.wcard__num { font-family: var(--serif); font-size: clamp(64px, 7vw, 120px); line-height: .8; color: var(--coral); font-style: italic; }
.wcard__name { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.6vw, 58px); line-height: 1; margin: 18px 0 8px; letter-spacing: -0.01em; }
.wcard__ind { color: var(--teal-2); }
.wcard__blurb { color: var(--paper-dim); font-size: 15.5px; margin: 16px 0 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags li { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--paper-dim); }
.wcard__visit { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-weight: 600; border-bottom: 1px solid var(--coral); padding-bottom: 4px; transition: gap .4s var(--ease), color .3s; }
.wcard__visit:hover { gap: 18px; color: var(--coral); }

.wcard--wip { background: var(--ink-2); }
.wcard--wip .chip { margin-top: 18px; }
.frame--wip { background: var(--ink); }
.wip {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(14,59,60,.045) 22px 44px),
    radial-gradient(60% 60% at 50% 50%, rgba(232,96,74,.08), transparent 70%);
}
.wip__label { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--paper-dim); }
.wip__label .live { background: var(--coral); animation: wipPing 2s infinite; }
@keyframes wipPing { 0% { box-shadow: 0 0 0 0 rgba(232,96,74,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(232,96,74,0); } }

.wcard--cta {
  width: min(60vw, 720px); grid-template-columns: 1fr; place-items: center; text-align: center;
  background: var(--sindoor); color: var(--ink); box-shadow: none; overflow: hidden;
}
.wcard--cta h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 7vw, 120px); line-height: .9; margin: 0; letter-spacing: -0.03em; }
.wcard--cta p { max-width: 380px; margin: 18px auto 30px; font-size: 17px; }
.wcard--cta .pill { background: var(--ink); color: var(--paper); }
.wcard--cta .pill::before { background: var(--paper); }
.wcard--cta .pill:hover { color: var(--ink); }
.wcard--cta .ring { position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(246,239,227,.4); animation: spin 60s linear infinite; pointer-events: none; }

/* ---------- index ---------- */
.index { padding: 22vh var(--gutter) 10vh; position: relative; }
.index__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 32px; margin-bottom: 56px; }
.index__head .eyebrow { grid-column: 1 / -1; }
.filters { display: flex; gap: 6px; padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.filter { padding: 9px 16px; border-radius: 999px; color: var(--paper-dim); transition: background .35s, color .35s; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.filter sup { color: var(--sindoor); margin-left: 2px; }
.filter.is-active { background: var(--paper); color: var(--ink); }
.filter.is-active sup { color: var(--ink); }

.index__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.irow { border-bottom: 1px solid var(--line); overflow: hidden; }
.irow.is-hidden { display: none; }
.irow a {
  position: relative; display: grid; grid-template-columns: 70px 1.4fr 1fr 90px 150px 40px; align-items: center; gap: 20px;
  padding: 30px 8px; transition: padding .5s var(--ease), color .3s;
}
.irow a::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: -1; }
.irow a { isolation: isolate; }
.irow a:hover { color: var(--ink); padding-left: 24px; padding-right: 24px; }
.irow a:hover::before { transform: scaleY(1); transform-origin: top; }
.irow__n { font-family: var(--mono); font-size: 13px; color: var(--paper-faint); transition: color .3s; }
.irow__name { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 54px); line-height: 1; letter-spacing: -0.01em; }
.irow__ind, .irow__yr { color: var(--paper-dim); font-size: 15px; transition: color .3s; }
.irow a:hover .irow__n, .irow a:hover .irow__ind, .irow a:hover .irow__yr { color: rgba(246,239,227,.7); }
.chip { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 6px 11px; border-radius: 999px; }
.chip--live { background: rgba(30,110,106,.12); color: var(--teal-2); }
.chip--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--building { background: rgba(232,96,74,.12); color: var(--sindoor); }
.irow--building .irow__name { color: var(--paper-dim); }
.irow a:hover .chip--building { background: var(--ink); }
.chip--open { box-shadow: inset 0 0 0 1px var(--sindoor); color: var(--sindoor); border-radius: 999px; }
.irow a:hover .chip--live { background: rgba(246,239,227,.14); color: var(--cream); }
.irow a:hover .chip--open { background: var(--sindoor); color: var(--ink); }
.irow__arrow { width: 36px; height: 36px; justify-self: end; transition: transform .5s var(--ease); fill: none; stroke: currentColor; stroke-width: 1.5; }
.irow a:hover .irow__arrow { transform: rotate(-45deg); }
.irow--open .irow__name { font-style: italic; color: var(--paper-dim); }
.irow--open a:hover .irow__name { color: var(--ink); }

.index__preview {
  position: fixed; top: 0; left: 0; z-index: 40; width: 340px; aspect-ratio: 16/10; pointer-events: none;
  border-radius: 10px; overflow: hidden; opacity: 0; transform: scale(.6); transition: opacity .35s var(--ease), transform .45s var(--ease);
  box-shadow: 0 30px 70px -24px rgba(14,59,60,.5);
}
.index__preview.is-on { opacity: 1; transform: scale(1); }
.index__preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- services ---------- */
.services { padding: 16vh var(--gutter); }
.services__head { margin-bottom: 72px; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__item { border-bottom: 1px solid var(--line); }
.svc__row { width: 100%; display: grid; grid-template-columns: 80px 1fr auto 44px; align-items: center; gap: 24px; padding: 34px 0; text-align: left; }
.svc__num { color: var(--sindoor); }
.svc__name { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 76px); line-height: 1; letter-spacing: -0.015em; transition: transform .6s var(--ease), color .3s; }
.svc__name small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); margin-top: 10px; }
.svc__row:hover .svc__name { transform: translateX(18px); }
.svc__tags { color: var(--paper-faint); text-align: right; }
.svc__plus { position: relative; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, transform .6s var(--ease); }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--paper); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background .3s; }
.svc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc__item.is-open .svc__plus { background: var(--sindoor); transform: rotate(180deg); }
.svc__item.is-open .svc__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.svc__item.is-open .svc__plus::before, .svc__item.is-open .svc__plus::after { background: var(--ink); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc__item.is-open .svc__body { grid-template-rows: 1fr; }
.svc__body > div { overflow: hidden; display: grid; grid-template-columns: 80px 1.3fr 1fr; gap: 24px; }
.svc__body p { grid-column: 2; margin: 0 0 40px; color: var(--paper-dim); font-size: 19px; max-width: 620px; }
.svc__body ul { grid-column: 3; list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 10px; color: var(--paper); }
.svc__body li::before { content: "◦ "; color: var(--sindoor); }

/* ---------- GEO ---------- */
.geo { padding: 16vh var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.geo__copy p { color: var(--paper-dim); font-size: 19px; max-width: 520px; margin: 32px 0; }
.geo__copy p em { color: var(--paper); font-size: 1.1em; }
.geo__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.geo__points span { color: var(--sindoor); margin-right: 8px; }
.chat { border-radius: 20px; color: var(--cream); background: linear-gradient(180deg, #124749, #0c3435); box-shadow: 0 0 0 1px var(--line), 0 50px 100px -40px rgba(232,96,74,.25); overflow: hidden; }
.chat__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(246,239,227,.12); color: rgba(246,239,227,.55); }
.chat__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c5b5b; }
.chat__bar span { margin-left: auto; }
.chat__body { padding: 28px; min-height: 360px; display: flex; flex-direction: column; gap: 20px; }
.chat__q { align-self: flex-end; max-width: 85%; background: var(--cream); color: var(--teal); padding: 14px 18px; border-radius: 18px 18px 4px 18px; font-weight: 500; min-height: 52px; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--sindoor); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chat__a { color: var(--cream); font-size: 17px; line-height: 1.6; min-height: 120px; }
.chat__a mark { background: none; color: var(--sindoor); font-weight: 600; }
.chat__a .think { display: inline-flex; gap: 5px; }
.chat__a .think i { width: 7px; height: 7px; border-radius: 50%; background: rgba(246,239,227,.5); animation: think 1s infinite; }
.chat__a .think i:nth-child(2) { animation-delay: .15s; } .chat__a .think i:nth-child(3) { animation-delay: .3s; }
@keyframes think { 50% { transform: translateY(-5px); background: var(--coral); } }
.chat__cite { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: rgba(232,96,74,.1); color: var(--sindoor); box-shadow: inset 0 0 0 1px rgba(232,96,74,.3); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); }
.chat__cite.is-on { opacity: 1; transform: none; }
.geo__note { color: var(--paper-faint); margin-top: 16px; font-size: 10.5px; }

/* ---------- process ---------- */
.process { padding: 16vh var(--gutter); }
.process__head { margin-bottom: 80px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 36px 28px 40px 0; border-right: 1px solid var(--line); position: relative; }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step__n { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--gold); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 40px; margin: 24px 0 12px; line-height: 1; }
.step p { color: var(--paper-dim); margin: 0 0 28px; font-size: 16px; }
.step__t { color: var(--sindoor); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 100%; background: var(--sindoor); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); padding: 6vh var(--gutter) 14vh; gap: 24px; }
.num { display: flex; flex-direction: column; gap: 8px; }
.num__v { font-family: var(--serif); font-size: clamp(72px, 10vw, 170px); line-height: .85; letter-spacing: -0.03em; }
.num:nth-child(odd) .num__v { font-style: italic; color: var(--sindoor); }
.num__l { color: var(--paper-faint); max-width: 200px; }

/* ---------- contact ---------- */
.contact { padding: 18vh var(--gutter) 16vh; text-align: center; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: 50%; top: 55%; width: 90vw; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232,96,74,.22), transparent 60%); filter: blur(20px); z-index: -1; pointer-events: none;
}
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(76px, 16vw, 300px); line-height: .86; letter-spacing: -0.045em; margin: 0 0 56px; }
.contact__title em { color: var(--sindoor); }
.contact__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.contact__small { color: var(--paper-faint); margin-top: 32px; }

/* ---------- footer ---------- */
.footer { padding: 40px var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--paper-faint); }
.footer__row a:hover { color: var(--sindoor); }
.footer__word { font-family: var(--serif); font-size: clamp(120px, 33vw, 620px); line-height: .78; letter-spacing: -0.06em; text-align: center; margin: 4vh 0 3vh; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .wcard { grid-template-columns: 1fr; width: min(80vw, 720px); }
  .wcard__blurb { display: none; }
  .irow a { grid-template-columns: 50px 1fr 130px 32px; }
  .irow__ind, .irow__yr { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .hero { padding-top: 100px; }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__foot { grid-template-columns: 1fr; gap: 28px; }
  .hero__stack { width: 240px; height: 150px; justify-self: center; }
  .hero__scroll { justify-self: start; }
  .work__head, .index__head { grid-template-columns: 1fr; gap: 20px; }
  /* horizontal scroll becomes a vertical stack */
  .work__pin { height: auto; padding: 48px 0 0; overflow: visible; }
  .work__track { flex-direction: column; width: auto; transform: none !important; }
  .work__progress { display: none; }
  .wcard, .wcard--cta { width: 100%; }
  .wcard--cta { padding: 64px 20px; }
  .wcard__blurb { display: block; }
  .svc__row { grid-template-columns: 40px 1fr 40px; gap: 14px; padding: 26px 0; }
  .svc__tags { display: none; }
  .svc__body > div { grid-template-columns: 1fr; gap: 0; }
  .svc__body p, .svc__body ul { grid-column: 1; }
  .geo { grid-template-columns: 1fr; }
  .chat__body { padding: 20px; min-height: 320px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-right: 0; border-top: 1px solid var(--line); }
  .numbers { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .irow a { grid-template-columns: 1fr auto; gap: 10px; padding: 24px 4px; }
  .irow__n, .irow__arrow { display: none; }
  .index__preview { display: none; }
  .filters { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-words .w { opacity: 1; }
}
