/* ============================================================
   Soshal — static site stylesheet
   Mirrors the design tokens & component styling of the Next.js app.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --brand-red: #ff0000;
  --brand-coral: #fb2e01;
  --brand-orange: #ff9801;
  --brand-blue: #0288d1;
  --brand-primary: #d60000;
  --brand-primary-dark: #b30000;

  /* Warm neutrals — paper, not screen-white. Keeps the page off the default grey. */
  --brand-ink: #14141a;
  --brand-slate: #5b6270;
  --brand-soft: #f4f2ef;
  --brand-paper: #faf8f5;
  --brand-border: #e6e2dc;
  --brand-pale: #fff2f0;
  --brand-ink-soft: #1e1e26;

  --radius-btn: 0.875rem;
  --radius-card: 1.375rem;
  --radius-input: 0.75rem;
  --radius-pill: 9999px;

  /* Elevation scale — one ramp, used everywhere. */
  --sh-1: 0 1px 2px rgba(20, 20, 26, 0.05);
  --sh-2: 0 4px 12px -2px rgba(20, 20, 26, 0.08);
  --sh-3: 0 14px 30px -10px rgba(20, 20, 26, 0.16);
  --sh-4: 0 28px 60px -18px rgba(20, 20, 26, 0.24);

  /* Motion — one rhythm across the whole site. */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 420ms;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --header-h: 4.5rem;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background-color: #fff;
  color: var(--brand-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
/* Fine grain over the whole page — stops large flat fills reading as flat. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, h4 {
  margin: 0;
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Keyboard-only escape hatch past the nav. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  border-radius: 0.5rem;
  background: var(--brand-ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus-visible { top: 1rem; }

/* One consistent focus ring everywhere. */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: 0.375rem;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }
::selection { background: var(--brand-pale); color: var(--brand-ink); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-inline: auto; }
.text-center { text-align: center; }

/* Grid system */
.grid { display: grid; gap: 1.5rem; }
.g-1 { gap: 1rem; }
.g-2 { gap: 2rem; }
.g-3 { gap: 3rem; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .sm-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg-span-2 { grid-column: span 2 / span 2; }
  .lg-span-3 { grid-column: span 3 / span 3; }
}
.items-center { align-items: center; }
.order-1 { order: 1; }
.order-2 { order: 2; }
@media (min-width: 1024px) {
  .lg-order-1 { order: 1; }
  .lg-order-2 { order: 2; }
}

/* Section vertical padding */
.section { padding-block: 5rem; }
@media (min-width: 640px) { .section { padding-block: 6rem; } }
.py-12 { padding-block: 3rem; }
.py-16 { padding-block: 4rem; }
.py-20 { padding-block: 5rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
@media (min-width: 640px) {
  .sm-py-20 { padding-block: 5rem; }
}

.bg-soft { background-color: var(--brand-soft); }
.bg-soft-60 { background-color: rgba(245, 246, 248, 0.6); }

/* Margin utilities (common steps) */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-9 { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }

/* ---------- Typography ---------- */
.t-xs { font-size: 0.75rem; }
.t-sm { font-size: 0.875rem; }
.t-base { font-size: 1rem; }
.t-lg { font-size: 1.125rem; }
.t-xl { font-size: 1.25rem; }
.t-2xl { font-size: 1.5rem; }
.t-3xl { font-size: 1.875rem; }
.t-4xl { font-size: 2.25rem; }
.t-5xl { font-size: 3rem; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }
.fw-extrabold { font-weight: 800; }
.leading-relaxed { line-height: 1.625; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }

.ink { color: var(--brand-ink); }
.slate { color: var(--brand-slate); }
.white { color: #fff; }
.primary { color: var(--brand-primary); }
.coral { color: var(--brand-coral); }
.orange { color: var(--brand-orange); }
.blue { color: var(--brand-blue); }
.w-40 { color: rgba(255, 255, 255, 0.4); }
.w-50 { color: rgba(255, 255, 255, 0.5); }
.w-60 { color: rgba(255, 255, 255, 0.6); }
.w-70 { color: rgba(255, 255, 255, 0.7); }

/* ---------- Icons ---------- */
.icon { flex: none; }
.i-4 { width: 1rem; height: 1rem; }
.i-5 { width: 1.25rem; height: 1.25rem; }
.i-6 { width: 1.5rem; height: 1.5rem; }
.i-7 { width: 1.75rem; height: 1.75rem; }
.i-8 { width: 2rem; height: 2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: var(--radius-btn);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-sm { height: 2.625rem; padding-inline: 1rem; font-size: 0.8125rem; }
.btn-md { height: 3rem; padding-inline: 1.5rem; font-size: 0.875rem; }
.btn-lg { height: 3.5rem; padding-inline: 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(0) scale(0.98); }

/* Primary carries a sheen that sweeps across on hover. */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--brand-primary);
  color: #fff;
  box-shadow: var(--sh-2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.3) 50%, transparent 75%);
  transform: translateX(-100%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.btn-primary:hover {
  background: var(--brand-primary-dark);
  box-shadow: var(--sh-3);
  transform: translateY(-2px);
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: var(--sh-2); }
.btn-whatsapp:hover { background: #1fb457; box-shadow: var(--sh-3); transform: translateY(-2px); }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, 0.24); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }
.btn-outline { border: 1px solid var(--brand-border); background: #fff; color: var(--brand-ink); }
.btn-outline:hover { border-color: var(--brand-ink); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn-ghost {
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-ink);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; border-color: var(--brand-ink); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn-ghost .icon { transition: transform var(--dur) var(--ease-out); }
.btn-ghost:hover .icon { transform: translate(2px, -2px); }

/* ---------- Top utility bar ---------- */
.topbar {
  display: none;
  background: var(--brand-ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 2.375rem;
}
.topbar-rating { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.topbar-links { display: inline-flex; align-items: center; gap: 1.75rem; }
.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--dur-fast) var(--ease-out);
}
.topbar-links a:hover { color: #fff; }
.topbar .icon { opacity: 0.65; }
@media (min-width: 1024px) { .topbar { display: block; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.site-header.scrolled {
  border-bottom-color: var(--brand-border);
  box-shadow: var(--sh-2);
}
/* Reading-progress hairline pinned to the header's bottom edge. */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(to right, var(--brand-coral), var(--brand-orange), var(--brand-blue));
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}
.site-header.scrolled .scroll-progress { opacity: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}
.nav-logo { flex: none; }
.logo { height: 2.125rem; width: auto; }
.logo-white { height: 2.25rem; }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.875rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-slate);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav-link:hover { color: var(--brand-ink); background: rgba(20, 20, 26, 0.045); }
.nav-link.is-active { color: var(--brand-primary); }
.nav-caret { transition: transform var(--dur) var(--ease-out); opacity: 0.6; }
.nav-item.open .nav-link { color: var(--brand-ink); background: rgba(20, 20, 26, 0.045); }
.nav-item.open .nav-caret { transform: rotate(180deg); }

.nav-cta { display: none; align-items: center; gap: 0.75rem; }

/* Hamburger that morphs into a close icon. */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  border-radius: var(--radius-btn);
  color: var(--brand-ink);
  cursor: pointer;
}
.nav-toggle-bars { display: block; width: 1.125rem; height: 0.75rem; position: relative; }
.nav-toggle-bars i {
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 5px; }
.nav-toggle-bars i:nth-child(3) { top: 10px; }
.menu-open .nav-toggle-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Mega menu ---------- */
.mega {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -1rem;
  z-index: 70;
  border-radius: 1.25rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-4);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.985);
  transform-origin: top left;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur);
}
.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.mega-services { width: min(46rem, calc(100vw - 3rem)); }
.mega-work { width: min(34rem, calc(100vw - 3rem)); }
.mega-company { width: min(21rem, calc(100vw - 3rem)); }
.mega-split { display: grid; grid-template-columns: 1fr 15rem; gap: 1.75rem; }

.mega-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--brand-slate);
  opacity: 0.7;
  margin-bottom: 0.875rem;
}
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem; }
.mega-list { display: grid; gap: 0.125rem; }

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.875rem;
  padding: 0.6875rem 0.75rem;
  transition: background var(--dur-fast) var(--ease-out);
}
.mega-item:hover { background: var(--brand-soft); }
.mega-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: color-mix(in srgb, var(--accent, var(--brand-primary)) 12%, transparent);
  color: var(--accent, var(--brand-primary));
  transition: transform var(--dur) var(--ease-spring);
}
.mega-item:hover .mega-icon { transform: scale(1.08) rotate(-4deg); }
.mega-text { display: block; min-width: 0; }
.mega-item-title { display: block; font-size: 0.875rem; font-weight: 700; color: var(--brand-ink); }
.mega-item-desc {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--brand-slate);
}

.mega-foot-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--brand-border);
  width: 100%;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-primary);
}
.mega-foot-link .icon { transition: transform var(--dur) var(--ease-out); }
.mega-foot-link:hover .icon { transform: translateX(3px); }

/* Promo panel inside the Services mega */
.mega-promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Centred so the panel reads as balanced when the services column is taller. */
  justify-content: center;
  gap: 0.625rem;
  border-radius: 1rem;
  padding: 1.25rem;
  background: linear-gradient(160deg, var(--brand-ink), #2a2018);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mega-promo::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 46, 1, 0.45), transparent 70%);
  pointer-events: none;
}
.mega-promo > * { position: relative; }
.mega-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
}
.mega-promo-title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; }
.mega-promo-desc { font-size: 0.75rem; line-height: 1.55; color: rgba(255, 255, 255, 0.7); }
.mega-promo .btn { margin-top: 0.25rem; }
.mega-promo-note {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Case-study rows inside the Work mega */
.mega-work { display: block; }
.mega-work .mega-work-item + .mega-work-item { margin-top: 0.25rem; }
.mega-work-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-radius: 0.875rem;
  padding: 0.625rem;
  transition: background var(--dur-fast) var(--ease-out);
}
.mega-work-item:hover { background: var(--brand-soft); }
.mega-work-img {
  flex: none;
  width: 4.5rem;
  height: 3.25rem;
  border-radius: 0.625rem;
  overflow: hidden;
  background: var(--brand-soft);
}
.mega-work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.mega-work-item:hover .mega-work-img img { transform: scale(1.08); }
.mega-work-body { display: block; min-width: 0; }
.mega-work-cat {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent, var(--brand-primary));
}
.mega-work-title {
  display: block;
  margin-top: 0.1875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand-ink);
}
.mega-work-metric { display: block; margin-top: 0.1875rem; font-size: 0.6875rem; color: var(--brand-slate); }
.mega-work-metric strong { color: var(--accent, var(--brand-primary)); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  height: 100dvh;
  width: min(23rem, 88vw);
  background: #fff;
  border-left: 1px solid var(--brand-border);
  box-shadow: var(--sh-4);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--header-h) + 1rem) 1.25rem 2rem;
}
.mobile-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(20, 20, 26, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.menu-open .mobile-scrim { opacity: 1; visibility: visible; }

.mobile-links { display: flex; flex-direction: column; }
.m-link, .m-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--brand-border);
  background: transparent;
  padding: 1rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-ink);
  text-align: left;
  cursor: pointer;
}
.m-acc-icon { transition: transform var(--dur) var(--ease-out); color: var(--brand-slate); }
.m-acc.open .m-acc-icon { transform: rotate(45deg); color: var(--brand-primary); }
.m-acc-panel {
  display: block;
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.m-acc.open .m-acc-panel { max-height: 34rem; }
.m-sub {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-slate);
}
.m-sub:first-child { padding-top: 0.875rem; }
.m-sub:last-child { padding-bottom: 0.875rem; }
.m-sub .mega-icon { width: 2rem; height: 2rem; border-radius: 0.5rem; }
.m-sub-all { color: var(--brand-primary); font-weight: 700; gap: 0.5rem; }
.mobile-actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }

@media (min-width: 1024px) {
  .mobile-menu, .mobile-scrim { display: none !important; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.card-img { position: relative; height: 10rem; overflow: hidden; background: var(--brand-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--brand-pale);
  color: var(--brand-primary);
}
.card-title { font-size: 1.125rem; font-weight: 700; color: var(--brand-ink); }
.card-tagline { font-size: 0.875rem; font-weight: 600; color: var(--brand-primary); margin-top: 0.25rem; }
.card-desc { font-size: 0.875rem; line-height: 1.625; color: var(--brand-slate); margin-top: 0.5rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-top: auto;
  padding-top: 1.5rem;
}
.card-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.card-top-row { display: flex; align-items: center; justify-content: space-between; }
.step-number { font-size: 1.5rem; font-weight: 800; color: var(--brand-border); }
.process-card { padding: 1.75rem; }
.step-deliverables {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--brand-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .step-deliverables { padding-left: 4rem; }
}
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  border-radius: 9999px;
  background: var(--brand-soft);
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-slate);
}
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--brand-border);
}
.metric-value { font-size: 1.25rem; font-weight: 800; }
.metric-label { font-size: 0.75rem; color: var(--brand-slate); margin-top: 0.125rem; }

/* Hover lift for linked cards */
.service-card, .work-card, .blog-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover, .work-card:hover, .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.18);
}
.service-card:hover .card-img img, .work-card:hover .card-img img, .blog-card:hover .card-img img { transform: scale(1.05); }
.service-card .card-link .icon, .text-link .icon { transition: transform 0.2s ease; }
.service-card:hover .card-link .icon, .text-link:hover .icon { transform: translateX(3px); }

/* ---------- Section headings ---------- */
.section-head { max-width: 42rem; margin-inline: auto; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--brand-pale);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
}
.section-title {
  margin-top: 1rem;
  font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
}
.section-desc {
  margin-top: 1.125rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--brand-slate);
  max-width: 42rem;
}
.section-head:not(.left) .section-desc { margin-inline: auto; }

/* ---------- Page header ---------- */
.page-head {
  border-bottom: 1px solid var(--brand-border);
  background: rgba(245, 246, 248, 0.5);
  padding-block: 4rem;
}
@media (min-width: 640px) { .page-head { padding-block: 5rem; } }
.page-title {
  margin-top: 1rem;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--brand-ink);
}
.page-head-desc {
  margin-inline: auto;
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--brand-slate);
}
@media (min-width: 640px) { .page-title { font-size: 3rem; } }

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--brand-ink);
}
.cta-glow { position: absolute; pointer-events: none; width: 18rem; height: 18rem; border-radius: 9999px; filter: blur(64px); }
.glow-coral { top: -6rem; right: -6rem; background: rgba(251, 46, 1, 0.2); }
.glow-blue { bottom: -6rem; left: -6rem; background: rgba(2, 136, 209, 0.2); }
.cta-inner { position: relative; padding-block: 5rem; text-align: center; }
.cta-title {
  max-width: 42rem;
  margin-inline: auto;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}
.cta-desc {
  max-width: 36rem;
  margin-inline: auto;
  margin-top: 1rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
}
.cta-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .cta-title { font-size: 2.25rem; }
  .cta-actions { flex-direction: row; }
}

/* ---------- Stats band ---------- */
.stats { border-block: 1px solid var(--brand-border); background: var(--brand-paper); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: 3rem;
}
.stat { position: relative; text-align: center; padding: 0.75rem 1rem; }
/* Hairline separators between cells, never trailing on a row edge. */
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--brand-border);
}
.stat:nth-child(3)::before { content: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--brand-ink);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-slate);
}
@media (min-width: 640px) {
  .stats-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat:nth-child(3)::before { content: ""; }
}

/* ---------- Pills (industries) ---------- */
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-ink);
  cursor: default;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.pill-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--radius-pill);
  background: var(--brand-border);
  transition: background var(--dur) var(--ease-out);
}
.pill:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}
.pill:hover .pill-dot { background: var(--brand-primary); }

/* ---------- Testimonials ---------- */
.testimonials-section {
  position: relative;
  overflow: hidden;
  background: var(--brand-paper);
  border-block: 1px solid var(--brand-border);
}
.ts-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}
.ts-orb-a {
  width: 26rem; height: 26rem; top: -10rem; left: -8rem;
  background: radial-gradient(circle, rgba(251, 46, 1, 0.4), transparent 65%);
}
.ts-orb-b {
  width: 24rem; height: 24rem; bottom: -12rem; right: -6rem;
  background: radial-gradient(circle, rgba(2, 136, 209, 0.35), transparent 65%);
}
.ts-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.ts-head .section-title { margin-top: 0.875rem; }
.ts-nav { display: none; gap: 0.5rem; }
.ts-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  color: var(--brand-ink);
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}
.ts-arrow:hover:not(:disabled) {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--sh-3);
}
.ts-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
@media (min-width: 768px) { .ts-nav { display: flex; } }

.ts-slider { position: relative; margin-top: 3rem; }
/* Native scroll-snap gives touch swipe for free; JS only drives arrows and dots. */
.ts-track {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0.5rem 0 1.5rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.ts-track::-webkit-scrollbar { display: none; }
.ts-slide { flex: 0 0 min(88%, 30rem); scroll-snap-align: start; }

.ts-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  border-radius: 1.5rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 2rem;
  box-shadow: var(--sh-2);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.ts-card::before {
  content: "";
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent, var(--brand-primary));
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}
.ts-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.ts-card:hover::before { opacity: 1; }
.ts-quote-mark {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  color: var(--accent, var(--brand-primary));
  opacity: 0.14;
}
.ts-stars { display: flex; gap: 0.125rem; }
.ts-quote {
  margin: 1.25rem 0 0;
  flex: 1;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--brand-ink);
}
.ts-person {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.ts-avatar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  border-radius: var(--radius-pill);
  background: var(--accent, var(--brand-ink));
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
}
.ts-person-text { flex: 1; min-width: 0; }
.person-name { display: block; font-size: 0.9375rem; font-weight: 700; color: var(--brand-ink); }
.person-role { display: block; font-size: 0.75rem; color: var(--brand-slate); }
.ts-result {
  flex: none;
  text-align: right;
  padding-left: 0.875rem;
  border-left: 1px solid var(--brand-border);
}
.ts-result strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent, var(--brand-primary));
}
.ts-result span { display: block; font-size: 0.6875rem; color: var(--brand-slate); }

.ts-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }
.ts-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--brand-border);
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}
.ts-dot.is-active { width: 1.75rem; background: var(--brand-primary); }
/* Keep the visual dot small but the tap area at 44px. */
.ts-dot::after { content: ""; position: absolute; inset: -1rem; }
.ts-dots { position: relative; }
.ts-dot { position: relative; }

@media (min-width: 900px) {
  .ts-slide { flex: 0 0 calc((100% - 1.5rem) / 2); }
}

/* ---------- Text link ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
}
.text-link:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-ink); color: #fff; }
.footer-grid {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}
.footer-tagline { margin-top: 1.25rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.625; color: rgba(255, 255, 255, 0.6); }
.footer-social { margin-top: 1.5rem; display: flex; gap: 0.75rem; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s ease;
}
.social-btn:hover { background: var(--brand-primary); }
.footer-heading { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.4); }
.footer-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-list a { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); transition: color 0.2s ease; }
.footer-list a:hover { color: #fff; }
.footer-contact { gap: 1rem; }
.footer-contact a, .footer-contact li { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { transition: color 0.2s ease; }
.footer-legal a:hover { color: #fff; }
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* ---------- Floating contact ---------- */
.floating-contact {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 0;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.float-btn:hover { transform: scale(1.05); }
.float-btn.whatsapp { background: #25d366; }
.float-btn.phone { background: var(--brand-blue); }
.float-btn.calendar { background: var(--brand-primary); }

/* ---------- Booking modal ---------- */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.booking-modal.open { display: flex; }
.booking-backdrop { position: absolute; inset: 0; background: rgba(23, 23, 27, 0.6); backdrop-filter: blur(4px); }
.booking-panel {
  position: relative;
  height: 85vh;
  width: 100%;
  max-width: 48rem;
  border-radius: var(--radius-card);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}
.booking-panel iframe { width: 100%; height: 100%; border: 0; }
.booking-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: 0;
  border-radius: 9999px;
  background: #fff;
  color: var(--brand-ink);
  cursor: pointer;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
}
.booking-close:hover { background: var(--brand-soft); }
@media (min-width: 640px) { .booking-modal { padding: 1.5rem; } }
.booking-panel-form {
  height: auto;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  text-align: left;
}
@media (min-width: 640px) { .booking-panel-form { padding: 2.5rem; } }
.booking-title { font-size: 1.375rem; font-weight: 700; color: var(--brand-ink); margin: 0 0 0.375rem; padding-right: 2rem; }
.booking-sub { font-size: 0.9375rem; color: var(--brand-slate); margin: 0 0 1.25rem; }
.booking-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.booking-panel-form .form-success,
.booking-panel-form .form-errors { margin-bottom: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--brand-paper), #fff 55%);
}

/* Three slow-drifting colour fields — the brand arc colours, softened. */
.hero-aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}
.aurora-1 {
  width: 34rem; height: 34rem;
  top: -14rem; left: -10rem;
  background: radial-gradient(circle, rgba(251, 46, 1, 0.5), transparent 65%);
  animation: drift-a 22s var(--ease-out) infinite alternate;
}
.aurora-2 {
  width: 30rem; height: 30rem;
  top: -8rem; right: -8rem;
  background: radial-gradient(circle, rgba(255, 152, 1, 0.45), transparent 65%);
  animation: drift-b 26s var(--ease-out) infinite alternate;
}
.aurora-3 {
  width: 28rem; height: 28rem;
  bottom: -14rem; left: 32%;
  background: radial-gradient(circle, rgba(2, 136, 209, 0.4), transparent 65%);
  animation: drift-c 30s var(--ease-out) infinite alternate;
}

