/* ============================================================
   CREATIVEDIAL — Design System
   Palette + type sampled directly from the printed brochure.
   Light paper only. No dark page backgrounds.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-900.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* paper family */
  --paper:    #F5EDE0;
  --paper-lt: #FAF6EE;
  --sand-lt:  #F0E5D3;
  --sand:     #E6D6BC;
  --blush:    #EBD9C6;

  /* ink */
  --ink:      #2B2118;
  --ink-80:   rgba(43,33,24,.80);
  --ink-60:   rgba(43,33,24,.60);
  --ink-40:   rgba(43,33,24,.40);
  --ink-15:   rgba(43,33,24,.15);
  --ink-08:   rgba(43,33,24,.08);

  /* accents */
  --terra:    #C4552A;
  --terra-dk: #A5431E;
  --terra-lt: #E2713F;
  --terra-soft: rgba(196,85,42,.12);
  --amber:    #E9A33C;

  /* type */
  --f-display: "Archivo", "Archivo Black", Impact, sans-serif;
  --f-body: "Lato", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* scales with viewport WIDTH and HEIGHT, so the hero CTAs stay above
     the fold on short laptop screens instead of being pushed off */
  --t-hero:  clamp(2.4rem, min(9vw, 12.2vh), 8rem);
  --t-h1:    clamp(2.5rem, 7.5vw, 6rem);
  --t-h2:    clamp(2rem, 5.2vw, 4.25rem);
  --t-h3:    clamp(1.45rem, 2.9vw, 2.4rem);
  --t-h4:    clamp(1.15rem, 1.9vw, 1.5rem);
  --t-body:  clamp(1rem, 1.12vw, 1.16rem);
  --t-lead:  clamp(1.12rem, 1.6vw, 1.5rem);
  --t-small: .84rem;

  /* space */
  --sp-section: clamp(4.5rem, 9vw, 9.5rem);
  --wrap: 1280px;
  --gut: clamp(1.15rem, 4vw, 3.25rem);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-pill: 999px;

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
/* Lenis drives scrolling itself; native smooth-scroll fights it */
html.lenis-on { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

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

:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Paper textures (from brochure) ---------- */
.paper-grid {
  position: relative;
  isolation: isolate;
}
.paper-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(43,33,24,.042) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43,33,24,.042) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* halftone dot cluster — the brochure's corner motif */
.halftone {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, var(--blush) 2.1px, transparent 2.3px);
  background-size: 17px 17px;
  opacity: .95;
}
.halftone--tl {
  top: -20px; left: -20px; width: 320px; height: 380px;
  -webkit-mask-image: radial-gradient(ellipse at top left, #000 5%, transparent 72%);
  mask-image: radial-gradient(ellipse at top left, #000 5%, transparent 72%);
}
.halftone--br {
  bottom: -30px; right: -30px; width: 420px; height: 460px;
  -webkit-mask-image: radial-gradient(ellipse at bottom right, #000 5%, transparent 70%);
  mask-image: radial-gradient(ellipse at bottom right, #000 5%, transparent 70%);
}
.halftone--tr {
  top: -30px; right: -30px; width: 360px; height: 340px;
  -webkit-mask-image: radial-gradient(ellipse at top right, #000 5%, transparent 70%);
  mask-image: radial-gradient(ellipse at top right, #000 5%, transparent 70%);
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--wide { max-width: 1480px; }
.wrap--narrow { max-width: 880px; }
/* overflow-x:clip contains the halftone bleed without creating a
   scroll container (unlike overflow:hidden, which would break sticky) */
.section { padding-block: var(--sp-section); position: relative; overflow-x: clip; }
.section--tight { padding-block: clamp(3rem, 6vw, 6rem); position: relative; overflow-x: clip; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 112;
  text-transform: uppercase;
  line-height: .87;
  letter-spacing: -.021em;
  color: var(--ink);
}
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; }

.t-hero { font-size: var(--t-hero); }
.t-h1 { font-size: var(--t-h1); }
.t-h2 { font-size: var(--t-h2); }
.t-h3 { font-size: var(--t-h3); }
.t-h4 { font-size: var(--t-h4); }

.terra { color: var(--terra); }
.ink { color: var(--ink); }
.cream { color: var(--paper-lt); }

.eyebrow {
  font-family: var(--f-display);
  font-variation-settings: "wght" 700, "wdth" 100;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--ink-60);
  display: block;
  margin-bottom: 1.1rem;
}
.eyebrow--terra { color: var(--terra); }

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--ink-80);
  max-width: 58ch;
}
.muted { color: var(--ink-60); }
.small { font-size: var(--t-small); }

.rule {
  width: 108px; height: 7px;
  background: var(--terra);
  border-radius: 2px;
  margin: 1.5rem 0;
}

.hl {
  background: linear-gradient(to top, var(--amber) 0 .34em, transparent 0);
  padding: 0 .06em;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.02rem 1.85rem;
  font-family: var(--f-display);
  font-variation-settings: "wght" 750, "wdth" 100;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  transition: transform .32s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
  will-change: transform;
  text-align: center;
  line-height: 1.15;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary { background: var(--terra); color: #fff; border-color: var(--terra); }
.btn--primary:hover { background: var(--terra-dk); border-color: var(--terra-dk); box-shadow: 0 12px 30px -12px rgba(196,85,42,.75); }

.btn--ink { background: var(--ink); color: var(--paper-lt); border-color: var(--ink); }
.btn--ink:hover { background: #3b2d20; box-shadow: 0 12px 30px -12px rgba(43,33,24,.6); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper-lt); }

.btn--onterra { background: var(--paper-lt); color: var(--terra-dk); border-color: var(--paper-lt); }
.btn--onterra:hover { background: var(--ink); color: var(--paper-lt); border-color: var(--ink); }

.btn--ghost-terra { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn--ghost-terra:hover { background: #fff; color: var(--terra-dk); border-color: #fff; }

.btn--lg { padding: 1.2rem 2.3rem; font-size: .92rem; }
.btn--sm { padding: .72rem 1.25rem; font-size: .74rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* text link with animated underline */
.tlink {
  font-family: var(--f-display);
  font-variation-settings: "wght" 700, "wdth" 100;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .82rem;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  position: relative;
  padding-bottom: 3px;
}
.tlink::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .42s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }
.tlink svg { width: .95em; height: .95em; transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.05rem 0;
  transition: background-color .4s, box-shadow .4s, padding .4s;
}
.nav.is-stuck {
  background: rgba(245,237,224,.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--ink-08), 0 8px 30px -20px rgba(43,33,24,.5);
  padding: .68rem 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: baseline; gap: .1rem; font-family: var(--f-display); font-variation-settings: "wght" 800, "wdth" 105; font-size: 1.32rem; letter-spacing: -.028em; color: var(--ink); }
.logo b { font-variation-settings: "wght" 900, "wdth" 105; color: var(--terra); font-weight: inherit; }
.logo__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); margin-left: 3px; align-self: center; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-family: var(--f-display);
  font-variation-settings: "wght" 640, "wdth" 100;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .11em;
  color: var(--ink-80);
  position: relative; padding: .3rem 0;
  transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--terra);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { display: flex; align-items: center; gap: .7rem; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 2px solid var(--ink); border-radius: 50%;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  transition: background-color .3s;
}
.burger span { display: block; width: 17px; height: 2px; background: var(--ink); transition: transform .38s var(--ease), opacity .25s; }
.burger.is-open { background: var(--ink); }
.burger.is-open span { background: var(--paper-lt); }
.burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__links, .nav__cta .btn { display: none; }
  .burger { display: inline-flex; }
}

.mobile-menu {
  position: fixed; inset: 0;
  z-index: 99;
  background: var(--paper);
  padding: 6.5rem var(--gut) 2.5rem;
  display: flex; flex-direction: column; gap: .3rem;
  transform: translateY(-101%);
  transition: transform .6s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu > a {
  font-family: var(--f-display);
  font-variation-settings: "wght" 850, "wdth" 108;
  text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3.1rem);
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--ink);
  padding: .18rem 0;
  border-bottom: 1px solid var(--ink-15);
}
.mobile-menu > a:hover { color: var(--terra); }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; gap: .7rem; }
.mobile-menu__foot .btn { width: 100%; white-space: normal; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 6.6rem; padding-bottom: 3rem;
  overflow: hidden;
}
.hero .rule { margin: 1.15rem 0; }
.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero__kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--sand);
  border: 1.5px solid var(--ink-15);
  padding: .48rem 1rem;
  border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-variation-settings: "wght" 700, "wdth" 100;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .17em;
  color: var(--ink-80);
  margin-bottom: clamp(.9rem, 2vw, 1.4rem);
}
.hero__kicker .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--terra);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.75); }
}

