/* =========================================================
   ELLEVATTE V2 — fresh layout based on the reference design.
   Self-contained: replaces styles.css for this version.
   ========================================================= */

:root {
  --ink:        #0B0B0B;
  --ink-2:      #141414;
  --bone:       #EEECE2;
  --bone-2:     #E5E1D4;
  --bone-3:     #D8D3C2;
  --acid:       #D8FF3A;
  --acid-deep:  #B8DD16;
  --ash:        #8A8A8A;
  --ash-light:  #BCBCBC;
  --line-dark:  rgba(255,255,255,.09);
  --line-light: rgba(11,11,11,.10);

  --display: 'Satoshi', system-ui, sans-serif;
  --serif:   'Instrument Serif', Georgia, serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
  --hand:    'Caveat', cursive;

  --ease:     cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --pad:     clamp(20px, 5vw, 80px);
  --gut:     clamp(16px, 2vw, 32px);
  --max:     1480px;
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--display);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
::selection { background: var(--acid); color: var(--ink); }

/* =========================================================
   Grain (sits over flat colour surfaces)
   ========================================================= */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px var(--pad);
  position: sticky;
  top: 0;
  background: rgba(11,11,11,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  z-index: 40;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav__brand img { width: 30px; height: 30px; }
.nav__brand .wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--bone);
}
.nav__links {
  display: flex;
  justify-content: center;
  gap: 36px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -.005em;
  color: var(--bone);
}
.nav__links a { transition: color .25s var(--ease); }
.nav__links a:hover { color: var(--acid); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--acid);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.nav__cta svg { width: 14px; height: 14px; }
.nav__cta:hover { transform: translateX(3px); background: var(--bone); }

/* =========================================================
   Section helpers + margin-note
   ========================================================= */
.section { padding: clamp(72px, 9vh, 128px) var(--pad); position: relative; }
.section--bone { background: var(--bone); color: var(--ink); }
.section--bone::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.section__inner { max-width: var(--max); margin: 0 auto; position: relative; }

/* DESIGN.md §6 section indexing: "(NN) NAME". Number is acid on ink sections,
   ink on bone sections (acid against bone gets lost). */
.kicker {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ash);
  margin: 0 0 28px;
}
.kicker__num {
  color: var(--acid);
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.kicker__name { color: inherit; }
.section--bone .kicker { color: rgba(11,11,11,.55); }
.section--bone .kicker__num { color: var(--ink); }

/* Hand-drawn margin note (handwritten line + curved arrow pointing to a target) */
.margin-note {
  position: absolute;
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.2;
  color: var(--acid);
  pointer-events: none;
}
.section--bone .margin-note { color: var(--acid-deep); }
.margin-note__arrow {
  width: 72px;
  height: 64px;
  display: block;
  margin-top: 10px;
  color: inherit;
}

/* Acid-pill primary CTA */
.btn-acid {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  background: var(--acid);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.005em;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.btn-acid:hover { transform: translateX(3px); background: var(--bone); }
.btn-acid svg { width: 16px; height: 16px; }

/* Ghost CTA: text + circular play button + underline doodle on the text */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  color: var(--bone);
}
.btn-ghost__play {
  width: 42px;
  height: 42px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-ghost__play svg { width: 13px; height: 13px; }
.btn-ghost__label { position: relative; }
.btn-ghost__label svg.underline {
  position: absolute;
  left: -3%;
  bottom: -11px;
  width: 106%;
  height: 8px;
  color: var(--acid);
  pointer-events: none;
  overflow: visible;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  padding: clamp(56px, 7vh, 96px) var(--pad) clamp(48px, 6vh, 80px);
  position: relative;
  min-height: 80vh;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 32px;
}
.hero__eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--acid);
}