/* Faint blueprint grid, faded out at the edges. */
.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.045) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3.5rem;
  padding-block: 3.5rem 4.5rem;
}
/* Every direct child of the hero rises in sequence via its own --d. */
.hero-content > *, .hero-media {
  animation: fade-up 0.8s var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-slate);
  box-shadow: var(--sh-1);
}
.dot { width: 0.5rem; height: 0.5rem; border-radius: var(--radius-pill); background: var(--brand-coral); flex: none; }
.dot-live { position: relative; background: #22c55e; }
.dot-live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: ping 2s var(--ease-out) infinite;
}

.hero-title {
  margin-top: 1.75rem;
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--brand-ink);
}
/* Warm-only ramp: red → coral → orange. Mixing the brand blue in here
   passes through olive/grey, which reads as muddy at display sizes. */
.gradient-text {
  background: linear-gradient(100deg, var(--brand-primary), var(--brand-coral) 45%, var(--brand-orange));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hue-pan 9s ease-in-out infinite alternate;
}
.hero-lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--brand-slate);
}
.hero-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* Trust row: overlapping initials + rating */
.trust-row {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}
.avatar-stack { display: inline-flex; }
.stack-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: var(--radius-pill);
  border: 2px solid #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease-spring);
}
.stack-avatar + .stack-avatar { margin-left: -0.6875rem; }
.avatar-stack:hover .stack-avatar { transform: translateY(-3px); }
.stack-more { background: var(--brand-ink); font-size: 0.625rem; }
.trust-text { display: flex; flex-direction: column; gap: 0.125rem; }
.stars { display: flex; gap: 0.125rem; }
.star { width: 0.9375rem; height: 0.9375rem; color: var(--brand-orange); }
.trust-note { color: var(--brand-slate); font-size: 0.8125rem; }
.trust-note strong { color: var(--brand-ink); }

/* Hero image + its floating glass chips */
.hero-media { position: relative; }
.media-glow {
  position: absolute;
  inset: -1.75rem;
  pointer-events: none;
  border-radius: 3rem;
  background: linear-gradient(to top right, rgba(251, 46, 1, 0.18), rgba(255, 152, 1, 0.12), rgba(2, 136, 209, 0.18));
  filter: blur(28px);
}
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--sh-4);
}
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.glass {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--sh-3);
}
.float-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1.125rem;
  padding: 0.875rem 1.125rem;
  animation: float-y 6s ease-in-out infinite;
}
.float-card-br { bottom: -1.25rem; left: auto; right: -1rem; }
.float-spark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: var(--brand-pale);
  color: var(--brand-primary);
  flex: none;
}
.float-value { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; color: var(--brand-ink); }
.float-label { font-size: 0.75rem; color: var(--brand-slate); }
.float-rating {
  position: absolute;
  top: -1rem;
  right: -0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  animation: float-y 7s ease-in-out 0.6s infinite;
}
.float-chip {
  position: absolute;
  bottom: 22%;
  right: -1.5rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-ink);
  animation: float-y 8s ease-in-out 1.2s infinite;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
  .float-card { left: -1.5rem; }
  .float-card-br { left: auto; right: -1.5rem; }
  .float-rating { right: -1rem; }
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 4.5rem;
    align-items: center;
    padding-block: 5.5rem 7rem;
  }
  .float-chip { display: inline-flex; }
}

/* ---------- Logo strip ---------- */
.logo-strip { border-block: 1px solid var(--brand-border); background: #fff; padding-block: 2.25rem; }
.logo-strip-label { text-align: center; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand-slate); opacity: 0.75; }
.brand-names { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 3rem; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-ink);
  opacity: 0.28;
  filter: grayscale(1);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.brand-name:hover { opacity: 0.65; transform: translateY(-2px); }
/* Real client marks: same resting-quiet / hover-reveal treatment as the
   text placeholders they replace, so the strip reads as one system
   regardless of how many brands have supplied an actual logo yet. */
.brand-logo {
  display: flex;
  align-items: center;
  height: 2.25rem;
  filter: grayscale(1);
  opacity: 0.45;
  transition: opacity var(--dur) var(--ease-out), filter var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.brand-logo img { height: 100%; width: auto; max-width: 8rem; object-fit: contain; }
.brand-logo:hover { opacity: 1; filter: grayscale(0); transform: translateY(-2px); }

/* ---------- Split sections (image + text) ---------- */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.glow-frame { position: absolute; inset: -1.5rem; pointer-events: none; border-radius: 2.5rem; filter: blur(24px); }
.glow-frame-warm { background: linear-gradient(to top right, rgba(251, 46, 1, 0.16), rgba(255, 152, 1, 0.1), rgba(2, 136, 209, 0.16)); }
.frame-img {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid var(--brand-border);
  overflow: hidden;
  box-shadow: var(--sh-3);
}
.frame-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.frame-img:hover img { transform: scale(1.04); }
.frame-img-dark { border-color: rgba(255, 255, 255, 0.12); box-shadow: var(--sh-4); }
.media-wrap { position: relative; }

/* Numbered stage list with a connecting spine. */
.stage-list { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.25rem; margin-left: 0; padding: 0; list-style: none; }
.stage-item { position: relative; display: flex; gap: 1rem; padding: 0.75rem 0; }
.stage-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 3rem;
  bottom: -0.25rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-border), transparent);
}
.stage-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  color: var(--brand-primary);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease-spring), border-color var(--dur) var(--ease-out);
}
.stage-item:hover .stage-icon { transform: scale(1.08) rotate(-5deg); border-color: var(--brand-primary); }
.stage-title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; color: var(--brand-ink); }
.stage-desc { margin-top: 0.1875rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }

/* ---------- Benefits ---------- */
.benefit-card { padding: 1.75rem; }
.benefit-card .icon { color: var(--brand-primary); }
.benefit-title { margin-top: 1rem; font-size: 1.125rem; font-weight: 700; color: var(--brand-ink); }
.benefit-desc { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--brand-slate); }

/* ---------- Check lists ---------- */
.check-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.check-item { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--brand-ink); }
.check-item .icon { color: var(--brand-primary); margin-top: 0.125rem; }

/* ---------- About / careers value cards ---------- */
.value-card { padding: 1.75rem; text-align: center; }
.value-title { font-size: 1.125rem; font-weight: 700; color: var(--brand-primary); }
.value-desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--brand-slate); }
.perk-card { padding: 1.5rem; }
.perk-card .icon { color: var(--brand-primary); }
.perk-title { margin-top: 0.75rem; font-weight: 700; color: var(--brand-ink); }
.perk-desc { margin-top: 0.25rem; font-size: 0.875rem; color: var(--brand-slate); }

/* ---------- Careers roles ---------- */
.role-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}
.role-title { font-weight: 700; color: var(--brand-ink); }
.role-meta { margin-top: 0.25rem; font-size: 0.875rem; color: var(--brand-slate); }
.role-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding-inline: 1rem;
  border-radius: var(--radius-btn);
  background: var(--brand-primary);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  transition: background 0.2s ease;
}
.role-apply:hover { background: var(--brand-primary-dark); }
@media (min-width: 640px) {
  .role-row { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Contact form */
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-field { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label { font-size: 0.875rem; font-weight: 600; color: var(--brand-ink); }
.form-input {
  width: 100%;
  border-radius: var(--radius-input);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--brand-ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input::placeholder { color: rgba(85, 91, 102, 0.6); }
.form-input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(214, 0, 0, 0.15); }
.form-note { text-align: center; font-size: 0.75rem; color: var(--brand-slate); }
.form-note a { font-weight: 600; color: var(--brand-primary); }
.form-note a:hover { text-decoration: underline; }
.form-success {
  display: none;
  border-radius: var(--radius-input);
  background: var(--brand-pale);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
}
.form-success.show { display: block; }
.form-errors {
  display: block;
  margin-bottom: 1rem;
  border-radius: var(--radius-input);
  background: #fdecec;
  border: 1px solid #f6c6c6;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-align: left;
}
.form-errors p { margin: 0.25rem 0; }
.btn.is-sending { opacity: 0.65; cursor: wait; }
.hidden { display: none !important; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid var(--brand-border); border-radius: var(--radius-card); background: #fff; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--brand-ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform 0.2s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 1.5rem 1.25rem; color: var(--brand-slate); }

/* ---------- Service detail ---------- */
.svc-hero { border-bottom: 1px solid var(--brand-border); background: rgba(245, 246, 248, 0.5); padding-block: 4rem; }
@media (min-width: 640px) { .svc-hero { padding-block: 5rem; } }
.svc-hero-icon { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 1rem; }
.svc-title { margin-top: 1.5rem; font-size: 2.25rem; font-weight: 800; letter-spacing: -0.025em; color: var(--brand-ink); }
.svc-tagline { margin-top: 0.75rem; font-size: 1.25rem; font-weight: 700; color: var(--brand-primary); }
.svc-desc { margin-top: 1rem; font-size: 1.125rem; line-height: 1.625; color: var(--brand-slate); }
.svc-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) {
  .svc-title { font-size: 3rem; }
  .svc-actions { flex-direction: row; }
}
.svc-image-frame {
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.18);
}
.svc-image-frame img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.who-card { padding: 1.5rem; }
.who-card .icon { margin-bottom: 0.75rem; }
.offer-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.offer-item { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--brand-ink); }
.offer-item .icon { margin-top: 0.125rem; }

/* ============================================================
   Work index — hero deck, showcase rows, process
   ============================================================ */
.wk-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--brand-paper));
  border-bottom: 1px solid var(--brand-border);
}
.wk-glow {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(70px);
}
.wk-glow-a { top: -16rem; right: -6rem; width: 34rem; height: 34rem; background: rgba(251, 46, 1, 0.24); }
.wk-glow-b { bottom: -18rem; left: -10rem; width: 30rem; height: 30rem; background: rgba(2, 136, 209, 0.2); }
.wk-hero-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.045) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 45% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 45% 30%, #000 30%, transparent 100%);
}
.wk-hero-inner { position: relative; padding-block: 2rem 0; }
.wk-hero-grid { display: grid; gap: 3rem; padding-block: 2.5rem 3rem; align-items: center; }
.wk-title {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--brand-ink);
}
.wk-lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.75; color: var(--brand-slate); }
.wk-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* A shuffled 3D stack of the projects — the page's signature object. */
.wk-deck { position: relative; height: 20rem; perspective: 1400px; }
.wk-deck-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-4);
  transform-origin: 50% 100%;
  transition: transform var(--dur-slow) var(--ease-spring);
}
.wk-deck-card img { width: 100%; height: 100%; object-fit: cover; }
.wk-deck-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
}
.wk-deck-1 { transform: rotateX(10deg) rotateZ(-9deg) translate(-16%, 12%) scale(0.82); opacity: 0.85; }
.wk-deck-2 { transform: rotateX(7deg) rotateZ(-4deg) translate(-7%, 6%) scale(0.91); opacity: 0.95; }
.wk-deck-3 { transform: rotateX(4deg) rotateZ(2deg); animation: float-y 8s ease-in-out infinite; }
.wk-deck:hover .wk-deck-1 { transform: rotateX(6deg) rotateZ(-13deg) translate(-26%, 10%) scale(0.84); }
.wk-deck:hover .wk-deck-2 { transform: rotateX(4deg) rotateZ(-6deg) translate(-14%, 4%) scale(0.93); }
.wk-deck:hover .wk-deck-3 { transform: rotateX(0deg) rotateZ(4deg) translateY(-8px); }

/* Headline numbers under the hero. */
.wk-topline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--brand-border);
}
.wk-topline li { position: relative; padding: 1.5rem 0.5rem; }
.wk-topline li + li::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 1px;
  background: var(--brand-border);
}
.wk-topline li:nth-child(3)::before { content: none; }
.wk-topline-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--accent, var(--brand-primary));
}
.wk-topline-label { display: block; margin-top: 0.5rem; font-size: 0.8125rem; color: var(--brand-slate); }
@media (min-width: 640px) {
  .wk-actions { flex-direction: row; }
  .wk-topline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wk-topline li { padding-inline: 1.5rem; }
  .wk-topline li:first-child { padding-left: 0; }
  .wk-topline li:nth-child(3)::before { content: ""; }
  .wk-topline li + li::before { left: 0; }
}
@media (min-width: 1024px) {
  .wk-hero-inner { padding-block: 2.5rem 0; }
  .wk-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; padding-block: 3.5rem 4rem; }
  .wk-deck { height: 26rem; }
}

/* ---------- Showcase rows ---------- */
.wk-cases { padding-block: 3.5rem; background: #fff; }
@media (min-width: 768px) { .wk-cases { padding-block: 4.5rem; } }
.wk-case {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: 2.5rem;
  border-top: 1px solid var(--brand-border);
}
.wk-case:first-child { border-top: 0; padding-top: 0; }

.wk-case-media { position: relative; display: block; }
.wk-case-halo {
  position: absolute;
  inset: -1.5rem -1rem;
  pointer-events: none;
  border-radius: 2.5rem;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 34%, transparent), rgba(2, 136, 209, 0.2));
  filter: blur(38px);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.wk-case:hover .wk-case-halo { opacity: 0.6; }
.wk-case-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--brand-border);
  background: var(--brand-soft);
  box-shadow: var(--sh-2);
  transition: transform var(--dur-slow) var(--ease-spring), box-shadow var(--dur-slow) var(--ease-out);
}
.wk-case-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.wk-case:hover .wk-case-frame { transform: translateY(-6px); box-shadow: var(--sh-4); }
.wk-case:hover .wk-case-frame img { transform: scale(1.05); }
.wk-case-index {
  position: absolute;
  z-index: 2;
  left: -0.75rem;
  top: -1.25rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: color-mix(in srgb, var(--accent) 22%, #fff);
  text-shadow: 0 1px 0 #fff;
}

.wk-case-cat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.wk-case-cat span { opacity: 0.4; }
.wk-case-title {
  margin-top: 0.875rem;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
}
.wk-case-title a { transition: color var(--dur-fast) var(--ease-out); }
.wk-case:hover .wk-case-title a { color: var(--accent); }
.wk-case-summary { margin-top: 0.875rem; max-width: 34rem; font-size: 1rem; line-height: 1.7; color: var(--brand-slate); }
.wk-case-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.wk-case-tags li {
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 0.3125rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-slate);
}
.wk-case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--brand-border);
  list-style: none;
}
.wk-case-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1rem + 1.2vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--accent);
}
.wk-case-label { display: block; margin-top: 0.4375rem; font-size: 0.75rem; line-height: 1.4; color: var(--brand-slate); }
.wk-case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent);
}
.wk-case-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  transition: transform var(--dur) var(--ease-spring);
}
.wk-case:hover .wk-case-arrow { transform: translateX(4px); }
@media (min-width: 900px) {
  .wk-case { grid-template-columns: 1fr 1fr; gap: 3.5rem; padding-block: 3.5rem; }
  /* Every other row flips, so the eye never settles into a grid. */
  .wk-case:nth-child(even) .wk-case-media { order: 2; }
  .wk-case:nth-child(even) .wk-case-index { left: auto; right: -0.75rem; }
}

/* ---------- How it happens ---------- */
.wk-how { padding-block: 3.5rem; background: var(--brand-paper); border-top: 1px solid var(--brand-border); }
@media (min-width: 768px) { .wk-how { padding-block: 4.5rem; } }
.wk-how-head { max-width: 44rem; }
.wk-how-steps { display: grid; gap: 1.5rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.wk-how-step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--brand-ink);
}
.wk-how-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 8%, #fff));
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--brand-primary) 14%, #fff);
}
.wk-how-icon .icon { stroke-width: 1.5; }
.wk-how-num {
  display: block;
  margin-top: 1.125rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-primary);
}
.wk-how-step h3 { margin-top: 0.5rem; font-size: 1.25rem; font-weight: 700; color: var(--brand-ink); }
.wk-how-step p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.65; color: var(--brand-slate); }
@media (min-width: 700px) { .wk-how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; } }
@media (min-width: 1100px) { .wk-how-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ============================================================
   Case study detail
   ============================================================ */
.cs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--brand-paper));
  border-bottom: 1px solid var(--brand-border);
}
.cs-glow {
  position: absolute;
  z-index: -1;
  top: -18rem;
  right: -8rem;
  width: 40rem;
  height: 40rem;
  pointer-events: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 26%, transparent);
  filter: blur(70px);
}
.cs-hero-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.04) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 100%);
}
.cs-hero-inner { position: relative; padding-block: 1.75rem 2.5rem; }
.cs-hero-grid { display: grid; gap: 2.5rem; padding-block: 2rem 2.5rem; align-items: center; }
.cs-hero-copy { max-width: 38rem; }
.cs-hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cs-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.cs-eyebrow-dot { width: 0.5rem; height: 0.5rem; border-radius: var(--radius-pill); background: var(--accent); }
.cs-eyebrow-sep { opacity: 0.4; }
.cs-title {
  margin-top: 1.125rem;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: var(--brand-ink);
}
.cs-summary { margin-top: 1rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.7; color: var(--brand-slate); }
.cs-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.cs-tags a, .cs-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-ink);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease-spring), border-color var(--dur) var(--ease-out);
}
.cs-tags a .icon { color: var(--accent); }
.cs-tags a:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--brand-border)); }

.cs-stage { position: relative; }
.cs-stage-halo {
  position: absolute;
  inset: -2rem -1.5rem;
  pointer-events: none;
  border-radius: 3rem;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 34%, transparent), rgba(2, 136, 209, 0.2));
  filter: blur(44px);
  opacity: 0.55;
}
.cs-stage-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 1.75rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-4);
}
.cs-stage-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cs-stage-card {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: 1.25rem;
  border-radius: 1.125rem;
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 1rem 1.25rem;
  box-shadow: var(--sh-3);
  animation: float-y 7s ease-in-out infinite;
}
.cs-stage-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--accent);
}
.cs-stage-label { margin-top: 0.3125rem; font-size: 0.75rem; color: var(--brand-slate); }

.cs-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--brand-border);
}
.cs-meta > div { position: relative; padding: 1.375rem 0.5rem; }
.cs-meta > div + div::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 1.125rem;
  bottom: 1.125rem;
  width: 1px;
  background: var(--brand-border);
}
.cs-meta dt {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-slate);
}
.cs-meta dd {
  margin: 0.4375rem 0 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--brand-ink);
}
@media (min-width: 640px) {
  .cs-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cs-meta > div { padding-inline: 1.5rem; }
  .cs-meta > div:first-child { padding-left: 0; }
  .cs-meta > div + div::before { left: 0; }
}
@media (min-width: 1024px) {
  .cs-hero-inner { padding-block: 2.25rem 3rem; }
  .cs-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; padding-block: 2.5rem 3rem; }
}

/* ---------- Results — cards, not a black strip ---------- */
.cs-numbers { background: #fff; padding-block: 2.5rem 3rem; }
.cs-number-row {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  perspective: 1200px;
}
.cs-number {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.5rem 1.625rem 1.375rem;
  box-shadow: var(--sh-3);
  transition: transform var(--dur-slow) var(--ease-spring), box-shadow var(--dur-slow) var(--ease-out);
}
.cs-number::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(to right, var(--accent), color-mix(in srgb, var(--accent) 25%, #fff));
}
.cs-number:hover { transform: translateY(-5px); box-shadow: var(--sh-4); }
.cs-number-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  padding: 0.3125rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--accent) 80%, #000);
}
.cs-number-tag .icon { width: 0.75rem; height: 0.75rem; }
.cs-number-value {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--brand-ink);
}
.cs-number-label { margin-top: 0.4375rem; font-size: 0.9375rem; color: var(--brand-slate); }
/* A quiet progress bar so the card reads as a measurement, not a slogan. */
.cs-number-bar {
  display: block;
  height: 4px;
  margin-top: 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  overflow: hidden;
}
.cs-number-bar span {
  display: block;
  height: 100%;
  width: var(--w, 60%);
  border-radius: inherit;
  background: linear-gradient(to right, var(--accent), color-mix(in srgb, var(--accent) 45%, #fff));
  transform-origin: left center;
  animation: cs-bar 1.1s var(--ease-out) both;
  animation-delay: calc(var(--d, 0ms) + 250ms);
}
@keyframes cs-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.cs-numbers-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--brand-slate);
}
.cs-numbers-note .icon { flex: none; margin-top: 0.125rem; color: #16a34a; }
@media (min-width: 800px) { .cs-number-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }

/* ---------- The work — timeline beside the delivered screens ---------- */
.cs-work-grid { display: grid; gap: 3rem; margin-top: 2.5rem; align-items: start; }
@media (min-width: 1000px) {
  .cs-work-grid { grid-template-columns: minmax(0, 1fr) 25rem; gap: 4rem; }
  .cs-mock { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

/* Device frames — stock photography reads as delivered work inside them. */
.cs-mock { position: relative; padding-bottom: 3.5rem; }
.cs-browser {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-4);
}
.cs-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--brand-border);
  background: var(--brand-paper);
}
.cs-browser-dot { width: 0.5rem; height: 0.5rem; border-radius: var(--radius-pill); background: var(--brand-border); }
.cs-browser-dot:first-child { background: color-mix(in srgb, var(--accent) 55%, #fff); }
.cs-browser-url {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  flex: 1;
  margin-left: 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.1875rem 0.625rem;
  font-size: 0.6875rem;
  color: var(--brand-slate);
}
.cs-browser-url .icon { width: 0.6875rem; height: 0.6875rem; color: #16a34a; }
.cs-browser img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }

.cs-phone {
  position: absolute;
  right: -0.75rem;
  bottom: 0;
  width: 7.75rem;
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 5px solid var(--brand-ink);
  background: var(--brand-ink);
  box-shadow: var(--sh-4);
  animation: float-y 8s ease-in-out infinite;
}
.cs-phone-notch {
  position: absolute;
  z-index: 2;
  top: 0.375rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.75rem;
  height: 0.375rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.35);
}
.cs-phone img { width: 100%; aspect-ratio: 9 / 17; object-fit: cover; border-radius: 1.125rem; }

.cs-mock-tag {
  position: absolute;
  left: 0;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-ink);
  box-shadow: var(--sh-2);
}
.cs-mock-tag .icon { color: #16a34a; }

/* ---------- Result outro: the takeaway beside a closing image ---------- */
/* The takeaway sits on the closing image, so there are no mismatched columns. */
.cs-outro {
  position: relative;
  margin: 2.5rem 0 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  box-shadow: var(--sh-2);
}
.cs-outro img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.cs-outro:hover img { transform: scale(1.04); }
@media (min-width: 700px) { .cs-outro img { aspect-ratio: 21 / 9; } }

/* Story sections */
.cs-section { padding-block: 3.5rem; background: #fff; }
@media (min-width: 768px) { .cs-section { padding-block: 4.5rem; } }
.cs-section-paper { background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
.cs-head { max-width: 44rem; }
.cs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent, var(--brand-primary));
}
.cs-kicker-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.625rem;
  background: color-mix(in srgb, var(--accent, var(--brand-primary)) 12%, transparent);
  letter-spacing: 0.04em;
}
.cs-h2 {
  margin-top: 0.875rem;
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
}
.cs-lead { margin-top: 1rem; max-width: 40rem; font-size: 1.0625rem; line-height: 1.7; color: var(--brand-slate); }