.hero__title { font-size: var(--t-hero); }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }

.hero__sub {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  font-size: clamp(1.1rem, 1.85vw, 1.6rem);
  line-height: 1.45;
  color: var(--ink-80);
  max-width: 40ch;
}
.hero__sub b { font-weight: 900; color: var(--ink); }

.hero__actions { margin-top: clamp(1.4rem, 2.4vw, 2rem); }

.hero__note {
  margin-top: .9rem;
  font-size: .88rem; color: var(--ink-60);
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.hero__note svg { width: 1rem; height: 1rem; color: var(--terra); flex: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--f-display);
  font-variation-settings: "wght" 650, "wdth" 100;
  font-size: .62rem; text-transform: uppercase; letter-spacing: .24em;
  color: var(--ink-40);
}
.scroll-cue__bar { width: 1px; height: 46px; background: linear-gradient(to bottom, var(--ink-40), transparent); }
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* Hero drifting texture layer */
.hero__drift { position: absolute; inset: -8%; z-index: 0; will-change: transform; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--paper-lt);
  padding: 1.05rem 0;
  overflow: hidden;
  border-block: 2px solid var(--ink);
}
.marquee--terra { background: var(--terra); border-color: var(--terra); }
.marquee__track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span {
  font-family: var(--f-display);
  font-variation-settings: "wght" 800, "wdth" 108;
  text-transform: uppercase;
  font-size: clamp(.92rem, 1.7vw, 1.35rem);
  letter-spacing: .05em;
  padding: 0 1.6rem;
  display: inline-flex; align-items: center; gap: 1.6rem;
  white-space: nowrap;
}
.marquee__group span::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--amber); flex: none;
}
.marquee--terra .marquee__group span::after { background: var(--paper-lt); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Section heading ---------- */
.s-head { max-width: 900px; margin-bottom: clamp(2.4rem, 5vw, 4rem); position: relative; z-index: 2; }
.s-head--center { margin-inline: auto; text-align: center; }
.s-head--center .lead { margin-inline: auto; }
.s-head--center .rule { margin-inline: auto; }

/* ============================================================
   DOORS — "Which one are you?" self-qualifier
   ============================================================ */
.doors { display: grid; gap: 1rem; position: relative; z-index: 2; }
@media (min-width: 900px) {
  .doors { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}

.door {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  background: var(--paper-lt);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2.15rem);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s;
  cursor: pointer;
}
.door::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--terra);
  transform: translateY(100%);
  transition: transform .55s var(--ease);
  z-index: 0;
}
.door:hover, .door:focus-visible { transform: translateY(-7px); box-shadow: 0 26px 50px -30px rgba(43,33,24,.55); }
.door:hover::before, .door:focus-visible::before { transform: translateY(0); }
.door > * { position: relative; z-index: 1; }
.door:hover .door__quote, .door:hover .door__name, .door:hover .door__desc, .door:hover .door__go { color: #fff; }
.door:hover .door__num { background: #fff; color: var(--terra); }
.door:hover .door__tag { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.4); }

.door__num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 27px; padding: 0 .6rem;
  background: var(--ink); color: var(--paper-lt);
  border-radius: 6px;
  font-family: var(--f-display);
  font-variation-settings: "wght" 800, "wdth" 100;
  font-size: .78rem; letter-spacing: .06em;
  margin-bottom: 1.1rem;
  transition: background-color .4s, color .4s;
}
.door__quote {
  font-size: clamp(1.14rem, 1.75vw, 1.42rem);
  font-style: italic;
  line-height: 1.38;
  color: var(--ink);
  margin-bottom: 1.35rem;
  transition: color .4s;
}
.door__arrow { color: var(--terra); font-style: normal; }
.door:hover .door__arrow { color: #fff; }
.door__name {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 112;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--terra);
  margin-bottom: .7rem;
  transition: color .4s;
}
.door__desc { font-size: .95rem; color: var(--ink-60); line-height: 1.55; transition: color .4s; }
.door__go {
  margin-top: 1.4rem;
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--f-display);
  font-variation-settings: "wght" 700, "wdth" 100;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .13em;
  color: var(--ink-60);
  transition: color .4s, gap .3s;
}
.door:hover .door__go { gap: .8rem; }
.door__go svg { width: 1em; height: 1em; }

