/* ==========================================================================
   Obayda Consulting — site styles
   Body: dark navy + gold (brand). Header & footer: ivory "bookends".
   All content sections are full-width; only side gutters (--gutter) apply.
   ========================================================================== */

:root {
  /* Body palette */
  --ink: #0B0F1A;
  --surface: #141929;
  --raised: #1A2035;
  --gold: #C8A45E;
  --gold-light: #E8D5A3;
  --text: #E8EAF0;
  --muted: #A2A8BC;
  --line: rgba(200, 164, 94, 0.18);

  /* Header / footer palette */
  --ivory: #F2EFE8;
  --bronze: #7A5C1E;
  --chrome-muted: #4A5165;
  --chrome-line: rgba(11, 15, 26, 0.14);

  /* Layout */
  --gutter: clamp(20px, 5vw, 120px);
  --header-h: 72px;
  --topbar-h: 38px;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 93.75%; /* 15px base */
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
a { color: inherit; }
svg { display: block; }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.site-header :focus-visible,
.site-footer :focus-visible { outline-color: var(--bronze); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1rem; border-radius: 8px;
  background: var(--ink); color: var(--ivory); text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.accent { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem; border-radius: 10px; border: 1px solid transparent;
  font-family: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); }
.btn--outline { border-color: rgba(200, 164, 94, .45); color: var(--gold); }
.btn--outline:hover { background: rgba(200, 164, 94, .1); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: #1F2846; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ==========================================================================
   Header (ivory): contact strip + main bar with mega menus
   ========================================================================== */
.site-header {
  position: sticky; top: calc(var(--topbar-h) * -1); z-index: 50;
  background: var(--ivory); color: var(--ink);
}

/* Contact strip: scrolls away, the main bar stays */
.topbar {
  height: var(--topbar-h); background: var(--ink); color: #C4C9D8; font-size: .78rem;
  border-bottom: 1px solid rgba(200, 164, 94, .28);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; padding-inline: var(--gutter); }
.topbar__contact { display: flex; align-items: center; }
.topbar__contact li { display: flex; align-items: center; }
.topbar__contact li + li { margin-left: 1.25rem; padding-left: 1.25rem; border-left: 1px solid rgba(232, 234, 240, .14); }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar .icon { width: .9rem; height: .9rem; color: var(--gold); }
.topbar__social { display: flex; gap: .2rem; }
.topbar__social a { justify-content: center; width: 28px; height: 28px; border-radius: 6px; }
.topbar__social a:hover { background: rgba(200, 164, 94, .14); }
@media (max-width: 1100px) { .topbar__loc { display: none; } }

/* Main bar: logo | centred menu | call to action */
.site-header__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
  min-height: var(--header-h); padding-inline: var(--gutter);
  border-bottom: 1px solid var(--chrome-line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; justify-self: start; color: var(--ink); text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--ink); color: var(--gold);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1;
}
.brand__name { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1; }
.brand__sub { display: block; margin-top: .25rem; font-size: .72rem; letter-spacing: .02em; line-height: 1; color: var(--chrome-muted); }

.site-nav { display: contents; }
.nav-list { grid-column: 2; display: flex; align-items: stretch; align-self: stretch; gap: .2rem; }
.nav-list > li { display: flex; align-items: center; }
.nav-cta { grid-column: 3; justify-self: end; padding: .7rem 1.25rem; }
.drawer-foot { display: none; }

.nav-link {
  position: relative; display: block; padding: .55rem .8rem; border-radius: 8px;
  font-size: .88rem; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background-color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px;
  background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-link[aria-current="page"]::after, .nav-link.is-current::after { transform: scaleX(1); }
.nav-link[aria-current="page"], .nav-link.is-current { font-weight: 700; }
.nav-link:hover, .nav-split:hover, .has-menu:focus-within > .nav-split { background: rgba(11, 15, 26, .06); }

.nav-split { display: flex; align-items: center; border-radius: 8px; transition: background-color .2s; }
.nav-split .nav-link { padding-right: .2rem; background: transparent; }
.nav-split .nav-link::after { right: .2rem; }
.nav-chevron {
  display: grid; place-items: center; width: 26px; height: 30px; margin-right: .3rem; padding: 0;
  border: 0; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer;
}
.nav-chevron .icon { width: .85rem; height: .85rem; transition: transform .25s; }
.has-menu:hover .nav-chevron .icon, .has-menu.is-open .nav-chevron .icon { transform: rotate(180deg); }

/* Mega panels hang from the bottom edge of the header */
.mega {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 2;
  background: var(--ivory); border-bottom: 1px solid var(--chrome-line);
  box-shadow: 0 32px 40px -26px rgba(11, 15, 26, .5);
  visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
html:not(.menu-lock) .has-menu:hover > .mega,
html:not(.menu-lock) .has-menu:focus-within > .mega,
.has-menu.is-open > .mega {
  visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s;
}
.mega__inner {
  display: grid; grid-template-columns: minmax(14rem, .8fr) minmax(0, 2.4fr);
  gap: clamp(2rem, 5vw, 5rem); padding: 2rem var(--gutter) 2.25rem;
}
.mega__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.2; }
.mega__lead { max-width: 22rem; margin: .6rem 0 1.25rem; color: var(--chrome-muted); font-size: .88rem; line-height: 1.6; }
.mega .link-arrow { color: var(--bronze); font-size: .88rem; }
.mega .link-arrow:hover { color: var(--ink); }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem .75rem; align-content: start; }
.mega__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega__item {
  display: flex; align-items: flex-start; gap: .85rem; height: 100%; padding: .8rem .85rem;
  border-radius: 10px; color: var(--ink); text-decoration: none; transition: background-color .2s;
}
.mega__item:hover, .mega__item[aria-current="page"] { background: rgba(11, 15, 26, .06); }
.mega__icon {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 9px;
  background: var(--ink); color: var(--gold); transition: transform .2s;
}
.mega__item:hover .mega__icon { transform: translateY(-2px); }
.mega__icon .icon { width: 1.05rem; height: 1.05rem; }
.mega__text b { display: block; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.mega__text small { display: block; margin-top: .15rem; color: var(--chrome-muted); font-size: .78rem; line-height: 1.45; }
.mega__cta a, .mega__latest a {
  display: flex; flex-direction: column; justify-content: center; gap: .3rem; height: 100%;
  padding: 1rem 1.1rem; border-radius: 10px; background: var(--ink); color: var(--ivory);
  text-decoration: none; transition: background-color .2s;
}
.mega__cta a:hover, .mega__latest a:hover { background: #1F2846; }
.mega__cta b, .mega__latest b { font-size: .92rem; font-weight: 600; line-height: 1.35; }
.mega__cta span, .mega__latest span { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold); font-size: .82rem; font-weight: 600; }
.mega__latest { grid-column: 1 / -1; }
.mega__latest small { color: var(--gold); font-size: .74rem; font-weight: 600; }
.mega .icon { flex: none; }

/* Dim the page behind an open panel (desktop) */
@media (min-width: 960px) {
  .site-header::after {
    content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 100vh; z-index: 1;
    background: rgba(11, 15, 26, .5); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s, visibility 0s linear .25s;
  }
  html:not(.menu-lock) .site-header:has(.has-menu:hover)::after,
  .site-header:has(.has-menu.is-open)::after { opacity: 1; visibility: visible; transition-delay: 0s; }
}

.nav-toggle {
  display: none; place-items: center; justify-self: end; width: 42px; height: 42px;
  border: 1px solid var(--chrome-line); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle .icon--close { display: none; }
.nav-toggle.is-open .icon--open { display: none; }
.nav-toggle.is-open .icon--close { display: block; }

/* Mobile: the menu becomes an organised drawer */
@media (max-width: 959px) {
  :root { --header-h: 62px; }
  .site-header { top: 0; }
  .topbar { display: none; }
  .site-header__bar { display: flex; justify-content: space-between; }
  .nav-toggle { display: grid; }
  .site-nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 3;
    flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    padding: .5rem var(--gutter) 2rem; background: var(--ivory); border-top: 1px solid var(--chrome-line);
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; align-self: auto; gap: 0; }
  .nav-list > li { display: block; border-bottom: 1px solid var(--chrome-line); }
  .nav-link { padding: 1rem 0; border-radius: 0; font-size: 1.05rem; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"], .nav-link.is-current { color: var(--bronze); }
  .nav-link:hover, .nav-split:hover, .has-menu:focus-within > .nav-split { background: transparent; }
  .nav-split { justify-content: space-between; }
  .nav-split .nav-link { flex: 1; padding-right: 0; }
  .nav-chevron { width: 44px; height: 44px; margin: 0; }
  .nav-chevron .icon { width: 1.1rem; height: 1.1rem; }
  .mega {
    position: static; display: none; visibility: visible; opacity: 1; transform: none; pointer-events: auto;
    background: transparent; border: 0; box-shadow: none;
  }
  .has-menu.is-open > .mega { display: block; }
  .mega__inner { display: block; padding: 0 0 1rem; }
  .mega__intro, .mega__cta, .mega__latest { display: none; }
  .mega__grid, .mega__grid--2 { grid-template-columns: 1fr; gap: 0; }
  .mega__item { padding: .65rem .25rem; }
  .nav-cta { justify-self: stretch; justify-content: center; margin-top: 1.5rem; padding-block: 1rem; }
  .drawer-foot {
    display: grid; gap: .75rem; margin-top: 1.5rem; padding-top: 1.25rem;
    border-top: 1px solid var(--chrome-line); color: var(--chrome-muted); font-size: .9rem;
  }
  .drawer-foot a, .drawer-foot span { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; }
  .drawer-foot .icon { width: 1rem; height: 1rem; color: var(--bronze); }
  html.menu-open { overflow: hidden; }
}

/* ==========================================================================
   Footer (ivory)
   ========================================================================== */
.site-footer {
  background: var(--ivory); color: var(--ink);
  border-top: 1px solid var(--chrome-line);
}
.footer-grid {
  display: grid; gap: 2.75rem;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
}
.footer-lead { grid-column: 1 / -1; }
@media (min-width: 1100px) { .footer-lead { grid-column: auto; } }

.footer-statement {
  max-width: 21em; margin: 1.75rem 0 1.25rem;
  font-family: var(--font-display); font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.25;
}
.footer-mail {
  color: var(--bronze); font-weight: 700; text-underline-offset: .25em;
}
.footer-mail:hover { color: var(--ink); }

.footer-col h2 {
  margin-bottom: 1rem;
  font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--bronze);
}
.footer-col li + li { margin-top: .65rem; }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--bronze); text-decoration: underline; text-underline-offset: .25em; }
.footer-col p { color: var(--chrome-muted); }
.footer-col p + p { margin-top: .65rem; }

