/* ==========================================================================
   Oraclyn website - styles.css
   Brand palette and typeface from the Oraclyn logo artwork pack.
   ========================================================================== */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("/assets/fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand palette */
  --ink: #10302B;
  --ink-raised: #1A3F38;
  --saffron: #C98421;
  --saffron-text: #93600F;   /* saffron darkened for text on light backgrounds (AA) */
  --sage: #5E7A72;
  --mist: #DCE6E1;
  --paper: #F6F5F0;
  --white: #FFFFFF;

  /* Roles */
  --text: var(--ink);
  --text-soft: #3E5A53;
  --line: #CAD6D0;
  --on-dark: #F6F5F0;
  --on-dark-soft: #B9CBC4;
  --focus: var(--saffron);

  /* Type */
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.7rem, 1.45rem + 5.2vw, 5.4rem);
  --fs-h1: clamp(2.4rem, 1.5rem + 3.6vw, 4.25rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 2.5vw, 3.25rem);
  --fs-h3: clamp(1.3rem, 1.12rem + 0.75vw, 1.7rem);
  --fs-lead: clamp(1.13rem, 1.02rem + 0.45vw, 1.38rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 9vw, 136px);
  --radius: 18px;
  --radius-s: 10px;
  --header-h: 76px;

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "ss01" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-s); text-decoration: none; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-weight: 650; letter-spacing: -0.022em; line-height: 1.06; text-wrap: balance; }
.display { font-size: var(--fs-display); line-height: 1.0; letter-spacing: -0.03em; font-weight: 680; }
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.012em; font-weight: 620; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-soft); max-width: 36em; text-wrap: pretty; }
p { max-width: 68ch; text-wrap: pretty; }
.prose > * + * { margin-top: 1.1em; }
.prose p { color: var(--text-soft); }
.prose strong { color: var(--text); font-weight: 620; }
.text-link { font-weight: 620; text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: currentColor; }

