/* ==========================================================================
   nickburns.nz - merged site
   Brand values read from brand-kit/brand.json. DO NOT hardcode new colours.
   One brand, two stages: Grow (emerald-keyed) and Go Global (royal-blue-keyed).
   THE RULE: emerald #059669 is the ONLY action colour, both stages.
             royal blue #5073FF is a STAGE SIGNAL and never appears on a button.
   ========================================================================== */

:root {
  /* --- Brand palette: nickburns-nz (site-wide) --- */
  --navy:      #0A1553;
  --emerald:   #059669;   /* the single action colour */
  --ink:       #1F2433;
  --muted:     #5B6172;
  --border:    #E5E7EB;
  --offwhite:  #F7F8FA;
  --white:     #FFFFFF;
  --positive:  #047857;   /* emphasis text + BUTTON FILL - AA-safe at body size */
  --emerald-deep: #03624A; /* button hover. Darker than positive, so still AA-safe */
  --warn:      #D97706;
  --negative:  #DC2626;

  /* --- Stage signal: Go Global only --- */
  --royal:     #5073FF;
  --royal-ink: #2E4BD8;   /* darkened royal for text on white, AA-safe */

  /* --- Type --- */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.45rem, 1.25rem + 1vw, 2rem);
  --step-3:  clamp(1.8rem, 1.4rem + 2vw, 2.75rem);
  --step-4:  clamp(2.15rem, 1.5rem + 3.2vw, 3.75rem);

  /* --- Space --- */
  --s1: 0.5rem;  --s2: 1rem;   --s3: 1.5rem;
  --s4: 2rem;    --s5: 3rem;   --s6: 4.5rem;  --s7: 6.5rem;

  --wrap: 1140px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(10,21,83,.05), 0 8px 24px rgba(10,21,83,.06);
}

/* --------------------------------------------------------- reset + base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 var(--s3); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: var(--step-4); letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p  { margin: 0 0 var(--s3); max-width: 76ch; }
a  { color: var(--positive); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
strong { color: var(--navy); font-weight: 650; }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.5; max-width: 68ch; }
/* Text is left-aligned across the site. .center survives only for the rare
   element that genuinely needs it, and no longer centres child paragraphs. */
.center { text-align: center; }
.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;
}
.skip {
  position:absolute; left:var(--s2); top:-4rem; z-index:100;
  background:var(--positive); color:#fff; padding:var(--s2) var(--s3);
  border-radius:var(--radius); font-weight:600; transition:top .15s;
}
.skip:focus { top: var(--s2); color:#fff; }

/* --------------------------------------------------------------- eyebrow */
.eyebrow {
  display: block;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--positive);
  margin-bottom: var(--s2);
}
.eyebrow--global { color: var(--royal-ink); }
.eyebrow--light  { color: #7BE8C0; }
.eyebrow--light-global { color: #A8BCFF; }

/* --------------------------------------------------------------- buttons */
/* Emerald only. There is deliberately no royal-blue button class.
   ACCESSIBILITY NOTE: the button FILL is --positive #047857, not --emerald
   #059669. White text on #059669 measures 3.77:1, which fails WCAG AA for
   normal-size text (4.5:1 required). #047857 measures 5.48:1 and passes.
   Both are brand values from brand.json - nothing invented. #059669 stays as
   the identity accent on rules, bullets and nav underlines, where it carries
   no text and the contrast rule does not apply. */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem;
  font-size: var(--step-0); font-weight: 650; font-family: inherit;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn--primary { background: var(--positive); color: #fff; }
.btn--primary:hover { background: var(--emerald-deep); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--offwhite); }
.btn--on-navy { background: var(--positive); color: #fff; }
.btn--on-navy:hover { background: var(--emerald); color: #fff; }
.btn--ghost-on-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-on-navy:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: var(--s3); padding: .8rem 0; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 1.15rem; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav__links a {
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: var(--step--1);
  padding: .4rem 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav__links a:hover { color: var(--navy); border-bottom-color: var(--emerald); }
.nav__links a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--emerald); }
.nav__cta { margin-left: var(--s3); }
.nav__cta .btn { padding: .6rem 1.1rem; font-size: var(--step--1); }
.nav__toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: .5rem .7rem; cursor: pointer; margin-left: auto; }

@media (max-width: 1010px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--border); padding: var(--s2) 1.25rem var(--s3);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .75rem 0; border-bottom: 1px solid var(--border); }
  .nav__cta { margin-left: var(--s2); order: 3; }
  .nav__cta .btn { padding: .55rem .9rem; }
}

