/* ═══════════════════════════════════════════
   FRIENDLY NEIGHBOR® — style.css
   paired palette · ochi curtain flow
   oswald + roboto condensed
   ═══════════════════════════════════════════ */

:root {
  /* paired palette — dark partner + light partner */
  --maroon:   #4F080C;  --pink:     #FFB0F1;
  --purple:   #3D1655;  --lavender: #D7ACFF;
  --rust:     #611D12;  --orange:   #ED7246;
  --forest:   #0C5740;  --lime:     #C3F03D;
  --brown:    #460C00;  --yellow:   #FFEC3D;
  --indigo:   #0F1172;  --sky:      #7ED6FB;

  --cream: #F1EFE7;
  --ink: #181310;
  --band-black: #100F0D;

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Roboto Condensed", "Arial Narrow", sans-serif;

  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --pad-y: clamp(4rem, 9vw, 8rem);

  /* z-scale: nav < loader < cursor */
  --z-nav: 50;
  --z-loader: 100;
  --z-cursor: 200;
}

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

html { scroll-behavior: smooth; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem);
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

p { max-width: 68ch; text-wrap: pretty; }
ul, ol { list-style: none; }
a { color: inherit; }
sup { font-size: 0.45em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

::selection { background: var(--ink); color: var(--cream); }

:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* ─────────── ochi curtain flow ───────────
   No pinning. script.js gives each block a parallax exit-lag, so the
   next block — later in paint order, rounded top corners — rides over
   the receding one. The ::after extends each block's own color far
   below it so the lagging block never exposes the page background
   through the incoming block's rounded corners. */
main > * {
  position: relative;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}
/* Sections extend their colour downward with a pseudo-element; bands do the
   same with a box-shadow (see .band). Without this, a block's rounded top
   corners expose the page background as a white/black sliver. */
main > section::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 100vh;
  background: inherit;
  pointer-events: none;
}

/* ─────────── custom cursor ─────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  mix-blend-mode: difference; /* stays legible on every section colour */
  opacity: 0;
  /* grown via width/height, never transform:scale — scaling a rasterised
     circle is what made the edge look pixelated */
  will-change: transform, width, height;
}
/* only on real pointers, and only when JS motion is on */
@media (hover: hover) and (pointer: fine) {
  .anim, .anim a, .anim button, .anim summary, .anim .card, .anim label { cursor: none; }
  /* text entry keeps its native caret — hiding it makes forms unusable */
  .anim input, .anim textarea, .anim select { cursor: auto; }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ─────────── links: underline sweep ─────────── */
.link {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 2px;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ─────────── buttons: pill w/ fill sweep ─────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: currentColor;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.85em 1.6em;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s ease;
  --btn-fill: var(--ink);
  --btn-label: var(--cream);
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: var(--btn-fill);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}
.btn:hover { color: var(--btn-label); }
.btn:hover::before { transform: translateY(0); }
/* arrow: stroke ≈ the stem width of the button's Oswald "I" */
.btn__arrow { display: inline-flex; transition: transform 0.35s ease; }
.btn__arrow svg { width: 1em; height: 1em; }
.btn__arrow svg path,
.btn__arrow svg line {
  fill: none;
  stroke: currentColor;
  stroke-width: 30;
  stroke-miterlimit: 10;
}
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--solid {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--cream);
  --btn-fill: var(--cream);
  --btn-label: var(--purple);
}

/* ─────────── pills ─────────── */
.pill {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.35em 1em;
}

/* ═══════════ PRELOADER (netflix-style rise) ═══════════
   A 100svh dark panel with the palette stripe stack attached below it.
   The whole unit translates up in one tween, so the stripes sweep
   through the viewport as the panel exits — exactly the mockup. */