/* ---------- Background & objectives ---------- */
.cs-brief { display: grid; gap: 2.5rem; align-items: start; }
.cs-brief-text { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.75; color: var(--brand-slate); }
.cs-brief-text:first-of-type { color: var(--brand-ink); }
.cs-brief-facts {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--brand-border);
}
.cs-brief-facts > div {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--brand-border);
}
.cs-brief-facts dt {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-slate);
  padding-top: 0.1875rem;
}
.cs-brief-facts dd { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--brand-ink); }

/* Objectives — stated up front, so the results have something to be judged against. */
.cs-goals {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--brand-border));
  background: color-mix(in srgb, var(--accent) 5%, #fff);
  padding: 1.75rem;
}
.cs-goals-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-slate);
}
.cs-goals-label .icon { color: var(--accent); }
.cs-goals ol { margin: 1.25rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.cs-goals ol { flex: 1; justify-content: space-evenly; }
.cs-goals li {
  display: grid;
  grid-template-columns: 1.875rem minmax(0, 1fr);
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--brand-ink);
}
.cs-goal-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 0.625rem;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--brand-border));
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}
.cs-goals-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--accent) 20%, var(--brand-border));
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-ink);
}
.cs-goals-foot .icon { color: #16a34a; flex: none; }
@media (min-width: 900px) { .cs-brief { grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: stretch; } }

/* ---------- The work — a phased timeline ---------- */
.cs-phases { margin: 2.5rem 0 0; padding: 0; list-style: none; }
.cs-phase { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.375rem 1.25rem; }
.cs-phase-when { grid-column: 2; grid-row: 1; }
.cs-phase-rail { grid-column: 1; grid-row: 1 / span 2; }
.cs-phase-body { grid-column: 2; grid-row: 2; }
.cs-phase-rail { position: relative; display: flex; justify-content: center; }
/* The rail runs between the dots, so the phases read as one sequence. */
.cs-phase-rail::before {
  content: "";
  position: absolute;
  top: 2.75rem;
  bottom: -0.25rem;
  width: 2px;
  background: color-mix(in srgb, var(--accent) 22%, var(--brand-border));
}
.cs-phase:last-child .cs-phase-rail::before { display: none; }
.cs-phase-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(155deg, color-mix(in srgb, var(--accent) 88%, #fff), var(--accent));
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 2px 0 color-mix(in srgb, var(--accent) 30%, #fff);
}
.cs-phase-body { padding-bottom: 2rem; }
.cs-phase:last-child .cs-phase-body { padding-bottom: 0; }
.cs-phase-when {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.cs-phase-when .icon { width: 0.8125rem; height: 0.8125rem; }
.cs-phase-body h3 { margin-top: 0.5rem; font-size: 1.1875rem; font-weight: 700; color: var(--brand-ink); }
.cs-phase-body p { margin-top: 0.4375rem; max-width: 46rem; font-size: 0.9375rem; line-height: 1.7; color: var(--brand-slate); }
@media (min-width: 800px) {
  /* On wide screens the timing moves out to a column of its own. */
  .cs-phase { grid-template-columns: 9rem 2.75rem minmax(0, 1fr); gap: 1.75rem; }
  .cs-phase-when { grid-column: 1; grid-row: 1; align-self: start; justify-content: flex-end; padding-top: 0.8125rem; text-align: right; }
  .cs-phase-rail { grid-column: 2; grid-row: 1; align-self: stretch; }
  .cs-phase-body { grid-column: 3; grid-row: 1; padding-bottom: 2.5rem; }
}

/* ---------- Before / after ---------- */
.cs-shift {
  margin-top: 2.5rem;
  border-top: 1px solid var(--brand-border);
}
.cs-shift-head { display: none; }
.cs-shift-row {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid var(--brand-border);
  transition: background var(--dur) var(--ease-out);
}
.cs-shift-row:hover { background: var(--brand-paper); }
.cs-shift-key {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-slate);
}
/* A subject icon per row, in the same light glass tile used across the site. */
.cs-shift-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--accent) 8%, #fff));
  color: var(--accent);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--accent) 12%, #fff);
  transition: transform var(--dur) var(--ease-spring);
}
.cs-shift-icon .icon { stroke-width: 1.5; }
.cs-shift-row:hover .cs-shift-icon { transform: translateY(-2px) scale(1.06); }
.cs-shift-before, .cs-shift-after {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 1rem;
  line-height: 1.5;
}
.cs-shift-before { color: var(--brand-slate); }
.cs-shift-after {
  color: var(--brand-ink);
  font-weight: 600;
  border-radius: 0.625rem;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  padding: 0.5rem 0.875rem;
  margin: -0.5rem -0.875rem;
}
.cs-shift-mark {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.0625rem;
  border-radius: var(--radius-pill);
}
.cs-shift-mark-before { background: var(--brand-soft); color: var(--brand-slate); opacity: 0.85; }
.cs-shift-mark-after { background: rgba(22, 163, 74, 0.12); color: #16a34a; }
.cs-shift-arrow { display: none; color: color-mix(in srgb, var(--accent) 60%, var(--brand-border)); }
@media (min-width: 850px) {
  .cs-shift-head {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr) 2rem minmax(0, 1fr);
    gap: 1.5rem;
    padding: 0 0.5rem 0.75rem;
  }
  .cs-shift-head span {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-slate);
  }
  .cs-shift-label-after { color: var(--accent); }
  .cs-shift-row {
    grid-template-columns: 15rem minmax(0, 1fr) 2rem minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
  }
  .cs-shift-key { padding-right: 1rem; }
  .cs-shift-head span:first-child { padding-left: 3rem; }
  .cs-shift-arrow { display: flex; align-items: center; justify-content: center; }
}

.cs-impact {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 1.125rem 1.375rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--brand-ink);
  box-shadow: var(--sh-3);
}
@media (min-width: 700px) {
  .cs-impact {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    max-width: 30rem;
    margin: 0;
    font-size: 1rem;
  }
}
/* Fallback when a case study has no closing image. */
.cs-impact-plain {
  position: static;
  max-width: 46rem;
  margin-top: 2rem;
  background: color-mix(in srgb, var(--accent) 7%, var(--brand-paper));
  box-shadow: none;
}
.cs-impact-mark { flex: none; color: var(--accent); }


/* ---------- Could this work for you? ---------- */
.cs-fit { padding-block: 3.5rem; background: #fff; border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .cs-fit { padding-block: 4.5rem; } }
.cs-fit-grid { display: grid; gap: 2.5rem; align-items: start; }
.cs-fit-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cs-fit-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.cs-fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 1.25rem 1.375rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.cs-fit-list li:hover { transform: translateY(-3px); box-shadow: var(--sh-2); background: #fff; }
.cs-fit-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--accent) 8%, #fff));
  color: var(--accent);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--accent) 14%, #fff);
}
.cs-fit-icon .icon { stroke-width: 1.5; }
.cs-fit-list h3 { font-size: 1rem; font-weight: 700; color: var(--brand-ink); }
.cs-fit-list p { margin-top: 0.3125rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
@media (min-width: 950px) {
  .cs-fit-grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; }
  .cs-fit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Work index: why the numbers can be trusted ---------- */
.wk-trust { padding-block: 3.5rem; background: #fff; border-top: 1px solid var(--brand-border); }
@media (min-width: 768px) { .wk-trust { padding-block: 4.5rem; } }
.wk-trust-grid { display: grid; gap: 2.5rem; align-items: start; }
.wk-trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--brand-border);
  list-style: none;
}
.wk-trust-stats li { display: flex; flex-direction: column; gap: 0.25rem; }
.wk-trust-stats strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brand-primary);
}
.wk-trust-stats li > span { font-size: 0.8125rem; color: var(--brand-slate); }
.wk-trust-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.wk-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 1.25rem 1.375rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.wk-trust-list li:hover { transform: translateY(-3px); box-shadow: var(--sh-2); background: #fff; }
.wk-trust-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 7%, #fff));
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--brand-primary) 12%, #fff);
}
.wk-trust-icon .icon { stroke-width: 1.5; }
.wk-trust-list h3 { font-size: 1rem; font-weight: 700; color: var(--brand-ink); }
.wk-trust-list p { margin-top: 0.3125rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
@media (min-width: 950px) {
  .wk-trust-grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; }
  .wk-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Work index: process footer + starting points ---------- */
.wk-how-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--brand-border);
}
.wk-how-foot p { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--brand-slate); }
.wk-how-foot .icon { color: var(--brand-orange); }

.wk-start { padding-block: 3.5rem; background: #fff; border-top: 1px solid var(--brand-border); }
@media (min-width: 768px) { .wk-start { padding-block: 4.5rem; } }
.wk-start-list { margin: 2.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--brand-border); }
.wk-start-list a {
  display: grid;
  gap: 0.5rem;
  padding: 1.125rem 0.5rem;
  border-bottom: 1px solid var(--brand-border);
  transition: background var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out);
}
.wk-start-list a:hover { background: var(--brand-paper); padding-left: 1.25rem; }
.wk-start-when { font-family: var(--font-serif); font-size: 1.1875rem; line-height: 1.4; color: var(--brand-ink); }
.wk-start-go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}
.wk-start-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
}
.wk-start-arrow { transition: transform var(--dur) var(--ease-out); }
.wk-start-list a:hover .wk-start-arrow { transform: translateX(4px); }
@media (min-width: 800px) {
  .wk-start-list a { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; }
}

.cs-shot {
  position: relative;
  margin: 2.25rem 0 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-soft);
  box-shadow: var(--sh-2);
}
.cs-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1s var(--ease-out); }
.cs-shot:hover img { transform: scale(1.04); }
.cs-shot figcaption {
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--brand-border);
  background: #fff;
  font-size: 0.8125rem;
  color: var(--brand-slate);
}

/* Approach — a walked sequence */
.cs-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.cs-step {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.75rem 0.5rem;
  border-top: 1px solid var(--brand-border);
  transition: background var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out);
}
.cs-step:hover { background: #fff; padding-left: 1.25rem; }
.cs-step-num {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--accent, var(--brand-primary)) 55%, #fff);
  transition: color var(--dur) var(--ease-out);
}
.cs-step:hover .cs-step-num { color: var(--accent, var(--brand-primary)); }
.cs-step-body h3 { font-size: 1.125rem; font-weight: 700; color: var(--brand-ink); }
.cs-step-body p { margin-top: 0.4375rem; max-width: 44rem; font-size: 0.9375rem; line-height: 1.7; color: var(--brand-slate); }
/* The steps sit in a side column now, so one per row keeps the lines readable. */

/* Results list */
.cs-results { margin: 0; padding: 0; list-style: none; }
.cs-results li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--brand-border);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--brand-ink);
}
.cs-results li:first-child { border-top: 1px solid var(--brand-border); }
.cs-results .icon { flex: none; margin-top: 0.25rem; color: #16a34a; }

/* In their words */
.cs-voice { padding-block: 3rem; background: #fff; border-top: 1px solid var(--brand-border); }
@media (min-width: 768px) { .cs-voice { padding-block: 3.5rem; } }
.cs-voice-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 2rem;
  box-shadow: var(--sh-2);
}
.cs-voice-mark { color: color-mix(in srgb, var(--accent) 25%, #fff); }
.cs-voice-card blockquote {
  margin: 1rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 1.05rem + 1.2vw, 1.75rem);
  line-height: 1.4;
  color: var(--brand-ink);
}
.cs-voice-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1.5rem;
  padding-top: 1.375rem;
  border-top: 1px solid var(--brand-border);
}
.cs-voice-avatar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}
.cs-voice-who { display: flex; flex-direction: column; flex: 1; }
.cs-voice-name { font-weight: 700; color: var(--brand-ink); }
.cs-voice-role { font-size: 0.875rem; color: var(--brand-slate); }
.cs-voice-result {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 1.25rem;
  border-left: 1px solid var(--brand-border);
}
.cs-voice-result strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.cs-voice-result span { font-size: 0.75rem; color: var(--brand-slate); }

/* Next project */
.cs-next { padding-block: 3.5rem 4.5rem; background: #fff; border-top: 1px solid var(--brand-border); }
.cs-next-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.375rem 1.5rem;
  padding: 1.75rem 0;
  border-block: 1px solid var(--brand-border);
  transition: padding-left var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.cs-next-link:hover { background: var(--brand-paper); padding-left: 1.25rem; }
.cs-next-label {
  grid-column: 1;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.cs-next-title {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
}
.cs-next-meta { grid-column: 1; font-size: 0.875rem; color: var(--brand-slate); }
.cs-next-thumb {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: none;
  width: 8rem;
  height: 5.5rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--brand-border);
  box-shadow: var(--sh-1);
}
.cs-next-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.cs-next-link:hover .cs-next-thumb img { transform: scale(1.08); }
.cs-next-go {
  grid-column: 3;
  grid-row: 1 / span 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: var(--accent);
  transition: transform var(--dur) var(--ease-spring);
}
.cs-next-link:hover .cs-next-go { transform: translateX(5px); }
.cs-next-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-slate);
  transition: color var(--dur-fast) var(--ease-out);
}
.cs-next-all:hover { color: var(--brand-ink); }
@media (min-width: 700px) {
  .cs-next-link { grid-template-columns: minmax(0, 1fr) auto auto; }
  .cs-next-thumb { display: block; }
}

/* ---------- Blog ---------- */
.blog-card .card-img, .work-card .card-img { height: 11rem; }
.blog-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--brand-slate); }
.blog-card .card-title { transition: color 0.2s ease; }
.blog-card:hover .card-title { color: var(--brand-primary); }
.blog-arrow { display: flex; justify-content: flex-end; margin-top: auto; padding-top: 1.5rem; color: var(--brand-primary); }
@media (min-width: 640px) { .post-title { font-size: 3rem; } }

/* ---------- Industries page ---------- */
.featured-card .card-img { height: 9rem; }
.featured-card .card-body { padding: 1.5rem; }
.featured-title { font-weight: 700; color: var(--brand-ink); }
.featured-desc { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--brand-slate); }

/* ---------- Legal pages ---------- */
.legal-list { display: flex; flex-direction: column; gap: 2.5rem; }
.legal-title { font-size: 1.25rem; font-weight: 700; color: var(--brand-ink); }
.legal-body { margin-top: 0.5rem; line-height: 1.625; color: var(--brand-slate); }

/* ---------- 404 ---------- */
.notfound { min-height: 65vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6rem 1rem; text-align: center; }
.notfound-code { margin-top: 2.5rem; font-size: 4.5rem; font-weight: 800; color: var(--brand-primary); }
.notfound-title { margin-top: 1rem; font-size: 1.5rem; font-weight: 700; color: var(--brand-ink); }
.notfound-desc { margin-top: 0.5rem; max-width: 28rem; color: var(--brand-slate); }
.notfound .btn { margin-top: 2rem; }

/* ============================================================
   Design layer — sections, surfaces and motion added in the
   2026 homepage refresh. Later in the file so it wins on
   specificity ties with the base component rules above.
   ============================================================ */

/* ---------- Surfaces & rhythm ---------- */
/* Decorative glows sit outside their section's box by design. `clip` contains
   them without creating a scroll container, so the sticky header (outside
   <main>) and in-page anchors keep working. */
main { overflow-x: clip; }
.section { padding-block: 5.5rem; }
@media (min-width: 768px) { .section { padding-block: 7rem; } }
.bg-paper { background: var(--brand-paper); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  padding: 0.375rem 0.875rem;
  font-size: 0.6875rem;
  letter-spacing: 0.11em;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, transparent);
}
.eyebrow .icon { width: 0.875rem; height: 0.875rem; }
.eyebrow-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.375rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(255, 255, 255, 0.9);
}
.section-title-light { color: #fff; }
.text-link-light { color: #fff; }

/* ---------- Service / work card refinements ---------- */
.card { transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.card-img { height: 11rem; }
.card-img-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 26, 0.55), transparent 55%);
  opacity: 0.85;
}
/* Icon tile straddling the image edge — gives the card a focal point.
   Lives in .card-body, not .card-img, so the image's overflow can't clip it. */
.service-card .card-body { position: relative; }
.card-float-icon {
  position: absolute;
  left: 1.75rem;
  top: -1.375rem;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: #fff;
  color: var(--accent, var(--brand-primary));
  border: 1px solid var(--brand-border);
  box-shadow: var(--sh-2);
  transition: transform var(--dur) var(--ease-spring);
}
.service-card .card-body { padding-top: 2.25rem; }
.service-card:hover { border-color: color-mix(in srgb, var(--accent, var(--brand-primary)) 40%, var(--brand-border)); }
.service-card:hover .card-float-icon { transform: translateY(-3px) scale(1.06); }
.card-tagline { color: var(--accent, var(--brand-primary)); }
.card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 1.125rem 0 0;
  padding: 0;
  list-style: none;
}
.card-chips li {
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--brand-slate);
}
.card-chips .chip-more { background: transparent; border: 1px dashed var(--brand-border); }
.card-link { color: var(--accent, var(--brand-primary)); }
.card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent, var(--brand-primary)) 12%, transparent);
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.service-card:hover .card-arrow {
  transform: translate(3px, -3px);
  background: color-mix(in srgb, var(--accent, var(--brand-primary)) 22%, transparent);
}
.work-card:hover { border-color: color-mix(in srgb, var(--accent, var(--brand-primary)) 40%, var(--brand-border)); }
.metric-value { font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -0.02em; }

/* ---------- Capability marquee ---------- */
.marquee-section {
  border-block: 1px solid var(--brand-border);
  background: var(--brand-ink);
  padding-block: 1.25rem;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.82);
}
.marquee-item .icon { color: var(--brand-orange); opacity: 0.75; }

/* ---------- Bento benefits ---------- */
.bento { display: grid; gap: 1rem; }
.bento-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.75rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--brand-ink); }
.bento-card .icon-tile { transition: transform var(--dur) var(--ease-spring); }
.bento-card:hover .icon-tile { transform: scale(1.08) rotate(-5deg); }
.benefit-title { margin-top: 1.125rem; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; color: var(--brand-ink); }
.benefit-desc { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.65; color: var(--brand-slate); }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* First and last span two columns so six cards fill two rows exactly. */
  .bento-card:first-child, .bento-card:last-child { grid-column: span 2; }
  .bento-lead { background: linear-gradient(150deg, #fff, var(--brand-pale)); }
}

/* ---------- Process timeline ---------- */
.timeline { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.timeline-step { position: relative; display: flex; gap: 1.25rem; padding-bottom: 1.75rem; }
.timeline-marker { position: relative; flex: none; }
.timeline-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  color: var(--brand-primary);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease-spring), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.timeline-step:hover .timeline-dot {
  transform: scale(1.06);
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
}
/* Dashed spine: vertical on mobile, horizontal once the steps sit side by side. */
.timeline-step:not(:last-child) .timeline-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 3.75rem;
  bottom: -1.75rem;
  width: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, var(--brand-border) 0 6px, transparent 6px 12px);
}
.step-number {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-primary);
}
.timeline-title { margin-top: 0.5rem; font-size: 1.25rem; font-weight: 700; color: var(--brand-ink); }
.timeline-desc { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.65; color: var(--brand-slate); }
@media (min-width: 768px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
  .timeline-step { flex-direction: column; gap: 1.25rem; padding-bottom: 0; }
  .timeline-marker { width: 100%; }
  .timeline-step:not(:last-child) .timeline-marker::after {
    left: 4rem;
    top: 1.625rem;
    bottom: auto;
    width: calc(100% - 4rem + 1.75rem);
    height: 2px;
    transform: none;
    background: repeating-linear-gradient(to right, var(--brand-border) 0 6px, transparent 6px 12px);
  }
}