/* ============================================================
   MANIFESTO — terracotta statement block
   ============================================================ */
.manifesto {
  background: var(--terra);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2.4rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.manifesto .halftone { background-image: radial-gradient(circle, rgba(255,255,255,.16) 2.1px, transparent 2.3px); }
.manifesto__text {
  position: relative; z-index: 2;
  font-family: var(--f-display);
  font-variation-settings: "wght" 720, "wdth" 100;
  font-size: clamp(1.4rem, 3.5vw, 2.85rem);
  line-height: 1.24;
  letter-spacing: -.018em;
  max-width: 21ch;
}
.manifesto__text .word { display: inline-block; }
.manifesto__text .dim { color: rgba(255,255,255,.52); }
.manifesto__sig {
  position: relative; z-index: 2;
  margin-top: 2.2rem;
  font-family: var(--f-display);
  font-variation-settings: "wght" 700, "wdth" 100;
  font-size: .76rem; text-transform: uppercase; letter-spacing: .2em;
  color: rgba(255,255,255,.75);
}

/* ============================================================
   OFFERS — the three engagements
   ============================================================ */
.offers { display: grid; gap: 1.35rem; position: relative; z-index: 2; }

.offer {
  background: var(--sand-lt);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3.2vw, 2.8rem);
  display: grid;
  gap: 1.6rem;
  position: relative;
  overflow: hidden;
  transition: background-color .45s, transform .45s var(--ease), box-shadow .45s var(--ease);
}
.offer:hover { background: var(--sand); transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgba(43,33,24,.5); }
@media (min-width: 940px) {
  .offer { grid-template-columns: 1.05fr 1.35fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
}

.offer__head { position: relative; z-index: 2; }
.offer__badge { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.15rem; flex-wrap: wrap; }
.offer__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 29px;
  background: var(--ink); color: var(--paper-lt);
  border-radius: 6px;
  font-family: var(--f-display);
  font-variation-settings: "wght" 800, "wdth" 100;
  font-size: .82rem;
}
.offer__who {
  font-size: .88rem; font-style: italic; color: var(--ink-60);
}
.offer__title {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 112;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.5vw, 2.9rem);
  line-height: .95;
  letter-spacing: -.024em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.offer__title em { font-style: normal; color: var(--terra); }
.offer__pitch { color: var(--ink-80); font-size: 1.02rem; line-height: 1.55; }