.social { display: flex; gap: .65rem; margin-top: 1.5rem; }
.social a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--chrome-line); border-radius: 10px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); text-decoration: none; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem;
  padding: 1.25rem var(--gutter);
  border-top: 1px solid var(--chrome-line);
  font-size: .875rem; color: var(--chrome-muted);
}
.footer-bottom a { color: var(--ink); text-underline-offset: .25em; }

/* ==========================================================================
   Shared page pieces
   ========================================================================== */
.glow {
  background:
    radial-gradient(ellipse at 15% 30%, rgba(200, 164, 94, .09), transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(200, 164, 94, .05), transparent 50%);
}

.pill {
  display: inline-flex; align-items: center; gap: .6rem; justify-self: start;
  padding: .4rem 1rem; border: 1px solid rgba(200, 164, 94, .3); border-radius: 999px;
  background: rgba(200, 164, 94, .06); color: var(--gold);
  font-size: .875rem; font-weight: 500;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.lead {
  max-width: 40rem; color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.65;
}

.section { padding: clamp(3rem, 7vw, 6rem) var(--gutter); }
.section__title { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); font-size: clamp(1.5rem, 2.3vw, 2.1rem); }

/* Page header used by every inner page */
.page-head {
  display: grid; gap: 1.5rem clamp(2rem, 6vw, 6rem);
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; }
@media (min-width: 900px) {
  .page-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
  .page-head .pill { grid-column: 1 / -1; }
}

