/* ============================================================
   SenBPO: shared design system
   Palette: 60% cream / 30% ink / 10% lotus gold per view.
   No navy. No neon. No pure black. Sharp corners by default;
   24px petal-cut reserved for hero blocks and blog cards.
   ============================================================ */

:root {
  --lotus-gold: #E3B573;
  --gold-deep:  #B08243;
  --gold-ink:   #7A5A26;
  --ink:        #101013;
  --ink-soft:   #2A2932;
  --body:       #3A3841;
  --stone:      #7A7880;
  --cream:      #FAF6EF;
  --paper:      #FFFFFF;
  --mist:       #F1ECDF;
  --charcoal:   #17161B;
  --charcoal-2: #1F1E24;
  --green:      #3E7C4F;  /* impact / success accent, used sparingly */

  /* Token-derived tints (composed from the tokens above only) */
  --ink-muted:  color-mix(in srgb, var(--ink) 62%, var(--cream)); /* AA on cream */
  --cream-soft: color-mix(in srgb, var(--cream) 72%, var(--charcoal)); /* AA on charcoal */
  --hairline:   color-mix(in srgb, var(--ink) 14%, transparent);
  --hairline-on-dark: color-mix(in srgb, var(--cream) 14%, transparent);
  --gold-wash:  color-mix(in srgb, var(--lotus-gold) 10%, var(--cream));
  --shadow-card: 0 1px 2px rgba(16,16,19,.05), 0 10px 28px rgba(16,16,19,.06);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 84px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1.5rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); text-decoration: none; }
a:hover { color: var(--gold-deep); }
button { font: inherit; }
main { overflow: clip; }
p, li { overflow-wrap: break-word; }
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
p { margin: 0 0 1.1rem; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
em { font-style: italic; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}
::selection { background: var(--gold-ink); color: var(--cream); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream);
  padding: .75rem 1.25rem; z-index: 200;
  font-weight: 600; font-size: .875rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 8vw, 7rem); }
.bg-mist { background: var(--mist); }
.bg-charcoal { background: var(--charcoal); color: var(--cream); }
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3 { color: var(--cream); }
.bg-charcoal p { color: var(--cream-soft); }
.stack { display: grid; gap: 1rem; }
.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;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 48px;
  justify-content: center;
  padding: .72rem 1.5rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .9375rem; letter-spacing: .01em;
  color: var(--ink); background: transparent;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
  cursor: pointer;
}
.btn:hover { border-color: var(--gold-deep); color: var(--gold-ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.btn-fill { background: var(--ink); color: var(--cream); }
.btn-fill:hover { background: var(--ink-soft); color: var(--cream); border-color: var(--ink-soft); }
.btn-on-dark { border-color: var(--cream); color: var(--cream); }
.btn-on-dark:hover { border-color: var(--lotus-gold); color: var(--lotus-gold); }
.btn-on-dark.btn-fill { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-on-dark.btn-fill:hover { background: var(--lotus-gold); border-color: var(--lotus-gold); color: var(--ink); }

.link-arrow { font-weight: 600; font-size: .9375rem; }
.link-arrow::after { content: " →"; transition: margin-left .18s ease; }
.link-arrow:hover::after { margin-left: .3rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 95%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
  height: var(--header-h);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: clamp(210px, 21vw, 262px); height: auto; object-fit: contain; }

.site-nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(.85rem, 1.7vw, 1.75rem); }
.nav-links > li { position: relative; }
.nav-link {
  font-family: var(--font-body);
  font-weight: 500; font-size: .9375rem;
  color: var(--ink);
  padding: .4rem 0;
  border: 0; border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
  display: inline-flex; align-items: center; gap: .3rem;
  background: none; cursor: pointer;
}
.nav-link:hover { color: var(--gold-ink); border-color: transparent; }
.nav-link.active { color: var(--gold-ink); border-bottom-color: var(--gold-deep); }
.nav-caret { width: 10px; height: 10px; transition: transform .18s ease; }
.has-dropdown.open .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: -1rem;
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: .5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a[aria-current="page"] { background: var(--mist); color: var(--gold-ink); }
.dropdown a {
  display: block; padding: .7rem 1.25rem;
  font-weight: 500; font-size: .906rem; color: var(--ink);
}
.dropdown a:hover { background: var(--mist); color: var(--gold-ink); }
.dropdown .desc { display: block; font-weight: 400; font-size: .8125rem; color: var(--ink-muted); margin-top: .15rem; }

.nav-cta { padding: .55rem 1.25rem; font-size: .875rem; white-space: nowrap; }
.nav-toggle {
  display: none;
  border: none; background: none; padding: .5rem;
  color: var(--ink); cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--cream); }
.footer-grid {
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 3.5rem;
  display: grid; grid-template-columns: 1.8fr repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}
.footer-grid .footer-h {
  font-family: var(--font-body);
  font-weight: 600; font-size: .75rem;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--lotus-gold);
  margin-bottom: 1rem;
}
.footer-grid ul li { margin-bottom: .55rem; }
.footer-grid a { color: var(--cream); font-size: .875rem; }
.footer-grid a:hover { color: var(--lotus-gold); }
.footer-grid .meta { color: var(--cream-soft); font-size: .875rem; line-height: 1.6; }
.footer-desc { color: var(--cream-soft); font-size: .875rem; max-width: 34ch; }
.footer-bottom {
  max-width: var(--maxw); margin-inline: auto;
  padding: 1.25rem var(--gutter);
  border-top: 1px solid var(--hairline-on-dark);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8125rem; color: var(--cream-soft);
}
.footer-bottom a { color: var(--cream-soft); }
.footer-bottom a:hover { color: var(--lotus-gold); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3rem, 7vw, 5.5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { font-size: clamp(2.6rem, 5.7vw, 5rem); font-weight: 500; margin-bottom: 1.4rem; max-width: 14ch; text-wrap: balance; }
.hero .sub { font-size: 1.0625rem; color: var(--body); max-width: 56ch; margin-bottom: 2rem; }
.hero-media { border-radius: 24px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* Centered / typographic hero (why-vietnam, contact) */

/* Bleed hero (about) */

/* CTA hero image band */

/* ---------- Client band (Trusted by...) ----------
   Sits between the hero and the stats. Editorial heading in Fraunces
   with an italic gold accent phrase. Real client PNGs are grayscaled
   and opacity-dimmed by default, restored on hover. Per-logo scale
   tokens normalise the OPTICAL weight across marks that have very
   different amounts of internal whitespace. */
/* Per-logo optical-weight scaling. Native PNGs vary widely in internal
   whitespace, so a single max-height would produce an uneven strip. */

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--mist); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }

/* ---------- Bands / sections ---------- */
.band-head { max-width: 700px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.band-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.band-head .lede { font-size: 1.0625rem; color: var(--body); margin: 0; }

/* ---------- Service cards ---------- */

/* ---------- Founder band ---------- */

/* ---------- Impact band ---------- */

/* ---------- Why Vietnam band ---------- */

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; }

/* ---------- Pull-quote card ---------- */

/* ---------- Values ---------- */
.value h3 { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: .6rem; }
.value p { font-size: .968rem; }

/* ---------- Article / blog ---------- */
.article { font-size: 1.0625rem; color: var(--body); }
.article .lede { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.2rem, 2.4vw, 1.45rem); line-height: 1.45; color: var(--ink-soft); }
.article h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.75rem; margin-bottom: 1rem; }
.article h3 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: .7rem; }
.article p { margin-bottom: 1.25rem; }
.article ul { list-style: none; margin: 0 0 1.4rem; }
.article ul li { padding-left: 1.4rem; position: relative; margin-bottom: .6rem; }
.article ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45em; height: .45em; border-radius: 50%; background: var(--lotus-gold); }
.article blockquote { margin: 1.8rem 0; padding-left: 1.4rem; border-left: 2px solid var(--gold-deep); font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.25rem; line-height: 1.45; color: var(--ink-soft); }
.article hr { border: none; border-top: 1px solid var(--hairline); margin: 2.5rem 0; }

/* ---------- Blog cards ---------- */

/* ---------- Team grid ---------- */

/* ---------- Metrics tiles (impact) ---------- */

/* ---------- Feature columns (services) ---------- */
.feature-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-cols.four { grid-template-columns: repeat(4, 1fr); }
.feature h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: .7rem; }
.feature p { font-size: .968rem; }

/* ---------- Contact ---------- */
.panel { background: var(--paper); border: 1px solid var(--hairline); padding: clamp(1.75rem, 4vw, 2.75rem); }
.panel h2 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.form .field { margin-bottom: 1.35rem; }
.form label { display: block; font-weight: 600; font-size: .84375rem; color: var(--ink); margin-bottom: .4rem; }
.form input, .form textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--ink) 26%, transparent);
  background: var(--paper);
  padding: .8rem 1rem;
  font-family: var(--font-body); font-size: .968rem; color: var(--ink);
  border-radius: 0;
  transition: border-color .15s ease;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold-deep); outline-offset: 1px; border-color: var(--gold-deep); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-errors { display: none; font-size: .875rem; font-weight: 600; color: var(--gold-ink); background: var(--gold-wash); border: 1px solid var(--gold-deep); padding: .8rem 1rem; margin-bottom: 1.25rem; }
.form-success { display: none; border: 1px solid var(--gold-deep); background: var(--gold-wash); padding: 2rem; text-align: center; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .6rem; }
.form-success p { color: var(--body); margin: 0; }

/* ---------- Map SVG (why-vietnam) ---------- */

/* ---------- Pipeline panel (why-vietnam Talent section) ---------- */

/* ---------- Misc ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .header-inner { height: var(--header-h); gap: 1rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; min-width: 44px; min-height: 44px; }
  .site-nav { order: 3; margin-left: 0; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--hairline);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .25s ease, visibility .25s;
  }
  .nav-open .nav-links { max-height: calc(100dvh - var(--header-h)); visibility: visible; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 18px 30px rgba(16,16,19,.12); }
  .nav-links > li { border-top: 1px solid var(--hairline); }
  .nav-link { padding: .9rem var(--gutter); font-size: 1rem; width: 100%; min-height: 50px; justify-content: space-between; }
  .nav-contact { padding: .85rem var(--gutter) 1rem; }
  .nav-contact .nav-cta { width: 100%; }
  .nav-link.active { border-bottom-color: transparent; border-left: 3px solid var(--gold-deep); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden; background: transparent; border: none;
    padding: 0; transition: max-height .22s ease;
  }
  .has-dropdown.open .dropdown { max-height: 360px; }
  .dropdown a { padding: .75rem calc(var(--gutter) + 1.25rem); }
  .dropdown a:hover { background: transparent; }

  .hero-grid { grid-template-columns: 1fr; }
  .feature-cols, .feature-cols.four, .steps { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

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

/* ---------- Utilities ---------- */
.tc { text-align: center; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.25rem; }
.maxw-800 { max-width: 800px; margin-inline: auto; }
.lede { font-size: 1.0625rem; color: var(--body); }
.cross-card { background: var(--paper); border: 1px solid var(--hairline); padding: 1.75rem; display: block; transition: border-color .18s ease, box-shadow .18s ease; }
.cross-card:hover { border-color: var(--gold-deep); box-shadow: var(--shadow-card); }
.cross-card span { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; color: var(--ink); margin-bottom: .45rem; }
.cross-card small { color: var(--ink-muted); font-size: .84375rem; }

/* Refinement pass: warmer visuals, more deliberate type rhythm, and balanced editorial media. */
h1, h2, h3 { font-family: var(--font-display); }
body, .lede, .sub, .label, .nav-link { font-family: var(--font-body); }
.hero-media { position: relative; }
.stats .label { margin-inline: auto; }

/* Final interaction and narrow-screen details. */
.nav-link.active { font-weight: 600; }
.nav-link[aria-current="page"] { color: var(--gold-ink); }
.nav-link:focus-visible, .dropdown a:focus-visible { outline-offset: 4px; }
.form input, .form textarea { min-height: 48px; }
.form input::placeholder, .form textarea::placeholder { color: var(--stone); }
.form-success:focus { outline: none; }
.article { max-width: 72ch; }
.article p { line-height: 1.8; }
.article a:not(.btn) { text-decoration: underline; text-decoration-color: var(--gold-deep); text-underline-offset: 3px; }
@media (max-width: 600px) {
  :root { --gutter: 1.25rem; }
  .section { padding-block: 3.5rem; }
  .hero { padding-top: 2.5rem; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .hero .sub { font-size: 1rem; }
  .hero-ctas { align-items: stretch; gap: .75rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-grid { gap: 2rem; }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .panel { padding: 1.5rem; }
  .form button[type="submit"] { width: 100%; }
}

/* Editorial refresh: a quieter, more useful interface across every route. */
.site-header { box-shadow: 0 8px 30px rgba(16,16,19,.035); }
.header-inner { gap: clamp(1.25rem, 2.4vw, 3rem); }
.nav-links { gap: clamp(1rem, 2.3vw, 2rem); }
.nav-link { white-space: nowrap; font-size: .875rem; letter-spacing: .005em; }
.nav-cta { padding-inline: 1.35rem; }
.nav-cta[aria-current="page"] { background: var(--gold-ink); border-color: var(--gold-ink); }
.dropdown { top: calc(100% + 16px); border-radius: 16px; box-shadow: 0 18px 50px rgba(16,16,19,.12); overflow: hidden; }
.dropdown a { padding: .75rem 1.1rem; }
.footer-desc { max-width: 32ch; line-height: 1.75; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.site-footer .footer-legal a { color: var(--cream-soft); }
.site-footer .footer-legal a:hover { color: var(--lotus-gold); }
.hero-grid { grid-template-columns: 1fr 1fr; }
.hero h1 { font-size: clamp(2.8rem, 5.5vw, 5.1rem); line-height: 1.08; }
.hero .sub { font-size: clamp(1.02rem, 1.5vw, 1.15rem); line-height: 1.75; }
.hero-media { background: var(--mist); }
.band-head h2 { line-height: 1.13; text-wrap: balance; }
.article { font-size: clamp(1rem, 1.2vw, 1.08rem); }
.article .lede { font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.5; margin-bottom: 2rem; }
.article h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin-top: 3.5rem; line-height: 1.2; scroll-margin-top: 7rem; }
.article h2:first-of-type { margin-top: 3rem; }
.article p { line-height: 1.85; }
.legal-hero { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--hairline); }
.legal-hero .wrap, .legal-body .wrap { max-width: 900px; }
.legal-hero h1 { font-size: clamp(2.8rem, 5vw, 4rem); }
.legal-hero .lede { max-width: 65ch; }
.legal-meta { color: var(--ink-muted); font-size: .85rem; }
.legal-body { padding-block: clamp(3rem, 6vw, 5rem) 6rem; }
.legal-body h2 { font-size: clamp(1.5rem, 2.5vw, 1.9rem); margin: 2.5rem 0 .9rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { max-width: 72ch; }
.legal-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.3rem; }
.legal-body li { margin-bottom: .45rem; }
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-list details { border-top: 1px solid var(--hairline); padding: 1.2rem .2rem; }
.faq-list details:last-child { border-bottom: 1px solid var(--hairline); }
.faq-list summary { color: var(--ink); cursor: pointer; font-weight: 600; list-style-position: inside; }
.faq-list details p { margin: .8rem 0 0 1.2rem; }
@media (max-width: 1100px) and (min-width: 961px) { .brand-mark { width: 205px; } .nav-links { gap: 1rem; } }
@media (max-width: 960px) {
  .brand-mark { width: 212px; }
  .nav-links { gap: 0; }
  .nav-link { white-space: normal; }
  .nav-contact { padding: .85rem var(--gutter) 1rem; }
  .nav-contact .nav-cta { width: 100%; }
  .dropdown { border-radius: 0; box-shadow: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .brand-mark { width: 195px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { padding-top: 2rem; }
}

/* Page-specific finishing details. */
.feature-cols { gap: 1rem; }
.feature { background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; padding: clamp(1.5rem, 2vw, 2rem); }
.feature h3 { font-size: 1.45rem; }
.feature p { margin-bottom: 0; }
.value { border-top: 2px solid var(--gold-deep); padding: 1.5rem 1rem 0 0; }
.panel { border-radius: 18px; }
.privacy-note { margin: 1rem 0 0; color: var(--ink-muted); font-size: .8rem; }
.privacy-note a { text-decoration: underline; text-underline-offset: 3px; }
.author-hero .hero-media { aspect-ratio: 4/5; }
.author-hero .hero-media img { object-fit: cover; }
@media (max-width: 1200px) and (min-width: 961px) { .feature-cols.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* People and process: real photographs or readable, purposeful diagrams. */
.hero-grid { align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 4.7vw, 4.6rem); max-width: 17ch; }
.hero .sub { max-width: 58ch; }
.faq-list { max-width: 100%; }
.faq-list summary { list-style: none; display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .4rem 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--gold-ink); line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: .7rem 2.5rem .35rem 0; max-width: 70ch; }
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.45rem, 10.5vw, 3.3rem); }
}