.offer__body { position: relative; z-index: 2; }
.offer__list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.offer__list li {
  background: var(--paper-lt);
  border: 1.5px solid var(--ink-15);
  border-radius: var(--r-pill);
  padding: .42rem .95rem;
  font-size: .85rem;
  color: var(--ink-80);
  transition: border-color .3s, color .3s, background-color .3s;
}
.offer:hover .offer__list li { border-color: var(--ink-15); }
.offer__list li:hover { border-color: var(--terra); color: var(--terra); background: #fff; }

.offer__term {
  border-top: 2px dashed var(--ink-15);
  padding-top: 1.15rem;
  font-size: .9rem;
  color: var(--ink-60);
  display: flex; gap: .6rem; align-items: flex-start;
}
.offer__term strong {
  font-family: var(--f-display);
  font-variation-settings: "wght" 750, "wdth" 100;
  text-transform: uppercase; letter-spacing: .1em;
  font-size: .7rem; color: var(--ink);
  flex: none; padding-top: .18rem;
}

/* engine flow pills */
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.flow__pill {
  background: var(--paper-lt);
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  padding: .5rem 1.15rem;
  font-family: var(--f-display);
  font-variation-settings: "wght" 780, "wdth" 100;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .11em;
  color: var(--ink);
  transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.flow__pill:hover { background: var(--terra); border-color: var(--terra); color: #fff; transform: translateY(-3px); }
.flow__arrow { color: var(--terra); font-size: 1.1rem; line-height: 1; }

/* ============================================================
   LEAK FINDER — interactive diagnostic
   ============================================================ */
.leak {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  color: var(--paper-lt);
  position: relative;
  overflow: hidden;
}
.leak .halftone { background-image: radial-gradient(circle, rgba(245,237,224,.09) 2.1px, transparent 2.3px); }
.leak__inner { position: relative; z-index: 2; }

.leak__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.leak__eyebrow {
  font-family: var(--f-display);
  font-variation-settings: "wght" 700, "wdth" 100;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .2em;
  color: var(--amber); margin-bottom: .8rem; display: block;
}
.leak__title {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 112;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  line-height: .96; letter-spacing: -.024em;
  color: var(--paper-lt);
}
.leak__sub { color: rgba(245,237,224,.62); font-size: .98rem; margin-top: .8rem; max-width: 46ch; }

.leak__progress { display: flex; gap: 5px; align-items: center; flex: none; }
.leak__dot { width: 26px; height: 5px; border-radius: 3px; background: rgba(245,237,224,.2); transition: background-color .4s, width .4s var(--ease); }
.leak__dot.is-done { background: var(--amber); }
.leak__dot.is-now { background: var(--terra); width: 40px; }

.leak__stage { position: relative; min-height: 236px; }

.leak-q { display: none; }
.leak-q.is-active { display: block; animation: qIn .5s var(--ease) both; }
@keyframes qIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.leak-q__n {
  font-family: var(--f-display);
  font-variation-settings: "wght" 700, "wdth" 100;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245,237,224,.45); margin-bottom: .7rem; display: block;
}
.leak-q__text {
  font-family: var(--f-display);
  font-variation-settings: "wght" 780, "wdth" 100;
  font-size: clamp(1.15rem, 2.3vw, 1.7rem);
  line-height: 1.25; letter-spacing: -.015em;
  color: var(--paper-lt);
  margin-bottom: 1.5rem;
  max-width: 30ch;
}
.leak-q__opts { display: grid; gap: .6rem; }
@media (min-width: 720px) { .leak-q__opts { grid-template-columns: repeat(3, 1fr); } }

.leak-opt {
  text-align: left;
  background: rgba(245,237,224,.06);
  border: 2px solid rgba(245,237,224,.16);
  border-radius: var(--r-md);
  padding: 1rem 1.15rem;
  color: rgba(245,237,224,.9);
  font-size: .94rem; line-height: 1.4;
  transition: background-color .3s, border-color .3s, transform .3s var(--ease), color .3s;
}
.leak-opt:hover {
  background: var(--terra); border-color: var(--terra); color: #fff;
  transform: translateY(-3px);
}
.leak-opt.is-picked { background: var(--terra); border-color: var(--terra); color: #fff; }

.leak__back {
  margin-top: 1.4rem;
  font-family: var(--f-display);
  font-variation-settings: "wght" 650, "wdth" 100;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(245,237,224,.45);
  display: inline-flex; align-items: center; gap: .4rem;
  transition: color .3s;
}
.leak__back:hover { color: var(--amber); }

/* result */
.leak-result { display: none; }
.leak-result.is-active { display: block; animation: qIn .55s var(--ease) both; }
.leak-result__head { margin-bottom: 1.7rem; }
.leak-result__score {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 115;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: .85; letter-spacing: -.03em;
  color: var(--amber);
}
.leak-result__score sup { font-size: .32em; vertical-align: super; color: rgba(245,237,224,.4); margin-left: .15em; }
.leak-result__verdict {
  font-family: var(--f-display);
  font-variation-settings: "wght" 800, "wdth" 108;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--paper-lt);
  margin-top: .6rem; letter-spacing: -.015em;
}
.leak-result__note { color: rgba(245,237,224,.65); font-size: .96rem; margin-top: .7rem; max-width: 52ch; line-height: 1.55; }

.leak-map { display: grid; gap: .85rem; margin: 1.9rem 0; }
.leak-bar__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; gap: 1rem; }
.leak-bar__name {
  font-family: var(--f-display);
  font-variation-settings: "wght" 720, "wdth" 100;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .13em;
  color: rgba(245,237,224,.85);
}
.leak-bar__val { font-size: .78rem; color: rgba(245,237,224,.5); font-family: var(--f-display); font-variation-settings: "wght" 650, "wdth" 100; letter-spacing: .06em; }
.leak-bar__track { height: 9px; border-radius: 5px; background: rgba(245,237,224,.12); overflow: hidden; }
.leak-bar__fill {
  /* display:block is load-bearing — this is a <span>, and an inline
     element ignores width/height, which renders the bar empty. */
  display: block;
  height: 100%; border-radius: 5px; width: 0;
  transition: width 1.1s var(--ease);
}
.leak-bar__fill.lvl-good { background: linear-gradient(90deg, #3E7D6C, #56A38C); }
.leak-bar__fill.lvl-watch { background: linear-gradient(90deg, var(--amber), #F0BC64); }
.leak-bar__fill.lvl-leak { background: linear-gradient(90deg, var(--terra), #E0713F); }

.leak-result__cta {
  border-top: 1px solid rgba(245,237,224,.15);
  padding-top: 1.7rem;
  display: flex; gap: .8rem; flex-wrap: wrap; align-items: center;
}
.leak-result__fine { font-size: .82rem; color: rgba(245,237,224,.42); margin-top: 1rem; }

/* ============================================================
   DIAGNOSTIC band
   ============================================================ */
.diag {
  background: var(--terra);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4.5vw, 3.6rem);
  color: #fff;
  position: relative; overflow: hidden;
}
.diag .halftone { background-image: radial-gradient(circle, rgba(255,255,255,.15) 2.1px, transparent 2.3px); }
.diag__inner { position: relative; z-index: 2; }
.diag__title {
  font-family: var(--f-display);
  font-variation-settings: "wght" 850, "wdth" 106;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 1.6rem; max-width: 22ch;
}
.diag__steps { display: grid; gap: .75rem; margin-bottom: 1.6rem; }
@media (min-width: 760px) { .diag__steps { grid-template-columns: repeat(3, 1fr); } }
.diag__step {
  background: var(--paper-lt);
  border-radius: var(--r-pill);
  padding: .95rem 1.2rem;
  text-align: center;
  color: var(--ink);
  font-family: var(--f-display);
  font-variation-settings: "wght" 800, "wdth" 100;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .1em;
  line-height: 1.35;
  transition: transform .35s var(--ease);
}
.diag__step:hover { transform: translateY(-4px) rotate(-1deg); }
.diag__step b { display: block; color: var(--terra); font-weight: inherit; }
.diag__note { font-size: 1.02rem; line-height: 1.55; max-width: 62ch; color: rgba(255,255,255,.92); }
.diag__note strong { font-weight: 900; }

/* ============================================================
   WORK — named client roster
   ============================================================ */
.work-list { border-top: 2px solid var(--ink); position: relative; z-index: 2; }
.work-item {
  border-bottom: 2px solid var(--ink);
  position: relative;
  display: block;
  padding: clamp(1.5rem, 3.2vw, 2.4rem) 0;
  overflow: hidden;
  transition: padding-left .5s var(--ease), padding-right .5s var(--ease);
}
.work-item::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--terra);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
  z-index: 0;
}
.work-item:hover::before { transform: scaleY(1); transform-origin: top; }
.work-item:hover { padding-left: clamp(1rem, 2.5vw, 2.2rem); padding-right: clamp(1rem, 2.5vw, 2.2rem); }
.work-item > * { position: relative; z-index: 1; }
.work-item__row { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; }
.work-item__name {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 110;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4.2vw, 3.2rem);
  line-height: 1; letter-spacing: -.026em;
  color: var(--ink);
  transition: color .4s;
}
.work-item__tag {
  font-family: var(--f-display);
  font-variation-settings: "wght" 700, "wdth" 100;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--terra);
  border: 1.5px solid currentColor;
  border-radius: var(--r-pill);
  padding: .28rem .75rem;
  transition: color .4s, border-color .4s;
  flex: none;
}
.work-item__desc {
  margin-top: .85rem;
  color: var(--ink-60);
  max-width: 74ch;
  font-size: 1rem; line-height: 1.55;
  transition: color .4s;
}
.work-item__desc strong { color: var(--ink); font-weight: 700; transition: color .4s; }
.work-item:hover .work-item__name,
.work-item:hover .work-item__desc,
.work-item:hover .work-item__desc strong { color: #fff; }
.work-item:hover .work-item__tag { color: #fff; border-color: rgba(255,255,255,.6); }

/* ============================================================
   STATS / counters
   ============================================================ */
.stats { display: grid; gap: 1rem; position: relative; z-index: 2; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--paper-lt);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 1.5rem 1.3rem;
  transition: background-color .4s, transform .4s var(--ease);
}
.stat:hover { background: var(--amber); transform: translateY(-5px); }
.stat__n {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 112;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: .9; letter-spacing: -.03em;
  color: var(--terra);
  transition: color .4s;
}
.stat:hover .stat__n { color: var(--ink); }
.stat__l {
  margin-top: .6rem;
  font-size: .82rem; color: var(--ink-60);
  line-height: 1.4;
  transition: color .4s;
}
.stat:hover .stat__l { color: var(--ink); }

/* ============================================================
   PRICING / PARTNERS strip
   ============================================================ */
.terms { display: flex; flex-wrap: wrap; gap: .6rem; }
.terms li {
  background: var(--sand);
  border-radius: var(--r-pill);
  padding: .55rem 1.15rem;
  font-size: .88rem;
  color: var(--ink-80);
  border: 1.5px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.terms li:hover { border-color: var(--ink); background: var(--paper-lt); }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder {
  background: var(--sand-lt);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4vw, 3.4rem);
  display: grid; gap: 2rem;
  position: relative; overflow: hidden;
}
@media (min-width: 860px) { .founder { grid-template-columns: auto 1fr; align-items: center; gap: clamp(2rem, 4vw, 3.5rem); } }
.founder__mark {
  width: clamp(96px, 14vw, 148px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 110;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.03em;
  flex: none;
  position: relative; z-index: 2;
}
.founder__body { position: relative; z-index: 2; }
.founder__quote {
  font-family: var(--f-display);
  font-variation-settings: "wght" 700, "wdth" 100;
  font-size: clamp(1.15rem, 2.4vw, 1.85rem);
  line-height: 1.32; letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 1.3rem;
}
.founder__name {
  font-family: var(--f-display);
  font-variation-settings: "wght" 800, "wdth" 100;
  text-transform: uppercase; letter-spacing: .1em;
  font-size: .82rem; color: var(--terra);
}
.founder__role { font-size: .88rem; color: var(--ink-60); margin-top: .25rem; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--terra);
  color: #fff;
  padding: clamp(3rem, 7vw, 6rem) 0;
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-band .halftone { background-image: radial-gradient(circle, rgba(255,255,255,.15) 2.1px, transparent 2.3px); }
.cta-band__inner { position: relative; z-index: 2; }
.cta-band__title {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 112;
  text-transform: uppercase;
  font-size: clamp(2rem, 6.2vw, 5rem);
  line-height: .93; letter-spacing: -.028em;
  margin-bottom: 1.3rem;
}
.cta-band__sub { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 48ch; margin: 0 auto 2.1rem; }
.cta-band .btn-row { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--sand); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; position: relative; overflow: hidden; }
.footer__grid { display: grid; gap: 2.5rem; position: relative; z-index: 2; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; } }
.footer__tag { margin-top: 1rem; color: var(--ink-60); font-size: .95rem; max-width: 34ch; }
.footer h4 {
  font-family: var(--f-display);
  font-variation-settings: "wght" 750, "wdth" 100;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .17em;
  color: var(--ink); margin-bottom: 1.1rem;
}
.footer__list { display: grid; gap: .6rem; }
.footer__list a, .footer__list li { color: var(--ink-60); font-size: .94rem; transition: color .3s; }
.footer__list a:hover { color: var(--terra); }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1.5px solid var(--ink-15);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .84rem; color: var(--ink-60);
  position: relative; z-index: 2;
}
.socials { display: flex; gap: .55rem; margin-top: 1.2rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--ink-15);
  display: grid; place-items: center;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.socials a:hover { background: var(--terra); border-color: var(--terra); color: #fff; transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

/* ============================================================
   FORMS
   ============================================================ */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label {
  font-family: var(--f-display);
  font-variation-settings: "wght" 720, "wdth" 100;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-80);
}
.field input, .field select, .field textarea {
  background: var(--paper-lt);
  border: 2px solid var(--ink-15);
  border-radius: var(--r-md);
  padding: .92rem 1.1rem;
  font-size: 1rem;
  transition: border-color .3s, background-color .3s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terra); background: #fff;
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B2118' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
  padding-right: 2.8rem;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: clamp(8rem, 15vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative; overflow: hidden;
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__title {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 112;
  text-transform: uppercase;
  font-size: var(--t-h1);
  line-height: .9; letter-spacing: -.028em;
}
.page-hero__title em { font-style: normal; color: var(--terra); }
.page-hero .lead { margin-top: 1.6rem; }

.crumbs {
  font-family: var(--f-display);
  font-variation-settings: "wght" 650, "wdth" 100;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--ink-40); margin-bottom: 1.4rem;
}
.crumbs a:hover { color: var(--terra); }

/* ============================================================
   SPLIT / prose blocks
   ============================================================ */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); position: relative; z-index: 2; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.split--sticky > :first-child { position: sticky; top: 120px; }