/* ---------- FAQ ---------- */
.faq-section { background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
.faq-layout { display: grid; gap: 3rem; align-items: start; }
/* Scoped to .faq-section: contact.php and process.php reuse .faq-list and
   .faq-item for a <details>-based accordion that must keep its own styling. */
.faq-section .faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-section .faq-item {
  border-radius: 1rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.faq-section .faq-item.open { border-color: var(--brand-primary); box-shadow: var(--sh-2); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 3.5rem;
  border: 0;
  background: transparent;
  padding: 1.125rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  color: var(--brand-ink);
  cursor: pointer;
}
.faq-sign {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-slate);
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.faq-item.open .faq-sign { transform: rotate(135deg); background: var(--brand-primary); color: #fff; }
/* 0fr → 1fr animates an unknown content height; the panel has a single child. */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > p {
  overflow: hidden;
  margin: 0;
  padding-inline: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--brand-slate);
}
.faq-item.open .faq-a > p { padding-bottom: 1.25rem; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- About band (dark) ---------- */
.about-band {
  position: relative;
  overflow: hidden;
  background: var(--brand-ink);
  color: #fff;
  padding-block: 5.5rem;
}
@media (min-width: 768px) { .about-band { padding-block: 7rem; } }
.about-band .container { position: relative; }
.about-band-lead { margin-top: 1.5rem; font-size: 1.0625rem; line-height: 1.75; color: rgba(255, 255, 255, 0.72); }
.about-band-note { margin-top: 1rem; font-size: 0.9375rem; line-height: 1.7; color: rgba(255, 255, 255, 0.5); }
.about-band .section-head { margin-inline: 0; text-align: left; }

/* ---------- CTA refinements ---------- */
.cta-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 4rem 4rem;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent);
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  padding: 0.4375rem 0.875rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.cta-title { font-size: clamp(1.875rem, 1.1rem + 3.2vw, 3.25rem); line-height: 1.06; letter-spacing: -0.035em; }
.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.cta-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}
.cta-trust .icon { color: #22c55e; }

/* ---------- Scroll reveal ----------
   Guarded on html.js so content stays visible if JS never runs. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }
/* Depth variant — the element tips up into place instead of sliding. */
.js .reveal-3d {
  transform: perspective(900px) rotateX(16deg) translateY(38px) scale(0.97);
  transition-duration: 0.9s;
  transition-timing-function: var(--ease-spring);
}

/* ---------- Keyframes ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(5rem, 3rem) scale(1.15); }
}
@keyframes drift-b {
  from { transform: translate(0, 0) scale(1.1); }
  to { transform: translate(-4rem, 4rem) scale(1); }
}
@keyframes drift-c {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-5rem, -3rem) scale(1.2); }
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(2.4); opacity: 0; }
}
@keyframes hue-pan {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Service pages.

   The services index keeps the light spec-sheet hero (.svc-*).
   A single service detail page is a full-width, banded story:
   dark hero → sticky pill nav → alternating light / paper /
   dark sections. No sidebar — the nav rides the top instead.
   ============================================================ */

/* ---------- Services index hero (shared) ---------- */
.svc-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding-block: 2.5rem 0;
}
.svc-hero-tint {
  position: absolute;
  top: -18rem;
  right: -12rem;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, var(--brand-primary)) 22%, transparent), transparent 65%);
  filter: blur(50px);
}
.svc-hero .container { position: relative; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--brand-slate);
}
.crumbs a { transition: color var(--dur-fast) var(--ease-out); }
.crumbs a:hover { color: var(--brand-primary); }
.crumbs span[aria-hidden] { opacity: 0.4; }
.crumbs [aria-current] { color: var(--brand-ink); font-weight: 600; }

.svc-counter {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent, var(--brand-primary));
}
.svc-title {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--brand-ink);
}
/* The promise line is the page's one serif moment — it reads as a statement,
   not another subheading. */
.svc-promise {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  line-height: 1.35;
  color: var(--brand-ink);
}
.svc-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.svc-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--brand-slate);
}
.svc-note .icon { color: var(--accent, var(--brand-primary)); margin-top: 0.1875rem; flex: none; }
.svc-note a { color: var(--brand-primary); font-weight: 700; text-decoration: underline; }
@media (min-width: 640px) { .svc-actions { flex-direction: row; } }
@media (min-width: 1024px) { .svc-hero { padding-block: 3rem 0; } }

/* ============================================================
   Service detail — hero (light)
   ============================================================ */
.sd-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--brand-paper));
  border-bottom: 1px solid var(--brand-border);
  color: var(--brand-ink);
}
.sd-glow {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(70px);
}
.sd-glow-a {
  top: -16rem;
  right: -8rem;
  width: 36rem;
  height: 36rem;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  opacity: 0.5;
}
.sd-glow-b {
  bottom: -18rem;
  left: -12rem;
  width: 32rem;
  height: 32rem;
  background: rgba(2, 136, 209, 0.22);
  opacity: 0.5;
}
.sd-glow-c {
  top: -10rem;
  left: 30%;
  width: 26rem;
  height: 26rem;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  opacity: 0.4;
}
.sd-hero-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.045) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
}
.sd-hero-inner { position: relative; padding-block: 2rem 0; }
.sd-hero-grid { display: grid; gap: 3rem; padding-block: 2.5rem 3.5rem; }

.sd-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.4375rem 0.875rem 0.4375rem 0.4375rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
  box-shadow: var(--sh-1);
}
.sd-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  color: var(--accent);
}
.sd-pill-sep { margin-inline: 0.375rem; opacity: 0.4; }

.sd-title {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-ink);
}
/* The promise is the page's one serif moment. */
.sd-promise {
  margin-top: 1.375rem;
  max-width: 32rem;
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 1.05rem + 1.2vw, 1.75rem);
  line-height: 1.32;
  color: var(--brand-ink);
}
.sd-desc {
  margin-top: 1.125rem;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--brand-slate);
}

.sd-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.sd-tags li {
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-ink);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease-spring), border-color var(--dur) var(--ease-out);
}
.sd-tags li:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--brand-border)); }

.sd-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.sd-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
  font-size: 0.8125rem;
  color: var(--brand-slate);
}
.sd-trust strong { color: var(--brand-ink); }

/* Hero media — framed, lit and labelled, not just dropped in. */
.sd-hero-media { position: relative; }
.sd-media-halo {
  position: absolute;
  inset: -1.75rem -1.25rem;
  pointer-events: none;
  border-radius: 2.5rem;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 40%, transparent), rgba(2, 136, 209, 0.25));
  filter: blur(38px);
  opacity: 0.55;
}
.sd-media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-4);
}
.sd-media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sd-media-icon {
  position: absolute;
  z-index: 2;
  top: -1rem;
  left: -1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.125rem;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--accent) 8%, #fff));
  color: var(--accent);
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 0 color-mix(in srgb, var(--accent) 16%, #fff),
    0 12px 20px -12px color-mix(in srgb, var(--accent) 40%, transparent);
}
.sd-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  box-shadow: var(--sh-3);
}
.sd-float-a { flex-direction: column; align-items: flex-start; gap: 0.125rem; right: 1rem; bottom: 1rem; }
.sd-float-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-slate); }
.sd-float-value { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; color: var(--brand-ink); }
.sd-float-b { left: -0.75rem; bottom: -1rem; font-size: 0.8125rem; font-weight: 600; color: var(--brand-ink); }
.sd-float-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  flex: none;
  border-radius: var(--radius-pill);
  background: #22c55e;
}
.sd-float-dot::after {
  content: "";
  position: absolute;
  inset: -0.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(34, 197, 94, 0.5);
  animation: ping 2s var(--ease-out) infinite;
}

/* Fact strip — closes the hero with the numbers that matter. */
.sd-facts-band {
  position: relative;
  border-top: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.6);
}
.sd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.sd-fact { position: relative; padding: 1.375rem 0.5rem; }
.sd-fact + .sd-fact::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 1.125rem;
  bottom: 1.125rem;
  width: 1px;
  background: var(--brand-border);
}
.sd-fact:nth-child(3)::before { content: none; }
.sd-fact dt {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-slate);
}
.sd-fact dd {
  margin: 0.4375rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}

/* Below the two-column breakpoint the media is full-bleed, so anything hung
   off its edge would be clipped by the hero. Tuck them inside instead. */
@media (max-width: 1023px) {
  .sd-media-icon { top: 0.75rem; left: 0.75rem; }
  .sd-float-b { left: 0.75rem; bottom: 0.75rem; }
}
@media (min-width: 640px) {
  .sd-actions { flex-direction: row; }
  .sd-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sd-fact { padding-inline: 1.5rem; }
  .sd-fact:first-child { padding-left: 0; }
  .sd-fact:nth-child(3)::before { content: ""; }
  .sd-fact + .sd-fact::before { left: 0; }
}
@media (min-width: 1024px) {
  .sd-hero-inner { padding-block: 2.5rem 0; }
  .sd-hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 4.5rem;
    align-items: center;
    padding-block: 3.5rem 5rem;
  }
}

/* ============================================================
   Sticky section nav — replaces the old sidebar index
   ============================================================ */
.sd-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  border-bottom: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}
.sd-nav-inner { display: flex; align-items: center; gap: 1rem; }
.sd-nav-list {
  display: flex;
  flex: 1;
  gap: 0.375rem;
  margin: 0;
  padding: 0.625rem 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.sd-nav-list::-webkit-scrollbar { display: none; }
.sd-nav-link {
  display: block;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-slate);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.sd-nav-link:hover { background: var(--brand-soft); color: var(--brand-ink); }
.sd-nav-link.is-active {
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: color-mix(in srgb, var(--accent) 80%, #000);
}
.sd-nav-cta { display: none; flex: none; }
@media (min-width: 900px) { .sd-nav-cta { display: inline-flex; } }

/* ============================================================
   Section shell
   ============================================================ */
.sd-section { position: relative; padding-block: 4.5rem; background: #fff; }
@media (min-width: 768px) { .sd-section { padding-block: 6rem; } }
.sd-section-paper { background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
.sd-section-dark {
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-ink);
  color: #fff;
}
.sd-section-dark .container { position: relative; }

.sd-head { max-width: 44rem; }
.sd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent, var(--brand-primary));
}
.sd-kicker-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.625rem;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  letter-spacing: 0.04em;
}
.sd-h2 {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
}
.sd-lead { margin-top: 1rem; max-width: 40rem; font-size: 1.0625rem; line-height: 1.7; color: var(--brand-slate); }
.sd-head-light .sd-h2 { color: #fff; }
.sd-head-light .sd-lead { color: rgba(255, 255, 255, 0.6); }
.sd-section-dark .sd-kicker-num { background: rgba(255, 255, 255, 0.08); }

/* ---------- Editorial split: heading left, content right ---------- */
.sd-split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) {
  .sd-split { grid-template-columns: 21rem minmax(0, 1fr); gap: 4.5rem; }
  .sd-split-head { position: sticky; top: calc(var(--header-h) + 5.5rem); }
}

/* ---------- Supporting photography ---------- */
.sd-shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-soft);
  box-shadow: var(--sh-2);
}
.sd-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.sd-shot:hover img { transform: scale(1.04); }
/* A soft accent veil ties stock photography to the service's colour. */
.sd-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%);
}
.sd-shot-tall { margin-top: 2rem; }
.sd-shot-tall img { aspect-ratio: 4 / 3; }
.sd-shot-wide img { aspect-ratio: 16 / 10; }

/* ---------- The problem — a list, not a wall of cards ---------- */
.sd-list { margin: 0; padding: 0; list-style: none; }
.sd-list-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid var(--brand-border);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--brand-ink);
  transition: background var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out);
}
.sd-list-row:first-child { border-top: 1px solid var(--brand-border); }
.sd-list-row:hover { background: var(--brand-paper); padding-left: 1rem; }
.sd-list-mark {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  margin-top: 0.125rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 35%, transparent);
  color: var(--brand-primary);
}
/* The closing line answers every "no" above — tinted, never boxed. */
.sd-list-answer {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--accent) 8%, var(--brand-paper));
  padding: 1.375rem 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--brand-ink);
}
.sd-list-answer .sd-list-mark { border-color: rgba(22, 163, 74, 0.4); color: #16a34a; }

/* ---------- What changes — staggered 3D medallions on a light band ---------- */
.sd-outcome {
  position: relative;
  overflow: hidden;
  background: var(--brand-paper);
  border-block: 1px solid var(--brand-border);
}
.sd-outcome-wash {
  position: absolute;
  top: -22rem;
  right: -14rem;
  width: 46rem;
  height: 46rem;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%);
  filter: blur(30px);
}
.sd-outcome .container { position: relative; }
.sd-head-center { margin-inline: auto; text-align: center; }
.sd-head-center .sd-lead { margin-inline: auto; }

.sd-gains {
  display: grid;
  gap: 3rem 2.5rem;
  margin: 4rem 0 0;
  padding: 0;
  list-style: none;
  perspective: 1200px;
}
.sd-gain { position: relative; }

/* Oversized numeral sitting behind the medallion, part of the depth stack. */
.sd-gain-ghost {
  position: absolute;
  top: -2rem;
  left: 3rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: color-mix(in srgb, var(--accent) 13%, transparent);
  user-select: none;
}

/* The medallion is the 3D object: a tilted tile with a real extruded edge. */
.sd-gain-medal {
  position: relative;
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  transform-style: preserve-3d;
  animation: float-y 7s ease-in-out infinite;
  animation-delay: var(--d, 0ms);
}
.sd-gain:nth-child(2) .sd-gain-medal { animation-duration: 8s; }
.sd-gain:nth-child(3) .sd-gain-medal { animation-duration: 6.4s; }
/* Light glass tile — the depth comes from the edge and the shadow, not from
   a heavy fill. The glyph itself carries the accent. */
.sd-gain-face {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 1.375rem;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--accent) 8%, #fff));
  color: var(--accent);
  transform: rotateX(16deg) rotateZ(-8deg);
  transform-origin: 50% 80%;
  transition: transform var(--dur-slow) var(--ease-spring), box-shadow var(--dur-slow) var(--ease-out);
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 0 color-mix(in srgb, var(--accent) 16%, #fff),
    0 5px 0 -1px color-mix(in srgb, var(--accent) 10%, #fff),
    0 14px 20px -12px color-mix(in srgb, var(--accent) 35%, transparent);
}
/* Thinner strokes keep the glyph light inside the tile. */
.sd-gain-face .icon { stroke-width: 1.5; }
.sd-gain:hover .sd-gain-face {
  transform: rotateX(4deg) rotateZ(-2deg) translateY(-4px) scale(1.04);
  box-shadow:
    inset 0 1px 0 #fff,
    0 3px 0 color-mix(in srgb, var(--accent) 22%, #fff),
    0 7px 0 -1px color-mix(in srgb, var(--accent) 14%, #fff),
    0 22px 26px -14px color-mix(in srgb, var(--accent) 40%, transparent);
}

.sd-gain-text {
  position: relative;
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: 1.4375rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.028em;
  color: var(--brand-ink);
}
.sd-gain-detail {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--brand-slate);
}

/* Built for — a centred footer strip, not another list */
.sd-builtfor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem 1.25rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--brand-border);
}
.sd-builtfor-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-slate);
}
.sd-builtfor-label .icon { color: var(--accent); }
.sd-builtfor ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.sd-builtfor li {
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.4375rem 0.9375rem;
  font-size: 0.875rem;
  color: var(--brand-ink);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.sd-builtfor li:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }

@media (min-width: 900px) {
  .sd-gains { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
  /* Staggered baselines break the row up — a grid you don't read as a grid. */
  .sd-gain:nth-child(2) { margin-top: 3.5rem; }
  .sd-gain:nth-child(3) { margin-top: 1.25rem; }
}

/* ---------- What's included — heading beside a photo, list below ---------- */
.sd-included-top { display: grid; gap: 2rem; align-items: center; }
.sd-included-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4375rem;
  margin-top: 1.5rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--accent) 78%, #000);
}
.sd-included-count strong { font-family: var(--font-display); font-size: 1.125rem; }
@media (min-width: 900px) { .sd-included-top { grid-template-columns: 1fr 1fr; gap: 4rem; } }


.sd-specs {
  display: grid;
  gap: 0;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}
.sd-spec {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.25rem 1rem;
  padding: 1.5rem 0.5rem;
  border-top: 1px solid var(--brand-border);
  transition: background var(--dur) var(--ease-out);
}
/* An accent rail grows out of the left edge on hover. */
.sd-spec::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform var(--dur) var(--ease-out);
}
.sd-spec:hover { background: var(--brand-paper); }
.sd-spec:hover::after { transform: scaleY(1); }
.sd-spec:hover .sd-spec-num { color: var(--accent); }
.sd-spec-num { transition: color var(--dur) var(--ease-out); }
.sd-spec-num {
  grid-row: 1 / span 3;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--accent) 55%, #fff);
}
.sd-spec-title { font-size: 1.0625rem; font-weight: 700; color: var(--brand-ink); }
.sd-spec-text { font-size: 0.9375rem; line-height: 1.65; color: var(--brand-slate); }
.sd-spec-tag {
  justify-self: start;
  margin-top: 0.5rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 9%, var(--brand-soft));
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--accent) 75%, #000);
}
@media (min-width: 850px) {
  .sd-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.5rem; }
  /* Keep the top rules aligned across both columns. */
  .sd-spec:nth-child(2) { border-top: 1px solid var(--brand-border); }
}

.sd-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--brand-border);
}
.sd-tools-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-slate);
}
.sd-tools-label .icon { color: var(--accent); }
.sd-tool-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.sd-tool-chips li {
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.375rem 0.8125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-ink);
  box-shadow: 0 1px 0 var(--brand-border);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.sd-tool-chips li:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--brand-border));
  box-shadow: 0 3px 0 color-mix(in srgb, var(--accent) 22%, var(--brand-border)), 0 10px 16px -10px rgba(20, 20, 26, 0.35);
}