.hero__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 10vw, 168px);
  line-height: .92;
  letter-spacing: -.048em;
  margin: 0 0 40px;
  color: var(--bone);
}
.hero__title .line { display: block; }
.hero__title .em-line {
  position: relative;
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--acid);
  font-size: 1.05em;
  letter-spacing: -.02em;
}
.hero__title .em-line svg.underline {
  position: absolute;
  left: -3%;
  bottom: -5px;
  width: 106%;
  height: 14px;
  color: var(--acid);
  pointer-events: none;
  overflow: visible;
}
.hero__title .period { color: var(--acid); }

.hero__sub {
  max-width: 36ch;
  font-size: clamp(19px, 2vw, 32px);
  line-height: 1.4;
  letter-spacing: -.012em;
  color: var(--bone);
  margin: 0;
}
.hero__sub em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: -.01em;
  color: var(--acid);
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* Hero right column — subhead lives here now */
.hero__side {
  position: relative;
}

/* =========================================================
   BENEFITS MARQUEE — auto-scrolling band of outcomes
   ========================================================= */
.benefits {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: clamp(20px, 2.4vw, 32px) 0;
  /* fade the edges so items appear to enter / leave smoothly */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
}
.benefits__track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
  width: max-content;
  animation: benefits-scroll 38s linear infinite;
}
.benefits:hover .benefits__track { animation-play-state: paused; }
.benefits__item {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -.022em;
  line-height: 1;
  color: var(--bone);
  white-space: nowrap;
}
.benefits__sep {
  width: clamp(18px, 1.6vw, 24px);
  height: clamp(18px, 1.6vw, 24px);
  flex-shrink: 0;
  display: inline-block;
}
@keyframes benefits-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .benefits__track { animation: none; }
  .benefits { -webkit-mask-image: none; mask-image: none; }
}

/* =========================================================
   ABOUT — section + polaroid w/ masking tape + manifesto list
   ========================================================= */
.about__head {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-bottom: clamp(16px, 2vw, 32px);
}
.about__statement {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -.028em;
  margin: 0;
}
.about__statement em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: -.01em;
  color: var(--ink);
  white-space: nowrap;
}
.about__statement .ul-phrase {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.about__statement .ul-phrase svg.underline {
  position: absolute;
  left: -1.5%;
  bottom: -9px;
  width: 103%;
  height: 14px;
  color: var(--acid-deep);
  pointer-events: none;
  overflow: visible;
}
.about__sub {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  letter-spacing: -.005em;
  color: rgba(11, 11, 11, .72);
  max-width: 38ch;
  margin: clamp(24px, 3vw, 40px) 0 0;
}

.polaroid-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -36px;
}
.polaroid-wrap--left {
  justify-content: flex-end;
}
.polaroid {
  position: relative;
  width: min(440px, 100%);
  background: var(--bone);
  border: 1px solid var(--line-light);
  padding: 14px 14px 32px;
  transform: rotate(2.4deg);
  /* Subtle physical shadow — see §6 brand-note: deliberate exception for paper objects */
  box-shadow:
    0 14px 32px rgba(11, 11, 11, 0.10),
    0 4px 8px rgba(11, 11, 11, 0.05);
}
.polaroid::before {
  /* acid masking-tape strip — diagonal across the top-right corner */
  content: "";
  position: absolute;
  top: 10px;
  right: -55px;
  width: 160px;
  height: 28px;
  background: var(--acid);
  opacity: .85;
  z-index: 2;
  transform: rotate(42deg);
  transform-origin: center;
  clip-path: polygon(
    1% 14%, 8% 0%, 18% 12%, 32% 4%, 48% 10%, 62% 2%, 76% 12%, 88% 4%, 98% 12%, 100% 8%,
    99% 90%, 92% 100%, 80% 92%, 66% 100%, 52% 90%, 36% 98%, 22% 90%, 12% 100%, 2% 92%
  );
}
.polaroid__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.polaroid__photo svg,
.polaroid__photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
/* DESIGN.md §11: warm grayscale treatment — colour photography is banned in brand assets */
.polaroid__photo img { filter: grayscale(100%) contrast(1.08) sepia(0.08); }
.polaroid-wrap .margin-note {
  bottom: -28px;
  right: -56px;
  max-width: 150px;
}