@media (max-width: 899px) { .split--sticky > :first-child { position: static; } }

.prose p { margin-bottom: 1.15rem; color: var(--ink-80); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 700; }

/* chapters (about) */
.chapter {
  display: grid; gap: 1.2rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-top: 2px solid var(--ink-15);
}
@media (min-width: 820px) { .chapter { grid-template-columns: 200px 1fr; gap: 2.5rem; } }
.chapter__year {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 112;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1; letter-spacing: -.02em;
  color: var(--terra);
}
.chapter h3 { font-size: var(--t-h3); margin-bottom: .8rem; text-transform: uppercase; font-variation-settings: "wght" 850, "wdth" 108; }

/* value cards */
.cards { display: grid; gap: 1rem; position: relative; z-index: 2; }
@media (min-width: 700px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--paper-lt);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  transition: transform .45s var(--ease), background-color .45s, box-shadow .45s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); background: var(--sand-lt); box-shadow: 0 24px 46px -30px rgba(43,33,24,.5); }
.card__ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--terra-soft); color: var(--terra);
  display: grid; place-items: center; margin-bottom: 1.15rem;
  transition: background-color .4s, color .4s;
}
.card:hover .card__ico { background: var(--terra); color: #fff; }
.card__ico svg { width: 22px; height: 22px; }
.card h3, .card h4 {
  font-size: 1.12rem; margin-bottom: .6rem;
  text-transform: uppercase;
  font-variation-settings: "wght" 820, "wdth" 104;
  letter-spacing: -.012em;
}
.card p { color: var(--ink-60); font-size: .95rem; line-height: 1.55; }

/* industries tags */
.tags { display: flex; flex-wrap: wrap; gap: .55rem; position: relative; z-index: 2; }
.tags li {
  border: 2px solid var(--ink-15);
  border-radius: var(--r-pill);
  padding: .55rem 1.1rem;
  font-size: .88rem;
  color: var(--ink-80);
  transition: border-color .3s, color .3s, transform .3s var(--ease), background-color .3s;
}
.tags li:hover { border-color: var(--terra); color: #fff; background: var(--terra); transform: translateY(-3px); }

/* contact layout */
.contact-layout { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; position: relative; z-index: 2; }
@media (min-width: 940px) { .contact-layout { grid-template-columns: 1.35fr 1fr; } }
.contact-card {
  background: var(--sand-lt);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.contact-card + .contact-card { margin-top: 1rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1.5px solid var(--ink-15); }
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-row__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--terra); color: #fff; display: grid; place-items: center; flex: none; }
.contact-row__ico svg { width: 18px; height: 18px; }
.contact-row__l { font-family: var(--f-display); font-variation-settings: "wght" 750, "wdth" 100; font-size: .68rem; text-transform: uppercase; letter-spacing: .15em; color: var(--ink-60); }
.contact-row__v { font-size: 1.02rem; color: var(--ink); margin-top: .15rem; }
.contact-row__v:hover { color: var(--terra); }

/* ============================================================
   FAB (whatsapp)
   ============================================================ */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -10px rgba(37,211,102,.7);
  transition: transform .35s var(--ease);
}
.fab:hover { transform: scale(1.09) translateY(-2px); }
.fab svg { width: 28px; height: 28px; }
@media (max-width: 640px) { .fab { width: 50px; height: 50px; right: 14px; bottom: 14px; } .fab svg { width: 25px; height: 25px; } }

/* ============================================================
   404
   ============================================================ */
.err { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 6rem var(--gut) 3rem; position: relative; overflow: hidden; }
.err__inner { position: relative; z-index: 2; }
.err__code {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 120;
  font-size: clamp(5rem, 22vw, 15rem);
  line-height: .82; letter-spacing: -.04em;
  color: var(--terra);
}

/* ============================================================
   REVEAL SYSTEM
   The `html.js` prefix must appear on BOTH the hidden and visible
   rules, otherwise the hidden rule outranks the visible one and
   content never appears. Do not remove it from one without the other.
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
html.js .reveal-stagger > * { opacity: 0; transform: translateY(22px); }
html.js .reveal-stagger.is-visible > * {
  opacity: 1; transform: none;
  transition: opacity .72s var(--ease), transform .72s var(--ease);
}
html.js .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .04s; }
html.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
html.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .2s; }
html.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .28s; }
html.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .36s; }
html.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .44s; }

/* hero line mask animation */
html.js .hero__title .line > span { transform: translateY(105%); }
html.js .hero__title.is-in .line > span {
  transform: translateY(0);
  transition: transform 1.05s var(--ease);
}
html.js .hero__title.is-in .line:nth-child(2) > span { transition-delay: .09s; }
html.js .hero__title.is-in .line:nth-child(3) > span { transition-delay: .18s; }
html.js .hero__title.is-in .line:nth-child(4) > span { transition-delay: .27s; }

/* ---------- custom cursor (fine pointers only) ---------- */
.cursor, .cursor-dot { display: none; }
@media (pointer: fine) and (min-width: 1024px) {
  .cursor {
    display: block;
    position: fixed; top: 0; left: 0;
    width: 34px; height: 34px;
    border: 2px solid var(--terra);
    border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .3s var(--ease), height .3s var(--ease), background-color .3s, border-color .3s, opacity .3s;
    will-change: transform;
  }
  .cursor.is-hot { width: 62px; height: 62px; background: var(--terra-soft); border-color: var(--terra); }
  .cursor.is-hidden { opacity: 0; }
  .cursor-dot {
    display: block;
    position: fixed; top: 0; left: 0;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--terra);
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: transform;
  }
}