/* Show original team photographs at sizes their source files can support. */
.faq-list details { padding: 1.25rem 0; }
.faq-list summary { font-size: 1.07rem; }
.faq-list summary::after { flex: none; }
/* Editorial diagrams are real HTML text, not reduced raster illustrations. */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Four-pillar services architecture. */
.dropdown { min-width: 330px; }
.dropdown .dropdown-all { border-top: 1px solid var(--hairline); color: var(--gold-ink); font-weight: 700; }
.pillar-hero { padding-block: clamp(3.5rem, 7vw, 6rem); }
.pillar-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.pillar-hero h1 { font-size: clamp(2.8rem, 5.1vw, 4.9rem); max-width: 15ch; text-wrap: balance; }
.pillar-hero .lede { max-width: 54ch; margin-bottom: 2rem; }
.pillar-hero-media { min-width: 0; }
.pillar-hero-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 20px; }
.pillar-hero-media figcaption { font-size: .8rem; color: var(--ink-muted); margin-top: .65rem; }
.pillar-summary { background: var(--mist); border: 1px solid var(--hairline); border-radius: 20px; padding: clamp(1.8rem, 4vw, 3.2rem); }
.pillar-summary > span { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: var(--gold-ink); margin-bottom: 1.5rem; }
.pillar-summary ul, .pillar-summary ol { margin: 0; padding: 0; list-style: none; }
.pillar-summary li { border-top: 1px solid var(--hairline); padding: .95rem 0; color: var(--ink); font: 500 clamp(1.35rem, 2.5vw, 2rem)/1.25 var(--font-display); }
.pillar-summary li:last-child { border-bottom: 1px solid var(--hairline); }
.pillar-summary li strong { color: var(--ink); font-weight: 500; }
.pillar-summary li small { display: block; margin: .35rem 0 0 2.2rem; color: var(--body); font: 400 .9rem/1.5 var(--font-body); }
.pillar-summary p { margin: 1.4rem 0 0; font-size: .9rem; }
.pillar-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.pillar-detail h2 { font-size: clamp(2rem, 4vw, 3.35rem); text-wrap: balance; }
.pillar-detail p { max-width: 62ch; }
.pillar-checks { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--hairline); }
.pillar-checks li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; border-bottom: 1px solid var(--hairline); padding: 1.3rem 0; }
.pillar-checks strong { color: var(--ink); }
.pillar-checks span { font-size: .94rem; }
.pillar-next { background: var(--mist); border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.3rem); }
.pillar-next h3 { font-size: 1.65rem; }
.pillar-next a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .has-dropdown.open .dropdown { max-height: 560px; }
  .pillar-hero-grid, .pillar-detail { grid-template-columns: 1fr; }
  .pillar-hero-media img { max-height: 520px; }
}
@media (max-width: 600px) {
  .pillar-hero { padding-block: 3rem; }
  .pillar-hero h1 { font-size: clamp(2.45rem, 10vw, 3.3rem); }
  .pillar-hero-media img { aspect-ratio: 4/3; max-height: 340px; }
  .pillar-checks li { grid-template-columns: 1fr; gap: .3rem; }
}

/* Pillars lead to individual service pages. */

/* ============================================================
   Information architecture v3: mega menu, breadcrumbs, content blocks
   ============================================================ */
.brand-mark { width: clamp(170px, 15vw, 230px); }
.nav-links { gap: clamp(.9rem, 1.6vw, 1.7rem); }
.nav-link { font-size: .86rem; }
.has-dropdown > .dropdown { z-index: 60; }
.dropdown .dropdown-all { display: block; font-weight: 700; color: var(--gold-ink); }
.mega { left: 50%; transform: translate(-50%, 4px); width: min(1040px, calc(100vw - 2rem)); padding: 0; }
.has-dropdown.open .mega { transform: translate(-50%, 0); }
.has-mega { position: static !important; }
.site-nav, .header-inner { position: relative; }
.mega { left: auto; right: 0; transform: translateY(4px); }
.has-dropdown.open .mega { transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.mega-col { padding: 1.3rem 1.1rem 1.1rem; border-right: 1px solid var(--hairline); }
.mega-col:last-child { border-right: 0; }
.dropdown .mega-title { display: block; padding: .3rem .5rem .7rem; font: 500 1.08rem/1.25 var(--font-display); color: var(--ink); border-bottom: 1px solid var(--hairline); margin-bottom: .45rem; }
.mega-col ul a { padding: .42rem .5rem; font-size: .86rem; border-radius: 8px; }
.mega > .dropdown-all { border-top: 1px solid var(--hairline); padding: .85rem 1.6rem; background: var(--mist); }

.breadcrumb { margin-bottom: 1.8rem; font-size: .82rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink-muted); }
.breadcrumb li + li::before { content: '/'; color: var(--stone); }
.breadcrumb a { color: var(--gold-ink); }
.pillar-hero-grid.single { grid-template-columns: minmax(0, 1fr); }
.pillar-hero-grid.single h1 { max-width: 22ch; }
.pillar-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.pillar-hero h1 { font-size: clamp(2.4rem, 4.4vw, 4.2rem); max-width: 18ch; }
.pillar-summary li { font-size: clamp(1.15rem, 2vw, 1.55rem); }

.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card { display: flex; flex-direction: column; align-items: flex-start; background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; padding: clamp(1.4rem, 2.4vw, 2.1rem); color: var(--body); transition: border-color .18s ease, transform .18s ease; }
.bg-mist .info-card { background: var(--paper); }
a.info-card:hover { color: var(--body); border-color: var(--gold-deep); transform: translateY(-3px); }
.info-card h3 { font-size: clamp(1.18rem, 1.7vw, 1.45rem); margin: .2rem 0 .55rem; }
.info-card p { font-size: .95rem; margin-bottom: 1rem; }
.info-card .link-arrow { margin-top: auto; color: var(--gold-ink); font-weight: 600; font-size: .9rem; }
.info-card .link-arrow::after { content: ' →'; }
.card-num { color: var(--gold-ink); font: 400 1.15rem var(--font-display); margin-bottom: .6rem; }
.card-tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .6rem; }
.card-list { margin: 0 0 1.1rem; padding: 0; list-style: none; width: 100%; }
.card-list li { border-top: 1px solid var(--hairline); padding: .45rem 0; font-size: .9rem; }

.chip-list { display: flex; flex-wrap: wrap; gap: .6rem; align-content: flex-start; list-style: none; padding: 0; margin: 0; }
.chip-list li { background: var(--paper); border: 1px solid var(--hairline); border-radius: 999px; padding: .6rem 1.1rem; font-size: .93rem; color: var(--ink); }
.bg-mist .chip-list li { background: var(--cream); }
.fine-note { font-size: .86rem; color: var(--ink-muted); border-left: 2px solid var(--lotus-gold); padding-left: .9rem; margin-top: 1rem; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.tick-list li { position: relative; padding: .4rem 0 .4rem 1.5rem; }
.tick-list li::before { content: ''; position: absolute; left: 0; top: .95rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--lotus-gold); }

.flow-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; counter-reset: flow; }
.flow-list li { position: relative; background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px; padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; }
.bg-mist .flow-list li { background: var(--cream); }
.flow-list li:not(:last-child)::after { content: '→'; position: absolute; right: -.65rem; top: 50%; transform: translateY(-50%); color: var(--gold-deep); background: inherit; font-size: .9rem; z-index: 1; }
.flow-n { font: 400 .95rem var(--font-display); color: var(--gold-ink); }
.flow-list strong { color: var(--ink); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.flow-list small { font-size: .85rem; color: var(--body); line-height: 1.5; }

.trust-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.trust-stats div { padding: 1.6rem 1.2rem; border-left: 1px solid var(--hairline); }
.trust-stats div:first-child { border-left: 0; }
.trust-stats dt { font: 500 clamp(2rem, 4vw, 3rem)/1 var(--font-display); color: var(--ink); margin-bottom: .5rem; }
.trust-stats dd { margin: 0; font-size: .9rem; color: var(--body); }

.note-box { max-width: 860px; background: var(--gold-wash); border: 1px solid color-mix(in srgb, var(--gold-deep) 40%, transparent); border-radius: 18px; padding: clamp(1.6rem, 3.5vw, 2.6rem); }
.bg-mist .note-box { background: var(--paper); }
.note-box h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.note-box p:last-child { margin-bottom: 0; }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related-group { background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; padding: 1.5rem; }
.related-group h3 { font: 700 .75rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .8rem; }
.related-group li { border-top: 1px solid var(--hairline); }
.related-group a { display: block; padding: .6rem 0; color: var(--ink); font-weight: 500; font-size: .95rem; }
.related-group a:hover { color: var(--gold-ink); }

.footer-grid { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); }

/* Contact form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form select { width: 100%; min-height: 48px; padding: .75rem .9rem; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--hairline); border-radius: 0; }
.form select:focus { outline: 2px solid var(--gold-deep); outline-offset: 1px; }
.form .req { color: var(--gold-ink); }
[aria-invalid="true"] { border-color: var(--gold-deep) !important; background: var(--gold-wash) !important; }

@media (max-width: 1120px) {
  :root { --header-h: 68px; }
  .header-inner { height: var(--header-h); gap: 1rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; min-width: 44px; min-height: 44px; }
  .site-nav { order: 3; margin-left: 0; position: static; }
  .header-inner { position: relative; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--hairline); max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .25s ease, visibility .25s; }
  .nav-open .nav-links { max-height: calc(100dvh - var(--header-h)); visibility: visible; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 18px 30px rgba(16,16,19,.12); }
  .nav-links > li { border-top: 1px solid var(--hairline); position: static; }
  .nav-link { padding: .9rem var(--gutter); font-size: 1rem; width: 100%; min-height: 50px; justify-content: space-between; }
  .nav-link.active { border-bottom-color: transparent; border-left: 3px solid var(--gold-deep); }
  .nav-contact { padding: .85rem var(--gutter) 1rem; }
  .nav-contact .nav-cta { width: 100%; }
  .dropdown, .mega { position: static; opacity: 1; visibility: visible; transform: none !important; width: auto; max-height: 0; overflow: hidden; background: transparent; border: none; box-shadow: none; border-radius: 0; padding: 0; transition: max-height .22s ease; min-width: 0; }
  .has-dropdown.open .dropdown { max-height: 1400px; }
  .dropdown a { padding: .65rem calc(var(--gutter) + 1rem); }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-col { border-right: 0; padding: .4rem 0; }
  .dropdown .mega-title { border-bottom: 0; margin: 0; padding: .6rem calc(var(--gutter) + 1rem) .2rem; font-size: 1rem; }
  .mega-col ul a { padding-left: calc(var(--gutter) + 2rem); }
  .mega > .dropdown-all { background: transparent; border-top: 0; padding: .65rem calc(var(--gutter) + 1rem) 1rem; }
  .card-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .card-grid, .card-grid.cols-2, .card-grid.cols-4, .related-grid { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: 1fr 1fr; }
  .trust-stats div:nth-child(3) { border-left: 0; }
  .trust-stats div:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li:not(:last-child)::after { content: '↓'; right: auto; left: 1.2rem; top: auto; bottom: -.85rem; transform: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .pillar-hero .hero-ctas .btn { flex: 1 1 100%; }
}
.form textarea { min-height: 150px; }
.site-footer .footer-grid a[href^="mailto"] { overflow-wrap: anywhere; word-break: normal; font-size: .82rem; }

/* ======================================================================
   v4 CONVERSION DESIGN SYSTEM
   ====================================================================== */
:root { --r-lg: 22px; --r-md: 14px; --ok: #2f7a4a; --ok-bg: #e5f2e9; --warn: #9a6512; --warn-bg: #fbefd9; --bad: #a3392f; --bad-bg: #f8e3e0; --info: #36598f; --info-bg: #e5ecf7; }
.bg-paper { background: var(--paper); }
.sec { padding-block: clamp(4rem, 7.5vw, 6.5rem); }
.sec.tight { padding-block: clamp(2rem, 4vw, 3rem); }
.sec-strip { padding-block: 1.4rem; background: var(--paper); border-block: 1px solid var(--hairline); }
.ico { width: 22px; height: 22px; flex: none; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }

/* ---- headings ---- */
.blk-head { max-width: 760px; margin-bottom: clamp(2rem, 4.5vw, 3.2rem); }
.blk-head.center { margin-inline: auto; text-align: center; }
.blk-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; text-wrap: balance; margin-bottom: .9rem; }
.blk-head .lede { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--body); margin: 0; max-width: 62ch; }
.split-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.12; text-wrap: balance; }
.split-text p { font-size: 1.04rem; max-width: 58ch; }