/* ---------- Packages (only when pricing is published) ---------- */
.pkg-grid { display: grid; gap: 1rem; margin-top: 3rem; }
.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.75rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.pkg-popular { border-color: var(--accent); box-shadow: var(--sh-2); }
.pkg-flag {
  position: absolute;
  top: -0.6875rem;
  left: 1.75rem;
  border-radius: var(--radius-pill);
  background: var(--accent, var(--brand-primary));
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--sh-1);
}
.pkg-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--brand-slate);
}
.pkg-price {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
  line-height: 1.1;
}
.pkg-note {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-slate);
  letter-spacing: 0;
}
.pkg-best {
  margin-top: 0.875rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid var(--brand-border);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--brand-slate);
}
.pkg-list { margin: 1.125rem 0 1.75rem; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.625rem; flex: 1; }
.pkg-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; line-height: 1.5; color: var(--brand-ink); }
.pkg-list .icon { color: var(--accent); margin-top: 0.1875rem; flex: none; }
@media (min-width: 900px) { .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- How it works — one connected timeline ---------- */
.sd-timeline { margin: 3rem 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.sd-tl { position: relative; padding: 0 0 2rem 3.25rem; }
.sd-tl:last-child { padding-bottom: 0; }
/* Vertical rail on small screens, horizontal on wide ones. */
.sd-tl::before {
  content: "";
  position: absolute;
  left: 1.3125rem;
  top: 2.75rem;
  bottom: 0;
  width: 2px;
  background: var(--brand-border);
  /* The rail draws itself as each phase scrolls in. */
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.7s var(--ease-out);
  transition-delay: calc(var(--d, 0ms) + 220ms);
}
.js .sd-tl.in::before { transform: scaleY(1); }
.sd-tl:last-child::before { display: none; }
.sd-tl-dot {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  /* Solid, because these are the anchors the rail runs between — but the
     edge below is a tint of the accent, never a dark shade. */
  background: linear-gradient(155deg, color-mix(in srgb, var(--accent) 88%, #fff), var(--accent));
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 3px 0 color-mix(in srgb, var(--accent) 30%, #fff),
    0 12px 18px -12px color-mix(in srgb, var(--accent) 45%, transparent);
  transition: transform var(--dur-slow) var(--ease-spring);
}
.sd-tl:hover .sd-tl-dot { transform: translateY(-3px) scale(1.06); }
.sd-tl-when {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.sd-tl-when .icon { width: 0.8125rem; height: 0.8125rem; }
.sd-tl-name { margin-top: 0.5rem; font-size: 1.25rem; font-weight: 700; color: var(--brand-ink); }
.sd-tl-text { margin-top: 0.5rem; max-width: 22rem; font-size: 0.9375rem; line-height: 1.65; color: var(--brand-slate); }
@media (min-width: 1000px) {
  .sd-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; }
  .sd-tl { padding: 4.25rem 0 0; }
  .sd-tl-dot { top: 0; }
  .sd-tl::before {
    left: 3.25rem;
    right: -2rem;
    top: 1.3125rem;
    bottom: auto;
    width: auto;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left center;
  }
  .js .sd-tl.in::before { transform: scaleX(1); }
}

/* ---------- Working together ---------- */
.sd-together { display: grid; gap: 2.5rem; margin-top: 3rem; align-items: start; }
.sd-ticks { margin: 0; padding: 0; list-style: none; }
.sd-ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--brand-border);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--brand-ink);
}
.sd-ticks li:first-child { border-top: 1px solid var(--brand-border); }
.sd-ticks .icon { flex: none; margin-top: 0.1875rem; color: #16a34a; }
.sd-together-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-ink);
}
/* One dark panel carries the "no" — the counterweight to the open list. */
.sd-not {
  border-radius: var(--radius-card);
  background: var(--brand-ink);
  padding: 1.875rem;
  color: #fff;
}
.sd-not .sd-together-title { color: #fff; }
.sd-not .sd-together-title .icon { color: var(--brand-coral); }
.sd-not ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }
.sd-not li {
  position: relative;
  padding-left: 1.375rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
.sd-not li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: var(--radius-pill);
  background: var(--brand-coral);
}
.sd-not-foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 900px) { .sd-together { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }

/* ---------- Proof ---------- */
.sd-proof-grid { display: grid; gap: 1.25rem; margin-top: 3rem; align-items: stretch; }
.sd-proof {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.05);
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.sd-proof:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.08); }
.sd-proof-img { overflow: hidden; background: rgba(255, 255, 255, 0.06); }
.sd-proof-img img { width: 100%; height: 100%; min-height: 13rem; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.sd-proof:hover .sd-proof-img img { transform: scale(1.05); }
.sd-proof-body { padding: 1.875rem; }
.sd-proof-cat {
  display: inline-block;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3125rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
}
.sd-proof-title { margin-top: 0.875rem; font-size: 1.375rem; font-weight: 700; color: #fff; }
.sd-proof-text { margin-top: 0.625rem; font-size: 0.9375rem; line-height: 1.65; color: rgba(255, 255, 255, 0.58); }
.sd-proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.sd-metric-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.sd-metric-label { margin-top: 0.1875rem; font-size: 0.6875rem; color: rgba(255, 255, 255, 0.5); }
.sd-proof-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}
.sd-proof-link .icon { transition: transform var(--dur) var(--ease-out); }
.sd-proof:hover .sd-proof-link .icon { transform: translate(2px, -2px); }

.sd-quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 18%, transparent), rgba(255, 255, 255, 0.04));
  padding: 1.875rem;
}
.sd-quote-mark { color: color-mix(in srgb, var(--accent) 70%, #fff); opacity: 0.9; }
.sd-quote blockquote {
  margin: 1.125rem 0 auto;
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  line-height: 1.42;
  color: #fff;
}
.sd-quote figcaption { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.sd-quote-avatar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
}
.sd-quote-who { display: flex; flex-direction: column; }
.sd-quote-name { font-weight: 700; color: #fff; font-size: 0.9375rem; }
.sd-quote-role { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); }
@media (min-width: 700px) { .sd-proof { grid-template-columns: 16rem minmax(0, 1fr); } }
@media (min-width: 1100px) { .sd-proof-grid { grid-template-columns: 1.5fr 1fr; } }

/* ---------- FAQ ---------- */
.sd-faq { background: #fff; border-block: 0; border-top: 1px solid var(--brand-border); }
.sd-faq-grid { display: grid; gap: 2.5rem; align-items: start; }
.sd-ask { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--brand-border); }
.sd-ask-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--brand-ink); }
.sd-ask-text { margin-top: 0.375rem; margin-bottom: 1.125rem; font-size: 0.875rem; line-height: 1.6; color: var(--brand-slate); }
@media (min-width: 900px) {
  .sd-faq-grid { grid-template-columns: 22rem minmax(0, 1fr); gap: 4.5rem; }
  .sd-faq-side { position: sticky; top: calc(var(--header-h) + 5.5rem); }
}

/* ---------- Other services — rows, not another card wall ---------- */
.sd-more { background: var(--brand-paper); border-top: 1px solid var(--brand-border); }
.sd-more-list { margin: 3rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--brand-border); }
.sd-more-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.25rem 1.125rem;
  padding: 1.375rem 0.5rem;
  border-bottom: 1px solid var(--brand-border);
  transition: background var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out);
}
.sd-more-row:hover { background: #fff; padding-left: 1.25rem; }
/* A thumbnail of the practice, with its icon badged on the corner. */
.sd-more-thumb {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  width: 5.5rem;
  height: 4rem;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid var(--brand-border);
  background: var(--brand-soft);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease-out);
}
.sd-more-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.sd-more-icon {
  position: absolute;
  right: 0.25rem;
  bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  box-shadow: var(--sh-1);
}
.sd-more-row:hover .sd-more-thumb {
  transform: translateY(-2px);
  box-shadow: var(--sh-3);
}
.sd-more-row:hover .sd-more-thumb img { transform: scale(1.08); }
.sd-more-name { grid-column: 2; grid-row: 1; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; color: var(--brand-ink); }
.sd-more-tag { grid-column: 2; grid-row: 2; font-size: 0.9375rem; line-height: 1.5; color: var(--brand-slate); }
.sd-more-go {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--brand-slate);
  transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.sd-more-row:hover .sd-more-go { transform: translate(3px, -3px); color: var(--accent); }


/* ============================================================
   Services index — comparison table, decision helper, bundles.
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.svc-hero-index { padding-block: 2.5rem 0; }
.index-head { max-width: 44rem; padding-block: 2.5rem 3.5rem; }
.index-head .svc-promise { max-width: 38rem; }
@media (min-width: 1024px) { .index-head { padding-block: 3.5rem 4.5rem; } }

/* ---------- Comparison table ----------
   Real table markup for semantics; it collapses to labelled cards on
   small screens rather than forcing a horizontal scroll. */
.table-wrap { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; text-align: left; }
.cmp-table thead { display: none; }
.cmp-table tbody tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  border: 1px solid var(--brand-border);
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.cmp-table tbody tr:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--brand-border));
  box-shadow: var(--sh-2);
}
.cmp-table th, .cmp-table td { padding: 0; font-weight: 400; }
.cmp-name {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-ink);
}
.cmp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  flex: none;
}
.cmp-table td { font-size: 0.9375rem; color: var(--brand-slate); }
.cmp-table td[data-label]::before {
  content: attr(data-label) " · ";
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand-slate);
  opacity: 0.65;
}
.cmp-price { font-family: var(--font-display); font-weight: 700; color: var(--brand-ink); }
.cmp-go a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
}
.cmp-go .icon { transition: transform var(--dur) var(--ease-out); }
.cmp-table tbody tr:hover .cmp-go .icon { transform: translateX(3px); }

@media (min-width: 900px) {
  .cmp-table thead { display: table-header-group; }
  .cmp-table thead th {
    padding: 0 1rem 0.875rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--brand-slate);
    opacity: 0.7;
    border-bottom: 1px solid var(--brand-border);
  }
  .cmp-table thead th:first-child { padding-left: 0; }
  .cmp-table tbody tr {
    display: table-row;
    border: 0;
    border-bottom: 1px solid var(--brand-border);
    border-radius: 0;
    background: transparent;
    padding: 0;
    margin: 0;
  }
  .cmp-table tbody tr:hover { box-shadow: none; background: #fff; }
  .cmp-table tbody th, .cmp-table tbody td { padding: 1.125rem 1rem; vertical-align: middle; }
  .cmp-table tbody th:first-child { padding-left: 0; }
  .cmp-table td[data-label]::before { content: none; }
  .cmp-go { text-align: right; }
}

/* ---------- Where to start ---------- */
.start-layout { display: grid; gap: 2.5rem; align-items: start; }
.start-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--brand-border); }
.start-row { border-bottom: 1px solid var(--brand-border); }
.start-row a {
  display: grid;
  gap: 0.375rem;
  padding: 1.125rem 0.75rem;
  border-radius: 0.75rem;
  transition: background var(--dur-fast) var(--ease-out);
}
.start-row a:hover { background: var(--brand-soft); }
.start-when {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--brand-ink);
}
.start-when::before { content: "“"; color: var(--brand-slate); opacity: 0.5; }
.start-when::after { content: "”"; color: var(--brand-slate); opacity: 0.5; }
.start-go {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
}
.start-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  flex: none;
}
.start-arrow { transition: transform var(--dur) var(--ease-out); }
.start-row a:hover .start-arrow { transform: translateX(3px); }
.start-why { font-size: 0.8125rem; color: var(--brand-slate); }
@media (min-width: 1024px) {
  .start-layout { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }
  .start-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
  .start-row a { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1.5rem; }
  .start-why { grid-column: 1; }
  .start-go { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
}

/* ---------- Bundles ---------- */
.bundle-grid { display: grid; gap: 1rem; }
.bundle {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.75rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.bundle:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.bundle-popular { border-color: var(--brand-primary); box-shadow: var(--sh-2); }
.bundle-popular .pkg-flag { background: var(--brand-primary); }
.bundle-tagline {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--brand-slate);
}
.bundle-name {
  margin-top: 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
}
.bundle-for { margin-top: 0.625rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
.bundle-parts {
  margin: 1.25rem 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--brand-border);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}
.bundle-parts li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-ink);
}
.bundle-part-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 0.4375rem;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  flex: none;
}
.bundle-foot { border-top: 1px solid var(--brand-border); padding-top: 1.25rem; }
.bundle-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
}
.bundle-saving { margin-top: 0.25rem; font-size: 0.75rem; color: var(--brand-slate); }
.bundle-timeline {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0.875rem 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-slate);
}
.bundle-timeline .icon { color: var(--brand-primary); }
@media (min-width: 900px) { .bundle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* ============================================================
   About page — collage hero, milestones, values, pod
   ============================================================ */
.ab-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--brand-paper));
  border-bottom: 1px solid var(--brand-border);
}
/* Flat 2D shapes sit behind everything on this page. */
.deco-blob {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(70px);
}
.deco-blob-a { top: -14rem; right: -6rem; width: 32rem; height: 32rem; background: rgba(251, 46, 1, 0.22); }
.deco-blob-b { bottom: -16rem; left: -10rem; width: 28rem; height: 28rem; background: rgba(2, 136, 209, 0.2); }
.deco-blob-c { top: -10rem; right: 10%; width: 26rem; height: 26rem; background: rgba(251, 46, 1, 0.3); filter: blur(80px); }
.ab-hero-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.04) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
}
/* A dotted field — the other flat motif used across the page. */
.deco-dots {
  position: absolute;
  pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--brand-primary) 30%, transparent) 1.5px, transparent 1.5px);
  background-size: 1rem 1rem;
}
.deco-dots-a { top: 0; right: 0; width: 9rem; height: 9rem; opacity: 0.5; }
.deco-dots-b { left: -1.25rem; bottom: -1.25rem; width: 8rem; height: 8rem; opacity: 0.45; }
.deco-ring {
  position: absolute;
  left: -2rem;
  bottom: 3rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  border: 2px dashed color-mix(in srgb, var(--brand-blue) 35%, transparent);
  animation: ab-spin 34s linear infinite;
}
@keyframes ab-spin { to { transform: rotate(360deg); } }

.ab-hero-inner { position: relative; padding-block: 1.75rem 0; }
.ab-hero-grid { display: grid; gap: 3rem; padding-block: 2.25rem 3rem; align-items: center; }
.ab-title {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--brand-ink);
}
/* Hand-drawn underline, in SVG, behind the last word. */
.ab-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.ab-underline::after {
  content: "";
  position: absolute;
  left: -0.15em;
  right: -0.15em;
  bottom: -0.12em;
  height: 0.42em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16c38-9 84-12 130-9 22 1 42 4 62 8' fill='none' stroke='%23fb2e01' stroke-width='7' stroke-linecap='round' opacity='0.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.ab-lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.75; color: var(--brand-slate); }
.ab-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.ab-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.ab-trust-text { display: flex; flex-direction: column; gap: 0.125rem; font-size: 0.8125rem; color: var(--brand-slate); }
.ab-trust-text strong { color: var(--brand-ink); }

/* Collage */
.ab-collage { position: relative; padding: 1.5rem 0 3.5rem; min-height: 22rem; }
.ab-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-4);
}
.ab-shot img { width: 100%; height: 100%; object-fit: cover; }
.ab-shot-main {
  position: relative;
  z-index: 1;
  width: 82%;
  margin-left: auto;
  transform: rotate(1.5deg);
}
.ab-shot-main img { aspect-ratio: 4 / 3; }
.ab-shot-sub {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 2.25rem;
  width: 46%;
  transform: rotate(-3deg);
  animation: float-y 9s ease-in-out infinite;
}
.ab-shot-sub img { aspect-ratio: 1 / 1; }
.ab-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--brand-slate);
  box-shadow: var(--sh-3);
}
.ab-chip strong { color: var(--brand-ink); font-family: var(--font-display); }
.ab-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: var(--radius-pill);
  background: var(--brand-pale);
  color: var(--brand-primary);
}
.ab-chip-a { top: 0.5rem; left: 4%; animation: float-y 7s ease-in-out infinite; }
.ab-chip-b { right: 2%; bottom: 0.5rem; animation: float-y 8s ease-in-out 0.8s infinite; }
@media (min-width: 640px) { .ab-actions { flex-direction: row; } }
@media (min-width: 1024px) {
  .ab-hero-inner { padding-block: 2.25rem 0; }
  .ab-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; padding-block: 3rem 4rem; }
  .ab-collage { min-height: 27rem; }
}

/* ---------- Shared page furniture ---------- */
.pg-kicker {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
}
.pg-kicker-line { display: block; width: 1.75rem; height: 2px; border-radius: 2px; background: var(--brand-primary); }
.pg-kicker-center { justify-content: center; }
.pg-kicker-light { color: #fff; }
.pg-kicker-light .pg-kicker-line { background: #fff; }
.pg-h2 {
  margin-top: 1rem;
  font-size: clamp(1.625rem, 1.15rem + 1.9vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
}
.pg-h2-light { color: #fff; }
.pg-sub { margin-top: 1rem; max-width: 40rem; font-size: 1.0625rem; line-height: 1.7; color: var(--brand-slate); }
.pg-head { max-width: 44rem; }
.pg-head-center { margin-inline: auto; text-align: center; }
.pg-head-center .pg-sub { margin-inline: auto; }
.pg-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-primary);
}
.pg-link .icon { transition: transform var(--dur) var(--ease-out); }
.pg-link:hover .icon { transform: translateX(4px); }

/* ---------- Story ---------- */
.ab-story { padding-block: 3.5rem; background: #fff; }
@media (min-width: 768px) { .ab-story { padding-block: 4.5rem; } }
.ab-story-grid { display: grid; gap: 2.5rem; align-items: center; }
.ab-story-media { position: relative; }
.ab-story-media .ab-shot img { aspect-ratio: 4 / 3; }
.ab-quotemark {
  position: absolute;
  right: -0.75rem;
  top: -0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  color: var(--brand-primary);
  box-shadow: var(--sh-2);
}
.ab-para { margin-top: 1.125rem; font-size: 1rem; line-height: 1.8; color: var(--brand-slate); }
.ab-para-lead { font-size: 1.125rem; color: var(--brand-ink); }
@media (min-width: 900px) { .ab-story-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }

/* Milestones */
.ab-timeline {
  display: grid;
  gap: 2rem;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
}
.ab-milestone { position: relative; padding-left: 2.5rem; }
.ab-milestone-rail {
  position: absolute;
  left: 0;
  top: 0.375rem;
  bottom: -2rem;
  width: 2px;
  background: var(--brand-border);
}
.ab-milestone:last-child .ab-milestone-rail { bottom: auto; height: 0; }
.ab-milestone-dot {
  position: absolute;
  left: -0.4375rem;
  top: 0;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: var(--radius-pill);
  border: 3px solid #fff;
  background: var(--brand-primary);
  box-shadow: 0 0 0 1px var(--brand-border);
}
.ab-milestone-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brand-primary);
}
.ab-milestone h3 { margin-top: 0.625rem; font-size: 1.0625rem; font-weight: 700; color: var(--brand-ink); }
.ab-milestone-detail { margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.65; color: var(--brand-slate); }
@media (min-width: 900px) {
  .ab-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: 4rem; }
  .ab-milestone { padding-left: 0; padding-top: 2.25rem; }
  /* The rail turns horizontal and runs between the year markers. */
  .ab-milestone-rail { left: 0; right: -2rem; top: 0.4375rem; bottom: auto; width: auto; height: 2px; }
  .ab-milestone:last-child .ab-milestone-rail { right: auto; width: 0; height: 2px; }
  .ab-milestone-dot { left: 0; top: -0.5rem; }
}

/* ---------- Values ---------- */
.ab-values { padding-block: 3.5rem; background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .ab-values { padding-block: 4.5rem; } }
.ab-value-grid { display: grid; gap: 1rem; margin-top: 3rem; }
.ab-value {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.625rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.ab-value:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: color-mix(in srgb, var(--brand-primary) 35%, var(--brand-border)); }
/* An oversized numeral watermark — the flat graphic layer of the card. */
.ab-value-watermark {
  position: absolute;
  top: -0.75rem;
  right: 0.5rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: color-mix(in srgb, var(--brand-primary) 7%, transparent);
  user-select: none;
}
.ab-value-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 8%, #fff));
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--brand-primary) 12%, #fff);
  transition: transform var(--dur) var(--ease-spring);
}
.ab-value-icon .icon { stroke-width: 1.5; }
.ab-value:hover .ab-value-icon { transform: translateY(-2px) rotate(-6deg); }
.ab-value h3 { position: relative; margin-top: 1.125rem; font-size: 1.125rem; font-weight: 700; color: var(--brand-ink); }
.ab-value-desc { margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
.ab-value-practice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.125rem;
  padding-top: 1rem;
  border-top: 1px solid var(--brand-border);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--brand-ink);
}
.ab-value-practice .icon { flex: none; margin-top: 0.1875rem; color: #16a34a; }
@media (min-width: 700px) { .ab-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .ab-value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Promises ---------- */
.ab-promise { padding-block: 3.5rem; background: #fff; }
@media (min-width: 768px) { .ab-promise { padding-block: 4.5rem; } }
.ab-promise-grid { display: grid; gap: 2.5rem; align-items: start; }
.ab-promise-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.ab-promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 1.25rem 1.375rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.ab-promise-list li:hover { transform: translateY(-3px); box-shadow: var(--sh-2); background: #fff; }
.ab-promise-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 7%, #fff));
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--brand-primary) 12%, #fff);
}
.ab-promise-icon .icon { stroke-width: 1.5; }
.ab-promise-list h3 { font-size: 1rem; font-weight: 700; color: var(--brand-ink); }
.ab-promise-list p { margin-top: 0.3125rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
@media (min-width: 950px) {
  .ab-promise-grid { grid-template-columns: 1fr 1.4fr; gap: 3.5rem; }
  .ab-promise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- The pod ---------- */
.ab-team { padding-block: 3.5rem; background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .ab-team { padding-block: 4.5rem; } }
.ab-pod { display: grid; gap: 1rem; margin: 3rem 0 0; padding: 0; list-style: none; perspective: 1200px; }
.ab-pod-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.75rem 1.625rem;
  text-align: center;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.ab-pod-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.ab-pod-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 9%, #fff));
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 color-mix(in srgb, var(--brand-primary) 12%, #fff);
}
.ab-pod-avatar .icon { stroke-width: 1.5; }
.ab-pod-initials {
  position: absolute;
  right: -0.375rem;
  bottom: -0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding-inline: 0.3125rem;
  border-radius: var(--radius-pill);
  background: var(--brand-ink);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}
.ab-pod-card h3 { margin-top: 1.25rem; font-size: 1.0625rem; font-weight: 700; color: var(--brand-ink); }
.ab-pod-card p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
.ab-pod-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--brand-slate);
}
.ab-pod-note .icon { color: var(--brand-primary); }
@media (min-width: 700px) { .ab-pod { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .ab-pod { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Careers band ---------- */
.ab-careers {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-ink);
  padding-block: 3.5rem;
}
@media (min-width: 768px) { .ab-careers { padding-block: 4.5rem; } }
.ab-careers .deco-blob { z-index: -1; opacity: 0.5; }
.ab-careers-inner { position: relative; display: grid; gap: 2rem; align-items: center; }
.ab-careers-text { margin-top: 1rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.7; color: rgba(255, 255, 255, 0.65); }
.ab-careers-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 900px) { .ab-careers-inner { grid-template-columns: 1.25fr auto; gap: 3rem; } }

/* ============================================================
   Process page — flow hero, journey map, phase detail
   ============================================================ */
.pr-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--brand-paper));
  border-bottom: 1px solid var(--brand-border);
}
.pr-hero-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.04) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
}
.pr-hero-inner { position: relative; padding-block: 1.75rem 0; }
.pr-hero-grid { display: grid; gap: 3rem; padding-block: 2.25rem 3rem; align-items: center; }
.pr-title {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--brand-ink);
}
.pr-underline { position: relative; display: inline-block; white-space: nowrap; }
.pr-underline::after {
  content: "";
  position: absolute;
  left: -0.15em;
  right: -0.15em;
  bottom: -0.1em;
  height: 0.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M5 15c40-8 88-11 132-8 21 1 41 4 60 8' fill='none' stroke='%230288d1' stroke-width='7' stroke-linecap='round' opacity='0.32'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.pr-lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.75; color: var(--brand-slate); }
.pr-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.pr-facts { display: flex; flex-wrap: wrap; gap: 0.625rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.pr-facts li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--brand-slate); }
.pr-facts strong { color: var(--brand-ink); }
.pr-facts .icon { color: var(--brand-primary); }