/* Small saffron square: the brand's "fitted corner" used as a marker */
.mark { display: inline-block; width: 0.55em; height: 0.55em; background: var(--saffron); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.8em 1.6em;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 640; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink-raised); }
.btn-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 44px; padding: 0.6em 1.25em; font-size: 0.9375rem; }
.btn-whatsapp { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-whatsapp:hover { border-color: var(--ink); }
.btn-whatsapp svg { width: 20px; height: 20px; color: #1F8F4E; }

/* On dark sections */
.on-dark .btn-primary { background: var(--saffron); color: var(--ink); }
.on-dark .btn-primary:hover { background: #DB9637; }
.on-dark .btn-secondary { border-color: var(--on-dark); color: var(--on-dark); }
.on-dark .btn-secondary:hover { background: var(--on-dark); color: var(--ink); }
.on-dark .btn-whatsapp { background: transparent; color: var(--on-dark); border-color: rgba(246,245,240,.35); }
.on-dark .btn-whatsapp:hover { border-color: var(--on-dark); }
.on-dark .btn-whatsapp svg { color: #5FD08E; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,245,240,.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; padding: 6px 0; }
.brand img { width: 148px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.site-nav a {
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  font-weight: 560; font-size: 0.98rem; text-decoration: none; color: var(--text);
}
.site-nav a:hover { background: var(--mist); }
.site-nav a[aria-current="page"] { background: var(--mist); }
.nav-mobile-only { display: none; }
.header-cta { flex: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span.bars, .nav-toggle span.bars::before, .nav-toggle span.bars::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle span.bars::before, .nav-toggle span.bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle span.bars::before { top: -6px; }
.nav-toggle span.bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span.bars { background: transparent; }
.nav-toggle[aria-expanded="true"] span.bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span.bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-cta .long { display: none; }
}
@media (min-width: 1081px) {
  .header-cta .short { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .brand img { width: 128px; }
  .nav-toggle { display: inline-flex; margin-left: 0; }
  .header-cta { margin-left: auto; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { display: block; padding: 14px 12px; font-size: 1.125rem; border-radius: var(--radius-s); }
  .nav-mobile-only { display: block; }
  .site-nav + .nav-toggle { margin-left: auto; }
}
@media (max-width: 420px) {
  .header-cta { padding-inline: 1em; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.bg-white { background: var(--white); }
.bg-mist { background: var(--mist); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-ink .lead, .bg-ink .prose p, .bg-ink p.soft { color: var(--on-dark-soft); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 820px; }

/* ---------- Ring frame (brand motif: photo seen through the Oraclyn ring) ---------- */
.ring-frame { position: relative; width: 100%; max-width: 540px; margin-inline: auto; }
.ring-frame .ring-box { position: relative; aspect-ratio: 1 / 1; }
.ring-photo {
  position: absolute; left: 16.25%; top: 16.25%; width: 67.5%; height: 67.5%;
  border-radius: 50%; overflow: hidden; background: var(--mist);
}
.ring-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.ring-photo img.is-active { opacity: 1; }
.ring-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ring-overlay .ring { fill: var(--ink); }
.ring-overlay .corner { fill: var(--saffron); }
.ring-caption {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: -3%; font-weight: 600; font-size: var(--fs-small); color: var(--text-soft);
  min-height: 1.6em;
}
.ring-caption .mark { width: 9px; height: 9px; }

/* ---------- Home hero ---------- */
.hero { padding-top: clamp(32px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 28px; }
.hero-copy .lead { max-width: 30em; }
.hero-note { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--text-soft); font-weight: 520; }
.hero-note .mark { width: 9px; height: 9px; }
.hero-steps { margin-top: clamp(40px, 6vw, 80px); background: var(--white); border-top: 1px solid var(--line); }
.step-strip { display: flex; justify-content: space-between; gap: 16px; list-style: none; padding: 26px 0; margin: 0; }
.step-strip li { display: flex; align-items: center; gap: 12px; font-weight: 640; }
.step-strip .mark { width: 10px; height: 10px; }
.step-strip a { text-decoration: none; }
.step-strip a:hover { text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; text-underline-offset: 5px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; margin-top: 8px; }
}
@media (max-width: 720px) {
  .step-strip { flex-wrap: wrap; justify-content: flex-start; gap: 12px 22px; padding: 20px 0; }
  .step-strip li { font-size: 0.95rem; }
}

/* ---------- Problem recognition (quotes) ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; }
.quotes li {
  background: var(--white); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px);
  display: grid; align-content: space-between; gap: 28px; min-height: 200px;
}
.quotes blockquote { font-size: clamp(1.18rem, 1.05rem + 0.5vw, 1.42rem); line-height: 1.35; font-weight: 560; letter-spacing: -0.01em; }
.quotes .who { font-size: var(--fs-small); color: var(--text-soft); display: flex; align-items: center; gap: 10px; }
.quotes .who .mark { width: 8px; height: 8px; }
.quotes li:nth-child(2) { background: var(--ink); color: var(--on-dark); }
.quotes li:nth-child(2) .who { color: var(--on-dark-soft); }
.problems-coda { margin-top: clamp(32px, 4vw, 48px); font-size: var(--fs-lead); line-height: 1.5; max-width: 40em; }
@media (max-width: 980px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .quotes { grid-template-columns: 1fr; } .quotes li { min-height: 0; } }

/* ---------- Split statement ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.split .prose { padding-top: 8px; }
.split .prose .text-link { display: inline-block; margin-top: 8px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Problem-area tabs ---------- */
.tabs { display: grid; grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tablist { display: grid; gap: 4px; border-left: 2px solid var(--line); }
.tab {
  appearance: none; background: none; border: 0; text-align: left; cursor: pointer;
  padding: 14px 18px; margin-left: -2px; border-left: 3px solid transparent;
  font-weight: 580; font-size: 1.05rem; color: var(--text-soft); line-height: 1.35;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.tab:hover { color: var(--text); background: var(--paper); }
.tab[aria-selected="true"] { color: var(--text); border-left-color: var(--saffron); font-weight: 680; }
.tabpanel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 3.5vw, 48px); align-items: center; }
.tabpanel .panel-copy { display: grid; gap: 18px; }
.tabpanel .panel-copy p { color: var(--text-soft); }
.better {
  margin-top: 6px; padding: 18px 20px; background: var(--paper); border-radius: var(--radius-s);
  border-left: 3px solid var(--saffron);
}
.better strong { display: block; font-weight: 650; margin-bottom: 4px; color: var(--text); }
.better p { color: var(--text); }
.tabs-footer {
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 36px);
  background: var(--mist); border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.tabs-footer p { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem); font-weight: 620; letter-spacing: -0.01em; line-height: 1.3; max-width: 26em; }

/* Photo with the brand's fitted corner */
.photo-corner { position: relative; border-radius: var(--radius); border-top-right-radius: 0; overflow: hidden; background: var(--mist); aspect-ratio: 4 / 5; }
.photo-corner img { width: 100%; height: 100%; object-fit: cover; }
.photo-corner::after {
  content: ""; position: absolute; top: 0; right: 0; width: 22%; aspect-ratio: 1 / 1;
  background: var(--saffron);
  -webkit-mask: radial-gradient(circle at 0 100%, transparent 70.5%, #000 71%); mask: radial-gradient(circle at 0 100%, transparent 70.5%, #000 71%);
}
.photo-corner.landscape { aspect-ratio: 4 / 3; }
.photo-corner.wide { aspect-ratio: 16 / 10; }

@media (max-width: 980px) {
  .tabs { grid-template-columns: 1fr; }
  .tablist {
    display: flex; overflow-x: auto; gap: 8px; border-left: 0; padding-bottom: 6px;
    scrollbar-width: thin; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .tab { flex: none; margin-left: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 0.96rem; white-space: nowrap; }
  .tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
}
@media (max-width: 720px) {
  .tabpanel { grid-template-columns: 1fr; }
  .tabpanel .photo-corner { aspect-ratio: 16 / 11; order: -1; }
}

/* ---------- Process ring (How we work) ---------- */
.process { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.process-ring { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1; margin-inline: auto; }
.process-ring svg { width: 100%; height: 100%; }
.process-ring .seg { fill: none; stroke: rgba(220, 230, 225, 0.16); stroke-width: 17; transition: stroke .35s ease; }
.process-ring .seg.is-on { stroke: var(--paper); }
.process-ring .corner { fill: var(--saffron); transition: opacity .35s ease; }
.process-ring .corner.is-off { opacity: 0.12; }
.ring-center {
  position: absolute; inset: 22%; display: grid; place-content: center; text-align: center; gap: 4px;
}
.ring-center .num { font-size: clamp(2.4rem, 1.5rem + 3vw, 3.6rem); font-weight: 700; color: var(--saffron); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ring-center .name { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem); font-weight: 640; }
.ring-center .hint { font-size: 0.95rem; color: var(--on-dark-soft); max-width: 12em; margin-inline: auto; line-height: 1.35; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.step-btn {
  width: 100%; appearance: none; background: transparent; border: 0; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 4px 12px; align-items: baseline;
  padding: 16px 18px; border-radius: var(--radius-s); color: var(--on-dark);
  transition: background-color .2s ease;
}
.step-btn:hover { background: rgba(246,245,240,.06); }
.step-btn[aria-pressed="true"] { background: rgba(246,245,240,.1); }
.step-btn .n { font-weight: 700; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.step-btn[aria-pressed="true"] .n { color: var(--saffron); }
.step-btn .t { font-weight: 660; font-size: 1.2rem; }
.step-btn .d { grid-column: 2; color: var(--on-dark-soft); font-size: 1rem; line-height: 1.5; }
.process-more { margin-top: 28px; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process-ring { max-width: 320px; }
}

/* ---------- Philosophy staircase ---------- */
.stairs { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; --step: clamp(20px, 5.5vw, 76px); }
.stairs li {
  position: relative; display: flex; align-items: center; gap: 18px;
  margin-left: calc(var(--i) * var(--step)); padding-block: 14px;
  font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.6rem); font-weight: 640; letter-spacing: -0.02em; line-height: 1.1;
}
.stairs li:nth-child(1) { --i: 0; }
.stairs li:nth-child(2) { --i: 1; }
.stairs li:nth-child(3) { --i: 2; }
.stairs li:nth-child(4) { --i: 3; }
.stairs li::before { content: ""; width: 14px; height: 14px; background: var(--ink); flex: none; }
.stairs li:last-child::before { background: var(--saffron); width: 18px; height: 18px; }
.stairs li:not(:last-child)::after {
  content: ""; position: absolute; left: 6px; top: calc(50% + 12px);
  width: var(--step); height: calc(100% - 12px);
  border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); border-bottom-left-radius: 12px;
}
.stairs li:last-child { color: var(--ink); }
.stairs-note { margin-top: 28px; }

/* ---------- Principles ---------- */
.principles-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 40px); margin-top: 36px; }
.principle { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.principle h3 { font-size: 1.25rem; }
.principle p { color: var(--text-soft); }
@media (max-width: 900px) { .principles-grid { grid-template-columns: 1fr; } .principles-grid .photo-corner { aspect-ratio: 16 / 11; } }
@media (max-width: 540px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Proof / videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-card {
  appearance: none; border: 0; padding: 0; text-align: left; cursor: pointer; background: var(--white);
  border-radius: var(--radius); overflow: hidden; display: grid; color: var(--text);
}
.video-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: transform .2s ease;
}
.video-thumb .play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--ink); }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.video-body { padding: 20px 22px 24px; display: grid; gap: 6px; }
.video-body .meta { font-size: 0.875rem; color: var(--text-soft); font-weight: 560; }
.video-body h3 { font-size: 1.2rem; }
.video-body p { color: var(--text-soft); font-size: 0.98rem; }
.proof-fallback { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); max-width: 820px; }
.proof-fallback .mark { width: 12px; height: 12px; margin-top: 0.55em; }
.proof-fallback p { font-size: var(--fs-lead); line-height: 1.5; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

.video-dialog { width: min(960px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); }
.video-dialog::backdrop { background: rgba(16, 48, 43, 0.82); }
.video-dialog .dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px 14px 22px; }
.video-dialog .dialog-bar h2 { font-size: 1.05rem; letter-spacing: 0; }
.video-dialog .frame { aspect-ratio: 16 / 9; background: #000; }
.video-dialog iframe { width: 100%; height: 100%; border: 0; display: block; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(246,245,240,.3); background: transparent; color: var(--on-dark); cursor: pointer; font-size: 1.4rem; line-height: 1; }
.icon-btn:hover { border-color: var(--on-dark); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2.1rem, 1.3rem + 3.3vw, 4rem); max-width: 14em; }
.cta-band .lead { margin-top: 22px; }
.cta-band .btn-row { margin-top: 36px; }
.cta-band .cta-ring { position: absolute; right: -120px; bottom: -160px; width: clamp(320px, 42vw, 560px); opacity: 1; pointer-events: none; }
.cta-band .cta-ring .ring { fill: rgba(246, 245, 240, 0.06); }
.cta-band .cta-ring .corner { fill: var(--saffron); }
@media (max-width: 720px) { .cta-band .cta-ring { right: -140px; bottom: -140px; width: 300px; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-grid > div:first-child { display: grid; gap: 24px; }
.page-hero .ring-frame { max-width: 400px; }
.breadcrumb { font-size: var(--fs-small); color: var(--text-soft); font-weight: 560; display: flex; align-items: center; gap: 10px; }
.breadcrumb .mark { width: 8px; height: 8px; }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero .ring-frame { max-width: 300px; margin-inline: 0; }
}

/* ---------- Example callout ---------- */
.example { margin-top: 32px; padding: clamp(22px, 2.6vw, 32px); background: var(--paper); border-radius: var(--radius); border-top-right-radius: 0; position: relative; }
.example::before { content: ""; position: absolute; top: 0; right: 0; width: 18px; height: 18px; background: var(--saffron); }
.example h3 { font-size: 1.1rem; margin-bottom: 10px; }
.example p { color: var(--text-soft); }

/* ---------- Problem groups ---------- */
.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.group { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 18px; align-content: start; }
.group h3 { font-size: 1.25rem; }
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--text-soft); line-height: 1.45; }
.checks li::before { content: ""; width: 8px; height: 8px; margin-top: 0.5em; background: var(--saffron); flex: none; }
@media (max-width: 1040px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .groups { grid-template-columns: 1fr; } }

/* ---------- Solutions toolbox (dark) ---------- */
.toolbox { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(246,245,240,.18); }
.tool { padding: 26px 22px 30px 0; border-bottom: 1px solid rgba(246,245,240,.18); display: grid; gap: 8px; align-content: start; }
.tool h3 { font-size: 1.15rem; letter-spacing: -0.005em; }
.tool p { color: var(--on-dark-soft); font-size: 0.98rem; line-height: 1.5; }
.pull { margin-top: clamp(40px, 5vw, 64px); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); font-weight: 640; line-height: 1.15; letter-spacing: -0.02em; max-width: 20em; display: flex; gap: 20px; }
.pull .mark { width: 16px; height: 16px; margin-top: 0.35em; }
@media (max-width: 960px) { .toolbox { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tool { padding-right: 18px; } }
@media (max-width: 520px) { .toolbox { grid-template-columns: 1fr; } }

/* ---------- Stage timeline (How we work page) ---------- */
.stages { list-style: none; padding: 0; margin: 0; }
.stage { display: grid; grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 44px); padding-block: clamp(28px, 3.5vw, 44px); border-top: 1px solid var(--line); }
.stage:last-child { border-bottom: 1px solid var(--line); }
.stage .stage-num { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.9; color: var(--saffron-text); font-variant-numeric: tabular-nums; }
.stage h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.stage .stage-body p { color: var(--text-soft); }
.stage .outcome { background: var(--paper); border-radius: var(--radius-s); padding: 18px 20px; align-self: start; }
.stage .outcome strong { display: block; font-size: 0.9rem; color: var(--text-soft); font-weight: 600; margin-bottom: 4px; }
.stage .outcome p { font-weight: 600; line-height: 1.45; }
@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; gap: 14px; }
  .stage .stage-num { font-size: 2.4rem; }
}

/* ---------- Expectation list ---------- */
.expect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); list-style: none; padding: 0; }
.expect li { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.expect h3 { font-size: 1.2rem; }
.expect p { color: var(--text-soft); }
@media (max-width: 900px) { .expect { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .expect { grid-template-columns: 1fr; } }

/* ---------- Next steps (numbered, real sequence) ---------- */
.next-steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: ns; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.next-steps li::before {
  content: counter(ns); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 700; font-size: 0.95rem;
}
.next-steps strong { font-weight: 650; }
.next-steps p { color: var(--text-soft); font-size: 0.98rem; line-height: 1.5; }
.next-steps.horizontal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.next-steps.horizontal li { border-top: 2px solid var(--ink); }
@media (max-width: 820px) { .next-steps.horizontal { grid-template-columns: 1fr; gap: 0; } .next-steps.horizontal li { border-top-width: 1px; border-top-color: var(--line); } }

/* ---------- FAQ ---------- */
.faq { display: grid; max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-size: 1.2rem; font-weight: 620; letter-spacing: -0.01em; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--text-soft); max-width: 62ch; }

/* ---------- About: mark explainer ---------- */
.mark-explainer { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.mark-explainer svg { width: 100%; max-width: 380px; margin-inline: auto; }
.mark-explainer .ring { fill: var(--paper); }
.mark-explainer .corner { fill: var(--saffron); }
.mark-explainer .legend { display: grid; gap: 18px; margin-top: 28px; }
.mark-explainer .legend div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; }
.legend .swatch-ring { width: 24px; height: 24px; border-radius: 50%; border: 5px solid var(--paper); margin-top: 3px; }
.legend .swatch-corner { width: 20px; height: 20px; background: var(--saffron); margin: 4px 0 0 2px; }
@media (max-width: 860px) { .mark-explainer { grid-template-columns: 1fr; } .mark-explainer svg { max-width: 240px; margin-inline: 0; } }

.beliefs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.belief { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 2.8vw, 36px); display: grid; gap: 10px; align-content: start; }
.belief p { color: var(--text-soft); }
@media (max-width: 700px) { .beliefs { grid-template-columns: 1fr; } }

/* ---------- Start a conversation ---------- */
.start-hero { padding-block: clamp(36px, 5vw, 72px) clamp(28px, 3vw, 40px); }
.start-hero .lead { margin-top: 20px; }
.start-grid {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  grid-template-areas: "form quick" "form next"; grid-template-rows: auto 1fr; gap: 24px clamp(24px, 4vw, 56px); align-items: start;
  padding-bottom: var(--section);
}
.start-form { grid-area: form; }
.start-quick { grid-area: quick; }
.start-next { grid-area: next; }
@media (max-width: 900px) {
  .start-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "quick" "form" "next"; }
}
.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3.2vw, 44px); }
.form-card h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-bottom: 8px; }
.form-card .form-intro { color: var(--text-soft); margin-bottom: 28px; }
.quick-card { background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 14px; }
.quick-card h2 { font-size: 1.35rem; letter-spacing: -0.01em; }
.quick-card p { color: var(--on-dark-soft); font-size: 0.98rem; }
.quick-card .btn { width: 100%; }
.quick-card .contact-lines { display: grid; gap: 6px; font-size: 0.98rem; }
.quick-card .contact-lines a { color: var(--on-dark); }
.start-next h2 { font-size: 1.25rem; margin-bottom: 8px; letter-spacing: -0.01em; }