/* ---- HERO ---- */
.hero-v4 { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem); background: radial-gradient(1200px 500px at 85% 10%, var(--gold-wash), transparent 60%), var(--cream); overflow: hidden; }
.hero-v4 .breadcrumb { margin-bottom: 1.6rem; }
.hero-v4-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-v4-grid.solo { grid-template-columns: minmax(0, 820px); }
.hero-copy h1 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; margin-bottom: 1.3rem; }
.hero-lede { font-size: clamp(1.05rem, 1.45vw, 1.2rem); line-height: 1.7; color: var(--ink-soft); max-width: 56ch; margin-bottom: 1.9rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-proof-list { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.6rem; }
.hero-proof-list li { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.hero-proof-list .ico { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; }
.hero-visual { position: relative; min-width: 0; }
.hero-visual > .ui-mock { box-shadow: 0 30px 70px rgba(16,16,19,.14); transform: rotate(-.6deg); }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4/3.1; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(16,16,19,.12); }
.hero-photo.solo img { aspect-ratio: 5/4; }
.hero-photo figcaption { font-size: .8rem; color: var(--ink-muted); margin-top: .6rem; }
.hero-comp { position: relative; padding-bottom: 12%; }
.hero-comp .hero-photo img { aspect-ratio: 4/3; }
.hero-float { position: absolute; width: min(72%, 400px); bottom: 0; }
.hero-comp.bl .hero-float { left: -6%; }
.hero-comp.br .hero-float { right: -4%; }
.hero-float .ui-mock { box-shadow: 0 30px 60px rgba(16,16,19,.22); }
.hero-float .ui-cap { display: none; }

/* ---- UI MOCKUPS ---- */
.ui-mock { margin: 0; background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; font-family: var(--font-body); font-size: .86rem; color: var(--ink); text-align: left; }
.ui-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .95rem; background: #f6f3ec; border-bottom: 1px solid var(--hairline); }
.ui-bar > span:not(.ui-pill) { width: 9px; height: 9px; border-radius: 50%; background: #d9d3c6; }
.ui-bar > span:first-child { background: #e8a59a; } .ui-bar > span:nth-child(2) { background: #ecc987; } .ui-bar > span:nth-child(3) { background: #a8cfa9; }
.ui-bar b { margin-left: .5rem; font-weight: 600; font-size: .8rem; color: var(--ink-soft); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-body { padding: 1rem; display: grid; gap: .8rem; }
.ui-cap { font-size: .72rem; color: var(--stone); padding: .55rem 1rem .7rem; border-top: 1px solid var(--hairline); background: #fcfbf8; }
.ui-pill { display: inline-flex; align-items: center; gap: .25rem; padding: .18rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 600; background: var(--mist); color: var(--ink-soft); white-space: nowrap; line-height: 1.4; }
.ui-pill.ok { background: var(--ok-bg); color: var(--ok); } .ui-pill.warn { background: var(--warn-bg); color: var(--warn); } .ui-pill.bad { background: var(--bad-bg); color: var(--bad); } .ui-pill.info { background: var(--info-bg); color: var(--info); } .ui-pill.gold { background: var(--gold-wash); color: var(--gold-ink); border: 1px solid color-mix(in srgb, var(--gold-deep) 30%, transparent); }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.ui-kpis > div { background: var(--cream); border-radius: 10px; padding: .6rem .7rem; }
.ui-kpis small { display: block; color: var(--ink-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.ui-kpis strong { font: 600 1.2rem/1.2 var(--font-body); color: var(--ink); }
.ui-card { background: var(--cream); border-radius: 10px; padding: .7rem .8rem; display: grid; gap: .35rem; }
.ui-card small { color: var(--ink-muted); font-size: .74rem; }
.ui-card b { font-weight: 600; font-size: .86rem; line-height: 1.4; }
.ui-row-h { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.ui-rows { display: grid; gap: .1rem; }
.ui-rows li { display: flex; align-items: center; gap: .5rem; padding: .45rem .1rem; border-bottom: 1px solid var(--hairline); font-size: .82rem; }
.ui-rows li:last-child { border-bottom: 0; }
.ui-rows li b { margin-left: auto; font-weight: 600; }
.ui-rows .ico { width: 16px; height: 16px; color: var(--gold-ink); }
.ui-spark { width: 100%; height: 64px; display: block; }
.ui-spark .line { fill: none; stroke: var(--gold-deep); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.ui-spark .area { fill: color-mix(in srgb, var(--lotus-gold) 22%, transparent); }
.ui-spark.ink .line { stroke: var(--ok); } .ui-spark.ink .area { fill: color-mix(in srgb, var(--ok) 14%, transparent); }
.ui-minibars { display: flex; align-items: flex-end; gap: .4rem; height: 80px; }
.ui-minibars > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: .25rem; }
.ui-minibars i { width: 100%; background: var(--lotus-gold); border-radius: 4px 4px 0 0; }
.ui-minibars span { font-size: .65rem; color: var(--ink-muted); }
.ui-meter { display: grid; grid-template-columns: 7.5rem 1fr 2.6rem; align-items: center; gap: .6rem; font-size: .8rem; }
.ui-meter i { height: 8px; background: var(--mist); border-radius: 99px; overflow: hidden; }
.ui-meter em { display: block; height: 100%; background: var(--gold-deep); border-radius: 99px; }
.ui-meter em.ok { background: var(--ok); } .ui-meter em.warn { background: #d49a3a; } .ui-meter em.bad { background: var(--bad); } .ui-meter em.info { background: var(--info); }
.ui-meter b { text-align: right; font-weight: 600; }
.ui-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .78rem; color: var(--ink-muted); padding-top: .2rem; }
.ui-foot .ico { width: 15px; height: 15px; }
.ui-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.ui-kanban > div { background: var(--cream); border-radius: 10px; padding: .55rem; display: grid; gap: .4rem; align-content: start; }
.ui-kanban small { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); font-weight: 600; }
.ui-tk { background: var(--paper); border: 1px solid var(--hairline); border-radius: 8px; padding: .45rem .5rem; font-size: .74rem; display: grid; gap: .3rem; }
.ui-tk.hi { border-color: #e6c07d; box-shadow: 0 0 0 2px var(--warn-bg); }
.ui-tk.ok { color: var(--ok); }
.ui-steps { display: flex; gap: .3rem; }
.ui-steps span { flex: 1; text-align: center; font-size: .7rem; padding: .35rem .2rem; border-radius: 6px; background: var(--mist); color: var(--ink-muted); }
.ui-steps span.on { background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.ui-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.ui-table th { text-align: left; font-weight: 600; color: var(--ink-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; padding: .4rem .45rem; border-bottom: 1px solid var(--hairline); }
.ui-table td { padding: .5rem .45rem; border-bottom: 1px solid var(--hairline); }
.ui-table tr:last-child td { border-bottom: 0; }
.ui-ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .2rem; font-size: .82rem; }
.ui-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .74rem; color: var(--ink-muted); }
.ui-meta span { display: inline-flex; align-items: center; gap: .3rem; } .ui-meta .ico { width: 14px; height: 14px; }
.ui-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: .8rem; }
.ui-side { background: var(--cream); border-radius: 10px; padding: .7rem; display: grid; gap: .4rem; align-content: start; justify-items: start; }
.ui-side small { color: var(--ink-muted); font-size: .72rem; }
.ui-side b { font-weight: 600; font-size: .9rem; }
.ui-chat { display: grid; gap: .5rem; align-content: start; }
.ui-chat p { margin: 0; padding: .55rem .75rem; border-radius: 12px; font-size: .8rem; line-height: 1.45; max-width: 90%; }
.ui-chat .them { background: var(--mist); justify-self: start; border-bottom-left-radius: 4px; }
.ui-chat .us { background: var(--ink); color: var(--cream); justify-self: end; border-bottom-right-radius: 4px; }
.ui-chat .bot { background: var(--info-bg); color: var(--info); justify-self: end; display: flex; gap: .4rem; }
.ui-chat .sys { background: var(--warn-bg); color: var(--warn); justify-self: center; font-size: .72rem; font-weight: 600; display: flex; gap: .35rem; align-items: center; max-width: 100%; }
.ui-chat .ico { width: 15px; height: 15px; }
.ui-chat.small p { font-size: .75rem; }
.ui-tree { display: grid; gap: .5rem; justify-items: start; }
.ui-tree .n { background: var(--cream); border: 1px solid var(--hairline); border-radius: 8px; padding: .4rem .6rem; font-size: .78rem; font-weight: 500; }
.ui-tree .n.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.ui-tree .n.warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.ui-tree .br { display: grid; gap: .4rem; padding-left: 1rem; border-left: 2px solid var(--hairline); margin-left: .6rem; }
.ui-card.handoff { border: 1px dashed var(--gold-deep); background: var(--gold-wash); }
.ui-card.handoff small { display: flex; align-items: center; gap: .35rem; color: var(--gold-ink); font-weight: 600; } .ui-card.handoff .ico { width: 15px; height: 15px; }
.ui-post { background: var(--cream); border-radius: 10px; padding: .6rem; display: grid; gap: .4rem; }
.ui-post p { margin: 0; font-size: .8rem; }
.ui-post small { color: var(--ink-muted); font-size: .7rem; }
.ui-blur { height: 90px; border-radius: 8px; background: linear-gradient(135deg, #cfc6b7, #9a8f80); display: grid; place-items: center; color: #fff; filter: saturate(.6); }
.ui-blur .ico { width: 30px; height: 30px; opacity: .8; }
.ui-btns { display: flex; gap: .3rem; flex-wrap: wrap; }
.ui-btns span { font-size: .7rem; padding: .3rem .55rem; border-radius: 6px; border: 1px solid var(--hairline); background: var(--paper); }
.ui-btns span.on { background: var(--bad); color: #fff; border-color: var(--bad); }
.ui-timeline { display: grid; gap: .1rem; margin: 0; padding: 0; }
.ui-timeline li { position: relative; padding: .38rem 0 .38rem 1.2rem; font-size: .8rem; border-left: 2px solid var(--hairline); margin-left: .3rem; }
.ui-timeline li::before { content: ''; position: absolute; left: -6px; top: .75rem; width: 10px; height: 10px; border-radius: 50%; background: var(--stone); }
.ui-timeline li.warn::before { background: #d49a3a; } .ui-timeline li.ok::before { background: var(--ok); }
.ui-timeline b { font-weight: 600; margin-right: .4rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.ui-canvas { display: grid; grid-template-columns: 1.4fr 1fr; gap: .8rem; }
.ui-scene { position: relative; min-height: 170px; border-radius: 10px; background: linear-gradient(160deg, #efe7da 0%, #e3d8c6 60%, #d6c9b3 100%); overflow: hidden; }
.ui-scene::before { content: ''; position: absolute; left: 12%; top: 48%; width: 34%; height: 26%; background: #b98a5c; border-radius: 40% 60% 18% 22%; }
.ui-scene::after { content: ''; position: absolute; right: 12%; top: 18%; width: 28%; height: 42%; background: #7b8a6b; border-radius: 12px; }
.bb { position: absolute; border: 2px solid; border-radius: 4px; z-index: 1; }
.bb i { position: absolute; top: -1.35rem; left: -2px; font-style: normal; font-size: .66rem; font-weight: 700; padding: .1rem .35rem; border-radius: 4px 4px 4px 0; color: #fff; }
.bb.a { left: 9%; top: 42%; width: 40%; height: 38%; border-color: var(--gold-deep); } .bb.a i { background: var(--gold-deep); }
.bb.b { right: 9%; top: 13%; width: 34%; height: 52%; border-color: var(--info); } .bb.b i { background: var(--info); }
.bb.c { right: 14%; top: 70%; width: 18%; height: 16%; border-color: var(--ok); } .bb.c i { background: var(--ok); }
.ui-route { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; }
.ui-arrow { color: var(--gold-deep); } .ui-arrow .ico { width: 26px; height: 26px; }
.ui-conf { position: relative; height: 8px; border-radius: 99px; background: var(--mist); display: block; }
.ui-conf em { display: block; height: 100%; border-radius: 99px; background: #d49a3a; }
.ui-conf u { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--ink); }
.ui-card .muted { color: var(--warn); font-weight: 600; }
.ui-card.human { background: var(--ok-bg); } .ui-card.human small { display: flex; gap: .3rem; align-items: center; color: var(--ok); font-weight: 600; } .ui-card.human .ico { width: 15px; height: 15px; }
.ui-feed { display: grid; gap: .45rem; }
.ui-feed li { display: flex; gap: .55rem; align-items: flex-start; padding: .5rem; border-radius: 10px; background: var(--cream); }
.ui-feed li.flag { background: var(--bad-bg); }
.ui-feed .av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--lotus-gold), var(--gold-deep)); flex: none; }
.ui-feed p { margin: 0; font-size: .78rem; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.table.raci td:first-child { font-weight: 500; }

/* pillar map */
.ui-map { position: relative; margin: 0; aspect-ratio: 1 / .9; max-width: 540px; margin-inline: auto; }
.ui-map::before { content: ''; position: absolute; inset: 14%; border: 1.5px dashed color-mix(in srgb, var(--gold-deep) 45%, transparent); border-radius: 50%; }
.ui-map .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--charcoal); color: var(--cream); display: grid; place-content: center; justify-items: center; text-align: center; gap: .5rem; padding: 1rem; box-shadow: 0 20px 50px rgba(16,16,19,.25); }
.ui-map .core img { width: 48px; height: 48px; }
.ui-map .core b { font: 500 clamp(.95rem, 1.5vw, 1.15rem)/1.25 var(--font-display); }
.ui-map .n { position: absolute; width: 40%; background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px; padding: .8rem .9rem; display: grid; gap: .1rem; color: var(--ink); box-shadow: 0 12px 30px rgba(16,16,19,.08); transition: transform .18s ease, border-color .18s ease; }
.ui-map .n:hover { transform: translateY(-3px); border-color: var(--gold-deep); color: var(--ink); }
.ui-map .n .ico { color: var(--gold-ink); margin-bottom: .2rem; }
.ui-map .n b { font-size: .92rem; } .ui-map .n small { color: var(--ink-muted); font-size: .76rem; }
.ui-map .n1 { left: 0; top: 0; } .ui-map .n2 { right: 0; top: 0; } .ui-map .n3 { left: 0; bottom: 0; } .ui-map .n4 { right: 0; bottom: 0; }

/* timezone */
.ui-tz { margin: 0; background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; padding: 1.2rem 1.2rem .4rem; }
.tz-row { position: relative; display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; height: 38px; }
.tz-row span { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.tz-track { position: relative; height: 12px; border-radius: 99px; background: var(--mist); }
.tz-row .band { position: absolute; top: 0; height: 12px; border-radius: 99px; background: color-mix(in srgb, var(--lotus-gold) 80%, transparent); }
.tz-row .band.hn { background: var(--ink); }
.tz-row .band.night { background: repeating-linear-gradient(45deg, var(--info) 0 6px, color-mix(in srgb, var(--info) 60%, transparent) 6px 12px); }
.tz-scale { display: flex; justify-content: space-between; margin-left: 8.5rem; font-size: .7rem; color: var(--ink-muted); padding: .3rem 0 .6rem; }
.ui-tz .ui-cap { margin: .4rem -1.2rem 0; border-radius: 0 0 16px 16px; }

/* stacked mock */
.mock-stack { position: relative; padding: 0 0 18% 12%; }
.mock-stack .ms-b { position: absolute; left: 0; bottom: 0; width: 70%; }
.mock-stack .ms-b .ui-mock { box-shadow: 0 24px 50px rgba(16,16,19,.18); }

/* ---- TRUST STRIP ---- */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 2.2rem; }
.trust-strip span { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.trust-strip .ico { color: var(--gold-deep); width: 20px; height: 20px; }

/* ---- PAINS ---- */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.pain { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 1.5rem 1.4rem; position: relative; }
.pain::before { content: '“'; position: absolute; top: .2rem; right: 1rem; font: 400 4rem/1 var(--font-display); color: color-mix(in srgb, var(--lotus-gold) 45%, transparent); }
.pain-q { font: 500 1.17rem/1.35 var(--font-display); color: var(--ink); margin-bottom: .7rem; padding-right: 1.5rem; }
.pain p:last-child { font-size: .93rem; color: var(--body); margin: 0; }
.bg-mist .pain { background: var(--paper); }
.bridge { display: flex; align-items: flex-start; gap: .8rem; margin: 2rem 0 0; padding: 1.2rem 1.4rem; border-radius: var(--r-md); background: var(--charcoal); color: var(--cream); font-size: 1.05rem; line-height: 1.55; }
.bridge .ico { color: var(--lotus-gold); margin-top: .15rem; }

/* ---- ICON CARDS ---- */
.icard-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icard-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.icard-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.icard { display: flex; flex-direction: column; align-items: flex-start; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: clamp(1.4rem, 2.3vw, 1.9rem); color: var(--body); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
a.icard:hover { color: var(--body); border-color: var(--gold-deep); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,16,19,.08); }
.icard h3 { font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.25; margin: .15rem 0 .5rem; }
.icard p { font-size: .95rem; margin-bottom: .9rem; }
.icard .link-arrow { margin-top: auto; color: var(--gold-ink); font-weight: 600; font-size: .9rem; }
.icard .link-arrow::after { content: ' →'; }
.ic-badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-wash); color: var(--gold-ink); margin-bottom: 1rem; border: 1px solid color-mix(in srgb, var(--gold-deep) 22%, transparent); }
.mini-list { list-style: none; padding: 0; margin: 0 0 1rem; width: 100%; }
.mini-list li { font-size: .88rem; padding: .4rem 0 .4rem 1.3rem; border-top: 1px solid var(--hairline); position: relative; }
.mini-list li::before { content: ''; position: absolute; left: .1rem; top: .95rem; width: 7px; height: 7px; border-radius: 50%; background: var(--lotus-gold); }

/* ---- ZIG ---- */
.zig { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.zig-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.zig-row.flip .zig-text { order: 2; }
.zig-text h3 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.15; text-wrap: balance; margin-bottom: .9rem; }
.zig-text p { font-size: 1.03rem; max-width: 54ch; }
.zig-text .link-arrow { font-weight: 600; color: var(--gold-ink); }
.zig-text .link-arrow::after { content: ' →'; }
.zig-visual { min-width: 0; }
.band-photo { margin: 0; }
.band-photo img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4/3; object-fit: cover; }
.band-photo.small img { aspect-ratio: 5/4; }
.band-photo figcaption { font-size: .8rem; color: var(--ink-muted); margin-top: .6rem; }

/* ---- SPLIT ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip .split-text { order: 2; }
.split-visual { min-width: 0; }
.chips-split { align-items: start; }
.chip-group + .chip-group { margin-top: 1.4rem; }
.chip-group h3 { display: flex; align-items: center; gap: .5rem; font: 700 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--gold-ink); margin-bottom: .7rem; }
.chip-group h3 .ico { width: 18px; height: 18px; }
.tick-list li { font-size: 1rem; }
.tick-list li::before { width: 18px; height: 18px; top: .55rem; left: 0; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.tick-list li { padding-left: 1.9rem; }
.x-list { list-style: none; padding: 0; margin: 0; }
.x-list li { position: relative; padding: .4rem 0 .4rem 1.9rem; }
.x-list li::before { content: ''; position: absolute; left: 0; top: .55rem; width: 18px; height: 18px; border-radius: 50%; background: var(--bad-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3392f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center/10px no-repeat; }

/* ---- COMPARE ---- */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--hairline); background: var(--paper); }
.cmp { width: 100%; min-width: 680px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 1rem 1.1rem; text-align: center; border-bottom: 1px solid var(--hairline); font-size: .95rem; }
.cmp thead th { font: 600 .82rem var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); }
.cmp tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp .us { background: var(--gold-wash); }
.cmp thead .us { color: var(--gold-ink); font-size: .95rem; }
.mk { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.mk .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.mk.y { background: var(--ok-bg); color: var(--ok); } .mk.n { background: var(--bad-bg); color: var(--bad); }
.mk.p { width: auto; height: auto; font-size: .78rem; color: var(--warn); background: var(--warn-bg); padding: .2rem .55rem; border-radius: 99px; }

/* ---- BEFORE / AFTER ---- */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; }
.ba-col { border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.3rem); }
.ba-col h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.ba-col.before { background: var(--paper); border: 1px solid var(--hairline); }
.ba-col.before h3 { color: var(--ink-muted); }
.ba-col.after { background: var(--charcoal); color: var(--cream); }
.ba-col.after h3 { color: var(--lotus-gold); }
.ba-col.after .tick-list li { color: var(--cream); }
.ba-mid { display: grid; place-items: center; color: var(--gold-deep); } .ba-mid .ico { width: 32px; height: 32px; }

/* ---- TIMELINE ---- */
.tl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.4rem; position: relative; }
.tl::before { content: ''; position: absolute; left: 0; right: 0; top: 2.35rem; height: 2px; background: linear-gradient(90deg, var(--lotus-gold), color-mix(in srgb, var(--lotus-gold) 20%, transparent)); }
.tl li { position: relative; }
.tl-when { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .75rem; }
.tl-dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold-deep); margin-bottom: 1.1rem; position: relative; z-index: 1; }
.bg-mist .tl-dot { background: var(--mist); }
.tl h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.tl p { font-size: .94rem; margin-bottom: .6rem; }
.tl-out { display: flex; gap: .45rem; align-items: flex-start; font-size: .84rem !important; font-weight: 600; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--hairline); border-radius: 10px; padding: .5rem .65rem; }
.tl-out .ico { width: 16px; height: 16px; color: var(--gold-ink); margin-top: .1rem; }

/* ---- FLOWCHART ---- */
.fc { display: flex; flex-direction: column; align-items: center; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); }
.bg-mist .fc { background: var(--paper); }
.fc-node { background: var(--cream); border: 1px solid var(--hairline); border-radius: 12px; padding: .75rem 1.1rem; font-weight: 600; font-size: .94rem; text-align: center; color: var(--ink); min-width: 220px; max-width: 320px; }
.fc-node.start { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.fc-node.end { background: var(--gold-wash); border-color: color-mix(in srgb, var(--gold-deep) 40%, transparent); color: var(--gold-ink); }
.fc-node.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; min-width: 0; }
.fc-node.warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; min-width: 0; }
.fc-arrow { width: 2px; height: 28px; background: var(--gold-deep); position: relative; }
.fc-arrow::after { content: ''; position: absolute; bottom: -2px; left: -5px; border: 6px solid transparent; border-top-color: var(--gold-deep); border-bottom: 0; }
.fc-dec { width: 150px; height: 150px; display: grid; place-items: center; position: relative; margin: .2rem 0; }
.fc-dec::before { content: ''; position: absolute; inset: 22px; background: var(--gold-wash); border: 2px solid var(--gold-deep); transform: rotate(45deg); border-radius: 12px; }
.fc-dec span { position: relative; font-weight: 700; font-size: .9rem; text-align: center; max-width: 88px; color: var(--ink); line-height: 1.25; }
.fc-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; position: relative; padding-top: 22px; }
.fc-branches::before { content: ''; position: absolute; top: 0; left: 25%; right: 25%; height: 2px; background: var(--gold-deep); }
.fc-branch { display: flex; flex-direction: column; align-items: center; position: relative; }
.fc-branch::before { content: ''; position: absolute; top: -22px; left: 50%; width: 2px; height: 22px; background: var(--gold-deep); }
.fc-branch em { font-style: normal; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); margin: .2rem 0 .4rem; }
.fc-branch .fc-node { width: 100%; }
.fc-branches + .fc-arrow { margin-top: 1rem; }