.loader {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-loader);
  display: none; /* no-motion / no-js: loader never blocks content */
  will-change: transform;
}
.anim .loader { display: block; }
.loader__panel {
  position: relative;
  height: 100svh;
  background: var(--ink);
  color: var(--cream);
}
.loader__logo {
  position: absolute;
  top: clamp(1.25rem, 3vh, 2.5rem);
  left: var(--pad-x);
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.loader__phrase {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 3rem);
  left: var(--pad-x);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  opacity: 0.65;
}
.loader__count {
  position: absolute;
  /* same bottom as the phrase on the left, so they share a baseline */
  bottom: clamp(1.5rem, 4vh, 3rem);
  right: var(--pad-x);
  font-family: var(--font-head);
  font-size: clamp(6rem, 17vw, 15rem);
  font-weight: 700;
  line-height: 1; /* 0.85 was clipping the glyphs against the mask */
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  overflow: hidden; /* masks the slot-style exit of the number */
}
.loader__count-in { display: inline-block; }
.loader__bars i { display: block; height: 4.8vh; }
/* curved "lips" on the wipe edges — scaleY pulses during the rise so the
   edge bulges into a curve mid-flight and lands flat (curvy morph) */
.loader__lip {
  position: absolute;
  left: -8vw; right: -8vw;
  height: 13vh;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: scaleY(0);
  transform-origin: top center;
  pointer-events: none;
}
.loader__lip--panel { top: 100%; background: var(--ink); z-index: 2; }
.loader__lip--tail  { top: 100%; background: var(--lavender); }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad-x);
  mix-blend-mode: difference;
  color: #fff;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav--hidden { transform: translateY(-110%); }
.nav__logo {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.nav__links .link {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav__cta { font-weight: 600; }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--pad-y) + 3rem) var(--pad-x) 0;
  background: var(--cream);
}
.hero__title {
  font-size: clamp(3.4rem, 15.5vw, 6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: clamp(3rem, 8vh, 6rem);
}
@media (min-width: 900px) {
  .hero__title { font-size: clamp(6rem, 14vw, 15rem); }
}
.hero-line { display: block; overflow: hidden; }
.hero-line__in { display: flex; align-items: center; gap: 0.15em; }
.hero-line--indent { padding-left: clamp(2rem, 12vw, 14rem); }
.anim .hero-line__in { transform: translateY(110%); }

/* inline browser chip (ochi-style image chip) */
.hero-chip {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 1.45em;
  height: 0.72em;
  background: var(--orange);
  border-radius: 0.16em;
  padding: 0.07em 0.1em;
  gap: 0.05em;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-chip__dots { display: flex; gap: 0.045em; }
.hero-chip__dots i {
  width: 0.055em; height: 0.055em;
  border-radius: 50%;
  background: var(--rust);
  opacity: 0.9;
}
.hero-chip__bar {
  height: 0.09em;
  width: 85%;
  border-radius: 999px;
  background: var(--cream);
  opacity: 0.95;
}
.hero-chip__bar--short { width: 55%; }

.hero__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(24, 19, 16, 0.25);
  padding: 1.25rem 0 2rem;
}
.hero__note { font-size: 0.95rem; font-weight: 500; }

/* ═══════════ MARQUEE BANDS ═══════════ */
.band {
  overflow: hidden; /* clips the marquee */
  background: var(--band-bg);
  /* Colour extension below the band. A box-shadow is used instead of the
     ::after trick because overflow:hidden would clip a pseudo-element —
     shadows paint outside the box and add nothing to scrollWidth.
     The extra `+ 2rem` offset starts the fill BELOW the band's own rounded
     top corners; without it the shadow packed those notches with the band
     colour and the corners read as square. */
  box-shadow: 0 calc(60vh + 2rem) 0 60vh var(--band-bg);
  color: var(--cream);
  user-select: none;
  /* Slack below the marquee, tuned against lagPx (150px): 150 overlap
     minus 75 padding minus ~50px of line-box slack below the glyphs
     = the incoming section bites ~25px (~10%) into the type itself. */
  padding-bottom: 75px;
}
.band--maroon { --band-bg: var(--maroon); }
.band--black  { --band-bg: var(--band-black); }
.band--rust   { --band-bg: var(--rust); }
.band--brown  { --band-bg: var(--brown); }
.band--purple { --band-bg: var(--purple); }
.band--indigo { --band-bg: var(--indigo); }
.band--forest { --band-bg: var(--forest); }
.band__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.band__content {
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 15vw, 15rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.12;
  white-space: nowrap;
  padding-block: 0.06em;
}

/* ═══════════ SHARED SECTION BITS ═══════════ */
/* min bottom padding ≥ the curtain overlap (see lagPx in script.js) */
section { padding: var(--pad-y) var(--pad-x) max(var(--pad-y), 165px); }

.section-intro {
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  font-weight: 400;
  max-width: 52ch;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

/* word-split reveal plumbing */
.w { display: inline-block; overflow: hidden; vertical-align: top; }
.wi { display: inline-block; }
.anim .wi { transform: translateY(115%); }
.anim .fade-up { opacity: 0; transform: translateY(40px); }

/* ═══════════ MANIFESTO (pink / maroon) ═══════════ */
.manifesto { background: var(--pink); color: var(--maroon); }
.manifesto__kicker {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}
.manifesto__text {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
  max-width: 28ch;
  margin-bottom: clamp(3rem, 8vw, 6rem);
}
.manifesto__text u { text-decoration-thickness: 3px; text-underline-offset: 6px; }
.manifesto__cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.7fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid rgba(79, 8, 12, 0.35);
  padding-top: 2rem;
}
.manifesto__label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.manifesto__body { display: grid; gap: 1rem; }
.manifesto__body p { max-width: 46ch; }
.manifesto__socials { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }

/* ═══════════ SERVICES (cream) — straight overlapping row ═══════════ */
.services { background: var(--cream); }
.cards {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 2.5rem 3.5rem;
}
.card {
  position: relative;
  width: clamp(240px, 21.5vw, 330px);
  aspect-ratio: 3 / 3.9;
  border-radius: 1.5rem;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  rotate: var(--tilt); /* no-js fallback; gsap owns transforms when .anim */
}
.anim .card { rotate: none; }
.card + .card { margin-left: -3.25rem; }
/* hover interaction (straighten + pop + springy neighbor spread) lives in script.js */
.card h3 { font-size: clamp(1.5rem, 1.6vw, 1.85rem); font-weight: 600; line-height: 1.1; }
.card p { font-size: clamp(0.95rem, 1vw, 1.1rem); }
.card--pink     { background: var(--pink);     color: var(--maroon); }
.card--lavender { background: var(--lavender); color: var(--purple); }
.card--orange   { background: var(--orange);   color: var(--rust); }
.card--lime     { background: var(--lime);     color: var(--forest); }
.card--sky      { background: var(--sky);      color: var(--indigo); }

/* ═══════════ PROCESS (orange / rust) — horizontal scroll ═══════════ */
.process {
  background: var(--orange);
  color: var(--rust);
  padding: var(--pad-y) 0 0;
}
.process .section-intro { padding-inline: var(--pad-x); }
.section-intro--on-orange { color: var(--rust); }

/* default (no-js / reduced motion): plain horizontal swipe */
.process__sticky { overflow-x: auto; padding-bottom: var(--pad-y); }
.process__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  padding-inline: var(--pad-x);
}
/* animated: tall wrapper + sticky viewport, track driven by scroll.
   height is set in script.js from the real track width */