/* ---------- utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 200;
  background: var(--ink); color: var(--paper-lt);
  padding: .7rem 1.1rem; border-radius: 0 0 8px 8px;
  transition: top .25s;
}
.skip-link:focus { top: 0; }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* ============================================================
   STORY LIST — the "we want to do something" openers
   ============================================================ */
.story-list { display: grid; gap: 1.6rem; position: relative; z-index: 2; }
@media (min-width: 980px) { .story-list { grid-template-columns: repeat(3, 1fr); gap: 1.8rem; } }

.story {
  border-left: 5px solid var(--terra);
  padding: .2rem 0 .2rem 1.35rem;
  transition: border-color .4s, transform .4s var(--ease);
}
.story:hover { transform: translateX(5px); border-color: var(--ink); }
.story__label {
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "wght" 640, "wdth" 100;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .2em;
  color: var(--ink-40);
  margin-bottom: .7rem;
}
.story__text { color: var(--ink-80); font-size: 1rem; line-height: 1.6; }
.story__text strong { color: var(--ink); font-weight: 700; }

/* ============================================================
   HORIZONTAL RAIL — Growth Engine stages
   Pinned + scrubbed on desktop by GSAP; a plain scroll-snap
   carousel on touch / no-JS. Never breaks either way.
   ============================================================ */