/* ---- LOOP ---- */
.loop { position: relative; margin: 0 auto; width: min(100%, 460px); aspect-ratio: 1; }
.loop svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loop circle { fill: none; stroke: var(--gold-deep); stroke-width: .5; stroke-dasharray: 1.6 1.4; }
.loop-c { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--charcoal); color: var(--cream); display: grid; place-content: center; text-align: center; padding: .6rem; }
.loop-c b { font: 500 clamp(1rem, 2vw, 1.3rem)/1.2 var(--font-display); color: var(--cream); }
.loop-c small { color: var(--lotus-gold); font-size: .8rem; }
.loop ol { list-style: none; margin: 0; padding: 0; }
.loop li { position: absolute; transform: translate(-50%, -50%); width: 128px; text-align: center; background: var(--paper); border: 1px solid var(--hairline); border-radius: 12px; padding: .5rem .55rem; font-size: .8rem; font-weight: 600; color: var(--ink); line-height: 1.25; box-shadow: 0 8px 20px rgba(16,16,19,.06); }
.loop li span { display: block; font: 400 .78rem var(--font-display); color: var(--gold-ink); }

/* ---- STEPS ---- */
.steps-v4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; counter-reset: none; }
.steps-v4 li { position: relative; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 1.5rem 1.3rem 1.4rem; }
.steps-v4 .st-n { position: absolute; top: 1.2rem; right: 1.2rem; font: 400 1.9rem/1 var(--font-display); color: color-mix(in srgb, var(--lotus-gold) 70%, transparent); }
.steps-v4 h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.steps-v4 p { font-size: .9rem; margin: 0; }

/* ---- FIT ---- */
.fit-v4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fit-v4 > div { border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.2rem); }
.fit-yes { background: var(--ok-bg); } .fit-no { background: var(--paper); border: 1px solid var(--hairline); }
.fit-v4 h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.3rem; margin-bottom: 1rem; }
.fit-yes h3 { color: var(--ok); } .fit-no h3 { color: var(--ink-muted); }

/* ---- OFFER ---- */
.offer { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 26px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--gold-deep) 35%, transparent); box-shadow: 0 26px 60px rgba(16,16,19,.08); }
.offer-l { background: var(--charcoal); color: var(--cream); padding: clamp(2rem, 4vw, 3.2rem); }
.offer-l h2 { color: var(--cream); font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.12; }
.offer-l p { color: var(--cream-soft); font-size: 1.04rem; }
.offer-l .btn-fill { background: var(--lotus-gold); color: var(--ink); border-color: var(--lotus-gold); }
.offer-l .btn-fill:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.offer-note { font-size: .85rem !important; }
.offer-r { background: var(--gold-wash); padding: clamp(2rem, 4vw, 3.2rem); }
.offer-r h3 { font: 700 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--gold-ink); margin-bottom: 1.1rem; }
.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.offer-list li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: 1rem; }
.offer-list .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 3; }

/* ---- QUOTE ---- */
.pq { margin: 0 auto; max-width: 900px; text-align: center; }
.pq blockquote { margin: 0 0 1.6rem; }
.pq blockquote p { font: 400 clamp(1.45rem, 2.8vw, 2.2rem)/1.35 var(--font-display); color: var(--ink); text-wrap: balance; }
.pq blockquote p::before { content: '“'; color: var(--lotus-gold); }
.pq blockquote p::after { content: '”'; color: var(--lotus-gold); }
.pq figcaption { display: inline-flex; align-items: center; gap: .9rem; text-align: left; }
.pq img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.pq figcaption b { display: block; color: var(--ink); } .pq figcaption small { color: var(--ink-muted); }
.pq .link-arrow { display: block; margin-top: 1rem; font-weight: 600; } .pq .link-arrow::after { content: ' →'; }

/* ---- STATS / KPIs ---- */
.stat-v4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 0; }
.stat-v4 > div { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 1.5rem; }
.stat-v4 dt { font: 500 clamp(2rem, 3.6vw, 2.8rem)/1 var(--font-display); color: var(--ink); margin-bottom: .5rem; }
.stat-v4 dd { margin: 0; font-size: .92rem; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.kpi { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; align-items: start; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 1.2rem 1.25rem; }
.kpi .ico { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--gold-wash); color: var(--gold-ink); }
.kpi b { color: var(--ink); font-size: 1rem; } .kpi span { font-size: .88rem; }

/* ---- ROUTER ---- */
.router { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.router a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--paper); border: 1px solid var(--hairline); border-radius: 12px; padding: 1rem 1.2rem; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.router a:hover { border-color: var(--gold-deep); transform: translateX(3px); color: var(--ink); }
.r-need { font-weight: 500; font-size: .98rem; }
.r-go { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; font-weight: 700; color: var(--gold-ink); white-space: nowrap; }
.r-go .ico { width: 16px; height: 16px; }

/* ---- FAQ ---- */
.faq-v4 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-v4 .blk-head { margin-bottom: 1rem; }
.faq-more { font-size: .95rem; }
.faq-v4 .faq-list details { background: var(--paper); border: 1px solid var(--hairline); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .6rem; border-top: 1px solid var(--hairline); }
.faq-v4 .faq-list details:last-child { border-bottom: 1px solid var(--hairline); }
.faq-v4 .faq-list details[open] { border-color: var(--gold-deep); }
.faq-v4 .faq-list summary { font-size: 1.02rem; }
.faq-v4 .faq-list details p { margin: .7rem 0 .2rem; }

/* ---- CHECKLIST ---- */
.checklists { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.cl { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 1.5rem; }
.cl h3 { font-size: 1.3rem; margin-bottom: .3rem; } .cl > p { color: var(--ink-muted); font-size: .92rem; }
.cl ul { list-style: none; padding: 0; margin: 0; }
.cl li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; border-top: 1px solid var(--hairline); font-size: .95rem; }
.cl .box { width: 18px; height: 18px; border: 2px solid var(--gold-deep); border-radius: 4px; flex: none; margin-top: .2rem; }

/* ---- CTA inline / final ---- */
.cta-inline { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: var(--gold-wash); border: 1px solid color-mix(in srgb, var(--gold-deep) 35%, transparent); border-radius: var(--r-lg); padding: 1.4rem 1.8rem; }
.cta-inline p { margin: 0; font-size: 1.05rem; } .cta-inline b { color: var(--ink); }
.final-cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.final-cta h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.08; text-wrap: balance; }
.final-cta p { color: var(--cream-soft); font-size: 1.08rem; max-width: 56ch; }
.final-actions { display: grid; gap: .8rem; justify-items: stretch; background: var(--charcoal-2); border: 1px solid var(--hairline-on-dark); border-radius: var(--r-lg); padding: 1.8rem; }
.final-actions .btn { justify-content: center; text-align: center; }
.final-actions .btn-fill { background: var(--lotus-gold); color: var(--ink); border-color: var(--lotus-gold); }
.final-actions .btn-fill:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

/* ---- LADDER ---- */
.ladder { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; align-items: end; }
.ladder li { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 1.4rem; min-height: calc(var(--h) * 3.6); display: flex; flex-direction: column; justify-content: flex-end; border-top: 4px solid var(--lotus-gold); }
.ld-n { font: 400 1rem var(--font-display); color: var(--gold-ink); }
.ladder h3 { font-size: 1.3rem; margin: .4rem 0; } .ladder p { font-size: .92rem; } .ladder .ui-pill { align-self: flex-start; }

/* ---- misc ---- */
.grow-path { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; counter-reset: gp; }
.grow-path li { display: grid; grid-template-columns: auto 1fr; gap: .1rem 1rem; align-items: center; background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px; padding: 1rem 1.2rem; position: relative; }
.grow-path li:nth-child(2) { margin-left: 8%; } .grow-path li:nth-child(3) { margin-left: 16%; } .grow-path li:nth-child(4) { margin-left: 24%; background: var(--charcoal); color: var(--cream); }
.grow-path li:nth-child(4) b { color: var(--cream); } .grow-path li:nth-child(4) small { color: var(--cream-soft); }
.grow-path .ico { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--gold-wash); color: var(--gold-ink); }
.grow-path b { color: var(--ink); } .grow-path small { color: var(--ink-muted); }
.career { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--lotus-gold); display: grid; gap: 1.4rem; }
.career li { position: relative; background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px; padding: 1rem 1.2rem; }
.career li::before { content: ''; position: absolute; left: calc(-1.4rem - 8px); top: 1.3rem; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-deep); border: 3px solid var(--cream); }
.career b { display: block; color: var(--ink); } .career small { color: var(--ink-muted); }
.role-list { display: grid; gap: .6rem; }
.role-list li { display: grid; grid-template-columns: auto 1fr; gap: 0 .8rem; align-items: center; background: var(--paper); border: 1px solid var(--hairline); border-radius: 12px; padding: .9rem 1rem; }
.role-list .ico { grid-row: span 2; color: var(--gold-ink); width: 26px; height: 26px; }
.role-list b { color: var(--ink); } .role-list small { color: var(--ink-muted); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.4rem; }
.mv-card { background: var(--paper); border: 1px solid var(--hairline); border-top: 3px solid var(--lotus-gold); border-radius: 14px; padding: clamp(1.4rem, 2.4vw, 2rem); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 1.1rem; }
.mv-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.mv-statement { margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.3; color: var(--ink); text-wrap: balance; }
.mv-list { display: grid; gap: .7rem; margin: 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid var(--hairline); }
.mv-list li { position: relative; padding-left: 1.2rem; line-height: 1.55; }
.mv-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--lotus-gold); }
.mv-list b { color: var(--ink); }
.photo-split .band-photo img { aspect-ratio: 4/3.2; }
.note-box { margin-inline: auto; }
.fine-note.plain { border: 0; padding: 0; margin: 0 0 1rem; }

/* ---- sticky mobile CTA ---- */
.sticky-cta { display: none; }