.anim .process__hwrap { height: 300vh; }
.anim .process__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 0;
}
.anim .process__track { height: min(74vh, 780px); }
.step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 2px solid var(--rust);
  padding-left: clamp(1.5rem, 2.5vw, 2.5rem);
  padding-right: clamp(2.5rem, 5vw, 5.5rem);
  width: clamp(360px, 46vw, 780px); /* wide panels = real horizontal travel */
  flex-shrink: 0;
}
.step__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(6rem, 26vh, 15rem);
  font-weight: 600;
  line-height: 0.85;
}
/* fixed body height so every step's heading lands on the same baseline,
   regardless of how many lines its paragraph wraps to */
.step__body { min-height: 13em; }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.6rem); margin-bottom: 0.85rem; }
/* reserve 4 lines so every heading and meta row lands on the same baseline
   across steps, whatever the copy length */
.step p { font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 42ch; min-height: 6.2em; }
.step__meta {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(97, 29, 18, 0.35);
}
.step__meta dt {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.65;
  margin-bottom: 0.2rem;
}
.step__meta dd { font-size: 1rem; font-weight: 500; }

/* ═══════════ PRICING (yellow / brown) ═══════════ */
.pricing { background: var(--yellow); color: var(--brown); }
.section-intro--on-yellow { color: var(--brown); }
.pricing__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid rgba(118, 85, 66, 0.35);
  padding-top: 1.75rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.pricing__steps h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.pricing__steps p { font-size: 0.98rem; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}