.hrail { padding-block: var(--sp-section); background: var(--sand-lt); overflow: hidden; position: relative; }
.hrail__head { margin-bottom: 2.2rem; }
.hrail__head .t-h3 { text-transform: uppercase; font-variation-settings: "wght" 880, "wdth" 108; letter-spacing: -.02em; }

.hrail__viewport { width: 100%; }
.hrail__track {
  display: flex;
  gap: 1.15rem;
  padding-inline: var(--gut);
  will-change: transform;
}

.hstage {
  flex: none;
  width: min(78vw, 400px);
  background: var(--paper-lt);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
  display: flex; flex-direction: column;
  transition: background-color .4s, transform .4s var(--ease);
}
.hstage:hover { transform: translateY(-6px); }
.hstage--terra { background: var(--terra); border-color: var(--terra); color: #fff; }

.hstage__n {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 115;
  font-size: 2.6rem; line-height: 1; letter-spacing: -.03em;
  color: var(--terra);
  display: block; margin-bottom: .9rem;
}
.hstage--terra .hstage__n { color: rgba(255,255,255,.55); }

.hstage__t {
  font-family: var(--f-display);
  font-variation-settings: "wght" 880, "wdth" 110;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1; letter-spacing: -.022em;
  margin-bottom: .85rem;
}
.hstage__d { color: var(--ink-60); font-size: .96rem; line-height: 1.55; margin-bottom: 1.3rem; }
.hstage--terra .hstage__d { color: rgba(255,255,255,.85); }

.hstage__l { margin-top: auto; display: grid; gap: .42rem; }
.hstage__l li {
  font-size: .85rem; color: var(--ink-80);
  padding-left: 1.15rem; position: relative;
}
.hstage__l li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--terra);
}
.hstage--terra .hstage__l li { color: rgba(255,255,255,.9); }
.hstage--terra .hstage__l li::before { background: #fff; }

/* touch / narrow: swipeable carousel instead of a pinned rail */
@media (max-width: 899px) {
  .hrail__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
  }
  .hrail__viewport::-webkit-scrollbar { height: 5px; }
  .hrail__viewport::-webkit-scrollbar-thumb { background: var(--ink-15); border-radius: 3px; }
  .hstage { scroll-snap-align: center; width: min(82vw, 350px); }
  .hrail__track { padding-right: var(--gut); }
}