@media (max-width: 560px) {
  .nav { gap: var(--s2); }
  .nav__logo img { height: 26px; }
  .nav__cta { margin-left: auto; }
  .nav__cta .btn { padding: .5rem .7rem; font-size: .78rem; white-space: nowrap; }
  .nav__toggle { padding: .4rem .55rem; margin-left: 0; }
}

/* -------------------------------------------------------------- sections */
.section { padding: var(--s7) 0; }
.section--tight { padding: var(--s6) 0; }
.section--alt { background: var(--offwhite); }
.section--navy { background: var(--navy); color: #E8EAF4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #C3C8DE; }
.section--navy strong { color: #fff; }
.section__head { max-width: 72ch; margin-bottom: var(--s5); }
.section__head.center { margin-inline: auto; }

/* ------------------------------------------------------------------ hero */
.hero { padding: var(--s6) 0 var(--s5); background: var(--white); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s6); align-items: center; }
.hero p.lede { margin-bottom: var(--s4); }
.hero__portrait img { border-radius: var(--radius); box-shadow: var(--shadow); max-height: 520px; width: 100%; object-fit: cover; }
.hero--global { background: linear-gradient(180deg, #F4F6FF 0%, #FFFFFF 100%); }
.hero__stagemark { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.hero__stagemark img { height: 46px; width: auto; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s4); }
  /* Text first, photo second. The H1 has to be the first thing seen. */
  .hero__portrait { max-width: 340px; }
  .hero__portrait img { max-height: 380px; }
}

/* ----------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); border-top: 1px solid var(--border); padding-top: var(--s4); }
.stat__num { display: block; font-size: var(--step-2); font-weight: 750; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.stat__label { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: var(--s3) var(--s2); } }

/* =========================================================================
   SIGNATURE ELEMENT - the two-stage journey
   This is the block that replaces two websites. Two panels sharing one spine.
   The spine encodes something true: these are sequential stages, not options.
   ========================================================================= */
.journey { display: grid; grid-template-columns: 1fr 76px 1fr; align-items: stretch; }
.stage {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s4); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.stage::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; }
.stage--grow::before   { background: var(--emerald); }
.stage--global::before { background: var(--royal); }
.stage__num {
  font-size: var(--step--1); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: var(--s2);
}
.stage--grow   .stage__num { color: var(--positive); }
.stage--global .stage__num { color: var(--royal-ink); }
.stage h3 { margin-bottom: var(--s2); }
.stage__pains { list-style: none; padding: 0; margin: 0 0 var(--s3); }
.stage__pains li { position: relative; padding-left: 1.4rem; margin-bottom: .4rem; color: var(--muted); font-size: var(--step--1); }
.stage__pains li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; }
.stage--grow   .stage__pains li::before { background: var(--emerald); }
.stage--global .stage__pains li::before { background: var(--royal); }
.stage__fix { font-weight: 600; color: var(--navy); margin-bottom: var(--s3); }
.stage__link { margin-top: auto; font-weight: 650; text-decoration: none; display: inline-flex; gap: .4rem; }
.stage--grow   .stage__link { color: var(--positive); }
.stage--global .stage__link { color: var(--royal-ink); }
.stage__link:hover { text-decoration: underline; }

/* the spine - the visual argument that these are one journey */
.journey__spine { position: relative; display: flex; align-items: center; justify-content: center; }
.journey__spine::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--royal));
}
.journey__spine span {
  position: relative; background: var(--offwhite); border: 2px solid var(--border);
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; color: var(--navy); font-weight: 700; font-size: .85rem;
}
.journey__note { margin-top: var(--s3); font-size: var(--step--1); color: var(--muted); text-align: center; max-width: 58ch; margin-inline: auto; }

@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; gap: var(--s2); }
  .journey__spine { height: 56px; }
  .journey__spine::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--emerald), var(--royal)); }
}