.price-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 1.5rem;
  padding: clamp(1.4rem, 2vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.price-card--flex {
  background: var(--brown);
  color: var(--cream);
}
/* must target the .btn itself — .btn declares its own --btn-fill, and a
   property set on the element always beats one inherited from the card */
.price-card--flex .btn {
  --btn-fill: var(--yellow);
  --btn-label: var(--brown);
}
.price-card__tag {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.35em 1em;
}
.price-card__tag--flex { background: var(--yellow); color: var(--brown); border-color: var(--yellow); }
.price-card h3 { font-size: clamp(1.4rem, 1.8vw, 1.75rem); }
.price-card__for { font-size: 0.96rem; }
.price-card__price {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
}
.price-card__price span {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.8;
}
.price-card ul { display: grid; gap: 0.5rem; font-size: 0.95rem; flex: 1; align-content: start; }
.price-card li { display: flex; gap: 0.5em; }
.price-card li::before { content: "→"; font-weight: 700; flex-shrink: 0; }
.price-card .btn { align-self: flex-start; }
.pricing__note { margin-top: 2.5rem; font-weight: 500; }

/* ═══════════ WORK (lavender / purple) — seamless stacked rows ═══════════ */
.work { background: var(--lavender); color: var(--purple); }
.work__heading { font-size: clamp(2.2rem, 5vw, 4.5rem); margin-bottom: 1.25rem; }
.project {
  position: sticky;
  top: 5rem; /* same offset for every row → each one seamlessly replaces the last */
  background: var(--lavender);
  border-top: 1px solid rgba(105, 43, 143, 0.35);
  display: grid;
  grid-template-columns: 1fr 1.44fr; /* media column +20% */
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  /* height follows the thumbnail instead of a fixed 74vh, which left big
     empty bands above and below the content */
  padding-block: clamp(2rem, 4vw, 3.25rem);
}
.project__info h3 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.95;
  margin-bottom: 1.25rem;
}
.project__info p { max-width: 40ch; margin-bottom: 1.25rem; }
.project__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.project__media {
  position: relative;
  display: block;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
}
.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* crop from the bottom, never the top — screenshots taken at an aspect
     taller than 16:8.5 would otherwise clip the site's nav bar */
  object-position: center top;
  display: block;
  transition: scale 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.project__media--live:hover img { scale: 1.06; }
/* "visit site" pill — appears centred over the thumbnail on hover */
.project__visit {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--purple);
  color: var(--lavender);
  border-radius: 999px;
  padding: 0.8em 1.6em;
  opacity: 0;
  scale: 0.85;
  transition: opacity 0.35s ease, scale 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.project__visit .btn__arrow svg path,
.project__visit .btn__arrow svg line {
  fill: none;
  stroke: currentColor;
  stroke-width: 30;
  stroke-miterlimit: 10;
}
.project__media--live:hover .project__visit { opacity: 1; scale: 1; }
.project__fill {
  width: 100%; height: 100%;
  background: var(--purple);
  display: grid;
  place-items: center;
  transition: scale 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.project__media:hover .project__fill { scale: 1.06; }
.project__fill span {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lavender);
  border: 1px solid var(--lavender);
  border-radius: 999px;
  padding: 0.5em 1.4em;
}

/* ═══════════ STORIES (sky / indigo) ═══════════ */
.stories { background: var(--sky); color: var(--indigo); }
.stories__heading { font-size: clamp(2.2rem, 5vw, 4.5rem); margin-bottom: 1.25rem; }
.stories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.story {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.story__stars { letter-spacing: 0.2em; }
/* pending testimonial — reads as a wink, not a missing review */
.story--pending { background: rgba(255, 255, 255, 0.45); border: 1.5px dashed var(--indigo); }
.story--pending p:first-child { font-style: italic; }
.story p { font-size: 1.05rem; }
.story footer { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; font-family: var(--font-head); letter-spacing: 0.05em; }

/* recognition — awwwards, on the section surface (no card) */
.recognition {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid rgba(15, 17, 114, 0.35);
  padding-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}
.recognition__intro h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  max-width: 18ch;
  margin-bottom: 0.9rem;
}
.recognition__intro p { max-width: 40ch; }
.recognition__award { text-align: left; }
.recognition__logo {
  width: clamp(96px, 10vw, 140px);
  height: auto;
  fill: currentColor;
  display: block;
  margin-bottom: 1.25rem;
}
.recognition__name {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 0.4rem;
}
.recognition__count { font-size: 1.05rem; }