.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
label, .legend-label { font-weight: 620; font-size: 0.98rem; }
.optional { font-weight: 450; color: var(--text-soft); }
.hint { font-size: 0.9rem; color: var(--text-soft); margin-top: -2px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-s);
  border: 1.5px solid var(--line); background: var(--paper); font-size: 1rem; line-height: 1.4;
  transition: border-color .15s ease, background-color .15s ease;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(201, 132, 33, 0.35); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field.has-error input, .field.has-error textarea { border-color: #B3261E; }
.error-msg { color: #B3261E; font-size: 0.9rem; font-weight: 560; }

fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer;
  font-size: 0.95rem; font-weight: 540; line-height: 1.25; transition: all .15s ease;
}
.chip span:hover { border-color: var(--sage); }
.chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip.radio span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; }
.chip.radio input:checked + span::before { background: var(--saffron); border-color: var(--saffron); }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 8px; }
.form-foot .privacy-note { font-size: 0.9rem; color: var(--text-soft); max-width: 34em; }
.form-status { margin-top: 18px; font-weight: 560; }
.form-status.is-error { color: #B3261E; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.form-success { display: grid; gap: 16px; }
.form-success .mark { width: 16px; height: 16px; }
.form-success h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.form-success p { color: var(--text-soft); }

/* ---------- Plain content pages (privacy) ---------- */
.doc { max-width: 760px; }
.doc h2 { font-size: 1.6rem; margin-top: 44px; margin-bottom: 12px; }
.doc p, .doc li { color: var(--text-soft); }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc .note { background: var(--mist); border-radius: var(--radius-s); padding: 16px 18px; color: var(--text); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(56px, 7vw, 88px) 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 36px; }
.footer-brand img { width: 150px; }
.footer-brand p { margin-top: 20px; color: var(--on-dark-soft); max-width: 22em; }
.footer-h { font-size: 0.95rem; font-weight: 650; letter-spacing: 0; margin-bottom: 14px; color: var(--on-dark); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a { color: var(--on-dark-soft); text-decoration: none; }
.footer-list a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-list .plain { color: var(--on-dark-soft); }
.footer-base { position: relative; margin-top: 56px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.9rem; color: var(--on-dark-soft); }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(246,245,240,.14); }
.footer-base a { color: var(--on-dark-soft); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(246,245,240,.97); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .mobile-cta.is-visible { transform: translateY(0); }
  .mobile-cta .btn { flex: 1 1 auto; min-height: 48px; padding-inline: 1em; font-size: 0.95rem; }
  .mobile-cta .btn-whatsapp { flex: 0 0 auto; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; gap: 24px; }

/* ---------- Spacing utilities (keeps HTML free of inline styles for a strict CSP) ---------- */
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 28px; }
.mt-5 { margin-top: 40px; }
.measure-12 { max-width: 12em; }
.measure-16 { max-width: 16em; }
.field-narrow { max-width: 340px; }
.hint-after { margin: -10px 0 22px; }


/* ==========================================================================
   Services hub + service landing pages
   ========================================================================== */
.site-header--landing .header-cta { margin-left: auto; }

/* Service cards (What we do, dark section) */
.service-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service-card {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 10px;
  padding: 24px 22px 22px; border-radius: var(--radius); border-top-right-radius: 0; background: var(--paper);
  border: 1.5px solid transparent; transition: border-color .2s ease;
}
.service-card:hover { border-color: var(--ink); }
.service-card::before { content: ""; position: absolute; top: -1.5px; right: -1.5px; width: 12px; height: 12px; background: var(--saffron); }
.service-card h3 { font-size: 1.2rem; letter-spacing: -0.005em; }
.service-card p { color: var(--text-soft); font-size: 0.98rem; line-height: 1.5; }
.service-link { font-weight: 650; color: var(--ink); text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; text-underline-offset: 5px; margin-top: 6px; }
.service-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.service-link:focus-visible { outline: none; }
.service-card:hover .service-link { text-decoration-color: var(--ink); }
.services-note { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 18px; }
.services-note .pull { margin-top: 0; }
.services-note .soft { color: var(--text-soft); max-width: 40em; }
@media (max-width: 1040px) { .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .service-cards { grid-template-columns: 1fr; } }

.tabpanel .panel-copy .text-link { justify-self: start; margin-top: 4px; }
.split .prose .text-link + .text-link { margin-left: 20px; }

/* Start form: service context */
.service-note { display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: var(--radius-s); padding: 12px 16px; margin: -12px 0 26px; font-size: 0.98rem; }
.service-note .mark { width: 9px; height: 9px; }

/* Breadcrumb */
.crumbs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 560; color: var(--text-soft); }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 7px; height: 7px; background: var(--saffron); }
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--text); }
.lp-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.9rem); }