/* =========================================================
   SERVICES — header + 5 rows
   ========================================================= */
.services__head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
  position: relative;
}
.services__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -.035em;
  margin: 0;
}
.services__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--acid);
  font-size: 1.04em;
  letter-spacing: -.015em;
}
.services__head .margin-note {
  position: static;
  text-align: right;
}
.services__head .margin-note__arrow { margin-left: auto; transform: scaleX(-1); }

.services__list {
  border-top: 1px solid var(--line-dark);
}
.service-row {
  display: grid;
  grid-template-columns: 40px 80px 1.4fr 1fr 48px;
  gap: clamp(20px, 2.4vw, 40px);
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: background .25s var(--ease);
}
.service-row:hover { background: var(--ink-2); }
.service-row__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--acid);
  margin-left: 8px;
}
.service-row__icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
}
.service-row__icon svg { width: 60px; height: 60px; }
.service-row__main h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 10px;
}
.service-row__main p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--ash-light);
  margin: 0;
  max-width: 56ch;
}
.service-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.service-row__tags li {
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ash-light);
}
.service-row__add {
  font-family: var(--display);
  font-weight: 300;
  font-size: 38px;
  line-height: 1;
  color: var(--ash);
  text-align: center;
}

/* =========================================================
   PROCESS — header + 4 horizontal steps with dashed arrows
   ========================================================= */
.process__head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.process__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.05;
  letter-spacing: -.028em;
  margin: 0;
}
.process__head .margin-note { position: static; text-align: right; }
.process__head .margin-note__arrow { margin-left: auto; transform: scaleX(-1); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.step__num {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.step__num .n {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 5.6vw, 88px);
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--ink);
}
.step__icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  color: var(--ink);
}
.step__arrow {
  width: 96px;
  height: 32px;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--ink);
  opacity: .55;
}
.step__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1;
  margin: 0 0 22px;
  letter-spacing: -.012em;
}
.step__name .ul-phrase {
  position: relative;
  display: inline-block;
}
.step__name .ul-phrase svg.underline {
  position: absolute;
  left: -2%;
  bottom: -13px;
  width: 104%;
  height: 10px;
  color: var(--acid-deep);
  pointer-events: none;
  overflow: visible;
}
.step__lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.25;
  letter-spacing: -.008em;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 30ch;
}
.step__body {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(11,11,11,.72);
  margin: 0 0 20px;
  max-width: 32ch;
}
.step__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.step__tags li {
  padding: 6px 12px;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(11,11,11,.6);
}

/* Section-level ledes (under titles, before the main content) */
.services__lede,
.process__lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  max-width: 50ch;
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.services__lede { color: var(--ash-light); }
.process__lede  { color: rgba(11,11,11,.6); }

/* =========================================================
   WORK — sticky-note case cards
   ========================================================= */
.work__head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: 16px;
}
.work__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.05;
  letter-spacing: -.028em;
  margin: 0;
}
.work__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: -.015em;
  color: var(--acid);
}
.work__title em .ul-phrase {
  position: relative;
  display: inline-block;
}
.work__title em .ul-phrase svg.underline {
  position: absolute;
  left: -2%;
  bottom: -9px;
  width: 104%;
  height: 12px;
  color: var(--acid);
  pointer-events: none;
  overflow: visible;
}
.work__head .margin-note { position: static; text-align: right; }
.work__head .margin-note__arrow { margin-left: auto; transform: scaleX(-1); }

.work__lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--ash-light);
  max-width: 50ch;
  margin: 0 0 clamp(48px, 5vw, 72px);
}

.work__cards-wrap {
  /* passthrough — cards span the full inner width */
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
}