/* The hero's 2D flow diagram */
.pr-flow { position: relative; padding: 1.5rem 0 2rem; }
.pr-flow-card {
  position: relative;
  z-index: 1;
  border-radius: 1.5rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--sh-4);
}
.pr-flow-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-slate);
}
.pr-flow-title .icon { color: var(--brand-primary); }
.pr-flow-list { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.pr-flow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.875rem;
  padding-bottom: 1.375rem;
}
.pr-flow-list li:last-child { padding-bottom: 0; }
/* The connector between nodes draws itself as the card reveals. */
.pr-flow-list li::before {
  content: "";
  position: absolute;
  left: 1.1875rem;
  top: 2.5rem;
  bottom: 0.25rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-primary), color-mix(in srgb, var(--brand-primary) 20%, transparent));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.6s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.pr-flow-list li:last-child::before { display: none; }
.js .pr-flow-card.in .pr-flow-list li::before { transform: scaleY(1); }
.pr-flow-node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 9%, #fff));
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--brand-primary) 12%, #fff);
}
.pr-flow-node .icon { stroke-width: 1.5; }
.pr-flow-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--brand-ink); }
.pr-flow-when {
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand-slate);
  white-space: nowrap;
}
.pr-flow-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--brand-border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-ink);
}
.pr-flow-foot .icon { color: #16a34a; }
@media (min-width: 640px) { .pr-actions { flex-direction: row; } }
@media (min-width: 1024px) {
  .pr-hero-inner { padding-block: 2.25rem 0; }
  .pr-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; padding-block: 3rem 4rem; }
}

/* ---------- Journey map ---------- */
.pr-map { padding-block: 3.5rem; background: #fff; }
@media (min-width: 768px) { .pr-map { padding-block: 4.5rem; } }
.pr-track { display: grid; gap: 1rem; margin: 3.5rem 0 0; padding: 0; list-style: none; }
.pr-stop { position: relative; padding-top: 1.5rem; }
/* The rail links the nodes that sit on each card's top edge. */
.pr-stop-rail {
  position: absolute;
  left: 1.5rem;
  top: 3rem;
  bottom: -1rem;
  width: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--brand-primary) 45%, transparent), color-mix(in srgb, var(--brand-primary) 12%, transparent));
}
.pr-stop:last-child .pr-stop-rail { display: none; }

.pr-stop-card {
  position: relative;
  height: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 2.5rem 1.5rem 1.5rem;
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.pr-stop:hover .pr-stop-card {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
  border-color: color-mix(in srgb, var(--brand-primary) 30%, var(--brand-border));
}
.pr-stop-node {
  position: absolute;
  left: 1.5rem;
  top: -1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 9%, #fff));
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 color-mix(in srgb, var(--brand-primary) 12%, #fff);
  transition: transform var(--dur) var(--ease-spring);
}
.pr-stop-node .icon { stroke-width: 1.5; }
.pr-stop:hover .pr-stop-node { transform: translateY(-3px) scale(1.05); }
.pr-stop-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.pr-stop-num {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-primary);
}
.pr-stop-name { margin-top: 0.5rem; font-size: 1.25rem; font-weight: 700; color: var(--brand-ink); }
.pr-stop-out {
  margin-top: 0.625rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--brand-border);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--brand-slate);
}
.pr-stop-when {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand-slate);
  white-space: nowrap;
}
.pr-stop-when .icon { width: 0.75rem; height: 0.75rem; color: var(--brand-primary); }

/* The three approval gates, marked on the rail between phases. */
.pr-stop-gate {
  position: absolute;
  z-index: 2;
  left: 1.5rem;
  top: 100%;
  transform: translate(-50%, -0.25rem);
  display: none;
  align-items: center;
  gap: 0.3125rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, #16a34a 25%, var(--brand-border));
  background: #fff;
  padding: 0.25rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-slate);
  white-space: nowrap;
  box-shadow: var(--sh-1);
}
.pr-stop-gate .icon { width: 0.6875rem; height: 0.6875rem; color: #16a34a; }

.pr-track-foot {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 2rem;
  border-radius: var(--radius-card);
  background: var(--brand-paper);
  padding: 1.125rem 1.375rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--brand-slate);
}
.pr-track-foot strong { color: var(--brand-ink); }
.pr-track-foot .icon { flex: none; margin-top: 0.1875rem; color: var(--brand-primary); }

@media (min-width: 700px) {
  .pr-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.25rem; }
  /* A rail can't connect a 2x2 grid — it only earns its place in one line. */
  .pr-stop-rail { display: none; }
}
@media (min-width: 1050px) {
  .pr-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  /* The rail turns horizontal and runs between the four nodes. */
  .pr-stop-rail {
    display: block;
    left: 4.5rem;
    right: -1.25rem;
    top: 0;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(to right, color-mix(in srgb, var(--brand-primary) 45%, transparent), color-mix(in srgb, var(--brand-primary) 12%, transparent));
  }
  /* Sit each gate at the midpoint of the gap it guards. */
  .pr-stop-gate {
    display: inline-flex;
    left: calc(50% + 3rem + 0.625rem);
    top: 0;
    transform: translate(-50%, -50%);
  }
}

/* ---------- Phase detail ---------- */
.pr-detail { padding-block: 3.5rem; background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .pr-detail { padding-block: 4.5rem; } }
.pr-phases { display: grid; gap: 1.25rem; margin-top: 3rem; }
.pr-phase {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.75rem;
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.pr-phase:hover { box-shadow: var(--sh-3); border-color: color-mix(in srgb, var(--brand-primary) 30%, var(--brand-border)); }
.pr-phase-head { position: relative; display: flex; align-items: center; gap: 1rem; }
.pr-phase-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 9%, #fff));
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--brand-primary) 12%, #fff);
  transition: transform var(--dur) var(--ease-spring);
}
.pr-phase-icon .icon { stroke-width: 1.5; }
.pr-phase:hover .pr-phase-icon { transform: translateY(-2px) rotate(-6deg); }
.pr-phase-num {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
}
.pr-phase-num span { opacity: 0.4; }
.pr-phase-name { margin-top: 0.3125rem; font-size: 1.25rem; font-weight: 700; color: var(--brand-ink); }
.pr-phase-watermark {
  position: absolute;
  top: -1.5rem;
  right: -0.5rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: color-mix(in srgb, var(--brand-primary) 7%, transparent);
  user-select: none;
}
.pr-phase-summary { margin-top: 1.125rem; max-width: 52rem; font-size: 1rem; line-height: 1.75; color: var(--brand-slate); }
.pr-phase-cols { display: grid; gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--brand-border); }
.pr-phase-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-slate);
}
.pr-list { margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.pr-list li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9375rem; line-height: 1.55; color: var(--brand-ink); }
.pr-list .icon { flex: none; margin-top: 0.1875rem; }
.pr-list-get .icon { color: #16a34a; }
.pr-phase-col:first-child .pr-phase-label .icon { color: #16a34a; }
.pr-list-need .icon { color: var(--brand-primary); }
.pr-phase-col:last-child .pr-phase-label .icon { color: var(--brand-primary); }
.pr-list-need li { color: var(--brand-slate); }
.pr-phase-gate {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
  border-radius: 0.875rem;
  background: color-mix(in srgb, var(--brand-primary) 6%, var(--brand-paper));
  padding: 0.875rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-ink);
}
.pr-gate-mark { display: flex; flex: none; color: var(--brand-primary); }
@media (min-width: 700px) { .pr-phase-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; } }
@media (min-width: 768px) { .pr-phase { padding: 2rem 2.25rem; } }

/* ---------- Staying in the loop ---------- */
.pr-comms { padding-block: 3.5rem; background: #fff; }
@media (min-width: 768px) { .pr-comms { padding-block: 4.5rem; } }
.pr-comms-grid { display: grid; gap: 2.5rem; align-items: start; }
.pr-comms-media { position: relative; margin-top: 2rem; }
.pr-shot {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  box-shadow: var(--sh-2);
}
.pr-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pr-shot:hover img { transform: scale(1.04); }
.pr-comms-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.pr-comms-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 1.375rem 1.5rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.pr-comms-list li:hover { transform: translateY(-3px); box-shadow: var(--sh-2); background: #fff; }
.pr-comms-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 7%, #fff));
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--brand-primary) 12%, #fff);
}
.pr-comms-icon .icon { stroke-width: 1.5; }
.pr-comms-list h3 { font-size: 1rem; font-weight: 700; color: var(--brand-ink); }
.pr-comms-list p { margin-top: 0.3125rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
@media (min-width: 950px) { .pr-comms-grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; } }

/* ---------- Timings ---------- */
.pr-timing { padding-block: 3.5rem; background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .pr-timing { padding-block: 4.5rem; } }
.pr-timing-list { margin: 2.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--brand-border); }
.pr-timing-list a {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.375rem 1.125rem;
  padding: 1.125rem 0.5rem;
  border-bottom: 1px solid var(--brand-border);
  transition: background var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out);
}
.pr-timing-list a:hover { background: #fff; padding-left: 1.25rem; }
.pr-timing-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: var(--accent);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--accent) 16%, var(--brand-border));
  transition: transform var(--dur) var(--ease-spring);
}
.pr-timing-icon .icon { stroke-width: 1.5; }
.pr-timing-list a:hover .pr-timing-icon { transform: translateY(-2px) rotate(-5deg); }
.pr-timing-name { grid-column: 2; grid-row: 1; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; color: var(--brand-ink); }
.pr-timing-for { grid-column: 2; grid-row: 2; font-size: 0.9375rem; line-height: 1.5; color: var(--brand-slate); }
.pr-timing-when {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-ink);
  white-space: nowrap;
}
.pr-timing-when .icon { width: 0.8125rem; height: 0.8125rem; color: var(--accent); }
.pr-timing-go { display: none; }
@media (min-width: 800px) {
  .pr-timing-list a { grid-template-columns: 2.75rem minmax(0, 1fr) auto 1.5rem; }
  .pr-timing-go { grid-column: 4; grid-row: 1 / span 2; display: block; color: var(--brand-slate); transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
  .pr-timing-list a:hover .pr-timing-go { transform: translateX(4px); color: var(--accent); }
}

/* ---------- Commitments ---------- */
.pr-promise { padding-block: 3.5rem; background: #fff; }
@media (min-width: 768px) { .pr-promise { padding-block: 4.5rem; } }
.pr-promise-grid { display: grid; gap: 1rem; margin: 3rem 0 0; padding: 0; list-style: none; perspective: 1200px; }
.pr-promise-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 1.75rem 1.625rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.pr-promise-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); background: #fff; }
.pr-promise-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 8%, #fff));
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--brand-primary) 12%, #fff);
}
.pr-promise-icon .icon { stroke-width: 1.5; }
.pr-promise-card h3 { margin-top: 1.125rem; font-size: 1.0625rem; font-weight: 700; color: var(--brand-ink); }
.pr-promise-card p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
@media (min-width: 700px) { .pr-promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .pr-promise-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- After launch ---------- */
.pr-after {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-ink);
  padding-block: 3.5rem;
}
@media (min-width: 768px) { .pr-after { padding-block: 4.5rem; } }
.pr-after .deco-blob { z-index: -1; opacity: 0.45; }
.pr-after .container { position: relative; }
.pr-after-sub { margin-top: 1rem; max-width: 40rem; font-size: 1.0625rem; line-height: 1.7; color: rgba(255, 255, 255, 0.62); }
.pr-after-list { display: grid; gap: 0; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.pr-after-list li { position: relative; padding: 1.75rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.pr-after-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.pr-after-icon .icon { stroke-width: 1.5; }
.pr-after-list h3 { margin-top: 1.125rem; font-size: 1.0625rem; font-weight: 700; color: #fff; }
.pr-after-list p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.65; color: rgba(255, 255, 255, 0.6); }
@media (min-width: 800px) {
  .pr-after-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-after-list li { padding: 0 2.5rem; border-top: 0; }
  .pr-after-list li + li { border-left: 1px solid rgba(255, 255, 255, 0.12); }
  .pr-after-list li:first-child { padding-left: 0; }
  .pr-after-list li:last-child { padding-right: 0; }
}

/* ============================================================
   Industries page — tile-field hero, sector cards, deep dives
   ============================================================ */
.in-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--brand-paper));
  border-bottom: 1px solid var(--brand-border);
}
.in-hero-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.04) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
}
.in-hero-inner { position: relative; padding-block: 1.75rem 0; }
.in-hero-grid { display: grid; gap: 3rem; padding-block: 2.25rem 3rem; align-items: center; }
.in-title {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--brand-ink);
}
.in-underline { position: relative; display: inline-block; white-space: nowrap; }
.in-underline::after {
  content: "";
  position: absolute;
  left: -0.12em;
  right: -0.12em;
  bottom: -0.1em;
  height: 0.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M5 16c42-9 90-12 134-9 20 1 39 4 58 8' fill='none' stroke='%23ff9801' stroke-width='7' stroke-linecap='round' opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.in-lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.75; color: var(--brand-slate); }
.in-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* A field of sector tiles — the hero's 2D motif. */
.in-cloud { position: relative; padding: 1.25rem 0; }
.in-cloud-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.in-tile {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 1rem;
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-ink);
  box-shadow: var(--sh-2);
}
/* Alternate tiles drift, so the field breathes without being busy. */
.in-tile:nth-child(3n + 1) { animation: float-y 8s ease-in-out infinite; }
.in-tile:nth-child(3n + 2) { animation: float-y 9.5s ease-in-out 0.7s infinite; }
.in-tile:nth-child(3n)     { animation: float-y 7s ease-in-out 1.3s infinite; }
.in-tile-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 8%, #fff));
  color: var(--brand-primary);
}
.in-tile-icon .icon { width: 1rem; height: 1rem; stroke-width: 1.5; }
.in-tile-name { line-height: 1.3; }
@media (min-width: 640px) { .in-actions { flex-direction: row; } }
@media (min-width: 1024px) {
  .in-hero-inner { padding-block: 2.25rem 0; }
  .in-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; padding-block: 3rem 4rem; }
  .in-cloud-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
}

/* ---------- Sector cards ---------- */
.in-sectors { padding-block: 3.5rem; background: #fff; }
@media (min-width: 768px) { .in-sectors { padding-block: 4.5rem; } }
.in-grid { display: grid; gap: 1rem; margin-top: 3rem; }
.in-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 1.5rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.in-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--sh-3);
  border-color: color-mix(in srgb, var(--brand-primary) 30%, var(--brand-border));
}
.in-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 8%, #fff));
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--brand-primary) 12%, #fff);
  transition: transform var(--dur) var(--ease-spring);
}
.in-card-icon .icon { stroke-width: 1.5; }
.in-card:hover .in-card-icon { transform: translateY(-2px) rotate(-6deg); }
.in-card h3 { margin-top: 1.125rem; font-size: 1.0625rem; font-weight: 700; color: var(--brand-ink); }
/* The pain line is set as a quote — it is what the client actually says. */
.in-card-pain {
  position: relative;
  margin-top: 0.625rem;
  padding-left: 1.125rem;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--brand-ink);
}
.in-quote {
  position: absolute;
  left: 0;
  top: -0.125rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1;
  color: color-mix(in srgb, var(--brand-primary) 45%, transparent);
}
.in-card-lead {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.125rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--brand-slate);
}
.in-card-lead .icon { flex: none; margin-top: 0.1875rem; color: var(--brand-primary); }
@media (min-width: 640px) { .in-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .in-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .in-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Deep dives ---------- */
.in-deep { padding-block: 3.5rem; background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .in-deep { padding-block: 4.5rem; } }
.in-dive { display: grid; gap: 2rem; align-items: center; padding-block: 2.5rem; border-top: 1px solid var(--brand-border); }
.in-dive:first-of-type { margin-top: 2.5rem; }
.in-dive-media { position: relative; }
.in-dive-halo {
  position: absolute;
  inset: -1.25rem -1rem;
  pointer-events: none;
  border-radius: 2.5rem;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 32%, transparent), rgba(2, 136, 209, 0.16));
  filter: blur(34px);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.in-dive:hover .in-dive-halo { opacity: 0.6; }
.in-dive-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-2);
}
.in-dive-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.in-dive:hover .in-dive-shot img { transform: scale(1.05); }
.in-dive-badge {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  box-shadow: var(--sh-3);
}
.in-dive-badge strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.in-dive-badge > span { margin-top: 0.25rem; font-size: 0.6875rem; color: var(--brand-slate); }
.in-dive-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.in-dive-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
}
.in-dive-lead { margin-top: 1rem; max-width: 34rem; font-size: 1.125rem; line-height: 1.7; color: var(--brand-ink); }
.in-dive-points { margin: 1.5rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.in-dive-points li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9375rem; line-height: 1.55; color: var(--brand-slate); }
.in-dive-points .icon { flex: none; margin-top: 0.1875rem; color: #16a34a; }
.in-dive-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent);
}
.in-dive-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  transition: transform var(--dur) var(--ease-spring);
}
.in-dive-link:hover .in-dive-arrow { transform: translateX(4px); }
@media (min-width: 900px) {
  .in-dive { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; padding-block: 3rem; }
  /* Alternate the image side so the run of three never reads as a list. */
  .in-dive:nth-child(even) .in-dive-media { order: 2; }
  .in-dive:nth-child(even) .in-dive-badge { right: auto; left: 1rem; }
}

/* ---------- How the work adapts ---------- */
.in-adapt { padding-block: 3.5rem; background: #fff; }
@media (min-width: 768px) { .in-adapt { padding-block: 4.5rem; } }
.in-adapt-grid { display: grid; gap: 2.5rem; align-items: start; }
.in-adapt-media { position: relative; margin-top: 2rem; }
.in-shot {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  box-shadow: var(--sh-2);
}
.in-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.in-shot:hover img { transform: scale(1.04); }
.in-adapt-list { margin: 0; padding: 0; list-style: none; }
.in-adapt-list li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--brand-border);
}
.in-adapt-list li:first-child { border-top: 1px solid var(--brand-border); }
.in-adapt-num {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--brand-primary) 35%, #fff);
}
.in-adapt-list h3 { font-size: 1.0625rem; font-weight: 700; color: var(--brand-ink); }
.in-adapt-list p { margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.7; color: var(--brand-slate); }
@media (min-width: 950px) { .in-adapt-grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; } }

/* ---------- Not on the list ---------- */
.in-other {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-ink);
  padding-block: 3.5rem;
}
@media (min-width: 768px) { .in-other { padding-block: 4.5rem; } }
.in-other .deco-blob { z-index: -1; opacity: 0.45; }
.in-other-inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.in-other-text { margin-top: 1rem; max-width: 38rem; font-size: 1.0625rem; line-height: 1.75; color: rgba(255, 255, 255, 0.62); }
.in-other-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.in-pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.in-pill:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.in-other-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 950px) { .in-other-inner { grid-template-columns: 1.4fr auto; gap: 3.5rem; } }

/* ============================================================
   Careers page — centred hero + photo strip, roles, hiring rail
   ============================================================ */
.cr-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--brand-paper));
  border-bottom: 1px solid var(--brand-border);
}
.cr-hero-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.04) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 30%, transparent 100%);
}
.cr-hero-inner { position: relative; padding-block: 1.75rem 0; }
/* Same split as every other page hero: copy left, media right. */
.cr-hero-grid { display: grid; gap: 2.5rem; padding-block: 1.75rem 2.25rem; align-items: center; }
.cr-title {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 2.875rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--brand-ink);
}
.cr-underline { position: relative; display: inline-block; }
.cr-underline::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: -0.08em;
  height: 0.36em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M5 16c66-9 142-12 210-9 30 1 58 4 84 8' fill='none' stroke='%23fb2e01' stroke-width='6' stroke-linecap='round' opacity='0.33'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.cr-lead { margin-top: 1.125rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.75; color: var(--brand-slate); }
.cr-actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* Hero media, framed and lit like the service and case-study heroes. */
.cr-hero-media { position: relative; }
.cr-media-halo {
  position: absolute;
  inset: -1.75rem -1.25rem;
  pointer-events: none;
  border-radius: 2.5rem;
  background: linear-gradient(140deg, rgba(251, 46, 1, 0.32), rgba(2, 136, 209, 0.22));
  filter: blur(38px);
  opacity: 0.5;
}
.cr-media-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-4);
}
.cr-media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cr-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.5rem 0.9375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-ink);
  box-shadow: var(--sh-3);
}
.cr-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: var(--radius-pill);
  background: var(--brand-pale);
  color: var(--brand-primary);
}
.cr-chip-a { left: 1rem; top: 1rem; animation: float-y 8s ease-in-out infinite; }
.cr-chip-b { right: 1rem; bottom: 1rem; animation: float-y 9s ease-in-out 0.8s infinite; }
@media (min-width: 640px) { .cr-actions { flex-direction: row; } }
@media (min-width: 1024px) {
  .cr-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; padding-block: 2.25rem 3rem; }
  .cr-chip-a { left: -1rem; }
  .cr-chip-b { right: -1rem; }
}

/* ---------- Culture numbers ---------- */
.cr-stats { background: var(--brand-ink); }
.cr-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}
.cr-stat { position: relative; padding: 1.375rem 0.5rem; }
.cr-stat + .cr-stat::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 1.375rem;
  bottom: 1.375rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.cr-stat:nth-child(3)::before { content: none; }