/* ---- contact ---- */
.contact-v4-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-pitch h1 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); line-height: 1.05; margin-bottom: 1rem; }
.cp-h { font: 700 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--gold-ink); margin: 2rem 0 1rem; }
.next-v4 { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.next-v4 li { display: flex; gap: .9rem; align-items: flex-start; }
.next-v4 li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--charcoal); color: var(--lotus-gold); font-weight: 700; }
.next-v4 b { display: block; color: var(--ink); } .next-v4 small { color: var(--body); font-size: .92rem; }
.cp-promise { display: grid; gap: .5rem; margin: 1.8rem 0; }
.cp-promise li { display: flex; gap: .55rem; align-items: center; font-weight: 500; color: var(--ink-soft); }
.cp-promise .ico { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; }
.cp-founder { display: flex; gap: .9rem; align-items: center; margin: 0; padding: 1rem; background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px; }
.cp-founder img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.cp-founder b { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; } .cp-founder small { color: var(--ink-muted); }
.contact-card { background: var(--paper); border: 1px solid var(--hairline); border-radius: 24px; padding: clamp(1.5rem, 3.5vw, 2.6rem); box-shadow: 0 30px 70px rgba(16,16,19,.08); }
.contact-card h2 { font-size: 1.7rem; margin-bottom: .4rem; }
.contact-card .form input, .contact-card .form textarea, .contact-card .form select { border-radius: 10px; background: var(--cream); }
.contact-card .form button[type="submit"] { width: 100%; justify-content: center; }
.direct-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.direct-grid > * { display: flex; align-items: center; gap: .8rem; background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px; padding: 1rem 1.1rem; color: var(--ink); min-width: 0; }
.direct-grid .ico { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--gold-wash); color: var(--gold-ink); }
.direct-grid small { display: block; color: var(--ink-muted); font-size: .75rem; } .direct-grid b { font-size: .9rem; overflow-wrap: anywhere; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1120px) {
  .icard-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .direct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-v4-grid, .zig-row, .split, .faq-v4, .final-cta, .offer, .contact-v4-grid { grid-template-columns: 1fr; }
  .zig-row.flip .zig-text, .split.flip .split-text { order: 0; }
  .hero-visual { max-width: 620px; }
  .hero-comp .hero-float { left: auto; right: 0; }
  .icard-grid, .icard-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .router { grid-template-columns: 1fr; }
  .tl::before { display: none; }
}
@media (max-width: 720px) {
  .icard-grid, .icard-grid.cols-2, .icard-grid.cols-4, .fit-v4, .mv, .direct-grid { grid-template-columns: 1fr; }
  .ba { grid-template-columns: 1fr; } .ba-mid { transform: rotate(90deg); padding: .2rem 0; }
  .hero-v4 { padding-top: 1.5rem; }
  .hero-copy h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-comp { padding-bottom: 0; }
  .hero-float { position: relative; width: 94%; margin: -18% auto 0; right: auto !important; left: auto !important; }
  .ui-split, .ui-canvas { grid-template-columns: 1fr; }
  .ui-route { grid-template-columns: 1fr; } .ui-arrow { transform: rotate(90deg); justify-self: center; }
  .ui-kanban { grid-template-columns: 1fr 1fr; } .ui-kanban > div:nth-child(3) { display: none; }
  .ui-meter { grid-template-columns: 6rem 1fr 2.4rem; }
  .loop { width: 100%; }
  .loop li { width: 96px; font-size: .7rem; padding: .35rem; }
  .loop-c { width: 34%; } .loop-c small { display: none; }
  .ui-map .n { width: 46%; padding: .6rem; } .ui-map .n small { display: none; }
  .ui-map .core { width: 40%; } .ui-map .core img { width: 32px; height: 32px; }
  .tz-row { grid-template-columns: 6.5rem 1fr; } .tz-scale { margin-left: 6.5rem; }
  .tz-row span { font-size: .7rem; }
  .fc-node { min-width: 0; width: 100%; }
  .grow-path li:nth-child(n) { margin-left: 0; }
  .sticky-cta { display: flex; position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90; justify-content: center; align-items: center; min-height: 52px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 700; box-shadow: 0 14px 34px rgba(16,16,19,.3); transform: translateY(160%); transition: transform .25s ease; }
  .sticky-cta.show { transform: none; }
  .sticky-cta:hover { color: var(--lotus-gold); }
  .site-footer { padding-bottom: 5rem; }
  .final-actions { padding: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta, .icard, .router a, .ui-map .n { transition: none; } }

/* v4 fixes */
.ui-bar b { min-width: 0; }
.ui-bar .ui-pill { flex: none; }
.hero-comp { padding-bottom: 30%; }
.hero-comp .hero-photo img { aspect-ratio: 16/11; }
.hero-float { width: min(64%, 380px); }
.hero-comp.bl .hero-float { left: -4%; }
.hero-comp.br .hero-float { right: -3%; left: auto; }
.faq-v4 { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.faq-v4 .faq-list { max-width: none; width: 100%; }
.site-footer .footer-grid a[href^="mailto"] { overflow-wrap: normal; word-break: normal; white-space: nowrap; font-size: .8rem; }
@media (min-width: 1121px) { .footer-grid { grid-template-columns: 1.5fr .9fr 1.1fr .8fr 1.2fr; } }
@media (max-width: 1120px) and (min-width: 861px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .site-footer .footer-grid a[href^="mailto"] { white-space: normal; overflow-wrap: anywhere; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .hero-float { width: 92%; margin: -14% auto 0; }
  .hero-comp { padding-bottom: 0; }
  .hero-comp .hero-photo img { aspect-ratio: 4/3; }
}
.ui-card.ex-ok small, .ui-card.ex-bad small { display: flex; align-items: center; gap: .3rem; font-weight: 700; }
.ui-card.ex-ok { background: var(--ok-bg); } .ui-card.ex-ok small { color: var(--ok); }
.ui-card.ex-bad { background: var(--bad-bg); } .ui-card.ex-bad small { color: var(--bad); }
.ui-card small .ico { width: 14px; height: 14px; }
.gantt-head, .gantt-row { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; gap: .5rem; }
.gantt-head > div { display: grid; grid-template-columns: repeat(6, 1fr); }
.gantt-head b { font-size: .68rem; color: var(--ink-muted); font-weight: 600; }
.gantt-row { height: 30px; } .gantt-row span { font-size: .78rem; font-weight: 500; }
.gantt-track { position: relative; height: 14px; background: repeating-linear-gradient(90deg, var(--mist) 0 calc(16.66% - 2px), var(--paper) calc(16.66% - 2px) 16.66%); border-radius: 4px; }
.gantt-track i { position: absolute; top: 0; height: 100%; border-radius: 4px; background: var(--ink-soft); }
.gantt-track i.hl { background: var(--lotus-gold); } .gantt-track i.ok { background: var(--ok); }
.ui-check { display: grid; gap: .35rem; }
.ui-check li { display: flex; gap: .55rem; align-items: center; font-size: .8rem; padding: .35rem 0; border-bottom: 1px solid var(--hairline); }
.ui-check li::before { content: ''; width: 16px; height: 16px; border: 2px solid var(--gold-deep); border-radius: 4px; flex: none; }
.ui-check li.on::before { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; border-color: var(--ok); }
.art-stack { display: grid; gap: .8rem; }
.art-card { display: grid; gap: .4rem; justify-items: start; background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; padding: 1.2rem 1.3rem; color: var(--ink); box-shadow: 0 14px 34px rgba(16,16,19,.07); transition: transform .18s ease; }
.art-card:nth-child(2) { margin-left: 8%; } .art-card:nth-child(3) { margin-left: 16%; }
.art-card:hover { transform: translateX(4px); color: var(--ink); }
.art-card b { font: 500 1.2rem/1.3 var(--font-display); } .art-card small { color: var(--ink-muted); }
@media (max-width: 720px) { .art-card:nth-child(n) { margin-left: 0; } .gantt-head, .gantt-row { grid-template-columns: 6.5rem 1fr; } }
.ladder li { min-height: calc(13rem + var(--h) * 2.2rem); }
.ladder { align-items: end; }
@media (max-width: 720px) { .ladder li { min-height: 0; } }

/* Comparison table → stacked cards on phones */
.cmp-wrap { max-width: 100%; min-width: 0; }
@media (max-width: 720px) {
  .cmp-wrap { overflow: visible; border: 0; background: none; }
  .cmp { min-width: 0; display: block; }
  .cmp thead { display: none; }
  .cmp tbody { display: grid; gap: .9rem; }
  .cmp tbody tr { display: block; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
  .cmp tbody th { display: block; padding: .9rem 1rem; font-weight: 600; border-bottom: 1px solid var(--hairline); }
  .cmp tbody td { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 1rem; text-align: right; }
  .cmp tbody td::before { content: attr(data-label); color: var(--ink-muted); font-size: .9rem; text-align: left; }
  .cmp tbody td.us { font-weight: 600; }
  .cmp tbody td.us::before { color: var(--gold-ink); font-weight: 600; }
  .cmp tr:last-child td { border-bottom: 1px solid var(--hairline); }
  .cmp tbody tr td:last-child { border-bottom: 0; }
}

/* =====================================================================
   v5 LAYOUT SYSTEM: width tokens + balanced rows
   ===================================================================== */
:root {
  --maxw: 1320px;          /* outer frame incl. gutters → ~1210px content on desktop */
  --w-text: 1040px;        /* quotes, notes, FAQ, comparison, legal */
  --w-read: 720px;         /* long-form reading measure (articles) */
  --g: 1.1rem;             /* grid gap */
}

/* Section heading: title left, lede right on wide screens, which uses the full width */
.blk-head { max-width: none; }
@media (min-width: 1121px) {
  .blk-head:not(.center):has(.lede) { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
  .blk-head:not(.center):has(.lede) h2 { grid-column: 1; margin-bottom: 0; }
  .blk-head:not(.center):has(.lede) .lede { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; padding-bottom: .35rem; max-width: 46ch; }
}
.blk-head h2 { max-width: 22ch; text-wrap: balance; }
.blk-head.center { max-width: var(--w-text); margin-inline: auto; }

/* Balanced rows: each item knows how many siblings share its row (--kl/--km/--ks) */
.sec .bal { display: flex; flex-wrap: wrap; gap: var(--g); grid-template-columns: none; }
.sec .bal > * { --k: var(--kl); flex: 1 1 calc((100% - (var(--k) - 1) * var(--g)) / var(--k) - .5px); max-width: calc((100% - (var(--k) - 1) * var(--g)) / var(--k)); min-width: 0; }
@media (max-width: 1120px) { .sec .bal > * { --k: var(--km); } }
@media (max-width: 720px)  { .sec .bal > * { --k: var(--ks); } }
.sec .ladder.bal { align-items: flex-end; }
.sec .tl.bal { row-gap: 2.2rem; }
.sec .tl.bal::before { display: none; }
.sec .tl.bal > li::before { content: ''; position: absolute; left: 0; right: calc(-1 * var(--g)); top: calc(.76rem * 1.6 + .75rem + 7px); height: 2px; background: color-mix(in srgb, var(--lotus-gold) 55%, transparent); }
.sec .tl.bal > li:last-child::before { right: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--lotus-gold) 55%, transparent), transparent); }

/* Trust strip: a proper row of equal badges, not a centred wrap of text */
.trust-strip.bal { list-style: none; margin: 0; padding: 0; --g: 0px; }
.trust-strip.bal > li { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .35rem 1rem; font-weight: 600; font-size: .92rem; color: var(--ink-soft); text-align: left; line-height: 1.3; }
.trust-strip.bal > li + li { border-left: 1px solid var(--hairline); }
.trust-strip.bal .ico { flex: none; color: var(--gold-deep); width: 20px; height: 20px; }
/* Laptop + tablet: one row, icon above a centred label, even columns with dividers */
@media (min-width: 721px) and (max-width: 1320px) {
  .trust-strip.bal { flex-wrap: nowrap; }
  .trust-strip.bal > li { flex-direction: column; justify-content: flex-start; text-align: center; gap: .5rem; padding: .25rem .9rem; font-size: .95rem; line-height: 1.35; text-wrap: balance; }
  .trust-strip.bal .ico { width: 22px; height: 22px; }
}
/* Narrow tablet with 5+ long labels: balanced 3 + 2 grid instead of cramped columns */
@media (min-width: 721px) and (max-width: 860px) {
  .trust-strip.bal:has(> li:nth-child(5)) { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 1.2rem; }
  .trust-strip.bal:has(> li:nth-child(5)) > li { max-width: none; grid-column: span 2; border-left: 0; }
  .trust-strip.bal:has(> li:nth-child(5):last-child) > li:nth-child(4) { grid-column: 2 / span 2; }
  .trust-strip.bal:has(> li:nth-child(5):last-child) > li:nth-child(5) { grid-column: 4 / span 2; }
  .trust-strip.bal:has(> li:nth-child(5)) > li:not(:nth-child(3n+1)) { border-left: 1px solid var(--hairline); }
  .trust-strip.bal:has(> li:nth-child(5):last-child) > li:nth-child(4) { border-left: 0; }
}

/* Wider inner caps */
.pq { max-width: var(--w-text); }
.note-box { max-width: var(--w-text); }
.note-box.has-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem clamp(2rem, 5vw, 4rem); align-items: start; }
.note-box.has-head h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.note-box .nb-body > :last-child { margin-bottom: 0; }
@media (max-width: 860px) { .note-box.has-head { grid-template-columns: 1fr; } }
.faq-v4 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
.faq-list { max-width: none; }
.legal-hero .wrap, .legal-body .wrap { max-width: calc(var(--w-text) + 2 * var(--gutter)); }
.hero-v4-grid.solo { grid-template-columns: minmax(0, 900px); }

/* Chip tiles (balanced) */
.sec .chip-list.tiles { --g: .6rem; }
.chip-list.tiles > li { display: flex; align-items: center; gap: .55rem; border-radius: 12px; padding: .75rem .95rem; font-size: .93rem; line-height: 1.35; }
.chip-list.tiles .ico { flex: none; width: 16px; height: 16px; color: var(--gold-ink); stroke-width: 2.4; }
@media (max-width: 960px) { .chips-split .split-visual { max-width: none; } }

/* Hero proof points: always a clean vertical checklist */
.hero-proof-list { display: grid; grid-template-columns: 1fr; gap: .55rem; }
@media (max-width: 720px) {
  .trust-strip.bal { row-gap: 0; }
  .trust-strip.bal > li { justify-content: flex-start; padding: .6rem 0; border-left: 0 !important; border-bottom: 1px solid var(--hairline); }
  .trust-strip.bal > li:last-child { border-bottom: 0; }
}

/* =====================================================================
   v6 READABILITY SCALE
   Base 17px body, 1.65 line height. Body copy never below 16px,
   labels and meta never below 14px. Mockups (.ui-mock) keep UI sizing.
   ===================================================================== */
html { font-size: 106.25%; }               /* 1rem = 17px */
body { line-height: 1.65; color: #34323a; }
p, li, dd, td, th, summary, label, input, select, textarea, address { font-size: max(1rem, 16px); }

/* Headings: clear hierarchy, max H3 */
h1 { letter-spacing: -.015em; }
.blk-head h2, .split-text h2, .faq-v4 h2, .final-cta h2, .offer h2, .note-box h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.12; }
h3 { line-height: 1.25; }
.icard h3, .pain-q, .tl h3, .steps-v4 h3, .zig-text h3 { font-size: clamp(1.25rem, 1.6vw, 1.45rem); }

/* Section intros and body copy */
.hero-lede { font-size: clamp(1.12rem, 1.5vw, 1.28rem); line-height: 1.6; }
.blk-head .lede, .lede { font-size: clamp(1.08rem, 1.35vw, 1.2rem); line-height: 1.6; }
.split-text p, .zig-text p, .photo-split p, .note-box p, .offer-l p { font-size: 1.06rem; }
.icard p, .pain p, .tl p, .steps-v4 p, .kpi span, .stat-v4 dd, .offer-list li, .tick-list li, .x-list li, .mini-list li, .fit-v4 li, .cl li { font-size: 1rem; line-height: 1.6; }
.kpi b { font-size: 1.06rem; }
.faq-list summary { font-size: 1.1rem; line-height: 1.45; }
.faq-list details p { font-size: 1.02rem; line-height: 1.7; }
.bridge { font-size: 1.1rem; }
.chip-list.tiles > li { font-size: 1rem; }
.related-group a { font-size: 1rem; }
.trust-strip.bal > li { font-size: 1rem; }
.hero-proof-list li { font-size: 1rem; }
.tl-out { font-size: .94rem !important; }
.fine-note, .privacy-note, .band-photo figcaption, .hero-photo figcaption { font-size: .94rem; line-height: 1.55; }

/* Labels and meta: small caps text stays legible */
.card-tag, .tl-when, .related-group h3 { font-size: .82rem; letter-spacing: .1em; }
.link-arrow { font-size: 1rem; }
.btn { font-size: 1rem; }
.breadcrumb { font-size: .9rem; }

/* Navigation */
.nav-link, .dropdown a, .mega-col a { font-size: .98rem; }
.mega-title { font-size: 1rem; }

/* Footer */
.footer-grid a, .footer-grid .meta, .footer-desc { font-size: .98rem; line-height: 1.6; }
.footer-bottom, .footer-bottom small, .footer-legal a { font-size: .9rem; }
.site-footer .footer-grid a[href^="mailto"] { font-size: .94rem; }

/* Long-form reading */
.article p, .article li, .legal-body p, .legal-body li { font-size: 1.08rem; line-height: 1.75; }

/* Mockups keep compact UI type (they are illustrations, not body copy) */
.ui-mock p, .ui-mock li, .ui-mock td, .ui-mock th, .ui-mock label, .fc li, .loop li { font-size: inherit; }

@media (max-width: 720px) {
  html { font-size: 100%; }                 /* 16px on phones, with the same minimums */
  .hero-lede { font-size: 1.1rem; }
}

/* Footer brand + headings (H3, styled as labels) */
.footer-logo { display: inline-block; margin-bottom: 1.1rem; }
.footer-logo img { width: 190px; height: auto; display: block; }
.footer-h { font-family: var(--font-body); font-weight: 600; font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; color: var(--lotus-gold); margin: 0 0 1rem; line-height: 1.4; }
.footer-col address { font-style: normal; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-bottom small { color: var(--cream-soft); }

/* Floating WhatsApp + back to top */
.floaters { position: fixed; right: clamp(1rem, 2.4vw, 1.75rem); bottom: clamp(1rem, 2.4vw, 1.75rem); z-index: 95; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.fab { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 10px 28px rgba(16,16,19,.22); transition: transform .18s ease, opacity .25s ease, visibility .25s; position: relative; }
.fab:hover { transform: translateY(-2px); }
.fab:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
.fab-wa { width: 58px; height: 58px; background: #25D366; color: #fff; }
.fab-wa:hover { color: #fff; background: #1ebe5a; }
.fab-top { width: 44px; height: 44px; background: var(--paper); color: var(--ink); border: 1px solid var(--hairline); opacity: 0; visibility: hidden; }
.fab-top.show { opacity: 1; visibility: visible; }
.fab-tip { position: absolute; right: calc(100% + .7rem); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--ink); color: var(--cream); font-size: .88rem; font-weight: 600; padding: .45rem .75rem; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.fab-wa:hover .fab-tip, .fab-wa:focus-visible .fab-tip { opacity: 1; }
@media (max-width: 1120px) { .fab-tip { display: none; } }
@media (max-width: 720px) {
  /* sit above the sticky "Book a call" bar */
  .floaters { bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 66px); right: 1rem; gap: .55rem; }
  .fab-wa { width: 52px; height: 52px; }
  .fab-top { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } }

/* =====================================================================
   v6.2 ROW ALIGNMENT: items in the same row share their footer line.
   Cards are flex columns; the footer element (deliverable, link, tag)
   is pushed to the bottom with margin-top:auto, so every row lines up.
   ===================================================================== */
.sec .bal { align-items: stretch; }
.tl.bal > li, .steps-v4.bal > li, .icard-grid.bal > *, .pain-grid.bal > *, .kpi-grid.bal > *, .related-grid.bal > *, .checklists.bal > *, .stat-v4.bal > * { display: flex; flex-direction: column; }
.tl.bal > li > p:not(.tl-out) { margin-bottom: 1rem; }
.tl.bal > li > .tl-out { margin-top: auto; margin-bottom: 0; min-height: 3.1rem; align-items: center; }
.icard-grid.bal > * > .link-arrow { margin-top: auto; padding-top: .9rem; }
.icard-grid.bal > * > .mini-list { margin-bottom: 0; }
.icard-grid.bal > * > .mini-list + .link-arrow { padding-top: 1.1rem; }
.ladder.bal > li > .ui-pill { margin-top: .9rem; }
.ladder.bal > li > p { margin-bottom: 0; }
.kpi-grid.bal > .kpi { display: grid; }   /* kpi keeps its icon grid */
/* Titles in a row reserve the same height so body text starts on one line too */
.tl.bal > li > h3, .steps-v4.bal > li > h3 { min-height: calc(2 * 1.25em); display: flex; align-items: flex-end; }
@media (max-width: 720px) {
  .tl.bal > li > h3, .steps-v4.bal > li > h3 { min-height: 0; }
  .tl.bal > li > .tl-out { min-height: 0; }
}

/* Timeline on tablet: vertical, dot + line on the left, text and deliverable side by side */
@media (max-width: 1120px) {
  .sec .tl.bal { display: block; position: relative; padding-left: 2.4rem; }
  .sec .tl.bal::before { display: block; content: ''; position: absolute; left: 7px; top: .6rem; bottom: .6rem; width: 2px; height: auto; right: auto; background: color-mix(in srgb, var(--lotus-gold) 55%, transparent); }
  .sec .tl.bal > li { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem); column-gap: 2rem; align-items: start; padding: 0 0 2rem; }
  .sec .tl.bal > li:last-child { padding-bottom: 0; }
  .sec .tl.bal > li::before { display: none; }
  .sec .tl.bal > li > .tl-dot { position: absolute; left: -2.4rem; top: .15rem; margin: 0; }
  .sec .tl.bal > li > .tl-when { grid-column: 1; margin-bottom: .35rem; }
  .sec .tl.bal > li > h3 { grid-column: 1; min-height: 0; display: block; margin-bottom: .35rem; }
  .sec .tl.bal > li > p:not(.tl-out) { grid-column: 1; margin-bottom: 0; }
  .sec .tl.bal > li > .tl-out { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; min-height: 0; }
}
@media (max-width: 720px) {
  .sec .tl.bal { padding-left: 2rem; }
  .sec .tl.bal > li { grid-template-columns: 1fr; }
  .sec .tl.bal > li > .tl-dot { left: -2rem; }
  .sec .tl.bal > li > .tl-out { grid-column: 1; grid-row: auto; margin-top: .8rem; justify-self: start; }
}
/* Card titles in a row reserve two lines so descriptions start on one line (desktop/tablet) */
@media (min-width: 721px) {
  .icard-grid.bal > * > h3, .pain-grid.bal .pain-q { min-height: calc(2 * 1.25em); }
}
/* Pain cards: quote on top, description pinned to the bottom, so rows share a baseline */
.pain-grid.bal .pain-q { min-height: 0; }
.pain-grid.bal > .pain > p:last-child:not(.pain-q) { margin-top: auto; padding-top: .9rem; }
/* KPI cards: content stays at the top instead of floating in the middle of a stretched card */
.kpi-grid.bal > .kpi { align-content: start; }
.footer-copy a { color: var(--lotus-gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer-copy a:hover { color: var(--cream); }
/* v6.3 keep floating buttons clear of the footer copyright on mobile */
@media (max-width: 720px) {
  .footer-bottom { padding-inline: 5rem; }
  .footer-copy { line-height: 1.6; }
  .footer-copy a { white-space: nowrap; }
}

/* =====================================================================
   v7 BLOG SINGLE PAGE
   Hero with byline, 3-column reading layout (TOC rail · article · share rail),
   Google trusted source, "ask an AI" tools, author card, related reading.
   ===================================================================== */
.post-hero-v7 { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%); }
.post-hero-v7 .wrap { max-width: 1120px; }
.post-hero-v7 .breadcrumb { margin-bottom: 1.6rem; }
.post-hero-v7 h1 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); line-height: 1.08; letter-spacing: -.02em; max-width: 20ch; text-wrap: balance; margin-bottom: 1.1rem; }
.post-lede { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.2rem, 2.1vw, 1.5rem); line-height: 1.45; color: var(--ink-soft); max-width: 46ch; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; padding-block: 1.4rem; border-block: 1px solid var(--hairline); margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.pb-author { display: inline-flex; align-items: center; gap: .9rem; color: var(--ink); }
.pb-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px color-mix(in srgb, var(--lotus-gold) 60%, transparent); }
.pb-author b { display: block; font-size: 1.06rem; }
.pb-author small { display: block; color: var(--ink-muted); font-size: .92rem; }
.pb-author:hover b { color: var(--gold-ink); }
.pb-meta { display: flex; flex-wrap: wrap; gap: 1rem clamp(1.5rem, 3.5vw, 3rem); margin: 0; }
.pb-meta dt { font-size: .84rem; font-weight: 600; color: var(--ink-muted); margin-bottom: .15rem; }
.pb-meta dd { margin: 0; font-weight: 700; color: var(--ink); font-size: 1rem; }
.post-cover { margin: 0; }
.post-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(16,16,19,.10); }
.post-cover figcaption { font-size: .88rem; color: var(--ink-muted); margin-top: .7rem; }

