/* =========================================================
   Co-Scaler — landing page
   Brand: Bebas Neue (display) · TikTok Sans (body)
   ========================================================= */

@font-face { font-family: "Bebas Neue"; src: url("../assets/fonts/BebasNeue-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TikTok Sans"; src: url("../assets/fonts/TikTokSans-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TikTok Sans"; src: url("../assets/fonts/TikTokSans-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "TikTok Sans"; src: url("../assets/fonts/TikTokSans-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "TikTok Sans"; src: url("../assets/fonts/TikTokSans-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --black: #000;
  --ink: #070707;
  --ink-2: #111214;
  --card: #151517;
  --line: #1d1e1d;
  --line-2: #2a2b2c;
  --mist: #eeeeec;
  --white: #fff;
  --grey-1: #9a9a9a;
  --grey-2: #636362;
  --grey-3: #4d4c4c;
  --green: #a9eec6;
  --blue: #016eef;

  --f-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --f-body: "TikTok Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 12px;
  --nav-h: 80px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Shared ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey-1);
}
.eyebrow--dark { color: #1d1e1d; letter-spacing: .1em; font-size: 11px; }
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none;
  box-shadow: 0 0 0 3px rgba(169, 238, 198, .15), 0 0 10px rgba(169, 238, 198, .6);
}

.display {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 6.2vw, 80px); line-height: .92; letter-spacing: .005em;
}
.display--dark { color: var(--black); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-weight: 500; border-radius: 4px;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--mist); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 255, 255, .08); }
.btn--sm { padding: 8px 18px; font-size: 15px; }
.btn--lg { padding: 17px 32px; font-size: 17px; }
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(7, 7, 7, .88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.nav__logo img { width: 230px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { color: var(--grey-1); font-size: 15px; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links .btn { margin-left: 2px; }
.nav__toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--white); transition: transform .25s, top .25s; }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav.is-open .nav__toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "content visual" "stats stats";
  padding-top: clamp(64px, 9vw, 120px);
}
.hero__content { grid-area: content; position: relative; z-index: 2; padding-bottom: 72px; }
.hero__title {
  margin-top: 18px;
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(64px, 9.6vw, 128px); line-height: .9; letter-spacing: .003em;
  background: linear-gradient(180deg, #ffffff 0%, #f1f1f1 45%, #b8b7b7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.hero__lead { margin-top: 32px; max-width: 580px; color: var(--grey-1); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.hero__lead strong { color: var(--white); font-weight: 400; }
.hero__content .btn { margin-top: 40px; }

.hero__visual { grid-area: visual; position: relative; z-index: 1; min-height: 100%; }
.hero__portrait {
  position: absolute; bottom: -260px; left: 50%; transform: translateX(-38%);
  width: min(560px, 46vw); max-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%);
          mask-image: linear-gradient(180deg, #000 70%, transparent 98%);
  pointer-events: none;
}
.founder-card {
  position: absolute; right: 0; top: 56%;
  width: 196px; padding: 14px 14px 12px;
  background: rgba(17, 18, 20, .82);
  border: 1px solid var(--line-2); border-radius: 8px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  animation: float 6s ease-in-out infinite;
}
.founder-card img { width: 100%; aspect-ratio: 1 / .95; object-fit: cover; border-radius: 4px; }
.founder-card figcaption { margin-top: 12px; display: grid; gap: 2px; }
.founder-card strong { font-weight: 500; font-size: 15px; }
.founder-card span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.stats {
  grid-area: stats; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 38px 0 72px; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--f-body); font-weight: 600; font-size: clamp(36px, 3.6vw, 48px); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-2); }

/* ---------- Logos ---------- */
.logos { background: var(--ink-2); border-top: 1px solid var(--line); padding: 44px 0 40px; position: relative; z-index: 3; }
.logos__label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 26px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: clamp(56px, 7vw, 110px); width: max-content; animation: marquee 32s linear infinite; padding-right: clamp(56px, 7vw, 110px); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.brand { color: #c9c9c9; opacity: .85; white-space: nowrap; line-height: 1; transition: opacity .2s; user-select: none; }
.brand:hover { opacity: 1; }
.brand--kfc { font: italic 900 32px/1 Arial Black, Arial, sans-serif; letter-spacing: -.02em; }
.brand--script { font: italic 400 34px/1 "Brush Script MT", "Snell Roundhand", cursive; }
.brand--subway { font: italic 900 28px/1 Arial Black, Arial, sans-serif; letter-spacing: -.04em; }
.brand--google { font: 400 34px/1 "Product Sans", "Google Sans", var(--f-body); letter-spacing: -.02em; }
.brand--csb { font: italic 700 27px/1 Arial, sans-serif; letter-spacing: -.02em; }
.brand--pana { font: 700 28px/1 Arial, Helvetica, sans-serif; letter-spacing: -.02em; }
.brand--edu { font: 400 32px/1 Georgia, "Courier New", serif; }

/* ---------- Watermarks ---------- */
.watermark { position: absolute; pointer-events: none; user-select: none; max-width: none; z-index: 0; }
.watermark--hero { width: 1900px; left: 50%; top: 210px; transform: translateX(-28%); opacity: .035; }
.watermark--team { width: 1900px; left: 50%; top: 52%; transform: translate(-30%, -50%); opacity: .045; }

.glow-mark { position: relative; height: 150px; overflow: hidden; pointer-events: none; }
.glow-mark::before {
  content: ""; position: absolute; left: 50%; bottom: -120px; width: 70%; height: 260px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(1, 110, 239, .55) 0%, rgba(1, 73, 167, .25) 40%, transparent 70%);
  filter: blur(10px);
}
.glow-mark img { position: absolute; left: 50%; top: 22px; width: 104%; max-width: none; transform: translateX(-50%); opacity: .045; }
.glow-mark--footer { height: 230px; margin-top: 40px; }
.glow-mark--footer img { top: 40px; }