.cr-stat dt {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
}
.cr-stat dd { margin: 0.5rem 0 0; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); }
@media (min-width: 640px) {
  .cr-stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cr-stat { padding: 1.625rem 1.5rem; }
  .cr-stat:first-child { padding-left: 0; }
  .cr-stat:nth-child(3)::before { content: ""; }
  .cr-stat + .cr-stat::before { left: 0; }
}

/* ---------- Open roles ---------- */
.cr-roles { padding-block: 2.75rem; background: #fff; }
@media (min-width: 768px) { .cr-roles { padding-block: 3.5rem; } }
.cr-role-list { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--brand-border); }
.cr-role {
  display: grid;
  gap: 0.75rem;
  padding: 1.375rem 0.5rem;
  border-bottom: 1px solid var(--brand-border);
  transition: background var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out);
}
.cr-role:hover { background: var(--brand-paper); padding-left: 1.25rem; }
.cr-role-dept {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
}
.cr-role-title { margin-top: 0.4375rem; font-size: 1.25rem; font-weight: 700; color: var(--brand-ink); }
.cr-role-fit {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.625rem;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--brand-slate);
}
.cr-role-fit .icon { flex: none; margin-top: 0.1875rem; color: var(--brand-primary); }
.cr-role-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.cr-role-tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 0.3125rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-slate);
}
.cr-role-tags .icon { width: 0.8125rem; height: 0.8125rem; color: var(--brand-primary); }
.cr-role-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: start;
  border-radius: var(--radius-btn);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.6875rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-ink);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.cr-role-apply:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--brand-ink); }
.cr-role-arrow { display: flex; transition: transform var(--dur) var(--ease-out); }
.cr-role-apply:hover .cr-role-arrow { transform: translateX(3px); }
@media (min-width: 900px) {
  .cr-role { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2rem; }
  .cr-role-tags { flex-direction: column; align-items: flex-end; }
}

/* ---------- How we hire ---------- */
.cr-hiring { padding-block: 2.75rem; background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .cr-hiring { padding-block: 3.5rem; } }
.cr-hiring-grid { display: grid; gap: 2.5rem; align-items: start; }
.cr-hiring-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid var(--brand-border);
  padding: 1.125rem 1.375rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--brand-slate);
}
.cr-hiring-note strong { color: var(--brand-ink); }
.cr-note-mark { display: flex; flex: none; margin-top: 0.125rem; color: #16a34a; }
.cr-steps { margin: 0; padding: 0; list-style: none; }
.cr-step { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1.25rem; }
.cr-step-rail {
  position: absolute;
  left: 1.3125rem;
  top: 2.75rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--brand-primary) 40%, transparent), color-mix(in srgb, var(--brand-primary) 12%, transparent));
}
.cr-step:last-child .cr-step-rail { display: none; }
.cr-step-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 9%, #fff));
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--brand-primary) 12%, #fff);
}
.cr-step-body { padding-bottom: 1.5rem; }
.cr-step:last-child .cr-step-body { padding-bottom: 0; }
.cr-step-when {
  display: inline-block;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--brand-border);
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-slate);
}
.cr-step-body h3 { margin-top: 0.625rem; font-size: 1.125rem; font-weight: 700; color: var(--brand-ink); }
.cr-step-body p { margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.7; color: var(--brand-slate); }
@media (min-width: 950px) { .cr-hiring-grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; } }

/* ---------- Speculative application ---------- */
.cr-open {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-ink);
  padding-block: 2.75rem;
}
@media (min-width: 768px) { .cr-open { padding-block: 3.5rem; } }
.cr-open .deco-blob { z-index: -1; opacity: 0.45; }
.cr-open-inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.cr-open-text { margin-top: 1rem; max-width: 38rem; font-size: 1.0625rem; line-height: 1.75; color: rgba(255, 255, 255, 0.62); }
.cr-open-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 900px) { .cr-open-inner { grid-template-columns: 1.4fr auto; gap: 3.5rem; } }


/* ============================================================
   Blog listing — featured hero, topic filter, article rows
   ============================================================ */
.bl-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--brand-paper));
  border-bottom: 1px solid var(--brand-border);
}
.bl-hero-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.04) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
}
.bl-hero-inner { position: relative; padding-block: 1.75rem 0; }
.bl-hero-grid { display: grid; gap: 2.5rem; padding-block: 1.75rem 2.5rem; align-items: center; }
.bl-title {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 2.875rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--brand-ink);
}
.bl-underline { position: relative; display: inline-block; }
.bl-underline::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: -0.08em;
  height: 0.36em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M6 16c66-9 142-12 210-9 30 1 57 4 82 8' fill='none' stroke='%230288d1' stroke-width='6' stroke-linecap='round' opacity='0.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.bl-lead { margin-top: 1.125rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.75; color: var(--brand-slate); }
.bl-facts { display: flex; flex-wrap: wrap; gap: 0.625rem 1.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.bl-facts li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--brand-slate); }
.bl-facts strong { color: var(--brand-ink); }
.bl-facts .icon { color: var(--brand-primary); }

/* The latest post, as the hero's framed visual. */
.bl-featured { position: relative; display: block; }
.bl-featured-halo {
  position: absolute;
  inset: -1.75rem -1.25rem;
  pointer-events: none;
  border-radius: 2.5rem;
  background: linear-gradient(140deg, rgba(2, 136, 209, 0.3), rgba(251, 46, 1, 0.22));
  filter: blur(38px);
  opacity: 0.5;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.bl-featured:hover .bl-featured-halo { opacity: 0.8; }
.bl-featured-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.75rem 1.75rem 0 0;
  border: 1px solid var(--brand-border);
  border-bottom: 0;
  background: #fff;
}
.bl-featured-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.bl-featured:hover .bl-featured-frame img { transform: scale(1.05); }
.bl-featured-flag {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-ink);
  box-shadow: var(--sh-2);
}
.bl-featured-flag .icon { color: var(--brand-orange); }
.bl-featured-body {
  position: relative;
  display: block;
  border-radius: 0 0 1.75rem 1.75rem;
  border: 1px solid var(--brand-border);
  border-top: 0;
  background: #fff;
  padding: 1.375rem 1.5rem 1.5rem;
  box-shadow: var(--sh-3);
}
.bl-featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  color: var(--brand-slate);
}
.bl-cat {
  display: inline-block;
  border-radius: var(--radius-pill);
  background: var(--brand-pale);
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
}
.bl-featured-title {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--brand-ink);
}
.bl-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
}
.bl-featured-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: var(--radius-pill);
  background: var(--brand-pale);
  transition: transform var(--dur) var(--ease-spring);
}
.bl-featured:hover .bl-featured-arrow { transform: translateX(4px); }
@media (min-width: 1024px) {
  .bl-hero-inner { padding-block: 2.25rem 0; }
  .bl-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; padding-block: 2.25rem 3rem; }
}

/* ---------- Filter + list ---------- */
.bl-list-section { padding-block: 2.75rem; background: #fff; }
@media (min-width: 768px) { .bl-list-section { padding-block: 3.5rem; } }
.bl-list-head { display: grid; gap: 1.5rem; align-items: end; }
.bl-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bl-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.5rem 0.875rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-slate);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.bl-chip:hover { border-color: var(--brand-ink); color: var(--brand-ink); }
.bl-chip.is-active { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.bl-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand-slate);
}
.bl-chip.is-active .bl-chip-count { background: rgba(255, 255, 255, 0.18); color: #fff; }
@media (min-width: 900px) { .bl-list-head { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; } }

.bl-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.bl-card { display: flex; }
/* Filtered-out cards leave the grid entirely so the rows reflow. */
.bl-card.is-filtered { display: none; }
.bl-card a {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.bl-card a:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-3);
  border-color: color-mix(in srgb, var(--brand-primary) 30%, var(--brand-border));
}
.bl-card-media { position: relative; display: block; overflow: hidden; background: var(--brand-soft); }
.bl-card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.bl-card a:hover .bl-card-media img { transform: scale(1.06); }
.bl-card-cat {
  position: absolute;
  left: 0.875rem;
  top: 0.875rem;
  display: inline-block;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 0.3125rem 0.6875rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-primary);
  box-shadow: var(--sh-1);
}
.bl-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.375rem 1.5rem 1.5rem; }
.bl-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.75rem;
  color: var(--brand-slate);
}
.bl-card-meta .icon { width: 0.8125rem; height: 0.8125rem; color: var(--brand-primary); }
.bl-card-title {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--brand-ink);
  transition: color var(--dur-fast) var(--ease-out);
}
.bl-card a:hover .bl-card-title { color: var(--brand-primary); }
.bl-card-excerpt { display: block; margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
.bl-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
}
.bl-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: var(--radius-pill);
  background: var(--brand-pale);
  transition: transform var(--dur) var(--ease-spring);
}
.bl-card a:hover .bl-card-arrow { transform: translateX(4px); }
@media (min-width: 700px) { .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .bl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bl-empty {
  display: none;
  margin-top: 1.75rem;
  border-radius: var(--radius-card);
  background: var(--brand-paper);
  padding: 1.125rem 1.375rem;
  font-size: 0.9375rem;
  color: var(--brand-slate);
}
.bl-empty.show { display: block; }
.bl-empty-reset {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--brand-primary);
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Topics ---------- */
.bl-topics { padding-block: 2.75rem; background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .bl-topics { padding-block: 3.5rem; } }
.bl-topic-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.bl-topic {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.5rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.bl-topic:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--accent); }
.bl-topic-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--accent) 8%, #fff));
  color: var(--accent);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--accent) 12%, #fff);
  transition: transform var(--dur) var(--ease-spring);
}
.bl-topic-icon .icon { stroke-width: 1.5; }
.bl-topic:hover .bl-topic-icon { transform: translateY(-2px) rotate(-6deg); }
.bl-topic-name { margin-top: 1.125rem; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; color: var(--brand-ink); }
.bl-topic-blurb { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
.bl-topic-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 1.125rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}
.bl-topic-link .icon { transition: transform var(--dur) var(--ease-out); }
.bl-topic:hover .bl-topic-link .icon { transform: translate(2px, -2px); }
@media (min-width: 700px) { .bl-topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Ask us ---------- */
.bl-ask {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-ink);
  padding-block: 2.75rem;
}
@media (min-width: 768px) { .bl-ask { padding-block: 3.5rem; } }
.bl-ask .deco-blob { z-index: -1; opacity: 0.45; }
.bl-ask-inner { position: relative; display: grid; gap: 2rem; align-items: center; }
.bl-ask-text { margin-top: 1rem; max-width: 38rem; font-size: 1.0625rem; line-height: 1.75; color: rgba(255, 255, 255, 0.62); }
.bl-ask-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 900px) { .bl-ask-inner { grid-template-columns: 1.4fr auto; gap: 3rem; } }

/* ============================================================
   Blog article — split hero, readable column, share, next steps
   ============================================================ */
.ar-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--brand-paper));
  border-bottom: 1px solid var(--brand-border);
}
.ar-hero-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.04) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
}
.ar-hero-inner { position: relative; padding-block: 1.75rem 0; }
.ar-hero-grid { display: grid; gap: 2.5rem; padding-block: 1.75rem 2.5rem; align-items: center; }
.ar-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.ar-cat {
  display: inline-block;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--brand-border));
  padding: 0.3125rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--accent) 80%, #000);
}
.ar-eyebrow-meta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--brand-slate); }
.ar-eyebrow-meta .icon { width: 0.875rem; height: 0.875rem; color: var(--accent); }
.ar-title {
  margin-top: 1.125rem;
  font-size: clamp(1.875rem, 1.2rem + 2.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--brand-ink);
}
.ar-lead { margin-top: 1.125rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.75; color: var(--brand-slate); }
.ar-byline { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--brand-border); }
.ar-avatar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--accent) 10%, #fff));
  color: var(--accent);
}
.ar-avatar .icon { stroke-width: 1.5; }
.ar-byline-text { display: flex; flex-direction: column; }
.ar-author { font-size: 0.9375rem; font-weight: 700; color: var(--brand-ink); }
.ar-date { font-size: 0.8125rem; color: var(--brand-slate); }

.ar-hero-media { position: relative; }
.ar-media-halo {
  position: absolute;
  inset: -1.75rem -1.25rem;
  pointer-events: none;
  border-radius: 2.5rem;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 32%, transparent), rgba(2, 136, 209, 0.2));
  filter: blur(38px);
  opacity: 0.5;
}
.ar-media-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-4);
}
.ar-media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1024px) {
  .ar-hero-inner { padding-block: 2.25rem 0; }
  .ar-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; padding-block: 2.25rem 3rem; }
}

/* ---------- The article itself ---------- */
.ar-body-section { padding-block: 2.75rem; background: #fff; }
@media (min-width: 768px) { .ar-body-section { padding-block: 3.5rem; } }
/* Article and sidebar share the site's standard container width. */
.ar-layout { display: grid; gap: 2.5rem; align-items: start; }
.ar-main { min-width: 0; }

/* ---------- Sidebar ---------- */
.ar-side { min-width: 0; }
.ar-side-inner { display: flex; flex-direction: column; gap: 1rem; }
.ar-side-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 1.375rem 1.5rem;
}
.ar-side-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--brand-border);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-slate);
}
.ar-side-label .icon { color: var(--accent); }

.ar-side-cats { margin: 0.5rem 0 0; padding: 0; list-style: none; }
.ar-side-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6875rem 0;
  border-bottom: 1px solid var(--brand-border);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-ink);
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur) var(--ease-out);
}
.ar-side-cats li:last-child a { border-bottom: 0; }
.ar-side-cats a:hover { color: var(--accent); padding-left: 0.375rem; }
.ar-side-cats a.is-current { color: var(--accent); }
.ar-side-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--brand-border);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand-slate);
}
.ar-side-cats a.is-current .ar-side-count {
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  border-color: color-mix(in srgb, var(--accent) 25%, var(--brand-border));
  color: var(--accent);
}
.ar-side-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
}
.ar-side-all .icon { transition: transform var(--dur) var(--ease-out); }
.ar-side-all:hover .icon { transform: translateX(3px); }

.ar-side-recent { margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.ar-side-recent a { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.875rem; align-items: center; }
.ar-side-thumb {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--brand-border);
  background: var(--brand-soft);
}
.ar-side-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.ar-side-recent a:hover .ar-side-thumb img { transform: scale(1.08); }
.ar-side-text { display: flex; flex-direction: column; gap: 0.25rem; }
.ar-side-title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand-ink);
  transition: color var(--dur-fast) var(--ease-out);
}
.ar-side-recent a:hover .ar-side-title { color: var(--accent); }
.ar-side-meta { font-size: 0.75rem; color: var(--brand-slate); }

.ar-side-cta {
  border-radius: var(--radius-card);
  background: var(--brand-ink);
  padding: 1.5rem;
}
.ar-side-cta-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.35; color: #fff; }
.ar-side-cta-text { margin-top: 0.5rem; margin-bottom: 1.125rem; font-size: 0.875rem; line-height: 1.55; color: rgba(255, 255, 255, 0.62); }

@media (min-width: 1000px) {
  .ar-layout { grid-template-columns: minmax(0, 1fr) 21rem; gap: 4rem; }
  /* The sidebar rides along; the article is the taller column. */
  .ar-side-inner { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.ar-takeaways {
  border-radius: var(--radius-card);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--brand-border));
  background: color-mix(in srgb, var(--accent) 5%, #fff);
  padding: 1.5rem 1.625rem;
}
.ar-takeaways-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-slate);
}
.ar-takeaways-label .icon { color: var(--accent); }
.ar-takeaways ul { margin: 1.125rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }
.ar-takeaways li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 1rem; line-height: 1.6; color: var(--brand-ink); }
.ar-takeaways .icon { flex: none; margin-top: 0.1875rem; color: #16a34a; }

.ar-body { margin-top: 2.25rem; }
.ar-body p { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.8; color: var(--brand-slate); }
.ar-body p:first-child { margin-top: 0; }
/* The opening paragraph carries a little more weight than the rest. */
.ar-body p:first-child { font-size: 1.25rem; line-height: 1.7; color: var(--brand-ink); }

.ar-quote {
  position: relative;
  margin: 2rem 0;
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.5rem;
}
.ar-quote-mark { display: block; color: color-mix(in srgb, var(--accent) 40%, #fff); }
.ar-quote blockquote {
  margin: 0.625rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem);
  line-height: 1.4;
  color: var(--brand-ink);
}

.ar-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--brand-border);
}
.ar-share-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--brand-ink); }
.ar-share-label .icon { color: var(--accent); }
.ar-share-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ar-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 0.5rem 0.875rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-ink);
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.ar-share-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--brand-ink); }
.ar-share-btn .icon { color: var(--brand-slate); }
.ar-share-btn.is-copied { border-color: #16a34a; color: #15803d; }
.ar-share-btn.is-copied .icon { color: #16a34a; }

/* ---------- Where this leads ---------- */
.ar-next { padding-block: 2.75rem; background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .ar-next { padding-block: 3.5rem; } }
.ar-next-inner { display: grid; gap: 2rem; align-items: center; }
.ar-next-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ar-next-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.ar-next-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--brand-ink);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.ar-next-list li:hover { transform: translateX(4px); box-shadow: var(--sh-2); }
.ar-next-list .icon { flex: none; margin-top: 0.1875rem; color: var(--accent); }
@media (min-width: 900px) { .ar-next-inner { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; } }

/* ---------- Keep reading ---------- */
.ar-more { padding-block: 2.75rem; background: #fff; }
@media (min-width: 768px) { .ar-more { padding-block: 3.5rem; } }
.ar-more .bl-grid { margin-top: 2rem; }
.ar-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-slate);
  transition: color var(--dur-fast) var(--ease-out);
}
.ar-all:hover { color: var(--brand-ink); }
.ar-all .icon { transition: transform var(--dur) var(--ease-out); }
.ar-all:hover .icon { transform: translateX(-3px); }

/* ============================================================
   Contact — split hero, channel cards, form + next steps
   ============================================================ */
.ct-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--brand-paper));
  border-bottom: 1px solid var(--brand-border);
}
.ct-hero-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.04) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
}
.ct-hero-inner { position: relative; padding-block: 1.75rem 0; }
.ct-hero-grid { display: grid; gap: 2.5rem; padding-block: 1.75rem 2.5rem; align-items: center; }
.ct-title {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 2.875rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--brand-ink);
}
.ct-underline { position: relative; display: inline-block; }
.ct-underline::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: -0.08em;
  height: 0.36em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M6 16c66-9 142-12 210-9 30 1 57 4 82 8' fill='none' stroke='%23fb2e01' stroke-width='6' stroke-linecap='round' opacity='0.33'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.ct-lead { margin-top: 1.125rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.75; color: var(--brand-slate); }
.ct-actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.ct-facts { display: flex; flex-wrap: wrap; gap: 0.625rem 1.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.ct-facts li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--brand-slate); }
.ct-facts strong { color: var(--brand-ink); }
.ct-facts .icon { color: var(--brand-primary); }

.ct-hero-media { position: relative; }
.ct-media-halo {
  position: absolute;
  inset: -1.75rem -1.25rem;
  pointer-events: none;
  border-radius: 2.5rem;
  background: linear-gradient(140deg, rgba(251, 46, 1, 0.3), rgba(2, 136, 209, 0.22));
  filter: blur(38px);
  opacity: 0.5;
}
.ct-media-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-4);
}
.ct-media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ct-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.5rem 0.9375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-ink);
  box-shadow: var(--sh-3);
}
.ct-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: var(--radius-pill);
  background: var(--brand-pale);
  color: var(--brand-primary);
}
.ct-chip-a { left: 1rem; bottom: 1rem; animation: float-y 8s ease-in-out infinite; }
@media (min-width: 640px) { .ct-actions { flex-direction: row; } }
@media (min-width: 1024px) {
  .ct-hero-inner { padding-block: 2.25rem 0; }
  .ct-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; padding-block: 2.25rem 3rem; }
  .ct-chip-a { left: -1rem; }
}