/* The sticky-note card — whole card is a link */
.case-note {
  position: relative;
  background: var(--bone);
  color: var(--ink);
  padding: 56px 28px 30px;
  border-radius: 2px 2px 4px 22px / 2px 2px 6px 32px;
  box-shadow:
    0 2px 6px rgba(11, 11, 11, 0.10),
    0 12px 28px rgba(11, 11, 11, 0.14),
    inset 0 -22px 36px rgba(11, 11, 11, 0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.case-note--tilt-l { transform: rotate(-1.2deg); }
.case-note--tilt-r { transform: rotate(1deg); }

.case-note:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow:
    0 4px 10px rgba(11, 11, 11, 0.14),
    0 22px 40px rgba(11, 11, 11, 0.20),
    inset 0 -22px 36px rgba(11, 11, 11, 0.04);
}
.case-note--tilt-r:hover { transform: translateY(-6px) rotate(0.4deg); }
.case-note:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

/* Masking-tape strip across the top */
.case-note__tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-2.5deg);
  width: 130px;
  height: 20px;
  background: var(--acid);
  opacity: .82;
  z-index: 2;
  clip-path: polygon(
    1% 14%, 8% 0%, 18% 12%, 32% 4%, 48% 10%, 62% 2%, 76% 12%, 88% 4%, 98% 12%, 100% 8%,
    99% 90%, 92% 100%, 80% 92%, 66% 100%, 52% 90%, 36% 98%, 22% 90%, 12% 100%, 2% 92%
  );
}
.case-note--tilt-r .case-note__tape { transform: translateX(-50%) rotate(2deg); }

/* Header row: number bubble + category tag */
.case-note__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.case-note__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  padding: 0 10px;
  border: 1.4px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink);
}
.case-note__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}
.case-note__tag .ul-phrase {
  position: relative;
  display: inline-block;
}
.case-note__tag .ul-phrase svg.underline {
  position: absolute;
  left: -2%;
  bottom: -8px;
  width: 104%;
  height: 6px;
  color: var(--acid-deep);
  pointer-events: none;
  overflow: visible;
}

/* Title row: big title + doodle icon */
.case-note__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.case-note__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: .95;
  letter-spacing: -.04em;
  margin: 0;
}
.case-note__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--ink);
  margin-top: 4px;
}

/* Body copy with inline underlines on key numbers */
.case-note__body {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(11, 11, 11, .78);
  margin: 0;
  max-width: 38ch;
}
.case-note__body .ul-inline {
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: var(--ink);
}
.case-note__body .ul-inline svg.underline {
  position: absolute;
  left: -4%;
  bottom: -7px;
  width: 108%;
  height: 6px;
  color: var(--acid-deep);
  pointer-events: none;
  overflow: visible;
}

/* Stat row at the bottom of the card body */
.case-note__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(11, 11, 11, .12);
  list-style: none;
  margin: 0;
}
.case-note__stats li {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(11, 11, 11, .65);
}

/* "View case study →" visual cue (the whole card is the actual link) */
.case-note__link {
  display: inline-block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  margin-top: auto;
  transition: transform .25s var(--ease);
}
.case-note:hover .case-note__link {
  transform: translateX(4px);
}
.case-note__link .ul-phrase {
  position: relative;
  display: inline-block;
}
.case-note__link .ul-phrase svg.underline {
  position: absolute;
  left: -2%;
  bottom: -9px;
  width: 104%;
  height: 6px;
  color: var(--acid-deep);
  pointer-events: none;
  overflow: visible;
}

/* =========================================================
   STRIP CTA — slim bone band between Work and Testimonials
   ========================================================= */
.strip-cta {
  /* short vertical padding — meant to feel like a strip, not a section */
  padding-top: clamp(40px, 4.5vw, 56px);
  padding-bottom: clamp(40px, 4.5vw, 56px);
}
.strip-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.strip-cta__copy { display: flex; flex-direction: column; gap: 10px; }
.strip-cta__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0;
}
.strip-cta__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: -.015em;
  color: var(--ink);
}
.strip-cta__title em .ul-phrase {
  position: relative;
  display: inline-block;
}
.strip-cta__title em .ul-phrase svg.underline {
  position: absolute;
  left: -2%;
  bottom: -7px;
  width: 104%;
  height: 8px;
  color: var(--acid-deep);
  pointer-events: none;
  overflow: visible;
}
.strip-cta__sub {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.5;
  color: rgba(11, 11, 11, .65);
  margin: 0;
}
.strip-cta__cta { white-space: nowrap; }