/* ═══════════ FAQ (lime / forest) ═══════════ */
.faq {
  background: var(--lime);
  color: var(--forest);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch; /* both columns share the row height */
}
/* the cta box is pushed to the bottom so its lower edge lines up with the
   last question's rule */
.faq__left { display: flex; flex-direction: column; }
.faq__left h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  max-width: 15ch;
}
.faq__cta {
  margin-top: auto;
  background: var(--forest);
  color: var(--lime);
  border-radius: 1.5rem;
  padding: 1.75rem;
  display: grid;
  gap: 0.75rem;
}
.faq__cta strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
/* on the .btn itself — same shadowing rule as the pricing flex card */
.faq__cta .btn {
  justify-self: start;
  margin-top: 0.5rem;
  --btn-fill: var(--lime);
  --btn-label: var(--forest);
}
/* seamless list — rows divided by thin rules, no pills */
.faq__list { display: grid; gap: 0; align-content: start; }
.faq__list details { border-top: 1px solid rgba(12, 87, 64, 0.4); }
.faq__list details:last-child { border-bottom: 1px solid rgba(12, 87, 64, 0.4); }
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem); /* +25% */
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 1.35rem 0;
  transition: opacity 0.25s ease;
}
.faq__list summary:hover { opacity: 0.65; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary span { font-size: 1.6rem; line-height: 1; transition: rotate 0.3s ease; }
.faq__list details[open] summary span { rotate: 45deg; }
.faq__list details p { padding: 0 0 1.5rem; max-width: 60ch; overflow: hidden; }

/* ═══════════ CONTACT + FOOTER (lavender / purple) ═══════════ */
.contact-footer {
  background: var(--lavender);
  color: var(--purple);
  overflow: hidden;
}
.contact {
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact__left h2 { font-size: clamp(2.4rem, 5.5vw, 5rem); margin-bottom: 1.25rem; }
.contact__mail { margin-top: 2rem; font-weight: 500; }
.contact__form { display: grid; gap: 1.1rem; }
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.contact__form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: none;
  border-radius: 0.6rem;
  padding: 0.9em 1em;
  width: 100%;
}
.contact__form textarea { resize: vertical; }
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: rgba(24, 19, 16, 0.6); }
.contact__form .btn { justify-self: start; margin-top: 0.5rem; }
.contact__confirm { font-weight: 600; }
/* honeypot field — invisible to humans, irresistible to bots */
.hp { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; overflow: hidden; }

/* footer — each big line in its own white box, side column clear of it */
.footer {
  padding: clamp(2rem, 5vw, 4rem) var(--pad-x) 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 360px);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}
.footer__big {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 8.6vw, 8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--purple);
  max-width: none;
}
.footer__line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  background: #fff;
  padding: 0.02em 0.22em 0.08em;
  border-radius: 0.14em;
}
.footer__line + .footer__line { margin-top: -0.1em; }
.footer__line--i1 { margin-left: 15%; } /* "your most goated" is a longer line */
.footer__line--i2 { margin-left: 7%; }
/* two chunky arrows pointing up, matching the button arrows.
   `position:relative + top` nudges them onto the cap height without
   affecting the line box, so the white box still hugs the text. */
/* Sized off measured Oswald 600 metrics: cap height 0.81em, stem 0.16em.
   The square box + xMidYMid means the arrow's long axis renders at exactly
   the box width, so after rotate(-90deg) its height == the cap height.
   stroke 45 = 0.16em x 230.19 / 0.81 -> matches the stem of the "I". */