/* ---------- Channels ---------- */
.ct-channels { padding-block: 2.75rem; background: #fff; }
@media (min-width: 768px) { .ct-channels { padding-block: 3.5rem; } }
.ct-channel-grid { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.ct-channel {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 1.5rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.ct-channel:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--sh-3);
  border-color: color-mix(in srgb, var(--tone) 35%, var(--brand-border));
}
/* Each channel keeps its own colour, set once here. */
.ct-tone-primary { --tone: var(--brand-primary); }
.ct-tone-green   { --tone: #25d366; }
.ct-tone-blue    { --tone: var(--brand-blue); }
.ct-tone-orange  { --tone: var(--brand-orange); }
.ct-channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  border: 1px solid color-mix(in srgb, var(--tone) 20%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--tone) 9%, #fff));
  color: var(--tone);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--tone) 12%, #fff);
  transition: transform var(--dur) var(--ease-spring);
}
.ct-channel-icon .icon { stroke-width: 1.5; }
.ct-channel:hover .ct-channel-icon { transform: translateY(-2px) rotate(-6deg); }
.ct-channel-title { margin-top: 1.125rem; font-size: 1.0625rem; font-weight: 700; color: var(--brand-ink); }
.ct-channel-sub { margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.55; color: var(--brand-slate); word-break: break-word; }
.ct-channel-meta {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  margin-top: 0.875rem;
  font-size: 0.75rem;
  color: var(--brand-slate);
}
.ct-channel-meta .icon { width: 0.8125rem; height: 0.8125rem; color: var(--tone); }
.ct-channel-go {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  margin-top: auto;
  padding: 1.25rem 0 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tone);
  cursor: pointer;
  text-align: left;
}
.ct-channel-go .icon { transition: transform var(--dur) var(--ease-out); }
.ct-channel:hover .ct-channel-go .icon { transform: translateX(4px); }
@media (min-width: 640px) { .ct-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .ct-channel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Form + sidebar ---------- */
.ct-form-section { padding-block: 2.75rem; background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .ct-form-section { padding-block: 3.5rem; } }
.ct-form-layout { display: grid; gap: 2rem; align-items: start; }
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.5rem;
}
.ct-form-grid { display: grid; gap: 1rem; }
.ct-form .form-field { display: flex; flex-direction: column; gap: 0.375rem; }
.ct-form .form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--brand-slate);
}
.ct-form .form-note .icon { flex: none; margin-top: 0.125rem; color: #16a34a; }
.ct-form .form-note a { color: var(--brand-primary); font-weight: 700; text-decoration: underline; }
.ct-form .form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(22, 163, 74, 0.1);
  padding: 0.75rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #15803d;
}
.ct-form .form-success.show { display: flex; }
@media (min-width: 560px) { .ct-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .ct-form { padding: 2rem; } }

.ct-form-side { display: flex; flex-direction: column; gap: 1rem; }
.ct-side-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.5rem;
}
.ct-side-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--brand-border);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-slate);
}
.ct-side-label .icon { color: var(--brand-primary); }
.ct-steps { margin: 1.25rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.ct-steps li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: 0.875rem; }
.ct-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-pill);
  background: var(--brand-pale);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-primary);
}
.ct-steps h3 { font-size: 0.9375rem; font-weight: 700; color: var(--brand-ink); }
.ct-steps p { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.6; color: var(--brand-slate); }

.ct-availability { margin: 1.25rem 0 0; }
.ct-availability > div { padding: 0.75rem 0; border-bottom: 1px solid var(--brand-border); }
.ct-availability > div:last-child { border-bottom: 0; padding-bottom: 0; }
.ct-availability dt {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-slate);
}
.ct-availability dt .icon { width: 0.8125rem; height: 0.8125rem; color: var(--brand-primary); }
.ct-availability dd { margin: 0.375rem 0 0; font-size: 0.9375rem; font-weight: 600; color: var(--brand-ink); }
@media (min-width: 950px) { .ct-form-layout { grid-template-columns: minmax(0, 1fr) 21rem; gap: 3rem; } }

/* ---------- Booking embed ---------- */
.ct-booking { padding-block: 2.75rem; background: #fff; }
@media (min-width: 768px) { .ct-booking { padding-block: 3.5rem; } }
.ct-calendar {
  margin-top: 2rem;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-2);
}
.ct-calendar iframe { display: block; width: 100%; height: 40rem; border: 0; }


/* ---------- Careers application modal ---------- */
.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.apply-modal.open { display: flex; }
.apply-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 26, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.apply-panel {
  position: relative;
  width: 100%;
  max-width: 34rem;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-card);
  background: #fff;
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  animation: apply-in 0.35s var(--ease-spring) both;
}
@keyframes apply-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.apply-close {
  position: absolute;
  right: 0.875rem;
  top: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--brand-ink);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.apply-close:hover { background: var(--brand-soft); }
.apply-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-primary);
}
.apply-title {
  margin-top: 0.625rem;
  padding-right: 2rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}
.apply-sub { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.55; color: var(--brand-slate); }
.apply-form { margin-top: 1.375rem; display: flex; flex-direction: column; gap: 0.875rem; }
.apply-grid { display: grid; gap: 0.875rem; }
.apply-field { display: flex; flex-direction: column; gap: 0.375rem; }
.apply-submit { margin-top: 0.375rem; }
.apply-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--brand-slate);
}
.apply-note .icon { flex: none; margin-top: 0.125rem; color: #16a34a; }
.apply-note a { color: var(--brand-primary); font-weight: 700; text-decoration: underline; }
.apply-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(22, 163, 74, 0.1);
  padding: 0.75rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #15803d;
}
.apply-success.show { display: flex; }
.apply-success .icon { flex: none; }
@media (min-width: 520px) {
  .apply-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply-panel { padding: 2rem; }
}
/* ============================================================
   Founder's note — split hero, the letter, beliefs
   ============================================================ */
.fd-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--brand-paper));
  border-bottom: 1px solid var(--brand-border);
}
.fd-hero-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.04) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
}
.fd-hero-inner { position: relative; padding-block: 1.75rem 0; }
.fd-hero-grid { display: grid; gap: 2.5rem; padding-block: 1.75rem 2.5rem; align-items: center; }
.fd-title {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 2.875rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--brand-ink);
}
.fd-underline { position: relative; display: inline-block; }
.fd-underline::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: -0.08em;
  height: 0.36em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M6 16c66-9 142-12 210-9 30 1 57 4 82 8' fill='none' stroke='%23fb2e01' stroke-width='6' stroke-linecap='round' opacity='0.33'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.fd-lead { margin-top: 1.125rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.75; color: var(--brand-slate); }
.fd-actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }

.fd-hero-media { position: relative; }
.fd-media-halo {
  position: absolute;
  inset: -1.75rem -1.25rem;
  pointer-events: none;
  border-radius: 2.5rem;
  background: linear-gradient(140deg, rgba(251, 46, 1, 0.3), rgba(2, 136, 209, 0.22));
  filter: blur(38px);
  opacity: 0.5;
}
.fd-media-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-4);
}
.fd-media-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* Shown until a founder photo is set in admin. */
.fd-media-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  aspect-ratio: 4 / 5;
  background: var(--brand-soft);
  color: var(--brand-slate);
  font-size: 0.875rem;
}
.fd-media-empty .icon { color: color-mix(in srgb, var(--brand-primary) 45%, var(--brand-border)); }
.fd-media-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  box-shadow: var(--sh-3);
}
.fd-media-name { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 700; color: var(--brand-ink); }
.fd-media-role { font-size: 0.75rem; color: var(--brand-slate); }
@media (min-width: 640px) { .fd-actions { flex-direction: row; } }
@media (min-width: 1024px) {
  .fd-hero-inner { padding-block: 2.25rem 0; }
  .fd-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; padding-block: 2.25rem 3rem; }
  .fd-media-tag { left: -1rem; }
}

/* ---------- The letter ---------- */
.fd-note-section { padding-block: 2.75rem; background: #fff; }
@media (min-width: 768px) { .fd-note-section { padding-block: 3.5rem; } }
.fd-layout { display: grid; gap: 2.5rem; align-items: start; }
.fd-main { min-width: 0; }
.fd-letter { margin-top: 2rem; }
.fd-letter p { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.85; color: var(--brand-slate); }
/* The opening line carries the weight — it is the reason someone reads on. */
.fd-letter p:first-child { margin-top: 0; font-size: 1.25rem; line-height: 1.7; color: var(--brand-ink); }

.fd-signature {
  margin: 2.5rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--brand-border);
}
.fd-sign-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.375rem);
  line-height: 1;
  color: var(--brand-primary);
  transform: rotate(-3deg);
  transform-origin: left center;
}
.fd-signature figcaption { display: flex; flex-direction: column; margin-top: 1.125rem; }
.fd-sign-name { font-size: 1rem; font-weight: 700; color: var(--brand-ink); }
.fd-sign-role { font-size: 0.875rem; color: var(--brand-slate); }

/* ---------- Sidebar ---------- */
.fd-side { min-width: 0; }
.fd-side-inner { display: flex; flex-direction: column; gap: 1rem; }
.fd-side-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 1.375rem 1.5rem;
}
.fd-side-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--brand-border);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-slate);
}
.fd-side-label .icon { color: var(--brand-primary); }
.fd-facts { margin: 0.5rem 0 0; }
.fd-facts > div { padding: 0.75rem 0; border-bottom: 1px solid var(--brand-border); }
.fd-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.fd-facts dt {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-slate);
}
.fd-facts dt .icon { width: 0.8125rem; height: 0.8125rem; color: var(--brand-primary); }
.fd-facts dd { margin: 0.375rem 0 0; font-size: 0.9375rem; font-weight: 600; color: var(--brand-ink); }

.fd-side-cta { border-radius: var(--radius-card); background: var(--brand-ink); padding: 1.5rem; }
.fd-side-cta-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.35; color: #fff; }
.fd-side-cta-text { margin-top: 0.5rem; margin-bottom: 1.125rem; font-size: 0.875rem; line-height: 1.55; color: rgba(255, 255, 255, 0.62); }
.fd-side-cta-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem;
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--dur-fast) var(--ease-out);
}
.fd-side-cta-alt:hover { color: #fff; }
.fd-side-cta-alt .icon { color: #25d366; }
@media (min-width: 1000px) {
  .fd-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; }
  .fd-side-inner { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------- What I believe ---------- */
.fd-beliefs { padding-block: 2.75rem; background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .fd-beliefs { padding-block: 3.5rem; } }
.fd-belief-list { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--brand-border); }
.fd-belief {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid var(--brand-border);
  transition: background var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out);
}
.fd-belief:hover { background: #fff; padding-left: 1.25rem; }
.fd-belief-num {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--brand-primary) 40%, #fff);
  transition: color var(--dur) var(--ease-out);
}
.fd-belief:hover .fd-belief-num { color: var(--brand-primary); }
.fd-belief h3 { font-size: 1.0625rem; font-weight: 700; color: var(--brand-ink); }
.fd-belief p { margin-top: 0.375rem; max-width: 46rem; font-size: 0.9375rem; line-height: 1.7; color: var(--brand-slate); }

/* ---------- Reach me ---------- */
.fd-reach {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-ink);
  padding-block: 2.75rem;
}
@media (min-width: 768px) { .fd-reach { padding-block: 3.5rem; } }
.fd-reach .deco-blob { z-index: -1; opacity: 0.45; }
.fd-reach-inner { position: relative; display: grid; gap: 2rem; align-items: center; }
.fd-reach-text { margin-top: 1rem; max-width: 38rem; font-size: 1.0625rem; line-height: 1.75; color: rgba(255, 255, 255, 0.62); }
.fd-reach-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 900px) { .fd-reach-inner { grid-template-columns: 1.4fr auto; gap: 3rem; } }

/* ============================================================
   Classes & workshops — live sessions, courses, recordings
   ============================================================ */
.cl-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--brand-paper));
  border-bottom: 1px solid var(--brand-border);
}
.cl-hero-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 20, 26, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 26, 0.04) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 40% 30%, #000 30%, transparent 100%);
}
.cl-hero-inner { position: relative; padding-block: 1.75rem 0; }
.cl-hero-grid { display: grid; gap: 2.5rem; padding-block: 1.75rem 2.5rem; align-items: center; }
.cl-title {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 2.875rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--brand-ink);
}
.cl-underline { position: relative; display: inline-block; }
.cl-underline::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: -0.08em;
  height: 0.36em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M6 16c66-9 142-12 210-9 30 1 57 4 82 8' fill='none' stroke='%23ff9801' stroke-width='6' stroke-linecap='round' opacity='0.38'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.cl-lead { margin-top: 1.125rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.75; color: var(--brand-slate); }
.cl-actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.cl-facts { display: flex; flex-wrap: wrap; gap: 0.625rem 1.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.cl-facts li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--brand-slate); }
.cl-facts strong { color: var(--brand-ink); }
.cl-facts .icon { color: var(--brand-primary); }

/* The next dated session, as the hero's object. */
.cl-next { position: relative; display: block; }
.cl-next-halo {
  position: absolute;
  inset: -1.75rem -1.25rem;
  pointer-events: none;
  border-radius: 2.5rem;
  background: linear-gradient(140deg, rgba(255, 152, 1, 0.32), rgba(251, 46, 1, 0.22));
  filter: blur(38px);
  opacity: 0.5;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.cl-next:hover .cl-next-halo { opacity: 0.8; }
.cl-next-card {
  position: relative;
  display: block;
  border-radius: 1.75rem;
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--sh-4);
}
.cl-next-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--brand-paper);
  border: 1px solid var(--brand-border);
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-ink);
}
.cl-next-title {
  display: block;
  margin-top: 1.125rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--brand-ink);
}
.cl-next-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1rem; }
.cl-next-meta span { display: inline-flex; align-items: center; gap: 0.4375rem; font-size: 0.875rem; color: var(--brand-slate); }
.cl-next-meta .icon { width: 0.875rem; height: 0.875rem; color: var(--brand-primary); }
.cl-next-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--brand-border);
}
.cl-next-price { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.03em; color: var(--brand-ink); }
.cl-next-go { display: inline-flex; align-items: center; gap: 0.4375rem; font-size: 0.875rem; font-weight: 700; color: var(--brand-primary); }
.cl-next-go .icon { transition: transform var(--dur) var(--ease-out); }
.cl-next:hover .cl-next-go .icon { transform: translateX(4px); }
@media (min-width: 640px) { .cl-actions { flex-direction: row; } }
@media (min-width: 1024px) {
  .cl-hero-inner { padding-block: 2.25rem 0; }
  .cl-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; padding-block: 2.25rem 3rem; }
}

/* ---------- Shared price chip ---------- */
.cl-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
  white-space: nowrap;
}

/* ---------- Live sessions ---------- */
.cl-live { padding-block: 2.75rem; background: #fff; }
@media (min-width: 768px) { .cl-live { padding-block: 3.5rem; } }
.cl-live-list { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--brand-border); }
.cl-session {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid var(--brand-border);
  transition: background var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out);
}
.cl-session:hover { background: var(--brand-paper); padding-left: 1.25rem; }
/* The date reads as a ticket stub, not body copy. */
.cl-session-when {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-card);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 7%, #fff));
  align-self: start;
}
.cl-session-date { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--brand-ink); }
.cl-session-time { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--brand-slate); }
.cl-session-time .icon { width: 0.8125rem; height: 0.8125rem; color: var(--brand-primary); }
.cl-session-format {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
}
.cl-session-title { margin-top: 0.4375rem; font-size: 1.1875rem; font-weight: 700; color: var(--brand-ink); }
.cl-session-desc { margin-top: 0.5rem; max-width: 42rem; font-size: 0.9375rem; line-height: 1.65; color: var(--brand-slate); }
.cl-session-seats {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  margin-top: 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-slate);
}
.cl-session-seats .icon { width: 0.8125rem; height: 0.8125rem; color: var(--brand-primary); }
.cl-session-act { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
@media (min-width: 900px) {
  .cl-session { grid-template-columns: 11rem minmax(0, 1fr) auto; align-items: center; gap: 2rem; }
  .cl-session-act { flex-direction: column; align-items: flex-end; gap: 0.75rem; }
}

/* ---------- Courses ---------- */
.cl-courses { padding-block: 2.75rem; background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .cl-courses { padding-block: 3.5rem; } }
.cl-course-grid { display: grid; gap: 1.25rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.cl-course {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.cl-course:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: var(--accent); }
.cl-course-media { position: relative; display: block; overflow: hidden; background: var(--brand-soft); }
.cl-course-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.cl-course:hover .cl-course-media img { transform: scale(1.06); }
.cl-course-tag {
  position: absolute;
  left: 0.875rem;
  top: 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  padding: 0.3125rem 0.6875rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  box-shadow: var(--sh-1);
}
.cl-course-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.cl-course-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; color: var(--brand-ink); }
.cl-course-desc { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
.cl-course-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.125rem 0 0; padding: 0; list-style: none; }
.cl-course-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: var(--brand-paper);
  padding: 0.3125rem 0.6875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-slate);
}
.cl-course-meta .icon { width: 0.8125rem; height: 0.8125rem; color: var(--accent); }
.cl-course-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
}
@media (min-width: 700px) { .cl-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .cl-course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Recorded library ---------- */
.cl-library { padding-block: 2.75rem; background: #fff; }
@media (min-width: 768px) { .cl-library { padding-block: 3.5rem; } }
.cl-video-grid { display: grid; gap: 1.25rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.cl-video a { display: block; }
.cl-video-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: var(--brand-ink);
}
.cl-video-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur) var(--ease-out); }
.cl-video a:hover .cl-video-media img { transform: scale(1.05); opacity: 1; }
.cl-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-primary);
  box-shadow: var(--sh-3);
  transition: transform var(--dur) var(--ease-spring);
}
.cl-video a:hover .cl-video-play { transform: translate(-50%, -50%) scale(1.1); }
.cl-video-time {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(20, 20, 26, 0.8);
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
}
.cl-video-body { display: block; padding-top: 1rem; }
.cl-video-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
  transition: color var(--dur-fast) var(--ease-out);
}
.cl-video a:hover .cl-video-title { color: var(--brand-primary); }
.cl-video-desc { display: block; margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
.cl-video-price {
  display: inline-block;
  margin-top: 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--brand-pale);
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-primary);
}
@media (min-width: 700px) { .cl-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .cl-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- What every session includes ---------- */
.cl-includes { padding-block: 2.75rem; background: var(--brand-paper); border-block: 1px solid var(--brand-border); }
@media (min-width: 768px) { .cl-includes { padding-block: 3.5rem; } }
.cl-includes-grid { display: grid; gap: 2.5rem; align-items: start; }
.cl-includes-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.cl-includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-border);
  background: #fff;
  padding: 1.25rem 1.375rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.cl-includes-list li:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.cl-includes-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, var(--brand-border));
  background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--brand-primary) 7%, #fff));
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 color-mix(in srgb, var(--brand-primary) 12%, #fff);
}
.cl-includes-icon .icon { stroke-width: 1.5; }
.cl-includes-list h3 { font-size: 1rem; font-weight: 700; color: var(--brand-ink); }
.cl-includes-list p { margin-top: 0.3125rem; font-size: 0.9375rem; line-height: 1.6; color: var(--brand-slate); }
@media (min-width: 950px) {
  .cl-includes-grid { grid-template-columns: 1fr 1.3fr; gap: 3.5rem; }
  .cl-includes-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   Sitewide hero entrance
   Only the homepage hero had a load-in animation; every other
   page's hero (about, founder, classes, process, industries,
   careers, contact, services, work, case studies, blog) just
   appeared. This gives all of them the same staggered fade-up,
   keyed off the shared *-hero-copy / *-hero-media naming.
   ============================================================ */
[class$="-hero-copy"] > *,
.wk-hero-grid > div:first-child > *,
.index-head > * {
  animation: fade-up 0.7s var(--ease-out) both;
}
[class$="-hero-copy"] > *:nth-child(1),
.wk-hero-grid > div:first-child > *:nth-child(1),
.index-head > *:nth-child(1) { animation-delay: 0ms; }
[class$="-hero-copy"] > *:nth-child(2),
.wk-hero-grid > div:first-child > *:nth-child(2),
.index-head > *:nth-child(2) { animation-delay: 80ms; }
[class$="-hero-copy"] > *:nth-child(3),
.wk-hero-grid > div:first-child > *:nth-child(3),
.index-head > *:nth-child(3) { animation-delay: 160ms; }
[class$="-hero-copy"] > *:nth-child(4),
.wk-hero-grid > div:first-child > *:nth-child(4),
.index-head > *:nth-child(4) { animation-delay: 240ms; }
[class$="-hero-copy"] > *:nth-child(5),
.wk-hero-grid > div:first-child > *:nth-child(5),
.index-head > *:nth-child(5) { animation-delay: 320ms; }
[class$="-hero-copy"] > *:nth-child(6),
.wk-hero-grid > div:first-child > *:nth-child(6),
.index-head > *:nth-child(6) { animation-delay: 400ms; }

/* The hero visual arrives a beat after the copy, same as the homepage. */
[class$="-hero-media"],
.wk-deck,
.in-cloud {
  animation: fade-up 0.9s var(--ease-out) 220ms both;
}

/* ---------- CTA band ----------
   Appears on every page. Was completely static; now it reveals like
   every other section, and its ambient glows drift instead of sitting
   dead still behind the copy. */
.cta-glow { animation: float-y 9s ease-in-out infinite; }
.cta-glow.glow-blue { animation-duration: 11s; animation-delay: 1s; }

/* ---------- Testimonial slider orbs ---------- */
.ts-orb { animation: float-y 10s ease-in-out infinite; }
.ts-orb-b { animation-duration: 12s; animation-delay: 1.2s; }

/* ---------- 404 ---------- */
.notfound-code {
  animation: fade-up 0.7s var(--ease-out) both;
}
.notfound-title { animation: fade-up 0.7s var(--ease-out) 80ms both; }
.notfound-desc { animation: fade-up 0.7s var(--ease-out) 160ms both; }
.notfound-actions { animation: fade-up 0.7s var(--ease-out) 240ms both; }

/* ---------- Hero grid pattern: slow diagonal drift ----------
   Same static grid-line background sat behind every hero. One rule
   covers all of them via the shared *-hero-lines naming, plus the
   homepage's own .grid-lines. */
[class$="-hero-lines"],
.grid-lines {
  animation: grid-drift 20s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 13.5rem 13.5rem, 13.5rem 13.5rem; }
}

/* ---------- Reduced motion ----------
   Kill decorative movement; keep every element visible and usable. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .ts-track { scroll-behavior: auto; }
}