/* =========================================================
   TESTIMONIALS — bone sticky-note quote cards on ink
   ========================================================= */
.testimonials__head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(56px, 6vw, 80px);
}
.testimonials__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.05;
  letter-spacing: -.028em;
  margin: 0;
}
.testimonials__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: -.015em;
  color: var(--acid);
}
.testimonials__title em .ul-phrase {
  position: relative;
  display: inline-block;
}
.testimonials__title em .ul-phrase svg.underline {
  position: absolute;
  left: -2%;
  bottom: -9px;
  width: 104%;
  height: 12px;
  color: var(--acid);
  pointer-events: none;
  overflow: visible;
}
.testimonials__lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--ash-light);
  max-width: 48ch;
  margin: 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 40px);
}

/* Featured quote spans both columns; smaller quotes sit side-by-side beneath */
.quote-note--featured { grid-column: 1 / -1; }

.quote-note {
  position: relative;
  background: var(--bone);
  color: var(--ink);
  padding: 56px 40px 36px;
  border-radius: 2px 2px 4px 22px / 2px 2px 6px 32px;
  box-shadow:
    0 2px 6px rgba(11, 11, 11, 0.10),
    0 12px 28px rgba(11, 11, 11, 0.14),
    inset 0 -22px 36px rgba(11, 11, 11, 0.04);
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
}
.quote-note--tilt-l { transform: rotate(-1deg); }
.quote-note--tilt-r { transform: rotate(0.8deg); }

/* Masking tape — same vocabulary as the work cards */
.quote-note__tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-2.5deg);
  width: 140px;
  height: 20px;
  background: var(--acid);
  opacity: .82;
  z-index: 2;
  clip-path: polygon(
    1% 14%, 8% 0%, 18% 12%, 32% 4%, 48% 10%, 62% 2%, 76% 12%, 88% 4%, 98% 12%, 100% 8%,
    99% 90%, 92% 100%, 80% 92%, 66% 100%, 52% 90%, 36% 98%, 22% 90%, 12% 100%, 2% 92%
  );
}
.quote-note--tilt-r .quote-note__tape { transform: translateX(-50%) rotate(2deg); }

/* Big acid opening quote mark — editorial flourish */
.quote-note__mark {
  position: absolute;
  top: 20px;
  left: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 88px;
  line-height: 1;
  color: var(--acid);
  pointer-events: none;
  user-select: none;
}
.quote-note--featured .quote-note__mark { font-size: 120px; left: 36px; top: 28px; }

/* DESIGN.md §12: client quotes use Instrument Serif italic; Caveat is reserved for
   Elliott's own handwritten working notes, not third-party words. */
.quote-note__body {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0;
  padding-top: 24px;
}
.quote-note--featured .quote-note__body {
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.25;
  letter-spacing: -.015em;
  max-width: 36ch;
  padding-top: 32px;
}
.quote-note__body .ul-inline {
  position: relative;
  display: inline-block;
}
.quote-note__body .ul-inline svg.underline {
  position: absolute;
  left: -3%;
  bottom: -7px;
  width: 106%;
  height: 6px;
  color: var(--acid-deep);
  pointer-events: none;
  overflow: visible;
}

.quote-note__attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 11, 11, .12);
}
.quote-note__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.005em;
  color: var(--ink);
}
.quote-note__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(11, 11, 11, .58);
}

/* =========================================================
   FAQ — bone, 2-col, native <details>/<summary> accordion
   ========================================================= */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 120px);
  align-items: start;
}

