/* ---------- Tokens ---------- */
:root {
  --bg: #fafaf7;
  --bg-elev: #ffffff;
  --ink: #141414;
  --ink-2: #2e2e2e;
  --ink-3: #6b6b6b;
  --line: #e7e4dc;
  --brand: #003e96;
  --brand-ink: #ffffff;
  --accent: #ff5a1f;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
strong { font-weight: 700; }
em { font-style: italic; }

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

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 100; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring {
  position: fixed; top: 0; left: 0; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__dot {
  width: 6px; height: 6px; background: #fff;
  transition: transform .25s var(--ease-out), opacity .2s;
}
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.9);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), opacity .2s;
}
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; }
.cursor.is-hidden .cursor__dot,
.cursor.is-hidden .cursor__ring { opacity: 0; }
body.has-cursor, body.has-cursor * { cursor: none !important; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__mark {
  display: inline-flex; align-items: center;
  color: var(--ink);
  transition: color .3s var(--ease), transform .4s var(--ease-out);
}
.nav__mark:hover { color: var(--brand); transform: scale(1.06); }
.nav__logo { height: 26px; width: auto; display: block; }
.nav__links {
  display: flex; gap: 28px; font-size: 14px; color: var(--ink-2);
}
.nav__links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover { color: var(--brand); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
  transition: background .3s, transform .3s var(--ease-out);
}
.nav__cta:hover { background: var(--brand); }
@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 140px var(--gutter) 80px;
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 20px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--ink-2); width: max-content;
  background: var(--bg-elev);
}
.hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #2fbd5a;
  box-shadow: 0 0 0 4px rgba(47,189,90,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 8.2vw, 120px);
  line-height: .98; letter-spacing: -0.035em;
  margin: 0;
  white-space: nowrap;
}
.hero__title em { color: var(--brand); font-style: italic; }
.hero__title .line { display: block; overflow: hidden; padding: 0 0 .05em; }
.hero__title .line__inner {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1s var(--ease-out) forwards;
}
.hero__title .line:nth-child(2) .line__inner { animation-delay: .15s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__tag {
  position: relative; display: inline-block; width: max-content; max-width: 100%;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--ink-2); margin: 10px 0 0;
}
.hero__underline {
  position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--brand); transform-origin: left;
  transform: scaleX(0); animation: sweep 1.4s .9s var(--ease-out) forwards;
}
@keyframes sweep { to { transform: scaleX(1); } }

.hero__pitch {
  max-width: 720px; color: var(--ink-2);
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55;
  margin: 12px 0 0;
}
.hero__meta {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  color: var(--ink-3); font-size: 14px; margin-top: 18px;
}
.hero__meta a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--ink); color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease-out);
}
.hero__meta a:hover { background: var(--ink); color: #fff; }
.hero__meta .sep { opacity: .4; }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 32px;
  width: 1px; height: 64px; background: var(--line); overflow: hidden;
}
.hero__scroll span {
  display: block; width: 1px; height: 40%; background: var(--ink);
  animation: scrollCue 2.4s var(--ease) infinite;
}
@keyframes scrollCue { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ---------- Sections ---------- */
.section {
  max-width: var(--max); margin: 0 auto;
  padding: 48px var(--gutter);
  position: relative; z-index: 2;
}
.section__head {
  display: grid; grid-template-columns: auto 1fr; gap: 8px 24px;
  align-items: baseline; margin-bottom: 56px;
}
.section__num {
  font-family: var(--serif); font-style: italic;
  color: var(--brand); font-size: 18px;
}
.section__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0; grid-column: 2;
}
.section__title::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 56px; height: 2px; background: var(--brand);
  margin-right: 18px; transform-origin: left;
  transform: scaleX(0); transition: transform .9s var(--ease-out) .1s;
}
.section__head.in-view .section__title::before { transform: scaleX(1); }
.section__sub {
  grid-column: 2; color: var(--ink-3); max-width: 620px;
  margin: 8px 0 0; font-size: 15px;
}