/* ----------------------------------------------------------------- cards */
.grid { display: grid; gap: var(--s3); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s4); }
.card h3 { margin-bottom: var(--s2); }
.card p:last-child { margin-bottom: 0; }
.card--alt { background: var(--offwhite); }
.card__kicker { font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--positive); display: block; margin-bottom: var(--s1); }
.card--global .card__kicker { color: var(--royal-ink); }
.card--global { border-left: 3px solid var(--royal); }

/* ------------------------------------------------------------ plan steps */
.plan { counter-reset: step; display: grid; gap: var(--s4); grid-template-columns: repeat(3, 1fr); }
.plan__item { position: relative; padding-top: var(--s4); border-top: 2px solid var(--border); }
.plan__item::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -19px; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--positive); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
}
.plan__item h3 { margin: var(--s2) 0 var(--s1); }
.plan__item p { font-size: var(--step--1); color: var(--muted); margin: 0; }
@media (max-width: 780px) { .plan { grid-template-columns: 1fr; gap: var(--s5); } }

/* --------------------------------------------------------------- ladder */
.ladder { width: 100%; border-collapse: collapse; margin-bottom: var(--s3); }
.ladder th, .ladder td { text-align: left; padding: .9rem .8rem; border-bottom: 1px solid var(--border); vertical-align: top; font-size: var(--step--1); }
.ladder th { color: var(--navy); font-weight: 700; border-bottom-width: 2px; white-space: nowrap; }
.ladder td:first-child { white-space: nowrap; font-weight: 600; color: var(--muted); }
.ladder .name { color: var(--navy); font-weight: 650; }
.ladder .price { white-space: nowrap; font-weight: 650; color: var(--navy); }
.tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .16rem .45rem; border-radius: 4px; vertical-align: middle; }
.tag--grow   { background: #E3F5EE; color: var(--positive); }
.tag--global { background: #EAEEFF; color: var(--royal-ink); }
.tag--both   { background: var(--offwhite); color: var(--muted); border: 1px solid var(--border); }
.tag--new    { background: #FEF3E2; color: #92400E; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ------------------------------------------------------------- callouts */
.callout { border-left: 3px solid var(--emerald); background: var(--offwhite); padding: var(--s3) var(--s4); border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: var(--s3); }
.callout--global { border-left-color: var(--royal); background: #F4F6FF; }
.callout--warn { border-left-color: var(--warn); background: #FEF9F0; }
.callout p:last-child { margin-bottom: 0; }
.callout h3 { font-size: var(--step-1); margin-bottom: var(--s2); }

/* ------------------------------------------------------------ quote/proof */
.quote { border-left: 3px solid var(--emerald); padding-left: var(--s3); margin: var(--s3) 0; }
.quote p { font-size: var(--step-1); color: var(--navy); font-style: normal; margin-bottom: var(--s1); line-height: 1.45; }
.quote cite { font-style: normal; font-size: var(--step--1); color: var(--muted); }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: var(--s3); align-items: center; }
.logo-wall img {
  max-height: 40px; max-width: 100%; width: auto; margin-inline: auto;
  filter: grayscale(1); opacity: .62; transition: filter .2s, opacity .2s;
}
/* Without max-width a wide lockup blows past its cell: at 40px tall a 9:1 logo
   wants 364px in a 118px cell. Wide marks get two columns so they stay legible
   rather than being squeezed to a sliver. */
.logo-wall img.is-wide { grid-column: span 2; max-height: 34px; }
@media (max-width: 480px) { .logo-wall img.is-wide { grid-column: span 2; } }
.logo-wall img:hover { filter: none; opacity: 1; }

/* ---------------------------------------------------------------- ticks */
.ticks { list-style: none; padding: 0; margin: 0 0 var(--s3); }
.ticks li { position: relative; padding-left: 1.85rem; margin-bottom: .6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.1rem; height: .58rem; border-left: 2.5px solid var(--emerald); border-bottom: 2.5px solid var(--emerald);
  transform: rotate(-45deg);
}
.section--navy .ticks li::before { border-color: #34D399; }
.ticks--global li::before { border-color: var(--royal); }

/* -------------------------------------------------------------- timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.timeline__item { border-top: 3px solid var(--royal); padding-top: var(--s3); }
.timeline__day { display: block; font-size: var(--step-2); font-weight: 750; color: var(--navy); letter-spacing: -.02em; }
.timeline__item p { font-size: var(--step--1); color: var(--muted); margin: var(--s1) 0 0; }
@media (max-width: 780px) { .timeline { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ FAQ */
.faq details { border-bottom: 1px solid var(--border); padding: var(--s3) 0; }
.faq summary { cursor: pointer; font-weight: 650; color: var(--navy); font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; gap: var(--s3); align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--emerald); font-weight: 700; font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { margin-top: var(--s2); }
.faq p { color: var(--muted); margin-bottom: var(--s2); }

/* ----------------------------------------------------------------- form */
.form { max-width: 460px; }
.field { margin-bottom: var(--s3); }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .35rem; font-size: var(--step--1); }
.field input {
  width: 100%; padding: .75rem .9rem; font-family: inherit; font-size: var(--step-0);
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.field input:focus { border-color: var(--emerald); outline: 3px solid rgba(5,150,105,.2); outline-offset: 0; }
.fineprint { font-size: var(--step--1); color: var(--muted); }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #C3C8DE; padding: var(--s6) 0 var(--s4); }
.site-footer a { color: #C3C8DE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--s4); margin-bottom: var(--s5); }
.footer__brand img { height: 40px; width: auto; margin-bottom: var(--s3); }
.footer__tagline { color: #fff; font-size: var(--step-1); font-weight: 600; max-width: 22ch; line-height: 1.3; }
.footer__col h4 { color: #fff; font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s2); }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: .5rem; font-size: var(--step--1); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: var(--s3); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); justify-content: space-between; font-size: var(--step--1); }
@media (max-width: 900px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; gap: var(--s4); } }

/* -------------------------------------------------------------- utility */
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--s4); }
.mt-5 { margin-top: var(--s5); }
.crosslink { border-top: 1px solid var(--border); padding-top: var(--s4); margin-top: var(--s5); }
.crosslink p { margin-bottom: 0; }

/* ============================================================ scorecard app */
.sc-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:var(--s4); max-width:660px; margin-inline:auto; }
.sc-center { text-align:center; }
.sc-center p { margin-inline:auto; }
.sc-progress { height:4px; background:var(--border); border-radius:2px; margin-bottom:var(--s3); overflow:hidden; }
.sc-progress span { display:block; height:100%; background:var(--emerald); transition:width .25s ease; }
.sc-meta { font-size:var(--step--1); color:var(--muted); margin-bottom:var(--s2); display:flex; gap:.6rem; align-items:center; flex-wrap:wrap; }
.sc-dim { background:var(--offwhite); border:1px solid var(--border); border-radius:20px; padding:.12rem .6rem; font-weight:600; color:var(--navy); }
.sc-q { font-size:var(--step-1); margin-bottom:var(--s3); }
.sc-options { display:grid; gap:.55rem; margin-bottom:var(--s3); }
.sc-opt { text-align:left; font:inherit; font-size:var(--step-0); padding:.8rem 1rem; border:1px solid var(--border); background:#fff; border-radius:var(--radius); cursor:pointer; color:var(--ink); transition:border-color .12s, background .12s; }
.sc-opt:hover { border-color:var(--emerald); background:var(--offwhite); }
.sc-opt.is-on { border-color:var(--positive); background:#E9F6F1; font-weight:600; color:var(--navy); }
.sc-nav { display:flex; justify-content:space-between; }
.sc-back { background:none; border:none; font:inherit; font-size:var(--step--1); color:var(--muted); cursor:pointer; padding:.4rem 0; }
.sc-back:hover { color:var(--navy); text-decoration:underline; }
.sc-note { font-size:var(--step--1); color:var(--muted); }
.sc-err { color:var(--negative); font-size:var(--step--1); font-weight:600; margin-bottom:var(--s2); }
.sc-card select { width:100%; padding:.75rem .9rem; font-family:inherit; font-size:var(--step-0); border:1px solid var(--border); border-radius:var(--radius); background:#fff; color:var(--ink); }
.sc-card select:focus { border-color:var(--emerald); outline:3px solid rgba(5,150,105,.2); }
.sc-score { display:flex; align-items:baseline; gap:.6rem; margin-bottom:var(--s2); }
.sc-score strong { font-size:clamp(3rem, 2rem + 4vw, 4.5rem); line-height:1; color:var(--positive); letter-spacing:-.03em; }
.sc-score span { color:var(--muted); font-size:var(--step--1); }
.sc-score--global strong { color:var(--royal-ink); }
.sc-bars { display:grid; gap:.5rem; margin:var(--s3) 0; }
.sc-bar { display:grid; grid-template-columns:9rem 1fr 2.2rem; gap:.7rem; align-items:center; font-size:var(--step--1); }
.sc-bar__label { color:var(--navy); font-weight:600; }
.sc-bar__track { background:var(--border); border-radius:4px; height:9px; overflow:hidden; }
.sc-bar__fill { display:block; height:100%; background:var(--emerald); border-radius:4px; }
.sc-bars--global .sc-bar__fill { background:var(--royal); }
.sc-bar__pct { text-align:right; color:var(--muted); font-variant-numeric:tabular-nums; }
@media (max-width:560px) { .sc-bar { grid-template-columns:7rem 1fr 2rem; gap:.5rem; font-size:.8rem; } }

/* ------------------------------------------------------------ calendly embed
   The widget's iframe is height:100%, so the container needs a DEFINITE height,
   not a min-height. With only a min-height Calendly falls back to a 150px iframe
   and the booker sees a permanent loading spinner.
   The element must also carry .calendly-inline-widget - that is what Calendly's
   own script auto-initialises and resizes. */
.cal-embed { width: 100%; min-width: 320px; height: 1020px; }
@media (max-width: 900px) { .cal-embed { height: 1080px; } }
@media (max-width: 640px) { .cal-embed { height: 1320px; } }

/* The booking page is a single-task page. Tighten the run-in so the calendar is
   near the top of the fold instead of a screen-and-a-half down. */
#calendar { padding-top: var(--s3); }
.page-book .hero { padding-bottom: var(--s3); }

/* ------------------------------------------------- track signalling: Grow
   Mirrors the Go Global treatment so a reader always knows which track a page
   belongs to. Emerald = Grow, royal blue = Go Global. Buttons stay emerald on
   BOTH tracks - the colour says where you are, never what to click. */
.hero--grow { background: linear-gradient(180deg, #F1FAF6 0%, #FFFFFF 100%); }
.card--grow { border-left: 3px solid var(--emerald); }
.card--grow .card__kicker { color: var(--positive); }
.track-note { font-size: var(--step--1); color: var(--muted); margin-top: var(--s2); }
.track-chip { display:inline-flex; align-items:center; gap:.4rem; font-size:.72rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; padding:.2rem .55rem; border-radius:20px; }
.track-chip--grow { background:#E3F5EE; color:var(--positive); }
.track-chip--global { background:#EAEEFF; color:var(--royal-ink); }

/* --------------------------------------------------------- client logos
   Case study pages and the results cards. Constrained by height so wide and
   tall marks sit on the same optical line, and left-aligned so the eye reads
   logo then name rather than hunting for a centre. */
.client-logo { display:block; max-height:52px; max-width:190px; width:auto; height:auto; margin:0 0 var(--s3); }
.client-logo--sm { max-height:38px; max-width:150px; margin-bottom: var(--s2); }

/* The Enztec mark is white-on-dark with a baked background and no transparency,
   so on a white card it reads as a black rectangle. Sitting it on a navy tile
   makes it look deliberate rather than broken. Replace with a transparent or
   light-background file when one is available, then drop the --tile class. */
.client-logo--tile { border-radius: 8px; }

/* =============================================== the four-step offer ladder
   Replaces a 12-row comparison table. A table invites weighing everything at
   once; this asks for one decision at a time, each step created by the last.
   The connecting spine is the same device as the two-stage module. */
.step { display: grid; grid-template-columns: 56px 1fr; gap: var(--s3); position: relative; padding-bottom: var(--s5); }
.step::before { content: ""; position: absolute; left: 27px; top: 52px; bottom: 0; width: 2px; background: var(--border); }
.step--last::before { display: none; }
.step__num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 750; font-size: 1.35rem; position: relative; z-index: 1;
}
.step__body { padding-top: 2px; }
.step__head { display: flex; gap: var(--s3); align-items: baseline; justify-content: space-between; flex-wrap: wrap; margin-bottom: var(--s3); }
.step__head h3 { margin-bottom: .3rem; font-size: var(--step-2); }
.step__q { color: var(--muted); font-size: var(--step--1); margin: 0; max-width: 60ch; }
.step__price { font-weight: 700; color: var(--muted); font-size: var(--step--1); white-space: nowrap; }

.offer {
  display: grid; grid-template-columns: 1fr 232px; gap: var(--s4);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s4); margin-bottom: var(--s2); background: #fff;
}
.offer--global { border-left: 3px solid var(--royal); }
.offer--core { border-left: 3px solid var(--emerald); background: var(--offwhite); }
.offer__main h4 { color: var(--navy); font-size: var(--step-1); margin-bottom: .5rem; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.offer__main p { font-size: var(--step--1); margin-bottom: .6rem; }
.offer__main p:last-child { margin-bottom: 0; }
.offer__credit { color: var(--positive); font-weight: 550; }
.offer--global .offer__credit { color: var(--royal-ink); }
.offer__list { list-style: none; padding: 0; margin: 0 0 .7rem; }
.offer__list li { position: relative; padding-left: 1.1rem; font-size: var(--step--1); color: var(--muted); margin-bottom: .3rem; }
.offer__list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--emerald); }
.offer__act { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; justify-content: flex-start; }
.offer__price { font-size: var(--step-2); font-weight: 750; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.offer__price small { display: block; font-size: var(--step--1); font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: .15rem; }
.offer__price--alt { font-size: var(--step-1); }
.offer__act .btn { margin-top: .3rem; }

@media (max-width: 820px) {
  .offer { grid-template-columns: 1fr; gap: var(--s3); }
  .offer__act { flex-direction: row; align-items: center; flex-wrap: wrap; gap: var(--s3); }
  .offer__price--alt { width: 100%; }
}
@media (max-width: 560px) {
  .step { grid-template-columns: 40px 1fr; gap: var(--s2); }
  .step::before { left: 19px; top: 44px; }
  .step__num { width: 38px; height: 38px; font-size: 1.05rem; }
  .offer { padding: var(--s3); }
}

/* ------------------------------------------------- measure inside containers
   A card, callout or offer is already narrow, so the global 76ch cap on <p> just
   wastes the width and forces an extra line. Let text fill its container. */
.card p, .card li, .callout p, .offer__main p, .offer__list li,
.stage p, .stage li, .step__q, .quote p, .timeline__item p { max-width: none; }
.section__head.center, .wrap.center { margin-inline: auto; }
.btn-row { justify-content: flex-start; }

/* -------------------------------------------------- article library filter
   One library, both stages. Filtering rather than splitting keeps a single URL,
   one place to maintain, and lets a reader who does not yet know their stage
   see everything. Every card is in the DOM regardless, so nothing is hidden
   from a crawler. */
.lib-note { color: var(--muted); margin: .4rem 0 1rem; }
.lib-filter { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.lib-btn {
  font: inherit; font-size: var(--step--1); font-weight: 600; cursor: pointer;
  padding: .5rem 1rem; border-radius: 24px; border: 1px solid var(--border);
  background: #fff; color: var(--muted); display: inline-flex; align-items: center; gap: .45rem;
  transition: border-color .12s, color .12s, background .12s;
}
.lib-btn:hover { border-color: var(--navy); color: var(--navy); }
.lib-btn .lib-n { font-size: .74rem; font-weight: 700; opacity: .65; }
.lib-btn.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.lib-btn--grow.is-on { background: var(--positive); border-color: var(--positive); }
.lib-btn--global.is-on { background: var(--royal-ink); border-color: var(--royal-ink); }
.lib-empty { color: var(--muted); }
.art-card[data-track="global"] { border-left: 3px solid var(--royal); }
.art-card[data-track="grow"] { border-left: 3px solid var(--emerald); }

/* ------------------------------------------------------ interest capture form
   Used by the Sell More Tech course registration. Shares .field and .btn with
   the rest of the site; these are the pieces that did not exist yet. */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.opt { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.check { display: flex; gap: .6rem; align-items: flex-start; margin: var(--s3) 0; font-size: var(--step--1); color: var(--muted); cursor: pointer; }
.check input { margin-top: .2rem; flex: none; }
.form-msg { font-size: var(--step--1); margin: 0 0 var(--s2); min-height: 1px; }
.form-msg--bad { color: var(--negative); font-weight: 600; }
.form-msg--good { color: var(--positive); font-weight: 600; }
/* Honeypot: off-screen rather than display:none, so bots still fill it in. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.btn--sm { padding: .5rem .9rem; font-size: var(--step--1); }