/* Cards */
.grid { display: grid; gap: 1.25rem; }
.card {
  padding: 1.75rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.25rem;
  border-radius: 10px; background: rgba(200, 164, 94, .1); color: var(--gold);
}
.card__icon .icon { width: 1.5rem; height: 1.5rem; }
.card h3 { margin-bottom: .5rem; font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.card p { color: var(--muted); font-size: .93rem; line-height: 1.65; }

.tag {
  display: inline-block; padding: .25rem .75rem; border-radius: 999px;
  background: rgba(200, 164, 94, .1); color: var(--gold);
  font-size: .8rem; font-weight: 500;
}
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; color: var(--muted); font-size: .85rem; }

/* Stats bar (hairline grid) */
.stats { border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
@media (min-width: 800px) { .stats__grid { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
.stat { padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1rem, 3vw, 3rem); background: var(--ink); }
.stat:nth-child(odd) { padding-left: var(--gutter); }
@media (min-width: 800px) {
  .stat:nth-child(odd) { padding-left: clamp(1rem, 3vw, 3rem); }
  .stat:first-child { padding-left: var(--gutter); }
}
.stat b {
  display: block; font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem); color: var(--gold);
}
.stat span { display: block; margin-top: .65rem; color: var(--muted); font-size: .93rem; }

/* ==========================================================================
   Home (own composition — same header, footer, gutters and tokens as the site)
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center; gap: 3.5rem;
  min-height: clamp(34rem, calc(100svh - var(--header-h)), 60rem);
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(3.5rem, 6vw, 5rem);
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 6rem); }
}
.hero__glow {
  position: absolute; inset: -15% -5%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 18% 42%, rgba(200, 164, 94, .14), transparent 65%),
    radial-gradient(ellipse 40% 50% at 88% 18%, rgba(200, 164, 94, .08), transparent 60%);
  transform: translate3d(0, calc(var(--sy, 0) * 1px), 0);
}
.hero h1 {
  margin: 1.5rem 0; font-size: clamp(2.3rem, 4.5vw, 4.4rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -.02em;
}
.hero .lead { margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn--lg { padding: .95rem 1.6rem; font-size: .95rem; }

/* Growth path: the five service stages drawn as a rising line */
.growth-fig { margin: 0; width: 100%; max-width: 38rem; justify-self: end; }
.growth { position: relative; width: 100%; aspect-ratio: 600 / 560; }
.growth svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.growth__base { stroke: var(--line); stroke-width: 1; }
.growth__drop { stroke: rgba(200, 164, 94, .3); stroke-width: 1; stroke-dasharray: 3 6; }
.growth__area { fill: url(#gfill); }
.growth__line {
  fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.growth__node {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  display: block; text-decoration: none; transform: translate(-50%, -50%);
}
.growth__node i {
  position: relative; display: block; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--gold);
  transition: transform .25s, background-color .25s;
}
.growth__node:hover i, .growth__node:focus-visible i { transform: scale(1.4); background: var(--gold); }
.growth__label { position: absolute; top: 1.3rem; left: .95rem; display: grid; gap: .1rem; white-space: nowrap; line-height: 1.15; }
.growth__label small { color: var(--muted); font-size: .78rem; }
.growth__label b { font-family: var(--font-display); font-size: clamp(.95rem, 1.3vw, 1.2rem); font-weight: 600; color: var(--text); transition: color .2s; }
.growth__node:hover b, .growth__node:focus-visible b { color: var(--gold); }
.growth__node--end .growth__label { top: 50%; left: auto; right: 1.75rem; text-align: right; transform: translateY(-50%); }
.growth__node--end i::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--gold); opacity: 0;
}
.growth-fig figcaption {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem;
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .95rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero [data-in] {
    opacity: 0; transform: translateY(18px);
    animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: calc(var(--i, 0) * 100ms);
  }
  @keyframes rise { to { opacity: 1; transform: none; } }

  .growth__line { animation: draw 2.4s cubic-bezier(.55, .05, .2, 1) .55s forwards; }
  .growth__area { opacity: 0; animation: fade-in 1.4s ease 1.5s forwards; }
  .growth__node { opacity: 0; animation: node-in .6s cubic-bezier(.2, .9, .3, 1.25) calc(.6s + var(--i) * .36s) forwards; }
  .growth__node--end i::after { animation: pulse 2.8s ease-out 3.2s infinite; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fade-in { to { opacity: 1; } }
  @keyframes node-in {
    from { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }
  @keyframes pulse {
    0% { opacity: .9; transform: scale(1); }
    100% { opacity: 0; transform: scale(2.6); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .growth__line { stroke-dashoffset: 0; }
}

/* Diamond lattice — the same diamond used as the separator in the bands */
:root {
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 0 64 32 32 64 0 32Z' fill='none' stroke='%23C8A45E' stroke-width='1'/%3E%3Ccircle cx='32' cy='32' r='1.6' fill='%23C8A45E'/%3E%3C/svg%3E");
}
.pattern {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--pattern); background-size: 64px 64px; background-position: 0 calc(var(--py, 0) * 1px);
  opacity: .16;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 72% 45%, #000, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 85% at 72% 45%, #000, transparent 78%);
}
.pattern--soft {
  opacity: .1;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.pattern--left {
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 0% 50%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 80% at 0% 50%, #000, transparent 75%);
}
/* Bright copy of the lattice revealed around the pointer */
.pattern--lit {
  opacity: .75;
  -webkit-mask-image: radial-gradient(circle 260px at var(--lx, 72%) var(--ly, 40%), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 100%);
          mask-image: radial-gradient(circle 260px at var(--lx, 72%) var(--ly, 40%), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 100%);
}
@media (hover: none) {
  .pattern--lit {
    -webkit-mask-image: radial-gradient(circle 200px at 50% 50%, #000 0%, rgba(0, 0, 0, .3) 50%, transparent 100%);
            mask-image: radial-gradient(circle 200px at 50% 50%, #000 0%, rgba(0, 0, 0, .3) 50%, transparent 100%);
    -webkit-mask-size: 260% 260%; mask-size: 260% 260%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  }
}
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .pattern--lit { animation: sweep 14s ease-in-out infinite alternate; }
  @keyframes sweep {
    from { -webkit-mask-position: 0% 10%; mask-position: 0% 10%; }
    to { -webkit-mask-position: 100% 90%; mask-position: 100% 90%; }
  }
}

/* Headings whose words slide up one after another */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .16em; margin: 0 -.04em -.16em; }
.w > span { display: inline-block; }
.js .words .w > span { transform: translateY(115%); }
.js .words.is-in .w > span { transform: none; transition: transform .95s cubic-bezier(.2, .7, .2, 1) calc(var(--wi) * 85ms + 120ms); }
@media (prefers-reduced-motion: reduce) { .js .words .w > span { transform: none; } }

/* Sector and service bands: drift on their own and shift with the scroll */
.marquee {
  position: relative; overflow: hidden; display: grid; gap: .55rem; padding-block: 1.15rem;
  background: var(--surface); border-block: 1px solid var(--line);
}
.marquee__row--a { transform: translate3d(calc(var(--shift, 0) * -1px), 0, 0); }
.marquee__row--b { transform: translate3d(calc(var(--shift, 0) * 1px), 0, 0); }
.marquee__track { display: flex; width: max-content; transform: translateX(-33.3333%); }
.marquee ul { display: flex; flex: none; align-items: center; }
.marquee li { display: flex; align-items: center; gap: 1.75rem; padding-right: 1.75rem; white-space: nowrap; }
.marquee li::after { content: ""; flex: none; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.marquee__row--a li { font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.6rem); color: var(--text); }
.marquee__row--b li { font-size: .88rem; font-weight: 500; color: var(--muted); }
.marquee__row--b li::after { width: 7px; height: 7px; background: transparent; border: 1px solid var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__row--a .marquee__track { animation: drift-left 80s linear infinite; }
  .marquee__row--b .marquee__track { animation: drift-right 95s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes drift-left { from { transform: translateX(-33.3333%); } to { transform: translateX(-66.6666%); } }
  @keyframes drift-right { from { transform: translateX(-66.6666%); } to { transform: translateX(-33.3333%); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__row { transform: none !important; }
  .marquee__track { width: auto; flex-wrap: wrap; transform: none; }
  .marquee ul[aria-hidden] { display: none; }
  .marquee ul { flex-wrap: wrap; row-gap: .6rem; }
}

/* Home stats sit on the lattice, so no solid cell backgrounds */
.stats--home { position: relative; isolation: isolate; }
.stats--home .stats__grid { gap: 0; background: none; }
.stats--home .stat { background: transparent; }
.stats--home .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stats--home .stat:nth-child(even) { border-left: 1px solid var(--line); }
@media (min-width: 800px) {
  .stats--home .stat:nth-child(n+3) { border-top: 0; }
  .stats--home .stat + .stat { border-left: 1px solid var(--line); }
}
.stats--home .stat b { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.stats--home .stat { padding-block: clamp(2.25rem, 5vw, 4.5rem); }

/* About (split) */
.about { position: relative; isolation: isolate; overflow: clip; display: grid; gap: 3rem; padding: clamp(4rem, 9vw, 8rem) var(--gutter); }
@media (min-width: 960px) {
  .about { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 8rem); }
  .about__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.about h2 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -.01em; }
.signature { display: flex; align-items: center; gap: 1rem; margin-top: 2.25rem; }
.signature p { display: grid; gap: .1rem; line-height: 1.3; }
.signature b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--gold); }
.signature p span { color: var(--muted); font-size: .95rem; }
.brand__mark--lg {
  width: 64px; height: 64px; border-radius: 14px; font-size: 2rem;
  background: rgba(200, 164, 94, .1); border: 1px solid rgba(200, 164, 94, .3);
}
.expertise li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem;
  padding: clamp(1.5rem, 2.6vw, 2.25rem) .5rem; border-top: 1px solid var(--line);
}
.expertise li:last-child { border-bottom: 1px solid var(--line); }
.expertise .card__icon { margin: 0; transition: background-color .3s, color .3s; }
.expertise li:hover .card__icon { background: var(--gold); color: var(--ink); }
.expertise h3 { margin-bottom: .5rem; font-family: var(--font-body); font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 600; line-height: 1.25; }
.expertise p { max-width: 38rem; color: var(--muted); font-size: .95rem; line-height: 1.7; }

.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section__head .section__title { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold); font-weight: 600; text-decoration: none; }
.link-arrow:hover { color: var(--gold-light); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Closing call to action */
.cta {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 2.5rem;
  padding: clamp(4.5rem, 11vw, 9rem) var(--gutter); background: var(--surface);
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 80% at 95% 100%, rgba(200, 164, 94, .16), transparent 65%);
}
.cta h2 { position: relative; max-width: 14ch; font-size: clamp(2.3rem, 5vw, 4.6rem); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.cta__side { position: relative; display: grid; gap: 1.75rem; justify-items: start; }
@media (min-width: 960px) { .cta { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: clamp(3rem, 7vw, 7rem); } }

/* ==========================================================================
   Services
   ========================================================================== */
.stage { display: grid; gap: 2rem; padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter); }
.stage + .stage { border-top: 1px solid var(--line); }
@media (min-width: 960px) {
  .stage { grid-template-columns: minmax(15rem, .8fr) minmax(0, 2.2fr); gap: clamp(2rem, 6vw, 6rem); }
  .stage__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.stage__icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border: 1px solid rgba(200, 164, 94, .25); border-radius: 12px; background: rgba(200, 164, 94, .1); color: var(--gold);
}
.stage__icon .icon { width: 1.6rem; height: 1.6rem; }
.stage__num { margin: 1.25rem 0 .25rem; color: var(--gold); font-size: .95rem; font-weight: 600; }
.stage h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 700; }
.stage__intro p:last-child { margin-top: .75rem; color: var(--muted); }

.stage__items { display: grid; gap: 1.25rem; align-content: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.service {
  padding: 1.5rem 1.5rem 1.6rem;
  background: var(--surface); border-left: 3px solid var(--gold); border-radius: 6px;
}
.service h3 { margin-bottom: .5rem; font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.service p { color: var(--muted); font-size: .93rem; line-height: 1.65; }

/* ==========================================================================
   Sectors
   ========================================================================== */
.grid--sectors { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--sectors { grid-template-columns: repeat(3, 1fr); } }
.grid--sectors .card { background: linear-gradient(135deg, var(--surface), var(--raised)); padding: 2rem; }

/* ==========================================================================
   Insights
   ========================================================================== */
.grid--articles { grid-template-columns: 1fr; }
@media (min-width: 800px) { .grid--articles { grid-template-columns: repeat(2, 1fr); } }
.grid--articles .card { padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.grid--articles .meta { margin-bottom: 1rem; }
.grid--articles h3 { font-family: var(--font-display); font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-weight: 600; margin-bottom: .75rem; }

/* ==========================================================================
   Newsletter list + article
   ========================================================================== */
.grid--posts { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 760px) { .grid--posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .grid--posts { grid-template-columns: repeat(3, 1fr); } }

.grid--posts > li { display: flex; }
.post-card {
  display: flex; flex-direction: column; gap: 1rem; width: 100%;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; transition: border-color .2s;
}
.post-card:hover { border-color: var(--gold); }
.post-card h2 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
.post-card p { color: var(--muted); }
.post-card__cta {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .5rem;
  color: var(--gold); font-size: .95rem; font-weight: 600;
}
.post-card__cta .icon { transition: transform .2s; }
.post-card:hover .post-card__cta .icon { transform: translateX(4px); }

.article { display: grid; gap: 2.5rem; padding: clamp(2.5rem, 5vw, 5rem) var(--gutter); }
@media (min-width: 1000px) {
  .article { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 7rem); }
  .article__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.back-link {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 2rem;
  color: var(--gold); font-weight: 500; text-decoration: none;
}
.back-link:hover { color: var(--gold-light); }
.article__head .meta { margin-bottom: 1.25rem; }
.article__head h1 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 700; letter-spacing: -.01em; }
.article__head .lead { margin-top: 1.5rem; font-size: 1.02rem; }
.article__head .rule { width: 3rem; height: 3px; margin-top: 2rem; background: var(--gold); border-radius: 2px; }

.prose { max-width: 46rem; }
.prose p { color: #D4D8E4; font-size: 1.03rem; line-height: 1.8; }
.prose p + p { margin-top: 1.5em; }
.prose p:first-child { color: var(--text); font-size: 1.15rem; }

/* ==========================================================================
   Forms & contact
   ========================================================================== */
.contact { display: grid; gap: 3rem; padding: clamp(3rem, 6vw, 5.5rem) var(--gutter); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 7rem); } }

.info { display: grid; gap: 1rem; align-content: start; }
.info__item {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.info__icon {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px;
  border-radius: 10px; background: rgba(200, 164, 94, .1); color: var(--gold);
}
.info__item h2 { margin-bottom: .2rem; font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--muted); }
.info__item a, .info__item p { color: var(--text); font-size: 1.02rem; text-decoration: none; overflow-wrap: anywhere; }
.info__item a:hover { color: var(--gold); }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label, .field legend { display: block; margin-bottom: .5rem; padding: 0; font-size: .9rem; font-weight: 500; }
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1px solid rgba(200, 164, 94, .25); border-radius: 8px;
  background: var(--surface); color: var(--text);
  font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
  color-scheme: dark;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7F86A0; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(200, 164, 94, .45); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 164, 94, .25);
}
.phone { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: .75rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { justify-self: stretch; padding-block: 1rem; }
.form__status { font-size: .95rem; line-height: 1.5; }
.form__status:empty { display: none; }
.form__status[data-state="success"] {
  padding: 1rem 1.25rem; border-left: 3px solid var(--gold); border-radius: 6px;
  background: rgba(200, 164, 94, .1); color: var(--gold-light);
}
.form__status[data-state="error"] {
  padding: 1rem 1.25rem; border-left: 3px solid #E5877A; border-radius: 6px;
  background: rgba(229, 135, 122, .1); color: #F6C3BB;
}
.form__status a { color: inherit; font-weight: 600; text-underline-offset: .2em; }

/* Article follow-up band */
.band {
  display: grid; gap: 2.5rem; padding: clamp(3rem, 6vw, 5.5rem) var(--gutter);
  background: var(--surface); border-block: 1px solid var(--line);
}
@media (min-width: 960px) { .band { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 7rem); } }
.band h2 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 700; }
.band__copy p { margin-top: 1rem; color: var(--muted); font-size: 1.02rem; }
.band .field input, .band .field select, .band .field textarea { background: var(--ink); }

/* ==========================================================================
   Motion system (all of it is switched off for prefers-reduced-motion)
   ========================================================================== */
main:focus { outline: none; }

/* Reading progress, drawn along the bottom edge of the header */
.site-header__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: var(--bronze); transform-origin: left; transform: scaleX(var(--p, 0));
}