/* ---------- About ---------- */
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px;
  align-items: start;
}
.about__lede {
  grid-column: 1 / -1; max-width: 900px;
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35;
  font-family: var(--serif); font-weight: 300; color: var(--ink);
  margin: 0;
}
.about__quote {
  grid-column: 1 / span 1;
  margin: 0; padding: 28px 32px;
  border-left: 3px solid var(--brand);
  background: var(--bg-elev); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-2); font-size: 16px; line-height: 1.6;
  box-shadow: 0 1px 0 var(--line);
}
.about__quote em { color: var(--brand); font-style: italic; font-weight: 500; }
.about__stats {
  grid-column: 2 / span 1; list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.about__stats li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-elev);
  transition: transform .4s var(--ease-out), border-color .3s;
}
.about__stats li:hover { transform: translateY(-4px); border-color: var(--ink); }
.stat__num {
  font-family: var(--serif); font-size: 38px; font-weight: 500;
  color: var(--brand); line-height: 1;
}
.stat__label { font-size: 13px; color: var(--ink-3); }
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__quote, .about__stats { grid-column: 1 / -1; }
}

/* ---------- Work cards ---------- */
.work__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.card {
  position: relative; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  background: var(--bg-elev); overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .3s, box-shadow .3s;
  will-change: transform;
}
.card:hover { border-color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.card__thumb {
  aspect-ratio: 16 / 9; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 20px;
}
.card__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1000px 300px at 20% 100%, rgba(255,255,255,.35), transparent 60%);
  pointer-events: none;
}
.card__thumb--a { background: url("img/work-chatbot.svg") center/cover no-repeat; }
.card__thumb--b { background: url("img/work-design-system.svg") center/cover no-repeat; }
.card__thumb--c { background: url("img/work-onboarding.svg") center/cover no-repeat; }
.card__thumb--d { background: url("img/work-mobile-growth.svg") center/cover no-repeat; }
.card__thumb--e { background: url("img/work-contact-360.svg") center/cover no-repeat; }
.card__thumb--f { background: url("img/work-booking.svg") center/cover no-repeat; }
.card__thumb--g { background: url("img/work-pulse.svg") center/cover no-repeat; }
.card__thumb--h { background: url("img/work-bwise.svg") center/cover no-repeat; }
.card__thumb--i { background: url("img/work-mobilestar.svg") center/cover no-repeat; }
.card__thumb--j { background: url("img/work-simpliclaim.svg") center/cover no-repeat; }
.chip {
  position: relative; z-index: 1;
  display: inline-block; padding: 6px 12px;
  background: rgba(255,255,255,.92); color: var(--ink);
  border-radius: 999px; font-size: 12px; font-weight: 500;
}
.card__thumb--b .chip { background: rgba(20,20,20,.92); color: #fff; }
.card__body { padding: 22px 24px 26px; }
.card__meta {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px;
}
.card__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 2vw, 26px); line-height: 1.2;
  margin: 0 0 10px;
}
.card__desc { color: var(--ink-2); font-size: 15px; margin: 0 0 16px; }
.card__desc strong { color: var(--brand); font-weight: 600; }
.card__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.card__tags span {
  font-size: 12px; color: var(--ink-3);
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
}

/* Clickable card */
.card__link { position: absolute; inset: 0; z-index: 3; }
.card--link { cursor: pointer; }
.card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--brand);
}
.card__cta svg { transition: transform .3s var(--ease-out); }
.card--link:hover .card__cta svg { transform: translateX(4px); }

@media (max-width: 820px) { .work__grid { grid-template-columns: 1fr; } }