/* Pains */
.lp-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.pains { list-style: none; padding: 0; display: grid; }
.pains li {
  display: flex; gap: 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); font-weight: 560; line-height: 1.4; letter-spacing: -0.005em;
}
.pains li:last-child { border-bottom: 1px solid var(--line); }
.pains li::before { content: ""; width: 10px; height: 10px; background: var(--saffron); flex: none; transform: translateY(-2px); }
@media (max-width: 860px) { .lp-split { grid-template-columns: 1fr; } }

/* Cost of inaction */
.costs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.cost { padding-top: 20px; border-top: 2px solid var(--saffron); display: grid; gap: 8px; }
.cost h3 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem); }
.cost p { color: var(--on-dark-soft); }
@media (max-width: 760px) { .costs { grid-template-columns: 1fr; } }

/* Before / after */
.ba-wrap { overflow-x: auto; }
.ba { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 320px; }
.ba th { text-align: left; font-size: 0.95rem; font-weight: 650; padding: 0 20px 14px; color: var(--text-soft); }
.ba th:last-child { color: var(--text); }
.ba td { padding: 20px; vertical-align: top; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); line-height: 1.45; border-top: 1px solid var(--line); width: 50%; }
.ba td:first-child { color: var(--text-soft); text-decoration: line-through; text-decoration-color: rgba(62,90,83,.45); text-decoration-thickness: 1.5px; }
.ba td:last-child { background: var(--white); font-weight: 620; position: relative; }
.ba tbody tr:first-child td:last-child { border-top-right-radius: var(--radius-s); }
.ba tbody tr:last-child td:last-child { border-bottom-right-radius: var(--radius-s); }
.ba td:last-child::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--saffron); margin-right: 12px; transform: translateY(-1px); }
@media (max-width: 560px) { .ba th, .ba td { padding-inline: 12px; } }