/* ============================================================
   SERVICE TABS (services page)
   ============================================================ */
.svc-tabs {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative; z-index: 2;
}
.svc-tab {
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  padding: .8rem 1.5rem;
  font-family: var(--f-display);
  font-variation-settings: "wght" 780, "wdth" 100;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink);
  background: transparent;
  transition: background-color .35s, color .35s, transform .35s var(--ease);
}
.svc-tab:hover { transform: translateY(-3px); }
.svc-tab.is-active { background: var(--terra); border-color: var(--terra); color: #fff; }

.svc-panel { display: none; }
.svc-panel.is-active { display: block; animation: qIn .5s var(--ease) both; }

/* ============================================================
   WORK DETAIL (work page)
   ============================================================ */
.case {
  border-top: 3px solid var(--ink);
  padding-block: clamp(2rem, 4vw, 3.2rem);
  position: relative; z-index: 2;
}
.case__top { display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; margin-bottom: 1.2rem; }
.case__name {
  font-family: var(--f-display);
  font-variation-settings: "wght" 900, "wdth" 112;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: .95; letter-spacing: -.026em;
  color: var(--ink);
}
.case__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.case__meta span {
  background: var(--sand);
  border-radius: var(--r-pill);
  padding: .38rem .9rem;
  font-size: .78rem; color: var(--ink-80);
}
.case__grid { display: grid; gap: 1.6rem; }
@media (min-width: 860px) { .case__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
.case__grid h4 {
  font-family: var(--f-display);
  font-variation-settings: "wght" 780, "wdth" 100;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--terra); margin-bottom: .7rem;
}
.case__grid p { color: var(--ink-80); line-height: 1.62; }

/* ============================================================
   LEAD CAPTURE
   ============================================================ */

/* Honeypot — hidden from people, visible to bots that fill
   every field. Must not use display:none, which some bots skip. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* Soft gate under the Leak Finder result */
.leak-gate {
  border: 2px solid rgba(233,163,60,.45);
  background: rgba(233,163,60,.09);
  border-radius: var(--r-md);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.7rem;
  animation: qIn .5s var(--ease) both;
}
.leak-gate__h {
  font-family: var(--f-display);
  font-variation-settings: "wght" 820, "wdth" 104;
  text-transform: uppercase;
  font-size: .95rem; letter-spacing: -.01em;
  color: var(--amber);
  margin-bottom: .4rem;
}
.leak-gate__t {
  font-size: .92rem; line-height: 1.5;
  color: rgba(245,237,224,.72);
  margin-bottom: 1rem;
  max-width: 56ch;
}
.leak-gate__row { display: grid; gap: .6rem; }
@media (min-width: 780px) {
  .leak-gate__row { grid-template-columns: 1fr 1fr auto; align-items: center; }
}
.leak-gate input[type="text"] {
  background: rgba(245,237,224,.08);
  border: 2px solid rgba(245,237,224,.2);
  border-radius: var(--r-pill);
  padding: .8rem 1.15rem;
  color: var(--paper-lt);
  font-size: .95rem;
  width: 100%;
  transition: border-color .3s, background-color .3s;
}
.leak-gate input[type="text"]::placeholder { color: rgba(245,237,224,.42); }
.leak-gate input[type="text"]:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(245,237,224,.14);
}
.leak-gate button[disabled] { opacity: .6; cursor: default; }
.leak-gate__done {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--f-display);
  font-variation-settings: "wght" 750, "wdth" 100;
  font-size: .95rem;
  color: var(--amber);
}
.leak-gate__done svg { width: 1.1em; height: 1.1em; flex: none; }

/* Contact form success note */
.form__done {
  display: flex; align-items: flex-start; gap: .6rem;
  background: var(--sand);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: .95rem 1.15rem;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink);
}
.form__done svg { width: 1.15em; height: 1.15em; flex: none; color: var(--terra); margin-top: .18em; }

/* ============================================================
   FAQ PAGE
   Plain, visible markup on purpose — no accordions. AI search
   engines lift answers from a heading followed by a paragraph,
   and text hidden behind JavaScript is much harder for them
   to read. Everything here is present on load.
   ============================================================ */

.definition {
  background: var(--sand-lt);
  border: 2px solid var(--ink);
  border-left-width: 10px;
  border-left-color: var(--terra);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  position: relative;
  z-index: 2;
}
.definition h2 { text-transform: uppercase; margin-bottom: 1rem; }
.definition__body {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.62;
  color: var(--ink-80);
  max-width: 68ch;
}

.faq-group { margin-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; z-index: 2; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group__h {
  text-transform: uppercase;
  color: var(--terra);
  padding-bottom: .8rem;
  border-bottom: 3px solid var(--ink);
  margin-bottom: 1.8rem;
}

.qa-list { display: grid; gap: 1.6rem; }

.qa {
  border-left: 4px solid var(--ink-15);
  padding-left: clamp(1rem, 2vw, 1.5rem);
  transition: border-color .35s var(--ease);
}
.qa:hover { border-left-color: var(--terra); }

.qa__q {
  font-family: var(--f-display);
  font-variation-settings: "wght" 800, "wdth" 104;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.28;
  letter-spacing: -.014em;
  color: var(--ink);
  margin-bottom: .65rem;
}
.qa__a {
  color: var(--ink-80);
  font-size: 1.02rem;
  line-height: 1.68;
  max-width: 74ch;
}

.faq-close {
  background: var(--sand);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  position: relative; z-index: 2;
}
.faq-close h2 { text-transform: uppercase; margin-bottom: 1rem; }
.faq-close .lead { margin-inline: auto; }