/* ---------- Experience timeline ---------- */
.timeline {
  list-style: none; padding: 0; margin: 0;
  position: relative; padding-left: 48px;
}
.timeline__rail {
  position: absolute; top: 12px; bottom: 12px; left: 12px;
  width: 2px; background: var(--line); border-radius: 2px;
}
.timeline__fill {
  position: absolute; left: 0; top: 0; width: 100%;
  background: var(--brand); height: 0%;
  transition: height .15s linear;
}
.timeline__item {
  position: relative;
  padding: 12px 0 56px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__node {
  position: absolute; left: -42px; top: 22px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--ink);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.timeline__item.in-view .timeline__node {
  background: var(--brand); border-color: var(--brand);
  box-shadow: 0 0 0 6px rgba(0,62,150,.15);
}
.timeline__head {
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; align-items: baseline;
}
.timeline__head h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(20px, 2vw, 26px); margin: 0;
}
.timeline__head h3 .sep { color: var(--ink-3); margin: 0 4px; }
.timeline__head h3 .loc { color: var(--ink-3); font-weight: 400; font-size: .85em; font-style: italic; }
.timeline__dates {
  font-size: 13px; color: var(--ink-3); letter-spacing: .03em;
}
.timeline__role {
  font-style: italic; color: var(--ink-2); margin: 6px 0 14px; font-size: 14px;
}
.timeline__bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.timeline__bullets li {
  position: relative; padding-left: 18px;
  color: var(--ink-2); font-size: 15px; line-height: 1.55;
}
.timeline__bullets li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.timeline__bullets strong { color: var(--ink); }

/* ---------- Mentorship ---------- */
.mentorship__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 56px;
  align-items: start;
}
.mentorship__lede {
  margin: 0; max-width: 760px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; color: var(--ink);
}
.mentorship__lede strong { color: var(--brand); font-weight: 500; }
.mentorship__note {
  margin: 0; padding: 24px 28px;
  border-left: 3px solid var(--brand);
  background: var(--bg-elev); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-2); font-size: 16px; line-height: 1.6;
  box-shadow: 0 1px 0 var(--line);
}
@media (max-width: 820px) {
  .mentorship__grid { grid-template-columns: 1fr; }
}