/* ---- layout */
.post-layout { --rail: 272px; max-width: 1400px; display: grid; grid-template-columns: var(--rail) minmax(0, 720px) var(--rail); justify-content: center; gap: clamp(2rem, 3.2vw, 3.5rem); align-items: start; padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.post-rail { position: sticky; top: calc(var(--header-h) + 1.25rem); max-height: calc(100vh - var(--header-h) - 2.5rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; display: flex; flex-direction: column; gap: 1rem; }

/* ---- TOC card */
.toc-card { background: var(--paper); border: 1px solid var(--hairline); border-radius: 20px; padding: 1.3rem 1.25rem 1.1rem; box-shadow: var(--shadow-card); }
.toc-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .8rem; }
.toc-title { font: 700 .8rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.toc-count { font: 700 .8rem/1 var(--font-body); color: var(--gold-ink); background: var(--gold-wash); border-radius: 999px; padding: .38rem .6rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.toc-bar { height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; margin-bottom: 1rem; }
.toc-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--lotus-gold)); transition: width .2s ease; }
.toc-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.toc-list li { margin: 0; }
.toc-list a { display: grid; grid-template-columns: 1.7rem 1fr; gap: .35rem; padding: .5rem .5rem .5rem .75rem; border-left: 3px solid color-mix(in srgb, var(--lotus-gold) 28%, transparent); color: var(--ink-muted); font-size: .96rem; line-height: 1.38; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.toc-list a:hover { color: var(--ink); background: var(--gold-wash); }
.toc-n { font: 700 .78rem/1.8 var(--font-body); color: var(--stone); font-variant-numeric: tabular-nums; }
.toc-list a.is-active { color: var(--gold-ink); border-left-color: var(--gold-deep); font-weight: 700; }
.toc-list a.is-active .toc-n { color: var(--gold-ink); }
.toc-list a.is-done { border-left-color: color-mix(in srgb, var(--lotus-gold) 60%, transparent); }
.toc-top { display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--hairline); width: 100%; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.toc-top:hover { color: var(--gold-ink); }
.rail-cta { background: var(--charcoal); color: var(--cream); border-radius: 20px; padding: 1.25rem; }
.rail-cta p { font-weight: 600; font-size: 1rem; line-height: 1.4; margin: 0 0 .9rem; color: var(--cream); }
.rail-cta .btn { width: 100%; justify-content: center; background: var(--lotus-gold); color: var(--ink); border-color: var(--lotus-gold); }
.rail-cta .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

/* ---- article body */
.post-body { min-width: 0; font-size: 1.125rem; color: var(--body); }
.post-body p { line-height: 1.8; margin-bottom: 1.3rem; }
.post-body > * + * { margin-top: 0; }
.post-intro p:first-child { font-size: 1.2rem; color: var(--ink-soft); }
.post-body h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1.2; margin: 0 0 1rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.post-sec, .takeaways { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.post-sec { padding-top: clamp(2rem, 4vw, 2.75rem); }
.post-body a:not(.btn):not(.share-btn):not(.trusted-src) { text-decoration: underline; text-decoration-color: var(--gold-deep); text-underline-offset: 3px; }
.post-body ul, .post-body ol { margin: 0 0 1.4rem; padding: 0; list-style: none; }
.post-body ul li { position: relative; padding-left: 1.5rem; margin-bottom: .65rem; line-height: 1.7; }
.post-body ul li::before { content: ''; position: absolute; left: .1rem; top: .68em; width: .45em; height: .45em; border-radius: 50%; background: var(--lotus-gold); }
.post-sec ol { counter-reset: step; }
.post-sec ol li { counter-increment: step; position: relative; padding: .85rem 1rem .85rem 3.4rem; margin-bottom: .6rem; background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px; line-height: 1.6; }
.post-sec ol li::before { content: counter(step); position: absolute; left: .9rem; top: .8rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font: 700 .85rem/1 var(--font-body); background: var(--ink); color: var(--cream); }
.takeaways { margin: 1.25rem 0 .5rem; padding: clamp(1.4rem, 3vw, 1.9rem); background: var(--gold-wash); border: 1px solid color-mix(in srgb, var(--lotus-gold) 45%, transparent); border-radius: 20px; }
.takeaways h2 { font-size: 1.4rem; margin-bottom: .9rem; }
.takeaways ul { margin: 0; }
.takeaways li:last-child { margin-bottom: 0; }
.takeaways li::before { background: var(--gold-deep); }
.post-faq .faq-list { margin-top: .25rem; }
.post-faq .faq-list summary { font-size: 1.06rem; }
.post-faq .faq-list details p { margin-left: 0; font-size: 1.02rem; }
.post-note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); font-size: 1rem; font-style: italic; color: var(--ink-muted); }

/* inline TOC (tablet / mobile only) */
.toc-inline { display: none; margin: 0 0 1.5rem; background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; }
.toc-inline summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; font: 700 .82rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.toc-inline summary::-webkit-details-marker { display: none; }
.toc-inline summary .toc-count { letter-spacing: 0; text-transform: none; }
.toc-inline summary::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--gold-ink); letter-spacing: 0; }
.toc-inline[open] summary::after { content: '−'; }
.toc-inline .toc-list { padding: 0 1rem 1rem; }

/* ---- share panel (rail + inline) */
.share-panel { background: color-mix(in srgb, var(--mist) 55%, var(--paper)); border: 1px solid var(--hairline); border-radius: 20px; padding: clamp(1.1rem, 2.4vw, 1.6rem); }
.share-label { font: 700 .8rem/1.2 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-muted); margin: 1.2rem 0 .7rem; }
.share-tools { display: flex; flex-wrap: wrap; gap: .55rem; }
.share-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .55rem 1rem; background: var(--paper); border: 1px solid var(--hairline); border-radius: 12px; color: var(--ink); font: 600 .95rem/1.2 var(--font-body); cursor: pointer; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.share-btn:hover { border-color: var(--gold-deep); box-shadow: 0 6px 16px rgba(16,16,19,.07); color: var(--ink); transform: translateY(-1px); }
.share-btn:focus-visible, .trusted-src:focus-visible, .toc-list a:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.share-btn svg { flex: none; }
.share-btn.is-done { border-color: var(--green); color: var(--green); }
.trusted-src { display: flex; align-items: center; gap: .85rem; padding: .95rem 1.1rem; background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.trusted-src:hover { border-color: #4285F4; box-shadow: 0 6px 18px rgba(66,133,244,.12); color: var(--ink); }
.trusted-src svg { flex: none; }
.ts-text { flex: 1; min-width: 0; }
.ts-text b { display: block; font-size: 1rem; line-height: 1.3; }
.ts-text small { display: block; color: var(--ink-muted); font-size: .88rem; margin-top: .15rem; }
.ts-ext { color: var(--stone); flex: none; }
.share-panel.is-inline { margin-top: 2.5rem; }
.share-panel.is-inline .share-label:first-of-type { margin-top: 1.4rem; }
/* rail: one tool per row */
.share-panel.is-rail { padding: 1rem; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-card); }
.share-panel.is-rail .trusted-src { padding: .8rem .85rem; gap: .7rem; background: color-mix(in srgb, var(--mist) 45%, var(--paper)); }
.share-panel.is-rail .ts-text b { font-size: .92rem; }
.share-panel.is-rail .share-label { font-size: .74rem; margin: 1rem 0 .55rem; }
.share-panel.is-rail .share-tools { flex-direction: column; gap: .4rem; }
.share-panel.is-rail .share-btn { width: 100%; min-height: 40px; padding: .45rem .8rem; font-size: .9rem; border-radius: 10px; }
.share-panel.is-inline { display: none; }

/* ---- author card */
.author-card { display: grid; grid-template-columns: 88px 1fr; gap: 1.25rem; margin-top: 1.75rem; padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--paper); border: 1px solid var(--hairline); border-radius: 20px; box-shadow: var(--shadow-card); }
.author-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px color-mix(in srgb, var(--lotus-gold) 60%, transparent); }
.author-card p { margin: 0; }
.ac-name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.post-body .ac-name a { color: var(--ink); text-decoration: none; }
.ac-role { font-size: .98rem; color: var(--ink-muted); margin: .2rem 0 .7rem !important; }
.post-body .ac-role a { color: var(--gold-ink); text-decoration: none; }
.ac-bio { font-size: 1rem; line-height: 1.7 !important; }
.ac-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: .8rem !important; font-weight: 600; font-size: .95rem; }

/* ---- related reading */
.related-reading { border-top: 1px solid var(--hairline); }
.related-reading h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1.5rem; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.rel-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--hairline); border-radius: 18px; overflow: hidden; color: var(--body); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.rel-card:hover { border-color: var(--gold-deep); box-shadow: var(--shadow-card); transform: translateY(-2px); color: var(--body); }
.rel-card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.rel-card figure img { width: 100%; height: 100%; object-fit: cover; }
.rel-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.3rem 1.4rem 1.5rem; flex: 1; }
.rel-kicker { font: 700 .76rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.rel-title { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; color: var(--ink); }
.rel-text { font-size: .98rem; }
.rel-card.no-img .rel-body { justify-content: flex-start; padding-top: 1.6rem; }
.rel-card.no-img .rel-body::after { content: 'Read more →'; margin-top: auto; padding-top: .8rem; font-weight: 600; color: var(--gold-ink); font-size: .95rem; }

/* ---- floating AI stack (above WhatsApp + back to top) */
.ai-float { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.ai-float-list { display: flex; flex-direction: column; gap: .6rem; transition: opacity .2s ease, transform .2s ease; }
.ai-float.is-collapsed .ai-float-list { display: none; }
.fab-ai, .fab-toc, .fab-mini { width: 48px; height: 48px; border-radius: 14px; background: var(--paper); border: 1px solid var(--hairline); color: var(--ink); box-shadow: 0 8px 22px rgba(16,16,19,.12); cursor: pointer; }
.fab-ai span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fab-ai svg { width: 24px; height: 24px; }
.fab-mini { height: 32px; border-radius: 10px; color: var(--ink-muted); }
.ai-float.is-collapsed .fab-mini svg { transform: rotate(180deg); }
.fab-ai:hover, .fab-toc:hover, .fab-mini:hover { border-color: var(--gold-deep); color: var(--ink); }
.fab-toc { display: none; }
.floaters.has-ai .fab-top { border-radius: 14px; width: 48px; height: 48px; background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---- TOC bottom sheet (tablet / mobile) */
.toc-sheet { border: none; padding: 0; margin: auto 0 0; width: 100%; max-width: 100%; max-height: 78vh; border-radius: 22px 22px 0 0; background: var(--paper); box-shadow: 0 -20px 60px rgba(16,16,19,.25); }
.toc-sheet::backdrop { background: rgba(16,16,19,.45); }
.toc-sheet-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem; background: var(--paper); border-bottom: 1px solid var(--hairline); }
.toc-close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--hairline); background: var(--paper); color: var(--ink); cursor: pointer; }
.toc-sheet .toc-list { padding: .75rem 1rem calc(1.25rem + env(safe-area-inset-bottom)); }
.toc-sheet .toc-list a { padding-block: .75rem; font-size: 1.02rem; }
@media (min-width: 721px) { .toc-sheet { margin: auto; max-width: 520px; border-radius: 22px; } }

.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 140%); z-index: 120; background: var(--ink); color: var(--cream); font-weight: 600; font-size: .95rem; padding: .75rem 1.1rem; border-radius: 12px; box-shadow: 0 14px 34px rgba(16,16,19,.3); transition: transform .25s ease; pointer-events: none; max-width: calc(100vw - 2rem); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ---- breakpoints */
@media (max-width: 1280px) {
  /* drop the right rail; share panel moves under the article */
  .post-layout { --rail: 248px; grid-template-columns: var(--rail) minmax(0, 740px); }
  .rail-right { display: none; }
  .share-panel.is-inline { display: block; }
}
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: minmax(0, 760px); }
  .rail-left { display: none; }
  .toc-inline { display: block; }
  .fab-toc { display: inline-flex; }
}
@media (max-width: 720px) {
  .post-hero-v7 h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .post-byline { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .pb-meta { width: 100%; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: .5rem 1rem; }
  .pb-meta dt { font-size: .78rem; }
  .pb-meta dd { font-size: .94rem; }
  .post-cover img { aspect-ratio: 16 / 10; border-radius: 16px; }
  .post-body { font-size: 1.0625rem; }
  .post-sec ol li { padding-left: 3rem; }
  .post-sec ol li::before { left: .75rem; }
  .author-card { grid-template-columns: 1fr; }
  .author-card img { width: 72px; height: 72px; }
  .share-btn { flex: 1 1 calc(50% - .3rem); justify-content: center; padding-inline: .6rem; }
  .ai-tools .share-btn:last-child:nth-child(odd) { flex-basis: 100%; }
  .rel-grid { grid-template-columns: 1fr; }
  .fab-ai, .fab-toc { width: 44px; height: 44px; border-radius: 12px; }
  .floaters.has-ai .fab-top { width: 44px; height: 44px; border-radius: 12px; }
  .fab-mini { width: 44px; height: 28px; }
  .ai-float, .ai-float-list { gap: .45rem; }
}
@media (min-width: 721px) and (max-width: 1024px) { .rel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) and (min-width: 721px) { .rel-grid { grid-template-columns: 1fr 1fr; } .rel-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .toc-bar span, .share-btn, .rel-card, .toast { transition: none; } }

/* ---- print / Save as PDF: just the article */
@media print {
  .site-header, .site-footer, .floaters, .sticky-cta, .post-rail, .toc-inline, .share-panel, .related-reading, .bg-charcoal, .toast, .toc-sheet, .breadcrumb, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 11.5pt; }
  .post-hero-v7 { background: none; padding: 0; }
  .post-hero-v7 h1 { font-size: 26pt; max-width: none; }
  .post-cover img { box-shadow: none; aspect-ratio: 21/8; }
  .post-layout { display: block; padding: 0; max-width: none; }
  .post-body { font-size: 11.5pt; max-width: none; }
  .post-sec { break-inside: auto; padding-top: 14pt; }
  .post-body h2 { break-after: avoid; }
  .takeaways, .post-sec ol li, .author-card { break-inside: avoid; box-shadow: none; }
  .faq-list details { display: block; }
  .faq-list details > p { display: block !important; }
  .post-body a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}
/* v7.1 fixes */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.toast { visibility: hidden; opacity: 0; transition: transform .25s ease, opacity .25s ease, visibility .25s; }
.toast.show { visibility: visible; opacity: 1; }
.d-short { display: none; }
@media (max-width: 1024px) {
  /* the AI stack only appears once the reader is past the hero */
  .ai-float { transition: opacity .25s ease, visibility .25s; }
  .ai-float:not(.is-ready) { opacity: 0; visibility: hidden; }
}
@media (max-width: 720px) {
  .d-long { display: none; }
  .d-short { display: inline; }
  .post-hero-v7 .breadcrumb li:last-child { display: none; }
  .pb-meta { grid-template-columns: repeat(3, minmax(0, auto)); }
}
@media (max-width: 720px) {
  .share-panel .share-btn { white-space: nowrap; font-size: .9rem; gap: .45rem; padding-inline: .5rem; }
  .trusted-src { padding: .85rem .9rem; }
  .ts-text b { font-size: .98rem; }
}
@media (max-width: 380px) { .share-panel .share-btn { font-size: .84rem; } }
/* mobile share grid: balanced 2-column rows, long labels take a full row */
@media (max-width: 720px) {
  .share-panel.is-inline .share-tools { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .share-panel.is-inline .share-btn { width: 100%; justify-content: center; }
  .share-panel.is-inline [data-copy-md], .share-panel.is-inline [data-copy-link], .share-panel.is-inline [data-ai="google"] { grid-column: 1 / -1; }
  .share-panel.is-inline .ai-tools .share-btn:last-child:nth-child(odd) { grid-column: auto; }
}
/* v7.2 polish */
.post-body .author-card a { text-decoration: none; }
.post-body .author-card .ac-bio a, .post-body .author-card .ac-links a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold-deep) 55%, transparent); text-underline-offset: 3px; }
.post-body .ac-name a:hover { color: var(--gold-ink); }
.rel-more { margin-top: auto; padding-top: .8rem; font-weight: 600; color: var(--gold-ink); font-size: .95rem; }
.rel-more::after { content: ' →'; }
.rel-card figure img { transition: transform .3s ease; }
.rel-card:hover figure img { transform: scale(1.03); }
.toc-inline summary .ti-label { flex: 1; }
@media (max-width: 720px) {
  .author-card { grid-template-columns: 64px 1fr; grid-template-areas: 'img head' 'body body'; column-gap: 1rem; row-gap: .9rem; align-items: center; }
  .author-card img { grid-area: img; width: 64px; height: 64px; }
  .author-card > div { display: contents; }
  .ac-name { grid-area: head; align-self: end; margin-bottom: 1.6rem !important; }
  .ac-role { grid-area: head; align-self: end; margin: 0 !important; }
  .ac-bio { grid-area: body; }
  .ac-links { grid-column: 1 / -1; margin-top: -.2rem !important; }
}

/* ---- In-page anchors (Why SenBPO sections) ---- */
.sec[id] { scroll-margin-top: calc(var(--header-h) + .5rem); }
.split-text h3, .note-box h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.15; text-wrap: balance; }

/* =====================================================================
   v8 APPLE-STYLE DESIGN LAYER (final layer, overrides earlier rules)
   Principles: clarity (one idea per screen, big type, strict scale),
   deference (content first, no borders or decoration for their own sake),
   depth (soft layers, translucent chrome, restrained motion).
   Neutral canvas (white / #f5f5f7 / near-black) + one brand accent (lotus gold).
   ===================================================================== */