.footer__arrows {
  display: inline-flex;
  align-items: center;
  gap: 0.12em;
  margin-left: 0.2em;
}
/* hidden until the headline reveal pops them in (script.js), then they bob */
.anim .footer__arrows { opacity: 0; transform: translateY(18px); }
.footer__arrows svg {
  width: 0.81em;
  height: 0.81em;
  rotate: -90deg;
  flex: none;
}
.footer__arrows svg path,
.footer__arrows svg line {
  fill: none;
  stroke: currentColor;
  stroke-width: 45;
  stroke-miterlimit: 10;
}
.totop-arrow svg path,
.totop-arrow svg line {
  fill: none;
  stroke: currentColor;
  stroke-width: 30;
  stroke-miterlimit: 10;
}
.link--totop { display: inline-flex; align-items: center; gap: 0.2em; }
.totop-arrow {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  rotate: -90deg;
}
.totop-arrow svg { width: 100%; height: 100%; }
.footer__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 0.5rem;
}
.footer__eyes { display: flex; gap: 1rem; }
.eye {
  width: clamp(88px, 9vw, 132px);
  aspect-ratio: 1;
  background: var(--purple);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.eye::before {
  content: "";
  width: 55%; aspect-ratio: 1;
  background: var(--cream);
  border-radius: 50%;
}
.eye__pupil {
  position: absolute;
  width: 24%; aspect-ratio: 1;
  background: var(--purple);
  border-radius: 50%;
  will-change: transform;
}
.footer__pitch { font-size: 0.95rem; }
.footer__explore { font-size: 0.95rem; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.9rem;
}
.footer__logo {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
}
.footer__bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ═══════════ PRICING MODAL (yellow card, brown ink, white fields) ═══════════ */
.pmodal {
  border: none;
  padding: 0;
  background: transparent;
  width: min(600px, 94vw);
  max-height: 92vh;
  overflow: visible;
  margin: auto; /* the global reset zeroes the UA margin that centres dialogs */
}
.pmodal::backdrop {
  background: rgba(24, 19, 16, 0.55);
  backdrop-filter: blur(3px);
}
/* the top layer ignores z-index, so the custom cursor can't follow here —
   restore the native cursor inside the modal */
.anim .pmodal, .anim .pmodal * { cursor: auto; }
.anim .pmodal button, .anim .pmodal select { cursor: pointer; }
.pmodal__card {
  position: relative;
  background: var(--yellow);
  color: var(--brown);
  border-radius: 2rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-height: 92vh;
  overflow-y: auto;
}
.pmodal__close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--brown);
  padding: 0.25rem;
}
.pmodal__title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 0.6rem;
}
.pmodal__sub { margin-bottom: 1.5rem; max-width: 44ch; }
.pmodal__form { display: grid; gap: 1rem; }
.pmodal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pmodal__form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pmodal__opt { opacity: 0.6; font-weight: 400; letter-spacing: 0.04em; }
.pmodal__form input,
.pmodal__form select,
.pmodal__form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: none;
  border-radius: 0.6rem;
  padding: 0.85em 1em;
  width: 100%;
}
.pmodal__form textarea { resize: vertical; }
.pmodal__form input::placeholder,
.pmodal__form textarea::placeholder { color: rgba(24, 19, 16, 0.6); }
.pmodal__submit,
.pmodal__ok {
  justify-self: start;
  margin-top: 0.25rem;
  background: var(--brown);
  border-color: var(--brown);
  color: var(--yellow);
  --btn-fill: #fff;
  --btn-label: var(--brown);
}
.pmodal__note { font-size: 0.9rem; opacity: 0.8; }
.pmodal__error { font-weight: 600; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .pricing__steps { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 900px) {
  .manifesto__cols { grid-template-columns: 1fr; }
  .manifesto__socials { flex-direction: row; align-items: center; gap: 1rem; flex-wrap: wrap; }
  .project { grid-template-columns: 1fr; align-content: start; }
  .faq { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__row { grid-template-columns: 1fr; }
  .recognition { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; align-items: start; }
  .footer__big { font-size: clamp(2.2rem, 10vw, 4rem); }
  .nav__links .link:not(.nav__cta) { display: none; }
  /* cards stack plainly on small screens — no hover on touch anyway */
  .cards { flex-wrap: wrap; gap: 1.25rem; }
  .card { width: min(70vw, 260px); }
  .card + .card { margin-left: 0; }
  .step { width: min(80vw, 440px); }
  .step__num { font-size: clamp(5rem, 18vh, 9rem); }
}

@media (max-width: 600px) {
  .hero__title { font-size: 12.5vw; }
  .hero-line--indent { padding-left: 1.25rem; }
  .pmodal__row { grid-template-columns: 1fr; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  /* .anim class is never added when reduced motion is on (script.js),
     so reveal states stay visible, bands stay static, blocks don't
     parallax, and the process section falls back to a native swipe. */
  .project { position: static; }
}