/* ---------- Tools / marquee ---------- */
.marquee {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  margin-bottom: 48px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}
.marquee__track {
  display: inline-flex; gap: 28px;
  padding: 22px 0;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--serif); font-size: clamp(22px, 3vw, 40px);
  color: var(--ink); font-style: italic;
}
.marquee__track span:nth-child(even) { color: var(--brand); font-family: var(--sans); font-style: normal; font-weight: 500; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tools__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.tools__col h4 {
  font-family: var(--serif); font-weight: 500; font-size: 18px;
  margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.tools__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.tools__col li { color: var(--ink-2); font-size: 14px; }
@media (max-width: 820px) { .tools__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tools__grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials / carousel ---------- */
.tm { position: relative; }
.tm__track {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 24px;
  margin: 0 -4px;
  scrollbar-width: none;
}
.tm__track::-webkit-scrollbar { display: none; }
.tm__card {
  flex: 0 0 min(440px, 86%);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 30px 32px;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  background: var(--bg-elev);
  margin: 0;
}
.tm__stars { color: var(--brand); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.tm__quote {
  font-size: 16px; line-height: 1.6; color: var(--ink-2);
  margin: 0 0 22px; flex: 1;
}
.tm__quote::before { content: "\201C"; }
.tm__quote::after { content: "\201D"; }
.tm__person { display: flex; align-items: center; gap: 14px; }
.tm__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  font-family: var(--serif); font-weight: 600; font-size: 16px;
}
.tm__name { display: block; font-weight: 600; font-size: 15px; color: var(--ink); }
.tm__role { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.tm__controls { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.tm__nav {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg-elev); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease-out);
}
.tm__nav:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tm__nav:disabled { opacity: .35; cursor: default; }
.tm__nav:disabled:hover { background: var(--bg-elev); color: var(--ink); border-color: var(--line); }
.tm__dots { display: flex; gap: 8px; margin-left: auto; }
.tm__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); border: none; padding: 0; cursor: pointer; transition: background .3s, transform .3s; }
.tm__dot.is-active { background: var(--brand); transform: scale(1.3); }
@media (max-width: 700px) { .tm__dots { display: none; } }

/* ---------- Contact ---------- */
.contact { padding-bottom: 160px; }
.contact .section__title { color: var(--ink); max-width: 900px; }
.contact__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.contact__card {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-elev);
  transition: border-color .3s, transform .3s var(--ease-out), background .3s;
  will-change: transform;
}
.contact__card:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.contact__label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.contact__card:hover .contact__label { color: rgba(255,255,255,.6); }
.contact__value { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); }
@media (max-width: 700px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Case study page ---------- */
.cs-hero {
  max-width: var(--max); margin: 0 auto;
  padding: 130px var(--gutter) 40px;
}
.cs-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-3); margin-bottom: 40px;
  transition: color .2s, gap .3s var(--ease-out);
}
.cs-back:hover { color: var(--brand); gap: 12px; }
.cs-eyebrow {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 20px;
}
.cs-eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.cs-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 6vw, 76px); line-height: 1.04; letter-spacing: -0.025em;
  margin: 0; max-width: 16ch;
}
.cs-title em { color: var(--brand); font-style: italic; }
.cs-lede {
  max-width: 760px; margin: 24px 0 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(19px, 2vw, 25px); line-height: 1.4; color: var(--ink-2);
}
.cs-cover {
  max-width: var(--max); margin: 40px auto 0; padding: 0 var(--gutter);
}
.cs-cover__inner {
  aspect-ratio: 16 / 7; border-radius: calc(var(--radius) + 6px);
  background: url("img/work-chatbot.svg") center/cover no-repeat;
  border: 1px solid var(--line);
}
.cs-body {
  max-width: 820px; margin: 0 auto; padding: 72px var(--gutter) 40px;
}
.cs-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 0 0 48px; margin: 0 0 48px; border-bottom: 1px solid var(--line);
}
.cs-meta div span { display: block; }
.cs-meta .k { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 6px; }
.cs-meta .v { font-size: 15px; color: var(--ink); }
.cs-block { margin: 0 0 48px; }
.cs-block h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 16px; letter-spacing: -0.01em;
}
.cs-block p { color: var(--ink-2); font-size: 17px; line-height: 1.65; margin: 0 0 14px; }
.cs-block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.cs-block li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.cs-block li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.cs-block strong { color: var(--ink); }
.cs-results {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 0;
}
.cs-results li {
  list-style: none; padding: 24px 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg-elev);
}
.cs-results li::before { display: none; }
.cs-results .n { font-family: var(--serif); font-size: 34px; color: var(--brand); line-height: 1; display: block; margin-bottom: 8px; }
.cs-results .l { font-size: 13px; color: var(--ink-3); }
.cs-block .cs-note { font-size: 15px; line-height: 1.6; color: var(--ink-3); margin: 40px 0 0; }
.cs-next {
  max-width: 820px; margin: 0 auto; padding: 24px var(--gutter) 120px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.cs-next a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--ink);
  font-size: 14px; transition: background .3s var(--ease), color .3s var(--ease);
}
.cs-next a:hover { background: var(--ink); color: #fff; }
@media (max-width: 640px) {
  .cs-meta, .cs-results { grid-template-columns: 1fr 1fr; }
}

/* Case study CTA */
.cs-cta {
  margin: 8px auto 56px;
  max-width: min(880px, calc(100% - 2 * var(--gutter)));
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  background: var(--bg-elev); text-align: center;
}
.cs-cta__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.cs-cta__title em { color: var(--brand); font-style: italic; }
.cs-cta__text {
  color: var(--ink-2); font-size: 16px; line-height: 1.6;
  margin: 0 auto 26px; max-width: 54ch;
}
.cs-cta__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 500;
  transition: background .3s var(--ease), transform .3s var(--ease-out);
}
.cs-cta__btn:hover { background: var(--brand); }
.cs-cta__btn svg { transition: transform .3s var(--ease-out); }
.cs-cta__btn:hover svg { transform: translateX(4px); }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--max); margin: 0 auto;
  padding: 24px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  text-align: center;
  font-size: 13px; color: var(--ink-3);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line__inner { transform: none; }
  .hero__underline { transform: scaleX(1); }
  .marquee__track { animation: none; }
  .cursor { display: none; }
}