.faq__head { position: relative; }
.faq__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 24px;
}
.faq__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: -.015em;
  color: var(--acid-deep);
}
.faq__title em .ul-phrase {
  position: relative;
  display: inline-block;
}
.faq__title em .ul-phrase svg.underline {
  position: absolute;
  left: -2%;
  bottom: -7px;
  width: 104%;
  height: 12px;
  color: var(--acid-deep);
  pointer-events: none;
  overflow: visible;
}
.faq__lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: rgba(11,11,11,.65);
  max-width: 26ch;
  margin: 0 0 64px;
}
.faq__lede .ul-phrase {
  position: relative;
  display: inline-block;
}
.faq__lede .ul-phrase svg.underline {
  position: absolute;
  left: -2%;
  bottom: -7px;
  width: 104%;
  height: 6px;
  color: var(--acid-deep);
  pointer-events: none;
  overflow: visible;
}

/* FAQ list — native accordion */
.faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(11,11,11,.18);
}
.faq__item-wrap {
  border-bottom: 1px solid rgba(11,11,11,.18);
}
.faq__item {
  /* native details element */
}
.faq__q {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  border: 1.4px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink);
  flex-shrink: 0;
}
.faq__qtext {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 1.4vw, 22px);
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.3;
}
.faq__toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .25s var(--ease);
}
.faq__toggle::before { /* horizontal bar */
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}
.faq__toggle::after { /* vertical bar — disappears when open */
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}
.faq__item[open] .faq__toggle::after { transform: translateX(-50%) scaleY(0); }

.faq__a {
  padding: 0 24px 28px calc(44px + 24px); /* indent to align with question text */
  position: relative;
}
.faq__a::before {
  /* acid left rule indicating the open state */
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 28px;
  width: 1.5px;
  background: var(--acid);
}
.faq__a p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(11,11,11,.78);
  margin: 0;
  max-width: 62ch;
}

/* =========================================================
   CTA section (bone)
   ========================================================= */
.cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
.cta__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 1;
  letter-spacing: -.04em;
  margin: 0;
}
.cta__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  color: var(--bone);
}
.cta__title em .ul-phrase {
  position: relative;
  display: inline-block;
}
.cta__title em .ul-phrase svg.underline {
  position: absolute;
  left: -3%;
  bottom: -5px;
  width: 106%;
  height: 14px;
  color: var(--acid);
  pointer-events: none;
  overflow: visible;
}
.cta__sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ash-light);
  max-width: 48ch;
  margin: 0;
}
.cta__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.cta__phone {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(238,236,226,.55);
  margin: 0;
  max-width: 26ch;
}
.cta__phone a {
  color: var(--bone);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--acid);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.cta__phone a:hover { text-decoration-color: var(--bone); }

/* =========================================================
   Footer
   ========================================================= */
.foot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px var(--pad);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  color: var(--bone);
}
.foot__brand { display: inline-flex; align-items: center; gap: 12px; }
.foot__brand img { width: 28px; height: 28px; }
.foot__brand .wordmark { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; color: var(--bone); }
.foot__nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
}
.foot__nav a { color: var(--ash-light); transition: color .25s var(--ease); }
.foot__nav a:hover { color: var(--acid); }
.foot__socials { display: flex; gap: 16px; }
.foot__socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.foot__socials a:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.foot__socials svg { width: 16px; height: 16px; }