/* Offer stack */
.stack { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stack li { background: var(--paper); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 8px; align-content: start; position: relative; padding-left: clamp(56px, 5vw, 66px); }
.stack li::before {
  content: ""; position: absolute; left: clamp(20px, 2.4vw, 28px); top: clamp(23px, 2.6vw, 31px); width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23F6F5F0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.stack h3 { font-size: 1.15rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stack p { color: var(--text-soft); }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; background: var(--saffron); color: var(--ink); padding: 3px 10px; border-radius: 999px; }
.stack-cta { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--mist); }
.stack-cta p { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); font-weight: 560; max-width: 36em; }
@media (max-width: 760px) { .stack { grid-template-columns: 1fr; } }

/* Steps (4) + your part / our part */
.next-steps.horizontal.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .next-steps.horizontal.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .next-steps.horizontal.four { grid-template-columns: 1fr; } }
.roles { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 14px; }
.role { border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 16px; align-content: start; }
.role h3 { font-size: 1.3rem; }
.role-you { background: var(--white); }
.role-us { background: var(--ink); color: var(--on-dark); }
.role-us .checks li { color: var(--on-dark-soft); }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } }

/* Fit */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fit-col { border-radius: var(--radius); padding: clamp(22px, 2.8vw, 34px); display: grid; gap: 18px; align-content: start; }
.fit-col h3 { font-size: 1.3rem; }
.fit-col ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.fit-col li { display: flex; gap: 14px; line-height: 1.45; }
.fit-col li::before { flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; content: ""; background-position: center; background-repeat: no-repeat; background-size: 22px; }
.fit-yes { background: var(--mist); }
.fit-yes li::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%23F6F5F0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fit-no { background: var(--paper); }
.fit-no li { color: var(--text-soft); }
.fit-no li::before { border: 1.5px solid var(--sage); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7.5 7.5l7 7M14.5 7.5l-7 7' fill='none' stroke='%235E7A72' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* Risk reversal */
.risk { display: grid; grid-template-columns: minmax(0, 0.45fr) minmax(0, 1.55fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.risk-mark { width: 100%; max-width: 240px; }
.risk-mark .ring { fill: var(--ink); }
.risk-mark .corner { fill: var(--saffron); }
.risk-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: 28px; }
.risk-list li { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.risk-list h3 { font-size: 1.15rem; }
.risk-list p { color: var(--text-soft); }
@media (max-width: 900px) { .risk { grid-template-columns: 1fr; } .risk-mark { max-width: 120px; } .risk-list { grid-template-columns: 1fr; } }

/* Keep text at the top when sibling cards in a row are taller */
.next-steps li, .risk-list li, .expect li, .principle, .cost, .group, .belief, .service-card { align-content: start; }
.next-steps li { grid-template-rows: auto 1fr; }