/* ---------- Case studies (light) ---------- */
.cases { position: relative; background: var(--white); color: var(--black); padding: clamp(80px, 9vw, 120px) 0 clamp(80px, 9vw, 110px); }
.cases__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.cases__intro { max-width: 380px; padding-top: 6px; display: grid; justify-items: start; gap: 18px; }
.cases__intro p { font-size: 14px; line-height: 1.55; color: #333; }

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #1d1e1d; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.btn--xs { padding: 8px 16px; font-size: 13px; border-radius: 3px; }
.btn--md { padding: 15px 30px; font-size: 16px; }

.tabs {
  margin-top: 56px; display: flex; gap: 6px; border-bottom: 1px solid #e4e4e2;
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; padding: 12px 16px 14px; font-size: 14px; color: #6c6c6b; white-space: nowrap; transition: color .2s; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--black); transform: scaleX(0); transition: transform .3s ease; }
.tab:hover { color: var(--black); }
.tab.is-active { color: var(--black); font-weight: 500; }
.tab.is-active::after { transform: scaleX(1); }

.case {
  margin-top: 44px;
  display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr) minmax(0, .95fr); gap: 20px;
  transition: opacity .3s ease, transform .3s ease;
}
.case.is-switching { opacity: 0; transform: translateY(8px); }
.case__text { padding-right: clamp(0px, 3vw, 48px); display: flex; flex-direction: column; }
.case__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.badge {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--black);
  font: 400 15px/.82 var(--f-display); letter-spacing: .02em; text-align: center; color: var(--black); background: var(--white);
}
.badge--light { border-color: var(--white); color: var(--white); background: transparent; width: 46px; height: 46px; font-size: 17px; }
.case__eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #333; }
.case__eyebrow .dot { width: 5px; height: 5px; box-shadow: none; background: #3497fd; }
.case__title { margin-top: 18px; font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.015em; max-width: 460px; }
.case__block { padding-top: 22px; }
.case__text .case__block:first-of-type { margin-top: 28px; padding-top: 0; }
.case__block + .case__block { margin-top: 22px; border-top: 1px solid #e4e4e2; }
.case__block h4 { font-weight: 500; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #1d1e1d; }
.case__block p { margin-top: 10px; color: #636362; font-size: 14px; line-height: 1.55; }
.case__cta { margin-top: 22px; align-self: flex-start; }

.case__numbers {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #dbe9fb 0%, #f3f6fa 38%, #fafafa 100%);
  border: 1px solid #e7e7e7; border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; min-height: 400px;
}
.case__numbers::before {
  content: attr(data-ghost); position: absolute; white-space: nowrap; top: 14px; left: 50%; transform: translateX(-35%);
  font: 600 110px/1 var(--f-body); color: rgba(255, 255, 255, .55); letter-spacing: -.04em; pointer-events: none;
}
.case__numbers > * { position: relative; }
.case__label { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #4d4c4c; }
.case__big { margin: auto 0; display: grid; gap: 6px; }
.case__big strong { font-weight: 500; font-size: clamp(40px, 4vw, 52px); line-height: 1; letter-spacing: -.02em; color: var(--black); }
.case__big span { font-size: 13px; color: #636362; }
.case__mini { border-top: 1px solid #e4e4e2; padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.case__mini strong { display: block; font-weight: 500; font-size: 16px; line-height: 1.15; color: var(--black); }
.case__mini span { display: block; margin-top: 6px; font-size: 12px; color: #636362; }

.case__video { position: relative; border-radius: var(--radius); overflow: hidden; background: #ddd; min-height: 400px; }
.case__video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case__video:hover img { transform: scale(1.04); }
.case__video::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); pointer-events: none; }
.play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(20, 20, 20, .55); border: 1px solid rgba(255, 255, 255, .25); color: var(--white);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .25s ease, background-color .25s; z-index: 2;
}
.play svg { margin-left: 2px; }
.play:hover { transform: translate(-50%, -50%) scale(1.1); background: rgba(20, 20, 20, .8); }
.case__caption { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }


/* screenshot mode: a results dashboard instead of a founder video */
.case.has-shot { grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr) minmax(0, 1.55fr); }
.case.has-shot .case__video.is-shot { padding: 22px 18px 48px; }

.case__video.is-shot { background: #111214; display: flex; align-items: center; padding: 18px 14px 44px; }
.case__video.is-shot img { position: static; width: 100%; height: auto; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.case__video.is-shot:hover img { transform: scale(1.03); }
.case__video.is-shot .play { display: none; }
.case__video.is-shot::after { height: 22%; }

/* ---------- Team ---------- */
.team { position: relative; overflow: hidden; background: var(--mist); color: var(--black); padding: clamp(80px, 9vw, 110px) 0 clamp(90px, 10vw, 130px); }
.team > .container { position: relative; z-index: 1; }
.team .display { margin-top: 10px; }
.team__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member {
  background: var(--white); border: 1px solid #dfdfdd; border-radius: var(--radius); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.member:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 0, 0, .08); }
.member__top {
  position: relative; display: flex; justify-content: space-between; min-height: 200px;
  padding: 20px 0 0 18px;
  background: linear-gradient(180deg, #ececea 0%, #e7e7e5 55%, #fff 100%);
}
.member__top > div { position: relative; z-index: 1; }
.member__name { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 2.8vw, 40px); line-height: .88; }
.member__role { margin-top: 10px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #333; }
.member__top img {
  position: absolute; right: 0; bottom: 0; width: 64%; max-width: 230px;
  -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
  filter: grayscale(.15);
}
/* photos shot on white: blend the white into the card */
.member__top img.on-white { mix-blend-mode: multiply; filter: none; }
.member__body { padding: 8px 18px 20px; }
.member__bio { color: #636362; font-size: 14px; line-height: 1.55; padding-bottom: 18px; border-bottom: 1px solid #e7e7e7; }
.member__facts { margin-top: 14px; font-size: 12.5px; }
.member__facts li { display: flex; align-items: center; gap: 8px; }
.member__facts li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--black); }
.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid #d3d2d2; border-radius: 999px; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: #333; background: #fafafa; }
.chip::before { content: "✓"; font-size: 11px; color: var(--black); }
.chip:nth-child(2)::before { color: #b0141a; }
.member__brands { margin-top: 14px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #9a9a9a; }

/* ---------- Why we exist ---------- */
.manifesto { position: relative; background: var(--black); padding-top: clamp(90px, 10vw, 150px); overflow: hidden; }
.manifesto__inner { text-align: center; display: grid; justify-items: center; }
.eyebrow--center { justify-content: center; }
.manifesto .eyebrow { color: var(--mist); font-size: 12px; }
.manifesto__quote {
  margin: 34px 0 0; font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(40px, 4.8vw, 68px); line-height: 1; letter-spacing: .005em; text-wrap: balance;
}
.manifesto__muted {
  background: linear-gradient(90deg, #4d4c4c 0%, #7c8696 55%, #9aa6b8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.manifesto__text { margin-top: 40px; max-width: 760px; text-wrap: balance; color: var(--grey-1); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.manifesto__sign { margin-top: 30px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.manifesto .glow-mark { margin-top: 30px; height: 170px; }

/* ---------- Section head (centered) ---------- */
.section-head { text-align: center; display: grid; justify-items: center; }
.section-head .display { margin-top: 12px; text-wrap: balance; }
.section-head__sub { margin-top: 18px; font-size: clamp(16px, 1.4vw, 19px); color: #4d4c4c; }

/* ---------- Fit ---------- */
.fit { background: var(--mist); color: var(--black); padding: clamp(80px, 9vw, 110px) 0 clamp(90px, 10vw, 130px); }
.fit-card {
  background: #fbfbfa; border: 1px solid #e0e0dd; border-radius: 14px; padding: 26px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}
.fit-card--good { margin-top: 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.fit-card--bad { margin-top: 24px; }
.fit-media { position: relative; border-radius: 12px; overflow: hidden; min-height: 470px; background: linear-gradient(180deg, #f5f5f4 0%, #e4f0fd 55%, #3497fd 85%, #0149a7 100%); }
.fit-media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.fit-media::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(180deg, transparent, rgba(1, 73, 167, .55)); pointer-events: none; }
.fit-thumbs { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; gap: 6px; }
.fit-thumb {
  width: 44px; height: 44px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0;
  opacity: .8; transition: opacity .2s, border-color .2s, transform .2s;
}
.fit-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fit-thumb:hover { opacity: 1; transform: translateY(-1px); }
.fit-thumb.is-active { border-color: var(--white); opacity: 1; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.play--corner { top: auto; left: 20px; bottom: 76px; transform: none; width: 52px; height: 52px; background: rgba(255, 255, 255, .35); border-color: rgba(255, 255, 255, .5); }
.play--corner:hover { transform: scale(1.08); background: rgba(255, 255, 255, .5); }
.fit-media__caption { position: absolute; left: 16px; bottom: 32px; z-index: 2; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.fit-media__badge { position: absolute; right: 16px; bottom: 16px; z-index: 2; }

.fit-copy { display: flex; flex-direction: column; }
.fit-copy__kicker { font-size: 20px; color: #6c6c6b; letter-spacing: -.01em; }
.fit-copy__title { font-weight: 600; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -.025em; color: var(--black); }
.fit-card__right { text-align: right; }
.fit-list { margin-top: auto; }
.fit-card--bad .fit-list { margin-top: 20px; }
.fit-list li { display: flex; align-items: center; gap: 14px; padding: 20px 0; border-top: 1px solid #e4e4e2; font-size: 18px; color: #1d1e1d; }
.fit-list--plus li::before { content: "+"; color: var(--blue); font-size: 18px; width: 10px; }
.fit-list--minus li { font-size: 15px; padding: 18px 0; }
.fit-list--minus li::before { content: "–"; color: #9a9a9a; width: 10px; }

/* ---------- Pricing ---------- */
.pricing { position: relative; overflow: hidden; background: var(--white); color: var(--black); padding: clamp(80px, 9vw, 120px) 0 clamp(100px, 10vw, 150px); }
.pricing::after {
  content: ""; position: absolute; left: 50%; bottom: -260px; width: 120%; height: 420px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(52, 151, 253, .55) 0%, rgba(151, 200, 253, .35) 35%, transparent 70%);
  pointer-events: none;
}
.pricing > .container { position: relative; z-index: 1; }
.price-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { border: 1px solid #e0e0dd; border-radius: 10px; padding: 32px 26px 52px; background: var(--white); transition: transform .3s ease, box-shadow .3s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(1, 33, 82, .08); }
.price-card__num {
  display: block; font-weight: 600; font-size: clamp(48px, 4.6vw, 66px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #0149a7 0%, #002152 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-card h3 { margin-top: 36px; font-weight: 500; font-size: 21px; letter-spacing: -.01em; }
.price-card p { margin-top: 12px; color: #636362; font-size: 15.5px; }

.why-card { margin-top: 24px; border: 1px solid #e0e0dd; border-radius: 10px; padding: 32px 26px; background: var(--white); }
.why-card h3 { font-weight: 500; font-size: 23px; letter-spacing: -.01em; }
.why-card > p { margin-top: 6px; color: #636362; font-size: 15px; }
.checks { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 17px; color: #1d1e1d; }
.checks li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: #eef2f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.4 2.4L10 3' fill='none' stroke='%23016eef' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pricing__cta { margin-top: 56px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.pricing__cta p { font-size: 13px; color: #636362; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); padding: clamp(110px, 12vw, 160px) 0 clamp(90px, 9vw, 120px); min-height: 900px; display: flex; align-items: flex-end; }
.cta__people { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; pointer-events: none; }
.cta__person {
  width: min(600px, 38vw); max-width: none; margin-top: 120px;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 55%, transparent 92%);
}
.cta__person--side { opacity: .85; filter: brightness(.8); margin-top: 200px; }
.cta__person--main { position: relative; z-index: 1; margin: 120px -11vw 0; filter: brightness(.95); }
/* full photo on black (not a cutout): blend the black into the section, fade the frame edges */
.cta__person--photo {
  width: calc(min(600px, 38vw) * .96); margin-top: 165px;
  mix-blend-mode: lighten;
  filter: brightness(.72) contrast(1.08);
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 90%), linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(180deg, #000 50%, transparent 90%), linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
          mask-composite: intersect;
}
.cta__people::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(180deg, transparent, rgba(7, 7, 7, .85) 45%, var(--ink) 80%); z-index: 2; }
.cta__inner { position: relative; z-index: 3; text-align: center; display: grid; justify-items: center; }
.cta .eyebrow { color: var(--mist); }
.cta .display { margin-top: 18px; font-size: clamp(52px, 5.4vw, 74px); }
.cta__text { margin-top: 26px; color: var(--grey-1); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.cta .btn { margin-top: 40px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink); border-top: 1px solid var(--line); padding-top: 56px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--line-2); }
.footer__top img { width: 216px; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a { color: var(--grey-1); font-size: 15px; transition: color .2s; }
.footer__links a:hover { color: var(--white); }
.footer__copy { margin-top: 28px; color: var(--grey-2); font-size: 13.5px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .85); }
.modal__box { position: relative; width: min(420px, 100%); }
.modal__box video { width: 100%; border-radius: var(--radius); background: #000; }
.modal__close { position: absolute; top: -44px; right: 0; font-size: 32px; line-height: 1; color: var(--white); }

/* ---------- Shared stat grid (case page + pop-up) ---------- */
.cs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.cs-stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-stats--1 { grid-template-columns: minmax(0, 1fr); }
.cs-stats > div { border: 1px solid #e4e4e2; border-radius: 10px; padding: 14px 14px 12px; background: linear-gradient(180deg, #f3f6fa 0%, #fff 100%); min-width: 0; }
.cs-stats dt {
  font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); overflow-wrap: anywhere; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #0149a7 0%, #002152 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cs-stats dd { margin: 8px 0 0; font-size: 13px; line-height: 1.35; color: #4d4c4c; }

.cs-stats--3 dt { font-size: clamp(22px, 1.9vw, 28px); }
.cs-item__media.has-logo:not(.cs-item__media--logo) { padding-top: 70px; }
.cs-item__media.has-logo .cs-item__shot { margin-top: 0; }
/* ---------- Case studies page ---------- */
.nav__links a[aria-current="page"] { color: var(--white); }
.cs-hero { position: relative; overflow: hidden; background: var(--ink); padding: clamp(80px, 9vw, 130px) 0 clamp(70px, 8vw, 110px); }
.cs-hero__inner { position: relative; z-index: 1; }
.cs-hero__title {
  margin-top: 18px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(56px, 8vw, 116px); line-height: .9;
  background: linear-gradient(180deg, #fff 0%, #f1f1f1 45%, #b8b7b7 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cs-hero__lead { margin-top: 28px; max-width: 600px; color: var(--grey-1); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }

.cs-page { background: var(--mist); color: var(--black); padding: clamp(50px, 6vw, 80px) 0 clamp(80px, 9vw, 120px); }
.cs-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cs-filter { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid #dfdfdd; border-radius: 999px; background: var(--white); }
.cs-filter button { padding: 9px 18px; border-radius: 999px; font-size: 14px; color: #4d4c4c; transition: background-color .2s, color .2s; }
.cs-filter button:hover { color: var(--black); }
.cs-filter button[aria-pressed="true"] { background: var(--black); color: var(--white); }
.cs-count { font-size: 13px; color: #6c6c6b; }

.cs-list { margin-top: 28px; display: grid; gap: 20px; }
.cs-item {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px;
  background: var(--white); border: 1px solid #dfdfdd; border-radius: 14px; padding: 26px;
  scroll-margin-top: calc(var(--nav-h) + 20px); transition: box-shadow .3s ease;
}
.cs-item:hover { box-shadow: 0 24px 50px rgba(0, 0, 0, .06); }
.cs-item.is-focus { box-shadow: 0 0 0 2px var(--blue), 0 24px 50px rgba(1, 110, 239, .12); }
.cs-item__body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cs-item__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cs-item__client { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #333; }
.cs-item__client .dot { width: 6px; height: 6px; box-shadow: none; background: #3497fd; }
.cs-item__type { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #6c6c6b; border: 1px solid #e4e4e2; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.cs-item__title { font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.cs-item__lead { margin-top: -8px; color: #4d4c4c; font-size: 15px; }
.cs-item__notes { display: grid; gap: 8px; }
.cs-item__notes li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.5; color: #4d4c4c; }
.cs-item__notes li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #3497fd; }
.cs-item__quote { margin: 0; padding-left: 16px; border-left: 2px solid var(--black); font-size: 15px; line-height: 1.55; color: #1d1e1d; }

.cs-item__media {
  position: relative; border-radius: 12px; background: #111214; padding: 22px 22px 46px;
  display: flex; flex-direction: column; justify-content: center; gap: 16px; min-height: 280px; overflow: hidden;
}
.cs-item__media--logo { align-items: center; padding: 30px; background: radial-gradient(ellipse at 50% 120%, #0149a7 0%, #002152 35%, #111214 75%); }
.cs-item__logo { position: absolute; top: 18px; right: 18px; max-height: 38px; width: auto; opacity: .95; }
.cs-item__media--logo .cs-item__logo { position: static; max-height: 120px; max-width: 70%; }
.cs-item__shot { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); margin-top: 26px; }
.cs-item__shotlabel { position: absolute; left: 18px; bottom: 14px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

/* ---------- Case study pop-up ---------- */
.case-modal { align-items: start; overflow-y: auto; padding: clamp(16px, 4vw, 48px) 16px; }
.case-modal .modal__backdrop { position: fixed; }
.case-modal__box {
  position: relative; z-index: 1; width: min(880px, 100%); margin: 0 auto;
  background: var(--white); color: var(--black); border-radius: 16px; padding: clamp(22px, 3.5vw, 40px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5); animation: modalIn .35s cubic-bezier(.2, .7, .2, 1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.case-modal__close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  font-size: 26px; line-height: 1; color: var(--black); background: #f1f1f1; transition: background-color .2s;
}
.case-modal__close:hover { background: #e4e4e2; }
.case-modal__body { display: grid; gap: 22px; justify-items: start; }
.case-modal__body > * { width: 100%; }
.case-modal__body > .btn { width: auto; }
.case-modal__eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #333; padding-right: 48px; }
.case-modal__eyebrow .dot { width: 6px; height: 6px; box-shadow: none; background: #3497fd; }
.case-modal__title { margin-top: -8px; font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.case-modal__blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.case-modal__blocks h4 { margin: 0; font-weight: 500; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #1d1e1d; }
.case-modal__blocks p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: #4d4c4c; }
.case-modal__media { margin: 0; border-radius: 12px; background: #111214; padding: 20px 20px 44px; position: relative; }
.case-modal__media img { width: 100%; border-radius: 6px; }
.case-modal__media--portrait img { width: auto; max-height: 460px; margin: 0 auto; object-fit: cover; }
.case-modal__media figcaption { position: absolute; left: 18px; bottom: 14px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

@media (max-width: 900px) {
  .cs-item { grid-template-columns: 1fr; padding: 18px; }
  .cs-item__media { min-height: 220px; }
}
@media (max-width: 600px) {
  .cs-stats, .cs-stats--2 { grid-template-columns: 1fr 1fr; }
  .cs-stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cs-filter button { padding: 8px 12px; font-size: 13px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .hero__portrait { transform: translateX(-30%); }
  .case, .case.has-shot { grid-template-columns: 1fr 1fr; }
  .case__text { grid-column: 1 / -1; padding-right: 0; }
  .case__text .case__block:first-of-type { margin-top: 28px; }
  .fit-card--good { grid-template-columns: 1fr; }
  .fit-list { margin-top: 28px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__logo img { width: 170px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__links .btn { margin: 20px 0 0; justify-content: center; padding: 14px; }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }

  .hero__inner { grid-template-columns: 1fr; grid-template-areas: "content" "visual" "stats"; padding-top: 56px; }
  .hero__content { padding-bottom: 0; }
  .hero__title { white-space: normal; }
  .hero__visual { height: 520px; margin-top: 24px; }
  .hero__portrait { width: 400px; bottom: -40px; left: 50%; transform: translateX(-50%); }
  .founder-card { right: 0; top: auto; bottom: 60px; width: 160px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 26px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }

  .team__grid { grid-template-columns: 1fr; max-width: 460px; }
  .price-grid { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .watermark--hero, .watermark--team { width: 1100px; }
  .cta { min-height: 640px; }
  .cta__person { width: 46vw; }
  .cta__person--photo { width: calc(46vw * .96); }
  .cta__person--main { margin-inline: -14vw; }
}

@media (max-width: 600px) {
  .hero__visual { height: 440px; }
  .hero__portrait { width: 330px; }
  .founder-card { width: 140px; padding: 10px; bottom: 40px; }
  .case, .case.has-shot { grid-template-columns: 1fr; }
  .case__numbers, .case__video { min-height: 360px; }
  .case__video { min-height: 480px; }
  .fit-card { padding: 16px; }
  .fit-media { min-height: 420px; }
  .fit-list li { font-size: 16px; }
  .cases__intro { max-width: none; }
  .cta__person { width: 62vw; }
  .cta__person--photo { width: calc(62vw * .96); }
  .cta__person--side { margin-top: 170px; }
  .cta__person--main { margin-inline: -24vw; }
  .glow-mark--footer { height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- individual case study pages ---- */
.cs-back { display: block; width: fit-content; margin-bottom: 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); text-decoration: none; }
.cs-back:hover { color: #fff; }
.cs-hero--case .cs-hero__title { max-width: 18ch; }
.cs-item__more { align-self: flex-start; margin-top: auto; }
.cs-item__story { display: grid; gap: 6px; }
.cs-item__story h3 { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #6c6c6b; margin-top: 6px; }
.cs-item__story p { font-size: 15px; line-height: 1.55; color: #333; }
.cs-chapter__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--blue); margin-bottom: -10px; }
.cs-item__media--tall .cs-item__shot { width: auto; max-width: 100%; max-height: 640px; margin-inline: auto; display: block; }
.cs-item--text { grid-template-columns: minmax(0, 1fr); }
.cs-item--text .cs-item__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
.cs-item--text .cs-item__body > * { grid-column: 1; }
.cs-item--text .cs-item__body > .cs-stats, .cs-item--text .cs-item__body > .cs-item__notes { grid-column: 2; }
.cs-item--text .cs-item__body > .cs-stats { grid-row: 1 / span 4; align-self: center; grid-template-columns: 1fr; }
@media (max-width: 860px) { .cs-item--text .cs-item__body { display: flex; } .cs-item--text .cs-item__body > .cs-stats { grid-template-columns: 1fr 1fr; } }
.cs-next { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; margin-top: 28px; padding: 24px 26px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; }
.cs-next span:first-child { grid-column: 1; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.cs-next strong { grid-column: 1; font-size: clamp(18px, 2vw, 24px); font-weight: 600; line-height: 1.2; }
.cs-next span:last-child { grid-column: 2; grid-row: 1 / 3; font-size: 28px; transition: transform .25s ease; }
.cs-next:hover span:last-child { transform: translateX(6px); }

/* content-only additions: cases with no screenshot, fit card without the video */
.case.no-media { grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr); }
.case.no-media .case__video { display: none; }
.fit-card--good.no-media { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1100px) { .case.no-media { grid-template-columns: 1fr; } }

/* screenshots on white, one consistent slide size */
.case__title { max-width: none; }
@media (min-width: 1101px) {
  .case, .case.has-shot, .case.no-media { grid-template-columns: minmax(0, 1.85fr) minmax(0, .85fr) minmax(0, 1.3fr); }
  .case__text { padding-right: 24px; }
}
.case.no-media .case__numbers { grid-column: span 2; }
.case__numbers, .case__video { height: 560px; min-height: 0; }
@media (max-width: 1100px) { .case__numbers, .case__video { height: 480px; } .case__text { min-height: 400px; } }
.case__video.is-shot, .case.has-shot .case__video.is-shot { background: #ffffff; border: 1px solid #e7e7e7; padding: 20px 20px 44px; justify-content: center; }
.case__video.is-shot img { width: 100%; height: 100%; max-height: none; object-fit: contain; box-shadow: none; border-radius: 4px; }
.case__video.is-shot:hover img { transform: none; }
.case__video.is-shot::after { display: none; }
.case__video.is-shot .case__caption { color: #6c6c6b; }

.cs-item__media:not(.cs-item__media--logo) { background: #ffffff; border: 1px solid #e7e7e7; height: 440px; min-height: 0; padding: 22px 22px 46px; }
.cs-item__media:not(.cs-item__media--logo) .cs-item__shot { width: 100%; height: 100%; min-height: 0; object-fit: contain; margin-top: 0; box-shadow: none; border-radius: 4px; }
.cs-item__media.has-logo:not(.cs-item__media--logo) .cs-item__shot { height: calc(100% - 40px); margin-top: 40px; }
.cs-item__media:not(.cs-item__media--logo) .cs-item__logo { filter: invert(1); }
.cs-item__media:not(.cs-item__media--logo) .cs-item__shotlabel { color: #6c6c6b; }

@media (max-width: 600px) {
  .case__text { min-height: 500px; }
  .case.no-media .case__numbers { grid-column: auto; }
  .case__numbers { height: auto; min-height: 360px; }
  .case__video { height: 440px; }
  .cs-item__media:not(.cs-item__media--logo) { height: 360px; }
}

/* team cards: taller, with a headline number */
.member { display: flex; flex-direction: column; }
.member__top { min-height: 300px; padding: 24px 0 0 22px; }
.member__top img { width: 72%; max-width: 310px; }
.member__body { flex: 1; display: flex; flex-direction: column; padding: 18px 22px 26px; }
.member__stat { display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid #e7e7e7; }
.member__stat strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(56px, 5vw, 72px); line-height: .85; color: var(--blue); }
.member__stat span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #636362; }
.member__bio { padding-top: 16px; font-size: 15px; }
.member__facts { margin-top: 16px; display: grid; gap: 8px; font-size: 13.5px; }
.chips { margin-top: 16px; }
.member__brands { margin-top: auto; padding-top: 18px; font-size: 12px; color: #6c6c6b; }
.member__facts + .member__brands, .chips + .member__brands { margin-top: auto; }
.member__brands::before { content: "Brands: "; color: #9a9a9a; }
.member__top > div { max-width: 48%; }

/* real client logos */
.case__logo { height: 52px; width: auto; max-width: 190px; object-fit: contain; object-position: left center; }
.cs-item__clientlogo { height: 46px; width: auto; max-width: 180px; object-fit: contain; object-position: left center; }

/* booking page: two options */
.book-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.book-card { background: var(--white); border: 1px solid #dfdfdd; border-radius: 14px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.book-card__kicker { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #6c6c6b; }
.book-card__title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 3.6vw, 52px); line-height: .9; }
.book-card__text { color: #4d4c4c; font-size: 16px; line-height: 1.6; max-width: 46ch; flex: 1; }
.book-card__meta { font-size: 14px; color: #6c6c6b; user-select: all; }
.book-card__soon { opacity: .45; cursor: default; }
@media (max-width: 760px) { .book-grid { grid-template-columns: 1fr; } }

/* booking form */
.book-form, .book-next { margin-top: 28px; background: var(--white); border: 1px solid #dfdfdd; border-radius: 14px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.book-next { max-width: none; background: transparent; border: 0; padding: 0; }
.book-next .book-grid { margin-top: 4px; }
.book-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #4d4c4c; padding: 0; margin-bottom: 8px; }
.field input[type=text], .field input[type=tel], .field input[type=email] { font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #d3d2d2; border-radius: 8px; background: #fafafa; color: var(--black); width: 100%; }
.field input:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: var(--white); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-opt span { display: inline-block; padding: 10px 16px; border: 1px solid #d3d2d2; border-radius: 999px; font-size: 14px; background: #fafafa; cursor: pointer; }
.chip-opt input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.book-form__error { color: #b0141a; font-size: 14px; }
.book-form .btn { align-self: flex-start; }
.book-card__title--sm { font-size: clamp(28px, 2.6vw, 38px); }
.book-edit { align-self: flex-start; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; color: #4d4c4c; cursor: pointer; text-decoration: underline; }
@media (max-width: 600px) { .book-form__row { grid-template-columns: 1fr; } }
.book-form[hidden], .book-next[hidden], .book-form__error[hidden] { display: none; }
.book-form, .book-next { scroll-margin-top: calc(var(--nav-h, 72px) + 24px); }
.brand--myop { font: 800 28px/1 Arial Black, Arial, sans-serif; letter-spacing: .06em; }
.brand--zinarch { font: 400 32px/1 Georgia, serif; letter-spacing: .02em; text-transform: lowercase; }
.brand--wrrens { font: 600 28px/1 Arial, sans-serif; letter-spacing: .14em; }
.brand--lbs { font: italic 700 27px/1 Arial, sans-serif; letter-spacing: -.01em; }

/* Brand logos (white) */
.marquee__track { gap: clamp(48px, 5vw, 80px); padding-right: clamp(48px, 5vw, 80px); animation-duration: 60s; }
.logos .brand { opacity: .8; }
.logos .brand:hover { opacity: 1; }
.brand img { display: block; height: var(--h, 40px); width: auto; max-width: none; }
@media (max-width: 640px) { .brand img { height: calc(var(--h, 40px) * .72); } }

/* Booking: form + "what happens next" panel */
.book-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.book-main { min-width: 0; }
.book-aside { margin-top: 28px; background: var(--white); border: 1px solid #dfdfdd; border-radius: 14px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--nav-h) + 24px); }
.book-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: bs; }
.book-steps li { counter-increment: bs; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; row-gap: 4px; }
.book-steps li::before { content: counter(bs); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #d3d2d2; display: grid; place-items: center; font-size: 13px; color: var(--black); }
.book-steps strong { font-size: 16px; font-weight: 600; color: var(--black); }
.book-steps span { font-size: 14px; line-height: 1.55; color: #4d4c4c; }
.book-aside__contact { border-top: 1px solid #e6e6e4; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.book-aside__contact a { font-size: 15px; color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .book-layout { grid-template-columns: 1fr; } .book-aside { position: static; margin-top: 0; } }

/* Booking: spam trap + Calendly embed */
.book-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book-cal { width: 100%; align-self: stretch; margin-top: 8px; }
.book-cal iframe { display: block; width: 100%; height: 760px; border: 0; border-radius: 10px; background: #fff; }
.book-card__soon[hidden] { display: none; }
/* Step 2: calendar full width, WhatsApp as a quiet alternative */
.book-layout.is-step2 { grid-template-columns: 1fr; }
.book-layout.is-step2 .book-aside { display: none; }
.book-next__lead { margin-top: 10px; font-size: 16px; line-height: 1.55; color: #4d4c4c; }
.book-next .book-cal { margin-top: 8px; }
.book-next .book-cal iframe { background: transparent; border-radius: 14px; }
.book-alt { margin-top: 18px; font-size: 15px; color: #4d4c4c; }
.book-alt a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.book-alt span { margin-left: 6px; color: #8a8a88; font-size: 13px; }
@media (max-width: 600px) { .book-cal iframe { height: 1000px; } }

/* Case tabs as pills: wrap on tablet/desktop so all 9 show; one swipe row on phones */
.tabs { margin-top: 48px; flex-wrap: wrap; gap: 8px; border-bottom: 0; overflow: visible; position: relative; }
.tab { padding: 9px 16px; font-size: 13.5px; border: 1px solid #d3d2d2; border-radius: 999px; background: #fafafa; color: #4d4c4c; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tab::after { display: none; }
.tab:hover { border-color: var(--black); color: var(--black); }
.tab.is-active { background: var(--black); border-color: var(--black); color: var(--white); font-weight: 500; }
.tab:focus-visible { outline: 2px solid #3497fd; outline-offset: 2px; }
@media (max-width: 760px) {
  .tabs { margin-top: 36px; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter, 20px) * -1); padding: 2px var(--gutter, 20px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 40px), transparent 100%); }
  .tab { scroll-snap-align: center; flex: 0 0 auto; }
  .case { margin-top: 28px; }
}
/* phones: no forced height on the text block (it left a big empty gap) */
@media (max-width: 600px) { .case__text { min-height: 0; } .case__cta { margin-bottom: 4px; } }