/* =========================================================
   Reveal on scroll + nav scroll state + active section link
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

.nav.is-scrolled {
  background: rgba(11, 11, 11, .92);
  border-bottom-color: rgba(255, 255, 255, .18);
}
.nav.is-scrolled,
.nav { transition: background .3s var(--ease), border-color .3s var(--ease); }

.nav__links a.is-active { color: var(--acid); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .hero,
  .about__head,
  .services__head,
  .process__head,
  .work__head { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: 1fr; }
  .trust__row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step__arrow { display: none; }
  .cta { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; text-align: left; }
  .foot__nav { justify-content: flex-start; }
  .foot__socials { justify-content: flex-start; }
  .hero__viz .margin-note { right: 0; top: -8%; }
  .polaroid-wrap .margin-note { bottom: -56px; right: 0; }

  /* Work: cards become a single column */
  .case-grid { grid-template-columns: 1fr; gap: 28px; }
  .case-note--tilt-l,
  .case-note--tilt-r { transform: none; }

  /* Testimonials: stack to single column */
  .testimonials__head { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; gap: 28px; }
  .quote-note--tilt-l,
  .quote-note--tilt-r { transform: none; }

  /* Strip CTA: stack copy + button */
  .strip-cta__inner { grid-template-columns: 1fr; }
  .strip-cta__cta { justify-self: start; }

  /* FAQ: stack head + list */
  .faq__grid { grid-template-columns: 1fr; }

  /* Mobile nav: hide section links (one-pager — user scrolls), keep CTA top-right */
  .nav__links { display: none; }

  /* Margin notes: left-align on mobile (matches rest of the left-aligned layout) */
  .services__head .margin-note,
  .process__head .margin-note,
  .work__head .margin-note { text-align: left; }
  /* Hand-drawn doodle arrows are cluttered on mobile — hide them */
  .margin-note__arrow { display: none; }

  /* Polaroid: breathing room above/below when it stacks below the statement,
     plus center-align and shrink slightly so the 2.4deg rotation doesn't push
     the corners past the viewport edge. */
  .polaroid-wrap { margin-top: 32px; margin-bottom: 24px; }
  .polaroid-wrap--left { justify-content: center; }
  .polaroid { width: min(380px, calc(100% - 32px)); transform: rotate(1.6deg); }

  /* Approach: give each stacked step a hairline divider + smaller icon */
  .step { padding-bottom: 32px; border-bottom: 1px solid var(--line-light); }
  .step:last-child { border-bottom: 0; padding-bottom: 0; }
  .step__icon { width: 48px; height: 48px; }
  .step__num .n { font-size: clamp(56px, 14vw, 80px); }
}

/* Pull the polaroid masking-tape strip back inside the viewport on narrow screens */
@media (max-width: 700px) {
  .polaroid::before {
    right: -10px;
    width: 120px;
  }
}

/* FAQ: tighter question row spacing so longer questions don't get squeezed */
@media (max-width: 600px) {
  .faq__q { gap: 12px; }
  .faq__num { width: 36px; height: 28px; font-size: 11px; }
  .faq__a { padding-left: calc(36px + 12px); }
  .faq__a::before { left: 16px; }
}

@media (max-width: 720px) {
  /* Hero h1 underline reads proportionally heavier at the mobile font size,
     so drop it further below the text to give the descenders breathing room. */
  .hero__title .em-line svg.underline { bottom: -12px; }

  /* Lift the primary hero CTA out of the button stack and pin it to the
     top-right corner of the hero. Vertically aligns with the eyebrow.
     The ghost "See how I work" link stays in flow below the headline. */
  .hero__ctas .btn-acid {
    position: absolute;
    top: clamp(56px, 7vh, 88px);
    right: var(--pad);
    padding: 11px 18px;
    font-size: 13px;
    gap: 8px;
    z-index: 5;
  }
  .hero__ctas .btn-acid svg { width: 13px; height: 13px; }

  /* Service rows: 2-column layout (icon top-aligned with header + main content).
     Drops the decorative dot + plus-sign indicator that overcrowd at this width. */
  .service-row {
    grid-template-columns: 44px 1fr;
    align-items: start;
    column-gap: 24px;
    row-gap: 10px;
    padding: 28px 0;
  }
  .service-row__dot { display: none; }
  .service-row__add { display: none; }
  .service-row__icon { width: 44px; height: 44px; margin-top: 2px; }
  .service-row__icon svg { width: 40px; height: 40px; }
  .service-row__tags {
    grid-column: 2;
    justify-content: flex-start;
    padding-top: 8px;
    flex-wrap: wrap;
    gap: 6px;
  }
}