/* Thin gold loader while the next page is fetched */
html.is-loading::after {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: var(--gold); transform-origin: left; transform: scaleX(.1);
  animation: loading 1.6s cubic-bezier(.2, .7, .2, 1) forwards;
}
@keyframes loading { to { transform: scaleX(.85); } }

/* Scroll reveal (JS marks elements; without JS everything is simply visible) */
.js [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Gold line that draws itself across the top of each section */
main > section, main > article { position: relative; }
.draw-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, var(--gold), rgba(200, 164, 94, 0) 85%);
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.3s cubic-bezier(.2, .7, .2, 1);
}
.draw-line.is-in { transform: scaleX(1); }

/* Cursor spotlight on cards (mouse only) */
@media (hover: hover) {
  .card, .service, .post-card, .info__item, .expertise li { position: relative; isolation: isolate; }
  .card::before, .service::before, .post-card::before, .info__item::before, .expertise li::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 164, 94, .15), transparent 70%);
    opacity: 0; transition: opacity .3s;
  }
  .card:hover::before, .service:hover::before, .post-card:hover::before,
  .info__item:hover::before, .expertise li:hover::before { opacity: 1; }
}

/* Services: the stage you are reading is lit, the others rest */
@media (min-width: 960px) {
  .js .stage__intro { opacity: .42; transition: opacity .6s; }
  .js .stage.is-active .stage__intro { opacity: 1; }
}