:root {
  --canvas: #ffffff;
  --gray-bg: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --body: #424245;
  --ink-muted: #6e6e73;       /* 5:1 on white, 4.6:1 on #f5f5f7 */
  --stone: #86868b;
  --cream: #f5f5f7;
  --paper: #ffffff;
  --mist: #f5f5f7;
  --charcoal: #1d1d1f;
  --charcoal-2: #2b2b2e;
  --cream-soft: #a1a1a6;      /* AA on #1d1d1f */
  --gold-ink: #8f6412;        /* accent text: 5.2:1 on white */
  --gold-deep: #b08243;
  --gold-wash: #f8f1e4;
  --hairline: rgba(0, 0, 0, .1);
  --hairline-on-dark: rgba(255, 255, 255, .16);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .06);
  --card: #f5f5f7;
  --r-lg: 28px;
  --r-md: 20px;
  --g: 1.25rem;
  --header-h: 56px;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 1120px) { :root { --header-h: 56px; } }
.bg-mist, .bg-mist * { --card: #ffffff; }
.bg-charcoal, .bg-charcoal * { --card: #2b2b2e; }

/* ---------- Base type ---------- */
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
body { background: var(--canvas); color: var(--body); font-family: var(--font-body); font-optical-sizing: auto; letter-spacing: -.011em; line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--ink); letter-spacing: -.028em; line-height: 1.08; text-wrap: balance; }
h3 { letter-spacing: -.02em; line-height: 1.2; }
p { text-wrap: pretty; }
a { color: var(--gold-ink); }
a:hover { color: #6f4c0d; }
::selection { background: rgba(227, 181, 115, .45); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(143, 100, 18, .55); outline-offset: 3px; border-radius: 6px; }
em { font-style: normal; }
.card-tag, .tl-when, .mv-label, .rel-kicker, .cp-h { text-transform: none; letter-spacing: -.005em; font-size: .95rem; font-weight: 600; }
.related-group h3, .chip-group h3, .offer-r h3, .footer-h { text-transform: none; letter-spacing: -.005em; }

/* ---------- Buttons: pills ---------- */
.btn { min-height: 46px; padding: .7rem 1.5rem; border: 1px solid var(--gold-ink); border-radius: 980px; font: 500 1.0625rem/1.2 var(--font-body); letter-spacing: -.01em; color: var(--gold-ink); background: transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn:hover { transform: none; background: var(--gold-ink); border-color: var(--gold-ink); color: #fff; }
.btn:active { transform: scale(.98); }
.btn-fill { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-fill:hover { background: #000; border-color: #000; color: #fff; }
.btn-on-dark { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-on-dark:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-on-dark.btn-fill { background: var(--lotus-gold); border-color: var(--lotus-gold); color: var(--ink); }
.btn-on-dark.btn-fill:hover { background: #f0c98d; border-color: #f0c98d; color: var(--ink); }
.btn-lg { min-height: 52px; padding: .9rem 1.9rem; }

.link-arrow, .icard .link-arrow, .zig-text .link-arrow, .pq .link-arrow { font: 500 1.0625rem/1.3 var(--font-body); color: var(--gold-ink); letter-spacing: -.01em; }
.link-arrow::after, .icard .link-arrow::after, .zig-text .link-arrow::after, .pq .link-arrow::after { content: ' ›'; font-size: 1.15em; transition: margin-left .25s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover::after { margin-left: .2rem; }

/* ---------- Header: thin, translucent ---------- */
.site-header { height: var(--header-h); background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease; }
.site-header.is-scrolled { border-bottom-color: var(--hairline); background: rgba(255, 255, 255, .82); }
.header-inner { height: var(--header-h); gap: 1.5rem; }
.brand-mark { width: auto; height: 34px; }
.nav-links { gap: clamp(1rem, 2.1vw, 2.1rem); }
.nav-link { font: 400 .95rem/1 var(--font-body); letter-spacing: -.01em; color: rgba(29, 29, 31, .82); padding: .5rem 0; border-bottom: 0; }
.nav-link:hover { color: #000; }
.nav-link.active { color: var(--gold-ink); border-bottom-color: transparent; font-weight: 500; }
.nav-caret { opacity: .55; }
.nav-cta.btn, .nav-cta { min-height: 36px; padding: .45rem 1.1rem; font-size: .92rem; font-weight: 500; }

.dropdown { background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); border: 0; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .16), 0 0 0 1px rgba(0, 0, 0, .05); padding: .5rem; top: calc(100% + 6px); overflow: hidden; }
.dropdown a { padding: .62rem 1rem; border-radius: 12px; font: 500 1rem/1.35 var(--font-body); letter-spacing: -.01em; color: var(--ink); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--gray-bg); color: var(--ink); }
.dropdown .desc { color: var(--ink-muted); }
.mega { padding: 0; }
.mega-col { padding: 1.5rem 1.25rem 1rem; border: 0; }
.dropdown .mega-title { font: 600 .85rem/1.3 var(--font-body); letter-spacing: 0; color: var(--ink-muted); border: 0; margin: 0 0 .35rem; padding: 0 1rem .4rem; }
.dropdown .mega-title:hover { background: transparent; color: var(--ink); }
.mega-col ul a { font-size: 1.02rem; font-weight: 600; padding: .42rem 1rem; }
.mega > .dropdown-all { background: var(--gray-bg); border: 0; border-radius: 0; padding: 1rem 2.25rem; color: var(--gold-ink); }
.mega > .dropdown-all:hover { background: #ececf0; color: var(--gold-ink); }

@media (max-width: 1120px) {
  .nav-links { background: rgba(255, 255, 255, .98); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 0; padding-block: .5rem 2rem; gap: 0; }
  .nav-open .nav-links { height: calc(100dvh - var(--header-h)); box-shadow: none; }
  .nav-links > li { border: 0; border-bottom: 1px solid var(--hairline); margin-inline: var(--gutter); }
  .nav-link { font: 600 1.3rem/1.2 var(--font-body); letter-spacing: -.02em; color: var(--ink); padding: .9rem 0; min-height: 60px; }
  .nav-link.active { border: 0; color: var(--gold-ink); }
  .dropdown, .mega { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
  .dropdown a { padding: .6rem .25rem .6rem .5rem; font-size: 1.08rem; font-weight: 500; color: var(--ink-soft); border-radius: 8px; }
  .has-dropdown.open .dropdown { padding-bottom: .8rem; }
  .dropdown .mega-title { padding: .7rem .5rem .1rem; }
  .mega-col ul a { padding-left: .5rem; font-weight: 500; }
  .mega > .dropdown-all { background: transparent; padding: .5rem .5rem 0; }
  .nav-contact { border: 0 !important; padding: 1.25rem 0 0; }
  .nav-contact .nav-cta { min-height: 52px; font-size: 1.05rem; }
}

/* ---------- Layout rhythm ---------- */
.sec { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.sec.tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.sec-strip { background: var(--canvas); border: 0; padding-block: clamp(1.75rem, 3vw, 2.5rem); }
.bg-mist { background: var(--gray-bg); }
.bg-charcoal { background: var(--charcoal); color: #f5f5f7; }
.bg-charcoal p { color: var(--cream-soft); }
.bg-paper { background: var(--canvas); }

/* ---------- Section headings: centered, confident ---------- */
.blk-head, .blk-head.center, .blk-head:not(.center):has(.lede) { display: block; max-width: 860px; margin: 0 auto clamp(2.75rem, 6vw, 4.5rem); text-align: center; }
.blk-head h2, .blk-head:not(.center):has(.lede) h2 { grid-column: auto; max-width: 22ch; margin: 0 auto .9rem; font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 600; letter-spacing: -.032em; line-height: 1.07; }
.blk-head .lede, .blk-head:not(.center):has(.lede) .lede { grid-column: auto; grid-row: auto; margin: 0 auto; padding: 0; max-width: 48ch; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.45; color: var(--ink-muted); letter-spacing: -.014em; }
.split-text h2, .faq-v4 h2, .note-box h2, .offer h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
.split-text h3, .note-box h3, .zig-text h3 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 600; letter-spacing: -.028em; }
.split-text p, .zig-text p, .photo-split p, .note-box p { font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); }
.split, .zig-row { gap: clamp(2.5rem, 7vw, 6rem); }
.zig { gap: clamp(4rem, 9vw, 8rem); }

/* ---------- Hero: centered headline, product below ---------- */
.hero-v4 { background: var(--canvas); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero-v4 .breadcrumb { margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.hero-v4-grid, .hero-v4-grid.solo { display: block; text-align: center; }
.hero-copy { max-width: 940px; margin-inline: auto; }
.hero-copy h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -.038em; max-width: 19ch; margin: 0 auto 1.3rem; }
.hero-lede { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.42; letter-spacing: -.015em; color: var(--ink-muted); max-width: 42ch; margin: 0 auto 2rem; }
.hero-ctas { justify-content: center; gap: .9rem; }
.hero-proof-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; margin-top: 2rem; }
.hero-proof-list li { font-size: .98rem; font-weight: 500; color: var(--ink-soft); }
.hero-visual { max-width: 1040px; margin: clamp(3rem, 6vw, 5rem) auto 0; text-align: left; }
.hero-visual > .ui-mock { max-width: 820px; margin-inline: auto; transform: none; box-shadow: 0 30px 80px rgba(0, 0, 0, .13), 0 0 0 1px rgba(0, 0, 0, .04); border: 0; border-radius: 24px; }
.hero-photo img { border-radius: var(--r-lg); box-shadow: none; }
.hero-comp { padding-bottom: 0; }
.hero-comp .hero-photo img { aspect-ratio: 16 / 9; }
.hero-float { width: min(46%, 420px); bottom: -12%; }
.hero-comp.bl .hero-float { left: 4%; }
.hero-comp.br .hero-float { right: 4%; left: auto; }
.hero-comp { margin-bottom: clamp(2.5rem, 8%, 5rem); }
.hero-float .ui-mock { box-shadow: 0 30px 70px rgba(0, 0, 0, .22); border: 0; }
.hero-photo figcaption { text-align: center; }
@media (max-width: 720px) {
  .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-comp { margin-bottom: 0; }
  .hero-float { position: relative; width: 92%; margin: -12% auto 0; bottom: auto; left: auto !important; right: auto !important; }
  .hero-proof-list { flex-direction: column; align-items: center; gap: .55rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- Cards: soft, borderless, large radius ---------- */
.pain, .icard, .steps-v4 li, .stat-v4 > div, .kpi, .cl, .router a, .ladder li, .fit-no, .mv-card, .art-card, .grow-path li, .career li, .role-list li,
.direct-grid > *, .cp-founder, .ba-col.before, .fc, .cmp-wrap, .cta-inline, .rel-card, .toc-card, .share-panel, .share-panel.is-rail, .author-card, .post-sec ol li, .trusted-src, .tl-out {
  background: var(--card); border: 0; box-shadow: none;
}
.pain, .icard, .steps-v4 li, .cl, .ladder li, .mv-card, .fc, .ba-col, .fit-v4 > div, .stat-v4 > div, .kpi { border-radius: var(--r-lg); }
.icard, .pain, .cl, .steps-v4 li { padding: clamp(1.6rem, 2.6vw, 2.2rem); }
.icard { transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s ease; }
a.icard:hover { transform: scale(1.015); box-shadow: 0 18px 50px rgba(0, 0, 0, .09); color: var(--body); border: 0; }
.icard h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -.024em; margin: .25rem 0 .6rem; }
.icard p, .pain p, .tl p, .steps-v4 p, .kpi span, .stat-v4 dd { color: var(--ink-muted); }
.icard p { font-size: 1.02rem; }
.ic-badge { background: none; border: 0; width: auto; height: auto; place-items: start; margin-bottom: 1.1rem; color: var(--gold-ink); }
.ic-badge .ico { width: 34px; height: 34px; stroke-width: 1.6; }
.mini-list li { border-top: 1px solid var(--hairline); }
.mini-list li::before { background: var(--gold-deep); }
.pain::before { display: none; }
.pain-q { font: 600 1.3rem/1.3 var(--font-display); letter-spacing: -.022em; padding-right: 0; }
.bridge { border-radius: var(--r-md); background: var(--charcoal); padding: 1.4rem 1.6rem; font-weight: 500; }
.stat-v4 dt { font: 600 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--font-display); letter-spacing: -.04em; }
.steps-v4 .st-n { font: 600 1.05rem var(--font-display); color: var(--gold-ink); position: static; display: block; margin-bottom: .6rem; }
.ic-badge + h3 { margin-top: 0; }
.kpi .ico, .direct-grid .ico { background: none; color: var(--gold-ink); padding: 0; }
.router a { border-radius: var(--r-md); padding: 1.2rem 1.4rem; transition: background .3s ease, transform .4s var(--ease); }
.router a:hover { background: #ececf0; transform: none; border: 0; }
.bg-mist .router a:hover { background: #fafafc; }
.r-need { font-weight: 600; letter-spacing: -.012em; }
.tl-out { border-radius: 14px; }
.tl-dot { background: var(--canvas); border-color: var(--gold-deep); }
.bg-mist .tl-dot { background: var(--gray-bg); }
.fit-yes { background: #eaf4ed; }
.fit-no { border-radius: var(--r-lg); }
.cta-inline { border-radius: var(--r-lg); padding: 1.5rem 1.8rem; background: var(--gold-wash); }
.note-box { background: var(--card); border: 0; border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 3rem); }
.pq blockquote p { font: 600 clamp(1.6rem, 3.2vw, 2.6rem)/1.2 var(--font-display); letter-spacing: -.03em; }
.pq blockquote p::before, .pq blockquote p::after { color: var(--gold-deep); }
.offer { border: 0; border-radius: 32px; box-shadow: none; }
.offer-l { background: var(--charcoal); }
.offer-r { background: var(--gray-bg); }
.offer-l h2 { font-weight: 600; letter-spacing: -.03em; }
.offer-list .ico { background: var(--gold-ink); }
.cmp-wrap { border-radius: var(--r-lg); }
.cmp .us { background: var(--gold-wash); }
.mk.y { background: #e5f2e9; }

/* ---------- FAQ: quiet list ---------- */
.faq-v4 .faq-list details, .faq-list details { background: transparent; border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0; padding: 1.3rem 0; margin: 0; }
.faq-v4 .faq-list details:first-child, .faq-list details:first-child { border-top: 1px solid var(--hairline); }
.faq-v4 .faq-list details[open] { border-color: var(--hairline); }
.faq-v4 .faq-list summary, .faq-list summary { font: 600 1.22rem/1.35 var(--font-display); letter-spacing: -.02em; color: var(--ink); padding: 0; }
.faq-list summary::after { content: '+'; font-size: 1.7rem; font-weight: 300; color: var(--ink-muted); transition: transform .35s var(--ease); }
.faq-list details[open] summary::after { content: '+'; transform: rotate(45deg); }
.faq-list details p { color: var(--ink-soft); max-width: 62ch; }

/* ---------- Photos ---------- */
.band-photo img { border-radius: var(--r-lg); }
.band-photo figcaption, .hero-photo figcaption { color: var(--ink-muted); }

/* ---------- Final CTA: centered dark band ---------- */
.final-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 2.25rem; }
.final-cta h2 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 600; letter-spacing: -.036em; line-height: 1.05; max-width: 18ch; margin-inline: auto; color: #f5f5f7; }
.final-cta p { margin-inline: auto; font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--cream-soft); max-width: 46ch; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .9rem; background: none; border: 0; padding: 0; }
.final-actions .btn-fill { background: var(--lotus-gold); border-color: var(--lotus-gold); color: var(--ink); }
.final-actions .btn-fill:hover { background: #f0c98d; border-color: #f0c98d; }
@media (max-width: 720px) { .final-actions .btn { flex: 1 1 100%; } }

/* ---------- Trust strip ---------- */
.trust-strip.bal > li { font-weight: 500; color: var(--ink-soft); }
.trust-strip.bal > li + li { border-left-color: var(--hairline); }
.trust-strip.bal .ico { color: var(--gold-ink); }

/* ---------- Client logos ---------- */

/* ---------- Product mockups: crisp window ---------- */
.ui-mock { border: 0; border-radius: 22px; box-shadow: 0 24px 64px rgba(0, 0, 0, .10), 0 0 0 1px rgba(0, 0, 0, .04); }
.ui-bar { background: #f5f5f7; border-bottom: 0; }
.ui-cap { background: #fbfbfd; border-top: 0; }
.ui-kpis > div, .ui-card, .ui-side, .ui-kanban > div, .ui-post { background: var(--gray-bg); }
.ui-kpis strong { letter-spacing: -.03em; }
.bg-mist .ui-mock { box-shadow: 0 24px 64px rgba(0, 0, 0, .07); }

/* ---------- Contact ---------- */
.contact-pitch h1 { font-weight: 600; letter-spacing: -.038em; }
.contact-card { background: var(--canvas); border: 0; border-radius: 32px; box-shadow: 0 30px 90px rgba(0, 0, 0, .10), 0 0 0 1px rgba(0, 0, 0, .04); }
.form input, .form textarea, .form select, .contact-card .form input, .contact-card .form textarea, .contact-card .form select { background: var(--gray-bg); border: 1px solid transparent; border-radius: 14px; min-height: 52px; padding: .8rem 1rem; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; background: #fff; border-color: var(--gold-ink); box-shadow: 0 0 0 4px rgba(143, 100, 18, .16); }
.form label { font-size: .95rem; font-weight: 600; }
.form-success, .form-errors { border-radius: 16px; border: 0; }
.next-v4 li > span { background: var(--ink); color: #fff; }

/* ---------- Footer: light, quiet ---------- */
.site-footer { background: var(--gray-bg); color: var(--ink-muted); border-top: 1px solid var(--hairline); }
.footer-grid { padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-grid .footer-h, .footer-h { color: var(--ink); font-size: .92rem; font-weight: 600; letter-spacing: -.005em; }
.footer-grid a { color: var(--ink-soft); font-size: .95rem; }
.footer-grid a:hover { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-grid .meta, .footer-desc { color: var(--ink-muted); font-size: .95rem; }
.footer-logo img { width: 150px; }
.footer-bottom { border-top: 1px solid var(--hairline); color: var(--ink-muted); }
.footer-bottom a, .footer-bottom small { color: var(--ink-muted); }
.footer-bottom a:hover { color: var(--gold-ink); }
.footer-copy a { color: var(--ink-soft); }
.footer-copy a:hover { color: var(--gold-ink); }

/* ---------- Floating actions: calm ---------- */
.fab { box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }
.fab-wa { width: 54px; height: 54px; }
.fab-top { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--hairline); }
.fab-tip { background: var(--ink); border-radius: 980px; }
.sticky-cta { background: rgba(29, 29, 31, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-weight: 500; font-size: 1.05rem; letter-spacing: -.01em; }
@media (max-width: 720px) {
  .floaters:not(.has-ai) .fab-top { display: none; }
  .fab-wa { width: 48px; height: 48px; }
}

/* ---------- Article pages ---------- */
.post-hero-v7 { background: var(--canvas); }
.post-hero-v7 h1 { font-weight: 600; letter-spacing: -.04em; line-height: 1.04; }
.post-lede { font-family: var(--font-display); font-weight: 400; color: var(--ink-muted); letter-spacing: -.016em; }
.post-cover img { border-radius: var(--r-lg); box-shadow: none; }
.post-body h2 { font-weight: 600; letter-spacing: -.03em; }
.post-body a:not(.btn):not(.share-btn):not(.trusted-src) { text-decoration-color: rgba(143, 100, 18, .5); }
.toc-card, .share-panel, .author-card { border-radius: var(--r-md); }
.toc-count { background: #fff; }
.toc-list a { border-left-color: var(--hairline); }
.toc-list a.is-active { border-left-color: var(--gold-ink); }
.toc-bar span { background: var(--gold-ink); }
.rail-cta { border-radius: var(--r-md); background: var(--charcoal); }
.takeaways { background: var(--gold-wash); border: 0; border-radius: var(--r-md); }
.rel-card { border-radius: var(--r-lg); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.rel-card:hover { transform: scale(1.015); box-shadow: 0 18px 50px rgba(0, 0, 0, .09); border: 0; }
.rel-title { font-weight: 600; letter-spacing: -.02em; }
.related-reading { border-top: 0; }
.share-btn { background: #fff; border: 0; border-radius: 980px; }
.share-panel.is-rail .share-btn { border-radius: 12px; }
.trusted-src { background: #fff; }
.toc-sheet { border-radius: 24px 24px 0 0; }
.ai-float .fab-ai, .fab-toc, .fab-mini { border-radius: 16px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 0; }

/* ---------- Scroll reveal (JS adds .js-rv and .rv only to content below the fold) ---------- */
.js-rv .rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rvd, 0s); will-change: opacity, transform; }
.js-rv .rv.in { opacity: 1; transform: none; will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .js-rv .rv, .js-rv .rv.in { opacity: 1; transform: none; transition: none; }
  .btn, .icard, .rel-card, .router a { transition: none; }
  a.icard:hover, .rel-card:hover { transform: none; }
}
@media print { .js-rv .rv { opacity: 1 !important; transform: none !important; } .site-footer { background: none; } }

/* v8.1 fixes */
.footer-grid .footer-h, .site-footer .footer-h { text-transform: none; letter-spacing: -.005em; font-size: .95rem; color: var(--ink); }
.footer-logo img { width: 128px; height: auto; }
.brand-mark { height: 36px; }
.hero-comp { margin-bottom: clamp(1rem, 4%, 3rem); }
.footer-bottom { max-width: var(--maxw); }

/* v8.2 menus: nested backdrop-filter is not applied inside the blurred header, so panels are near-opaque */
.dropdown { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 1120px) {
  .nav-links { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dropdown, .mega { background: transparent; }
}

/* ================= v8.3 refinements ================= */
/* FAQ: heading column left-aligned to match its list, list is the hero of the block */
.faq-v4 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: start; }
.faq-v4 .blk-head { text-align: left; margin: 0 0 1rem; max-width: none; }
.faq-v4 .blk-head h2 { margin: 0 0 .5rem; max-width: 12ch; text-align: left; }
.faq-v4 .faq-more { text-align: left; margin-top: 1.25rem; font-size: 1.05rem; color: var(--ink-muted); }
.faq-v4 > div:first-child { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 960px) { .faq-v4 { grid-template-columns: 1fr; gap: 1.5rem; } .faq-v4 > div:first-child { position: static; } }
/* Fine-print note under a block: quiet, centered */
.fine-note { text-align: center; max-width: 60ch; margin: 2rem auto 0; color: var(--ink-muted); border: 0; padding: 0; background: none; }
.fine-note a { color: var(--gold-ink); }
/* Solo hero (no visual): give it presence and remove the empty tail */
.hero-v4-grid.solo + * , .hero-v4:not(:has(.hero-visual)) { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
/* Article grid: 3 equal cards, image-free cards stay compact */
.icard-grid.cols-3 .icard .card-tag { color: var(--gold-ink); }

/* ================= v8.4 ================= */
/* Inter, self-hosted (no request to Google) */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-latin-ext.woff2) format('woff2');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}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format('woff2');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}

/* ---- Brand: a logo that carries the bar ---- */
:root { --header-h: 76px; }
@media (max-width: 1120px) { :root { --header-h: 68px; } }
.site-header .brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-mark { height: 52px; width: auto; }
@media (max-width: 1120px) { .brand-mark { height: 46px; } }
@media (max-width: 420px) { .brand-mark { height: 42px; } }
.nav-link { font-size: 1rem; }
.nav-cta.btn, .nav-cta { min-height: 40px; padding: .5rem 1.25rem; font-size: .96rem; }
.footer-logo { display: inline-block; margin-bottom: 1.25rem; }
.footer-logo img { width: 224px; height: auto; }
@media (max-width: 720px) { .footer-logo img { width: 200px; } }

/* ---- Breadcrumb: centered like the rest of the site ---- */
.breadcrumb { text-align: center; }
.breadcrumb ol { justify-content: center; }
.hero-v4 .breadcrumb, .post-hero-v7 .breadcrumb, .contact-v4 .breadcrumb { margin-inline: auto; }

/* ---- Hero stage: one width, one proportion on every page ---- */
.hero-visual { --stage-w: 960px; max-width: var(--stage-w); width: 100%; margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.hero-photo { margin: 0; }
.hero-photo img, .hero-photo.solo img, .hero-comp .hero-photo img { width: 100%; aspect-ratio: 2 / 1; height: auto; object-fit: cover; object-position: center 40%; border-radius: var(--r-lg); box-shadow: none; }
.hero-photo.solo { max-width: var(--stage-w); }
.hero-photo figcaption { text-align: center; margin-top: .9rem; }
.hero-comp { padding-bottom: 0; margin-bottom: clamp(2rem, 6%, 3.5rem); }
.hero-float { width: min(44%, 400px); bottom: -14%; }
/* Product mock-ups sit on the same stage: a soft panel of the same width */
.hero-visual:has(> .ui-mock) { display: grid; place-items: center; min-height: clamp(300px, 34vw, 440px); padding: clamp(1.25rem, 3vw, 2.5rem); background: linear-gradient(160deg, #fbf6ec 0%, var(--gray-bg) 60%); border-radius: var(--r-lg); }
.hero-visual > .ui-mock { width: 100%; max-width: 760px; margin: 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .04); }
@media (max-width: 720px) {
  .hero-photo img, .hero-photo.solo img, .hero-comp .hero-photo img { aspect-ratio: 4 / 3; border-radius: 20px; }
  .hero-visual:has(> .ui-mock) { min-height: 0; padding: 1rem; border-radius: 20px; }
}

/* ---- CTA: title, two lines, one button ---- */
.final-cta { gap: 1.6rem; }
.final-cta h2 { max-width: 20ch; }
.final-cta p { display: grid; gap: .3rem; max-width: none; }
.final-cta p span { display: block; }
.cta-band .final-cta { text-align: center; }

/* ---- Cookie choice ---- */
.link-btn { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(110, 110, 115, .5); }
.link-btn:hover { color: var(--gold-ink); text-decoration-color: currentColor; }
.legal-body .link-btn { color: var(--gold-ink); }
.cc { position: fixed; z-index: 120; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(960px, calc(100% - 2rem)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; padding: 1.25rem 1.5rem; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-radius: 24px; box-shadow: 0 24px 70px rgba(0, 0, 0, .22), 0 0 0 1px rgba(0, 0, 0, .06); }
.cc[hidden] { display: none; }
.cc-title { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .25rem; }
.cc-text { font-size: .95rem; line-height: 1.5; color: var(--ink-soft); margin: 0; max-width: 62ch; }
.cc-text a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.cc-prefs { display: grid; gap: .25rem; margin-top: 1rem; }
.cc-prefs[hidden] { display: none; }
.cc-row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: .7rem 0; border-top: 1px solid var(--hairline); cursor: pointer; }
.cc-row b { display: block; font-size: .95rem; font-weight: 600; }
.cc-row small { display: block; font-size: .85rem; color: var(--ink-muted); }
.cc-row input { width: 22px; height: 22px; accent-color: var(--gold-ink); flex: 0 0 auto; }
.cc-row input:disabled { opacity: .55; cursor: not-allowed; }
.cc-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.cc-btn { min-height: 44px; padding: .55rem 1.3rem; font-size: .96rem; font-weight: 500; white-space: nowrap; }
@media (max-width: 820px) {
  .cc { grid-template-columns: 1fr; padding: 1.1rem 1.15rem; border-radius: 20px; }
  .cc-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cc-actions .cc-btn[data-cc-act="customize"] { grid-column: 1 / -1; order: 3; }
}
html.cc-open .sticky-cta { display: none !important; }
html.cc-open .floaters { opacity: 0; pointer-events: none; }
.floaters { transition: opacity .2s ease; }

/* ---- Legal tables ---- */
.legal-table-wrap { overflow-x: auto; margin: 1.25rem 0 1.75rem; border: 1px solid var(--hairline); border-radius: 16px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.5; min-width: 560px; }
.legal-table th { text-align: left; font-weight: 600; font-size: .85rem; color: var(--ink-muted); background: var(--gray-bg); padding: .8rem 1rem; }
.legal-table td { padding: .85rem 1rem; border-top: 1px solid var(--hairline); vertical-align: top; }
.legal-table td:first-child { font-weight: 600; white-space: nowrap; }
.legal-body .legal-table code { font-size: .88em; background: var(--gray-bg); padding: .1em .35em; border-radius: 6px; }

/* Stage height is fixed too: photo 2:1 at 960 = 480 */
.hero-visual:has(> .ui-mock) { min-height: clamp(300px, 33.34vw, 480px); }
.hero-comp { margin-bottom: 0; }
.post-cover { max-width: 960px; margin-inline: auto; }
.post-cover img { aspect-ratio: 2 / 1; }

.hero-comp { margin-bottom: clamp(3rem, 5vw, 4.5rem); }

/* Founder page: the full square portrait leads above the name, never cropped */
.hero-v4-grid:has(.hero-photo.portrait) { display: flex; flex-direction: column; }
.hero-v4-grid:has(.hero-photo.portrait) .hero-visual { order: -1; max-width: 380px; margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem); }
.hero-photo.portrait img, .hero-photo.solo.portrait img { aspect-ratio: 1 / 1; height: auto; width: 100%; object-fit: contain; border-radius: var(--r-lg); box-shadow: 0 18px 44px rgba(0, 0, 0, .14); }
@media (max-width: 720px) { .hero-v4-grid:has(.hero-photo.portrait) .hero-visual { max-width: 300px; } }

/* Footer: the divider and the bottom line share the column grid's edges */
.footer-bottom { border-top: 0; background: linear-gradient(var(--hairline), var(--hairline)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.footer-desc { max-width: 30ch; }
.cc { align-items: end; }
.footer-legal .link-btn { color: var(--ink-muted); text-decoration: none; }
.footer-legal .link-btn:hover { color: var(--gold-ink); }
.contact-card .fine-note { text-align: left; margin: 0 0 1.25rem; max-width: none; }

/* Article header: centered like every other page */
.post-hero-v7 .wrap { text-align: center; }
.post-hero-v7 h1 { margin-inline: auto; max-width: 20ch; }
.post-hero-v7 .post-lede { margin-inline: auto; max-width: 44ch; }
.post-byline { justify-content: center; text-align: left; gap: 1.25rem clamp(2rem, 5vw, 4rem); }

/* ================= v8.4.1 mobile menu: collapsed panels are fully hidden ================= */
@media (max-width: 1120px) {
  .dropdown, .mega { visibility: hidden; padding: 0; border: 0; box-shadow: none !important; outline: 0; }
  .has-dropdown.open .dropdown, .has-dropdown.open .mega { visibility: visible; }
  .has-dropdown.open .dropdown { padding: 0 0 .8rem; }
  .dropdown .dropdown-all, .mega > .dropdown-all { border: 0; }
}

/* ================= v8.4.2 alignment: notes follow the column they sit in ================= */
.split-text .fine-note, .zig-text .fine-note, .photo-split .fine-note, .note-box .fine-note, .band-head .fine-note { text-align: left; margin: 1.25rem 0 0; max-width: none; }

/* ================= v8.5 mobile: dashboards, footer, small screens ================= */
@media (max-width: 720px) {
  /* Photo + dashboard: the card sits below the photo at full width, never a squeezed 44% column */
  .hero-comp { margin-bottom: 0; }
  .hero-comp .hero-float { position: relative; bottom: auto; left: auto !important; right: auto !important; width: calc(100% - 1.5rem); max-width: 460px; margin: -2.5rem auto 0; }
  .hero-float .ui-mock { box-shadow: 0 16px 40px rgba(0, 0, 0, .16); }

  /* Dashboard contents wrap instead of running off the card */
  .ui-body { padding: .85rem; }
  .ui-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .ui-kpis > div { min-width: 0; padding: .5rem .55rem; }
  .ui-kpis small { overflow-wrap: anywhere; }
  .ui-kpis strong { font-size: 1.02rem; }
  .ui-rows li { flex-wrap: wrap; row-gap: .1rem; }
  .ui-rows li b { margin-left: auto; }
  .ui-meter { grid-template-columns: minmax(0, 6.2rem) minmax(0, 1fr) 2.4rem; gap: .5rem; }
  .ui-split { grid-template-columns: minmax(0, 1fr); }
  .ui-split > * { min-width: 0; }
  .ui-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ui-mock, .ui-body > * { min-width: 0; max-width: 100%; }
  .ui-mock p, .ui-mock b, .ui-mock small, .ui-mock li { overflow-wrap: anywhere; }
  .ui-bar b { min-width: 0; }
  .ui-cap { font-size: .7rem; }

  /* Footer: full width text, links centred, room below for the WhatsApp button and sticky bar */
  .footer-bottom { padding-inline: var(--gutter); padding-bottom: 7.5rem; align-items: center; text-align: center; }
  .footer-copy { max-width: 32ch; margin-inline: auto; }
  .footer-legal { justify-content: center; text-align: center; gap: .35rem 1.25rem; }
  .footer-legal a, .footer-legal .link-btn { padding: .35rem .1rem; min-height: 32px; display: inline-flex; align-items: center; }
}
@media (max-width: 400px) {
  .ui-kpis strong { font-size: .95rem; }

  .ui-meter { grid-template-columns: minmax(0, 5.4rem) minmax(0, 1fr) 2.3rem; font-size: .76rem; }
}

@media (max-width: 720px) {
  /* Footer links: comfortable touch targets */
  .footer-col li a, .footer-col address a { display: inline-flex; align-items: center; min-height: 40px; }
  .footer-copy a { display: inline; min-height: 0; padding: .3rem 0; }
  /* Dashboard labels stay legible */
  .ui-kpis small { font-size: .68rem; letter-spacing: .02em; }
  .ui-cap { font-size: .74rem; }
  .ui-btns span, .ui-steps span, .ui-minibars span { font-size: .72rem; }
  .ui-card small, .ui-post small, .ui-tk small, .ui-kanban small { font-size: .72rem; }
}
@media (max-width: 400px) { .ui-kpis small { font-size: .64rem; } }
@media (max-width: 720px) {
  .link-arrow { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-legal a, .footer-legal .link-btn { min-height: 40px; }
  .footer-copy a { padding: .5rem 0; }
}
@media (max-width: 400px) { .ui-kpis small { font-size: .66rem; } }

/* Footer legal row: one readable colour for links and the cookie button */
.site-footer .footer-legal a, .site-footer .footer-legal .link-btn { color: var(--ink-muted); }
.site-footer .footer-legal a:hover, .site-footer .footer-legal .link-btn:hover { color: var(--gold-ink); }

/* Policy tables: each row becomes a labelled card on phones, no sideways scrolling */
@media (max-width: 720px) {
  .legal-table-wrap { overflow: visible; border: 0; border-radius: 0; margin: 1rem 0 1.5rem; }
  .legal-table { min-width: 0; display: block; font-size: .95rem; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .legal-table tbody { display: grid; gap: .9rem; }
  .legal-table tbody tr { display: block; background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; }
  .legal-table td { display: block; padding: .7rem 1rem; border-top: 1px solid var(--hairline); min-width: 0; overflow-wrap: anywhere; }
  .legal-table td:first-child { border-top: 0; background: var(--gray-bg); font-weight: 600; white-space: normal; }
  .legal-table td::before { content: attr(data-label); display: block; margin-bottom: .2rem; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
  .legal-table td:first-child::before { color: var(--gold-ink); }
}
@media (max-width: 720px) { .legal-body .legal-table code { padding-left: 0; background: none; } }