/* Page-to-page transition */
main { transition: opacity .18s ease; }
body.is-leaving main { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .site-header { view-transition-name: site-header; }
  ::view-transition-group(site-header) { animation-duration: 0s; }
  ::view-transition-old(root) { animation: vt-out .2s ease both; }
  ::view-transition-new(root) { animation: vt-in .4s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .draw-line { transform: none; transition: none; }
  html.is-loading::after { animation: none; }
  .js .stage__intro { opacity: 1; }
}

/* ==========================================================================
   Newsletter: featured card
   ========================================================================== */
@media (min-width: 760px) {
  .post-card--feature { grid-column: 1 / -1; }
  .grid--posts > li.is-feature { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .post-card--feature {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-areas: "meta ." "title text" "title cta";
    column-gap: clamp(2rem, 6vw, 6rem); row-gap: 1rem; align-items: start;
    padding: clamp(2rem, 3.5vw, 3.5rem);
  }
  .post-card--feature .meta { grid-area: meta; }
  .post-card--feature h2 { grid-area: title; font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.25; }
  .post-card--feature p { grid-area: text; font-size: 1.02rem; }
  .post-card--feature .post-card__cta { grid-area: cta; margin-top: 0; }
}

/* ==========================================================================
   Rich article components
   ========================================================================== */


.prose--rich { max-width: 48rem; }
.prose--rich > * + * { margin-top: 1.35rem; }
.prose--rich p { max-width: none; line-height: 1.8; font-size: 1.03rem; }
.prose--rich p + p { margin-top: 1.35rem; }
.prose--rich p:first-child { font-size: 1.15rem; }
.prose--rich > h2 {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.35;
}
.prose--rich strong { color: var(--gold-light); font-weight: 700; }

.stack { display: grid; gap: .1rem; padding-inline-start: 1.15rem; border-inline-start: 2px solid var(--gold); }
.stack p { color: var(--text); }
.pull {
  margin: 2rem 0; padding: 1.4rem 1.75rem; border-inline-start: 3px solid var(--gold);
  background: linear-gradient(to right, rgba(200, 164, 94, .08), transparent);
}
.prose--rich .pull p { color: var(--text); font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 600; line-height: 1.6; }
.prose--rich .quote { color: var(--muted); font-size: 1.15rem; font-weight: 500; }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.flow > span:not(.flow__arrow), .ladder li:not(.ladder__arrow), .options li {
  padding: .65rem 1.1rem; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); font-family: var(--font-body); font-weight: 600; font-size: .92rem;
}
.flow > span:last-child { border-color: var(--gold); color: var(--gold); }
.flow__arrow, .ladder__arrow { display: grid; place-items: center; color: var(--gold); }
.ladder { display: grid; gap: .2rem; max-width: 20rem; }
.ladder li:not(.ladder__arrow) { text-align: center; }
.ladder li:last-child { border-color: var(--gold); color: var(--gold); }
.options { display: flex; flex-wrap: wrap; gap: .6rem; }
.options li { border-color: rgba(200, 164, 94, .45); color: var(--gold); }

.concept {
  display: grid; gap: .25rem; padding: 1.4rem 1.75rem;
  border: 1px solid rgba(200, 164, 94, .35); border-radius: 12px; background: var(--surface);
}
.concept__en { font-family: var(--font-display); font-size: clamp(1.3rem, 1.8vw, 1.7rem); font-weight: 600; color: var(--gold); line-height: 1.25; }

.q { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.q__n {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
}
.q__body > * + * { margin-top: 1rem; }
.q__body h3 { font-size: 1.2rem; line-height: 1.4; }
.q .concept { padding: 1rem 1.25rem; }
.q .concept__en { font-size: 1.2rem; }

.checklist { display: grid; gap: .4rem; padding-inline-start: 1.4rem; list-style: disc; color: #D4D8E4; font-size: 1.02rem; line-height: 1.7; }
.checklist li::marker { color: var(--gold); }

.indicators { display: grid; gap: .75rem; }
@media (min-width: 560px) { .indicators { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.indicators li {
  display: grid; gap: .35rem; align-content: start; padding: 1rem 1.15rem;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: .96rem; line-height: 1.6;
}
.indicators em { font-style: normal; color: var(--gold); font-family: var(--font-body); font-size: .9rem; font-weight: 600; justify-self: start; }

.bars { display: grid; gap: 1rem; margin: 1.75rem 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.bars__row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 3.2rem; align-items: center; gap: 1rem; font-size: .98rem; }
@media (max-width: 520px) { .bars__row { grid-template-columns: 1fr 3.2rem; } .bars__track { grid-column: 1 / -1; grid-row: 2; } }
.bars__track { height: 12px; border-radius: 6px; background: rgba(232, 234, 240, .08); overflow: hidden; }
.bars__track i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--gold); transform-origin: right; }
.bars__row:first-child .bars__track i { background: #8B93AD; }
.bars__row b { font-family: var(--font-display); font-size: 1.15rem; text-align: end; }
.js .bars .bars__track i { width: 0; transition: width 1.4s cubic-bezier(.2, .7, .2, 1) .3s; }
.js .bars.is-in .bars__track i { width: var(--w); }

.scenarios { display: grid; gap: .75rem; }
@media (min-width: 700px) { .scenarios { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scenario { padding: 1.15rem 1.25rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.scenario b { display: block; margin-bottom: .5rem; color: var(--gold); font-family: var(--font-display); font-size: 1.05rem; }
.prose--rich .scenario p { font-size: .95rem; line-height: 1.8; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .45rem 1rem; border-radius: 999px; background: rgba(200, 164, 94, .1); border: 1px solid rgba(200, 164, 94, .3); font-size: 1rem; }

.steps { display: grid; gap: .9rem; counter-reset: none; }
.steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.steps__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.steps b { display: block; color: var(--gold); font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: .3rem; }
.prose--rich .steps p { font-size: .98rem; line-height: 1.85; }

/* refinements */
.ladder, .ladder li, .steps, .options, .chips { list-style: none; }
.prose--rich .stack p + p { margin-top: 0; }
.stack { row-gap: .45rem; }
.prose--rich .q__body > p + p { margin-top: .55rem; }
.prose--rich .q__body p { line-height: 1.9; }
.prose--rich .q__body > * + * { margin-top: .9rem; }
.prose--rich .q__body > .pull { margin-top: 1.25rem; }

.cta .pattern--lit { opacity: .5; }
.prose--rich .stack p { font-size: 1rem; }
