/* ============================================================
   WTP GOLD — two-doors pages only (Sep 2026).
   Four-service layout + the Stitch-led gold direction. Loaded after
   wtp-two-doors.css by /** only, so the s4 comparison
   variant (which also loads wtp-two-doors.css) is unaffected.
   ============================================================ */

/* ── FOUR-SERVICE LAYOUT (Sep 2026) ──────────────────────────────────────
   The homepage now leads with the four services (Direct / Build / Run /
   Move) instead of two buyer doors. Each service keeps exactly one signal
   colour everywhere it appears: one = Direct (gold), two = Build (teal),
   three = Run (amber), four = Move (indigo). */
.td-hero__proof {
  font-size: 0.85rem; color: var(--muted); margin: -2.25rem 0 2.5rem; max-width: 60ch;
  padding-left: 0.9rem; border-left: 2px solid var(--signal-one);
}

/* 2×2 service doors in the hero */
.td-doors--four { max-width: 1100px; }
.td-doors--four .td-door { border-right: none; padding: 2rem 1.9rem; }
.td-doors--four .td-door:nth-child(odd) { border-right: 1px solid var(--line); }
.td-doors--four .td-door:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.td-door__num { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 1rem; position: relative; z-index: 1; }
.td-doors--four .td-door__title { font-size: clamp(1.15rem, 1rem + 1cqi, 1.45rem); }
.td-doors--four .td-door__desc { margin-bottom: 1.4rem; }
@media (max-width: 760px) {
  .td-doors--four .td-door:nth-child(odd) { border-right: none; }
  .td-doors--four .td-door:not(:last-child) { border-bottom: 1px solid var(--line); }
}
.td-door--three { border-top-color: var(--signal-three); background: linear-gradient(180deg, rgba(0,212,255,0.07) 0%, rgba(10,15,36,0.55) 22%); }
.td-door--four  { border-top-color: var(--signal-four);  background: linear-gradient(180deg, rgba(201,168,76,0.08) 0%, rgba(10,15,36,0.55) 22%); }
.td-door--three .td-door__icon { border-color: rgba(0,212,255,0.4); background: rgba(0,212,255,0.08); }
.td-door--four  .td-door__icon { border-color: rgba(201,168,76,0.4); background: rgba(201,168,76,0.08); }
.td-door--three .td-door__icon svg { stroke: var(--signal-three); }
.td-door--four  .td-door__icon svg { stroke: var(--signal-four); }
.td-door--three .td-door__tag { color: var(--signal-three); }
.td-door--three .td-door__tag::before { background: var(--signal-three); }
.td-door--four  .td-door__tag { color: var(--signal-four); }
.td-door--four  .td-door__tag::before { background: var(--signal-four); }
.td-door--three .td-door__cta { border-color: var(--signal-three); color: var(--ink); background: var(--signal-three); }
.td-door--four  .td-door__cta { border-color: var(--signal-four);  color: var(--ink); background: var(--signal-four); }
.td-door--three .td-door__cta:hover { box-shadow: 0 0 0 3px rgba(0,212,255,0.25); }
.td-door--four  .td-door__cta:hover { box-shadow: 0 0 0 3px rgba(201,168,76,0.25); }
.td-doors .td-door__cta:hover { color: var(--ink); }

/* "What we hear" — four complaints, 2×2 */
.td-teasers__grid--four .td-teaser { border-right: none; }
.td-teasers__grid--four .td-teaser:nth-child(odd) { border-right: 1px solid var(--line); }
.td-teaser--three { border-top: 2px solid var(--signal-three); }
.td-teaser--four  { border-top: 2px solid var(--signal-four); }
.td-teaser--three .td-teaser__tag, .td-teaser--three .td-teaser__link { color: var(--signal-three); }
.td-teaser--four  .td-teaser__tag, .td-teaser--four  .td-teaser__link { color: var(--signal-four); }
.td-teaser__missing { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.25rem; }
.td-teaser__missing strong { color: var(--white); font-weight: 600; }
.td-teasers__close { max-width: 62ch; margin: 2.5rem auto 0; text-align: center; font-size: 1.05rem; color: rgba(255,255,255,0.86); line-height: 1.7; position: relative; z-index: 1; }
@media (max-width: 760px) {
  .td-teasers__grid--four .td-teaser:nth-child(odd) { border-right: none; }
}

/* "Why it hasn't been fixed" / "What it costs" — two ruled ledgers */
.td-problem { padding: 7rem 0; background: var(--navy-deep); position: relative; }
.td-problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.td-problem .section-eyebrow, .td-problem .section-h2 { text-align: left; margin-left: 0; }
.td-problem .section-h2 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem); margin-bottom: 1.75rem; }
.td-ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: ledger; }
.td-ledger li {
  counter-increment: ledger; position: relative;
  padding: 1.1rem 0 1.1rem 2.75rem; border-bottom: 1px solid var(--line);
  font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.65;
}
.td-ledger li::before {
  content: counter(ledger, decimal-leading-zero); position: absolute; left: 0; top: 1.2rem;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 700; color: var(--signal-one);
}
.td-ledger li strong { color: var(--white); }
.td-ledger--danger li::before { color: var(--danger); }
@media (max-width: 900px) { .td-problem__grid { grid-template-columns: 1fr; gap: 3rem; } }

/* Four fixed-price front doors */
.td-start__grid--four { max-width: 1100px; grid-template-columns: repeat(2, 1fr); }
.td-start__grid--four .td-start__card { display: flex; flex-direction: column; border-top: 3px solid var(--line); border-radius: 16px; }
.td-start__grid--four .td-start--one   { border-top-color: var(--signal-one); }
.td-start__grid--four .td-start--two   { border-top-color: var(--signal-two); }
.td-start__grid--four .td-start--three { border-top-color: var(--signal-three); }
.td-start__grid--four .td-start--four  { border-top-color: var(--signal-four); }
.td-start--three .td-start__tag { color: var(--signal-three); }
.td-start--four  .td-start__tag { color: var(--signal-four); }
.td-start__meta { font-family: var(--mono); font-size: 0.75rem; color: var(--white); margin-bottom: 0.75rem; letter-spacing: 0.02em; }
.td-start__grid--four .td-start__price { font-size: 0.92rem; line-height: 1.65; flex: 1; }
.td-start__grid--four .btn-primary, .td-start__grid--four .btn-secondary { align-self: flex-start; }
.td-start__note { text-align: center; margin: 2.5rem auto 0; color: var(--muted); font-size: 1rem; }
.td-start__note strong { color: var(--white); }
@media (max-width: 760px) { .td-start__grid--four { grid-template-columns: 1fr; } }

/* Evidence — four text-backed proof points */
.td-evidence__row--four { grid-template-columns: repeat(4, 1fr); max-width: 1100px; }
.td-evidence__row--four .td-evidence__stat { text-align: left; padding: 1.75rem 1.5rem; }
.td-evidence__kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.6rem; }
.td-evidence__detail { font-size: 0.85rem; color: rgba(255,255,255,0.72); line-height: 1.6; margin-top: 0.75rem; }
@media (max-width: 1000px) {
  .td-evidence__row--four { grid-template-columns: repeat(2, 1fr); }
  .td-evidence__row--four .td-evidence__stat:nth-child(2) { border-right: none; }
  .td-evidence__row--four .td-evidence__stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) { .td-evidence__row--four { grid-template-columns: 1fr; } }
.td-evidence__privacy { max-width: 70ch; margin: 0 auto; text-align: center; font-size: 0.9rem; color: var(--muted); position: relative; z-index: 1; }

/* Whichever seat you're in */
.td-seats { padding: 7rem 0; background: var(--navy); position: relative; }
.td-seats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.td-seat { padding: 1.75rem 1.5rem; border-right: 1px solid var(--line); }
.td-seat:last-child { border-right: none; }
.td-seat__role { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; color: var(--signal-two); margin-bottom: 0.75rem; }
.td-seat p { font-size: 0.95rem; color: rgba(255,255,255,0.82); line-height: 1.6; margin: 0; }
@media (max-width: 900px) {
  .td-seats__grid { grid-template-columns: 1fr 1fr; }
  .td-seat:nth-child(2) { border-right: none; }
  .td-seat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .td-seats__grid { grid-template-columns: 1fr; }
  .td-seat { border-right: none; border-bottom: 1px solid var(--line); }
  .td-seat:last-child { border-bottom: none; }
}

/* FAQ accordion — native <details>/<summary> */
.td-faq { padding: 7rem 0; background: var(--navy-deep); }
.td-faq__list { max-width: 820px; margin: 0 auto; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.td-faq__item { border-bottom: 1px solid var(--line); }
.td-faq__item:last-child { border-bottom: none; }
.td-faq__q {
  cursor: pointer; list-style: none; padding: 1.25rem 1.5rem;
  font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: background 0.2s;
}
.td-faq__q:hover { background: rgba(255,255,255,0.03); }
.td-faq__q:focus-visible { outline: 2px solid var(--signal-two); outline-offset: -2px; }
.td-faq__q::-webkit-details-marker { display: none; }
.td-faq__q::after { content: '+'; flex: none; font-weight: 400; font-size: 1.4rem; color: var(--signal-two); line-height: 1; transition: transform 0.2s; }
.td-faq__item[open] .td-faq__q::after { transform: rotate(45deg); }
.td-faq__a { margin: 0; padding: 0 1.5rem 1.5rem; font-size: 0.95rem; color: rgba(255,255,255,0.78); line-height: 1.7; }

/* Service pages — "what we do / what you get / how it starts" blocks */
[data-stage="direct"] { --stage: var(--signal-one); }
[data-stage="build"]  { --stage: var(--signal-two); }
[data-stage="run"]    { --stage: var(--signal-three); }
[data-stage="move"]   { --stage: var(--signal-four); }
.td-svc-body { padding: 6rem 0; background: var(--navy); position: relative; }
.td-svc-body--alt { background: var(--navy-deep); }
.td-svc-body .section-header { margin-bottom: 2.5rem; }
.td-svc-body .section-eyebrow { color: var(--stage, var(--signal-two)); }
.td-svc-prose { max-width: 70ch; margin: 0 auto; }
.td-svc-prose p { font-size: 1.02rem; color: rgba(255,255,255,0.84); line-height: 1.75; margin: 0 0 1.25rem; }
.td-svc-prose .td-svc-callout { border-left: 3px solid var(--stage, var(--signal-two)); padding-left: 1.1rem; color: var(--white); }
.td-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-width: 1100px; margin: 0 auto; }
.td-svc-grid > div { padding: 1.75rem 1.5rem; border-right: 1px solid var(--line); border-top: 2px solid var(--stage, var(--signal-two)); }
.td-svc-grid > div:last-child { border-right: none; }
.td-svc-grid h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.6rem; }
.td-svc-grid p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; margin: 0; }
.td-svc-grid + .td-svc-prose { margin-top: 2rem; }
@media (max-width: 760px) {
  .td-svc-grid > div { border-right: none; border-bottom: 1px solid var(--line); }
  .td-svc-grid > div:last-child { border-bottom: none; }
}
.td-svc-offer {
  max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
  padding: 2.25rem; border: 1px solid var(--line); border-top: 3px solid var(--stage, var(--signal-two)); border-radius: 16px;
  background: rgba(255,255,255,0.03);
}
.td-svc-offer__dur { font-family: var(--mono); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--stage, var(--signal-two)); white-space: nowrap; }
.td-svc-offer h3 { font-size: 1.3rem; font-weight: 700; margin: 0 0 0.5rem; }
.td-svc-offer p { color: rgba(255,255,255,0.82); line-height: 1.65; margin: 0 0 1.25rem; }
.td-svc-offer__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
@media (max-width: 640px) { .td-svc-offer { grid-template-columns: 1fr; gap: 1rem; padding: 1.75rem; } }
.td-svc-next { max-width: 70ch; margin: 0 auto; text-align: center; color: var(--muted); line-height: 1.7; }
.td-svc-next a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.td-svc-next strong { color: var(--white); letter-spacing: 0.06em; }

/* ── STITCH LAYER (Sep 2026) ──────────────────────────────────────────────
   Visual direction taken from the "WealthTech Pros Website Redesign" Stitch
   project: warm amber-gold as the wealth signifier — gradient-gold highlight
   words, gold action buttons, uppercase mono chips with a gold dot, dark
   rounded panels with big gold numerals, and a "framework track" stage bar.
   Gold now means "wealth / take action"; the four service colours survive
   only as small identifiers (tags, top rules) so each service stays
   recognisable. */
:root {
  --gold-hi: #FFD36E;
  --gold-mid: #F5B23E;
  --gold-lo: #E0952B;
  --gold-grad: linear-gradient(120deg, var(--gold-hi) 0%, var(--gold-mid) 45%, var(--gold-lo) 100%);
  --panel: #0E1830;
  --panel-2: #121E3A;
  --panel-line: rgba(255,255,255,0.08);
  --label-blue: #8DB8FF;
  /* Services take their door's colour everywhere: door 1 (gold) = Direct and
     Move, door 2 (teal) = Build and Run. */
  --signal-three: #00D4FF; /* Run — door 2 */
  --signal-four: #C9A84C;  /* Move — door 1 */
}

/* Gradient-gold highlight words */
.td-hero__claim em, .td-hero__claim em .td-word > span,
.section-h2 em, .td-final h2 em, .td-funnel__h2 em,
.page-hero__h1 em, .services-contact__h2 em {
  font-style: normal;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.td-hero__claim em { padding-right: 0.04em; }

/* Mono chips — eyebrows become small bordered labels with a gold dot */
.td-hero__eyebrow,
.section-eyebrow,
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono) !important; font-size: 0.68rem !important; font-weight: 600;
  letter-spacing: 0.1em !important;
  color: var(--gold-mid) !important;
  padding: 0.38rem 0.8rem; border: 1px solid rgba(245,178,62,0.35); border-radius: 6px;
  background: rgba(245,178,62,0.07);
}
.td-hero__eyebrow::before,
.section-eyebrow::before,
.page-hero__eyebrow::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-mid); box-shadow: 0 0 8px rgba(245,178,62,0.8); flex: none;
}
.td-hero__eyebrow { border-bottom: 1px solid rgba(245,178,62,0.35); margin-bottom: 1.75rem; }
.td-hero__eyebrow strong { color: var(--gold-hi); }
.section-header { text-align: center; }
.section-header .section-eyebrow { margin-bottom: 1rem; }
.td-svc-body .section-eyebrow { color: var(--gold-mid) !important; }

/* Buttons — gold for action, dark navy for the alternative */
.btn-primary {
  background: var(--gold-grad) !important; color: #1A1204 !important;
  border: none !important; border-radius: 8px !important; font-weight: 700 !important;
  box-shadow: 0 6px 20px rgba(245,178,62,0.22);
}
.btn-primary:hover, .btn-primary:focus-visible { box-shadow: 0 10px 30px rgba(245,178,62,0.38) !important; }
.btn-secondary {
  background: var(--panel-2) !important; color: var(--white) !important;
  border: 1px solid var(--panel-line) !important; border-radius: 8px !important;
}
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: rgba(245,178,62,0.5) !important; }
.wtp-nav__cta {
  background: var(--gold-grad) !important; color: #1A1204 !important; border: none !important;
  border-radius: 8px !important; font-weight: 700 !important; padding: 0.55rem 1.1rem !important;
}
.wtp-nav__cta:hover { box-shadow: 0 6px 20px rgba(245,178,62,0.35); }

/* Service doors — dark panels; the CTA is an outline in the service's own
   colour, keeping solid gold for the buying step further down the page */
.td-doors--four { border: none; overflow: visible; gap: 1.25rem; }
.td-doors--four .td-door {
  border: 1px solid var(--panel-line) !important; border-top: 3px solid var(--svc) !important;
  border-radius: 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--svc) 9%, var(--panel)) 0%, var(--panel) 38%) !important;
}
.td-doors--four .td-door:hover { border-color: color-mix(in srgb, var(--svc) 45%, transparent) !important; border-top-color: var(--svc) !important; }
.td-door--one   { --svc: var(--signal-one); }
.td-door--two   { --svc: var(--signal-two); }
.td-door--three { --svc: var(--signal-three); }
.td-door--four  { --svc: var(--signal-four); }
.td-doors--four .td-door__tag { font-family: var(--mono); letter-spacing: 0.1em; font-size: 0.66rem; }
.td-doors--four .td-door__cta {
  background: transparent !important; color: var(--svc) !important; border: 1px solid color-mix(in srgb, var(--svc) 55%, transparent) !important;
}
.td-doors--four .td-door__cta:hover { background: color-mix(in srgb, var(--svc) 12%, transparent) !important; color: var(--white) !important; box-shadow: none !important; }

/* Teasers, problem ledgers, seats, FAQ — rounded dark panels */
.td-teasers__grid, .td-seats__grid, .td-faq__list { background: var(--panel); border-color: var(--panel-line); border-radius: 14px; }
.td-teaser__pain { font-weight: 600; }
.td-ledger li::before { color: var(--gold-mid); }
.td-seat__role { color: var(--label-blue); font-family: var(--mono); }
.td-faq__q::after { color: var(--gold-mid); }

/* Start cards — the buying step: gold everywhere */
.td-start__grid--four .td-start__card {
  background: var(--panel) !important; border: 1px solid var(--panel-line) !important;
  border-top: 3px solid var(--gold-mid) !important; border-radius: 14px !important;
  padding: 2rem 1.9rem;
}
.td-start__grid--four .td-start__card:hover { border-color: rgba(245,178,62,0.45) !important; }
.td-start__tag { font-family: var(--mono) !important; letter-spacing: 0.12em !important; }
.td-start__meta { color: var(--gold-hi); }

/* Evidence — separate panels, big gold-gradient numerals, blue labels */
.td-evidence__row--four { border: none; overflow: visible; gap: 1rem; }
.td-evidence__row--four .td-evidence__stat {
  background: var(--panel); border: 1px solid var(--panel-line) !important; border-radius: 12px;
}
.td-evidence__num {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  font-size: clamp(2rem, 3.4vw, 2.7rem) !important; line-height: 1.1;
}
.td-evidence__kicker { font-family: var(--mono); color: var(--label-blue); }

/* Framework track — the stage bar under the nav on service pages */
.td-stepper {
  max-width: none; justify-content: center; gap: 0.5rem; padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--panel-line); background: rgba(10,15,36,0.6);
}
.td-stepper::before {
  content: 'Framework track'; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em;
  color: var(--muted); margin-right: 0.75rem; white-space: nowrap;
}
.td-stepper__node {
  border: 1px dashed rgba(141,184,255,0.45); border-radius: 8px; font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.08em; padding: 0.45rem 0.8rem;
}
.td-stepper__node--current {
  background: rgba(245,178,62,0.14) !important; color: var(--gold-hi) !important;
  border: 1px solid rgba(245,178,62,0.55) !important;
}
.td-stepper__node--current .num { background: var(--gold-mid) !important; color: #1A1204 !important; border-color: var(--gold-mid) !important; }
.td-stepper__arrow { color: rgba(255,255,255,0.3); }
@media (max-width: 640px) { .td-stepper::before { width: 100%; text-align: center; margin: 0 0 0.25rem; } }

/* Service-page offer panel — the buying step */
.td-svc-offer { background: var(--panel); border-color: var(--panel-line); border-top: 3px solid var(--gold-mid); }
.td-svc-offer__dur {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.td-svc-grid { background: var(--panel); border-color: var(--panel-line); border-radius: 14px; }
/* Tighten the flywheel → start transition (was ~16rem of empty space) */
.td-flywheel { padding-bottom: 6rem !important; }
.td-start { padding-top: 4.5rem !important; }
/* Service-page hero actions + synergy lead line */
.td-svc-hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; position: relative; z-index: 2; }
.page-hero .td-svc-lead { color: var(--gold-hi); font-weight: 600; margin-top: 1rem; }
/* Stitch wordmark: gold "Pros" */
.td-gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* Hero actions (Stitch: gold primary + dark secondary) */
.td-hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: -1rem 0 2.75rem; }

/* ── START HERE — "where does it hurt most?" picker ─────────────────────── */
.td-picker {
  display: grid; grid-template-columns: minmax(260px, 0.85fr) 1.5fr; gap: 1.25rem;
  max-width: 1100px; margin: 0 auto;
}
.td-picker__list { display: flex; flex-direction: column; gap: 0.6rem; }
.td-picker__tab {
  --stage: var(--signal-one);
  display: flex; flex-direction: column; gap: 0.35rem; text-align: left; width: 100%;
  padding: 1.1rem 1.25rem 1.1rem 1.4rem; cursor: pointer; position: relative;
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: 12px;
  color: var(--white); font: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.td-picker__tab[data-svc="build"] { --stage: var(--signal-two); }
.td-picker__tab[data-svc="run"]   { --stage: var(--signal-three); }
.td-picker__tab[data-svc="move"]  { --stage: var(--signal-four); }
.td-picker__tab::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0;
  background: var(--stage); opacity: 0.35; transition: opacity 0.2s;
}
.td-picker__tab:hover { border-color: rgba(245,178,62,0.35); transform: translateX(3px); }
.td-picker__tab:focus-visible { outline: 2px solid var(--gold-mid); outline-offset: 2px; }
.td-picker__tab[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(245,178,62,0.14), var(--panel) 70%);
  border-color: rgba(245,178,62,0.6);
}
.td-picker__tab[aria-selected="true"]::before { opacity: 1; background: var(--gold-mid); }
.td-picker__n { font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; color: var(--stage); }
.td-picker__q { font-size: 0.98rem; font-weight: 600; line-height: 1.4; color: rgba(255,255,255,0.9); }

.td-picker__panels { position: relative; }
.td-picker__panel {
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start;
  padding: 2.25rem; margin-bottom: 1rem; border-radius: 16px;
  background:
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(245,178,62,0.14), transparent 60%),
    var(--panel);
  border: 1px solid rgba(245,178,62,0.35); border-top: 3px solid var(--gold-mid);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.td-picker.is-enhanced .td-picker__panel { margin-bottom: 0; min-height: 100%; }
.td-picker.is-enhanced .td-picker__panel:not([hidden]) { animation: td-panel-in 0.35s var(--ease) both; }
@keyframes td-panel-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .td-picker.is-enhanced .td-picker__panel:not([hidden]) { animation: none; } }
.td-picker__dur {
  font-family: var(--mono); font-weight: 700; line-height: 1; white-space: nowrap;
  font-size: clamp(3rem, 6vw, 4.5rem);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.td-picker__dur small { display: block; font-size: 0.8rem; letter-spacing: 0.14em; margin-top: 0.5rem; }
.td-picker__tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--label-blue); margin: 0 0 0.6rem; }
.td-picker__body h3 { font-size: clamp(1.35rem, 1rem + 1.2vw, 1.75rem); font-weight: 700; margin: 0 0 1.1rem; }
.td-picker__gets { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.6rem; }
.td-picker__gets li { position: relative; padding-left: 1.6rem; color: rgba(255,255,255,0.86); line-height: 1.55; }
.td-picker__gets li::before {
  content: ''; position: absolute; left: 0; top: 0.45em; width: 0.8rem; height: 0.45rem;
  border-left: 2px solid var(--gold-mid); border-bottom: 2px solid var(--gold-mid); transform: rotate(-45deg);
}
.td-picker__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
@media (max-width: 860px) {
  .td-picker { grid-template-columns: 1fr; }
  .td-picker__list { display: grid; grid-template-columns: 1fr 1fr; }
  .td-picker__tab:hover { transform: none; }
}
@media (max-width: 560px) {
  .td-picker__list { grid-template-columns: 1fr; }
  .td-picker__panel { grid-template-columns: 1fr; gap: 1rem; padding: 1.75rem 1.4rem; }
}

/* ── CONTACT — pitch + "what happens next" beside the form ─────────────── */
.td-final__inner--split {
  max-width: 1100px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: start; text-align: left;
}
.td-final__inner--split .td-final__accent { margin: 0 0 1.75rem; }
.td-final__inner--split h2 { text-align: left; }
.td-final__inner--split p { margin-left: 0; margin-right: 0; }
.td-final__inner--split .contact-form { margin: 0; max-width: none; background: rgba(14,24,48,0.85); border-color: rgba(245,178,62,0.3); border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.td-final__inner--split .contact-form .btn-primary { border-radius: 0 0 14px 14px !important; padding: 1.05rem; font-size: 1rem; }
.td-next { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 1.1rem; }
.td-next li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.9rem; align-items: start; }
.td-next__n {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 700; color: #1A1204; background: var(--gold-grad);
  box-shadow: 0 0 0 4px rgba(245,178,62,0.15);
}
.td-next li:not(:last-child) .td-next__n { position: relative; }
.td-next strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; }
.td-next span:not(.td-next__n) { display: block; font-size: 0.92rem; color: var(--muted); line-height: 1.55; }
.td-final__direct { font-size: 0.92rem !important; color: var(--muted); }
.td-final__direct a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.td-form__picked {
  margin: 0; padding: 0.8rem 1.25rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--gold-hi); background: rgba(245,178,62,0.1); border-bottom: 1px solid rgba(245,178,62,0.3);
}
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form select:focus-visible { outline: none; }
.contact-form .field:focus-within { background: rgba(245,178,62,0.06); box-shadow: inset 3px 0 0 var(--gold-mid); }
.contact-form .field { transition: background 0.2s, box-shadow 0.2s; }
@media (max-width: 900px) {
  .td-final__inner--split { grid-template-columns: 1fr; gap: 2.5rem; }
}
.td-picker__panel[hidden] { display: none; }
.td-picker.is-enhanced .td-picker__panel { min-height: 0; height: 100%; }
.td-final .td-form__picked,
.td-final .wtp-contact-form__status { max-width: none !important; margin: 0 !important; font-size: 0.72rem !important; }
.td-final .wtp-contact-form__status { font-size: 0.85rem !important; }

/* Named client endorsements (Evidence page) */
.td-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 1100px; margin: 0 auto; }
.td-quote { margin: 0; padding: 2rem; background: var(--panel); border: 1px solid var(--panel-line); border-left: 3px solid var(--gold-mid); border-radius: 14px; display: flex; flex-direction: column; gap: 1.25rem; }
.td-quote blockquote { margin: 0; font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.88); }
.td-quote figcaption strong { display: block; color: var(--white); }
.td-quote figcaption span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--gold-mid); }
@media (max-width: 800px) { .td-quotes { grid-template-columns: 1fr; } }

/* ── SIMPLE FRONT PAGE (Sep 2026) ──────────────────────────────────────── */
.td-hero--simple { padding: clamp(7rem, 5rem + 7vw, 10rem) 0 5.5rem; }
.td-hero--simple .td-hero__inner { position: relative; z-index: 2; max-width: 920px; }
.td-hero--simple .td-hero__category { margin-bottom: 2.25rem; }
.td-hero--simple .td-hero__actions { margin: 0 0 2.25rem; }
.td-hero--simple .td-hero__proof { margin: 0; }

.td-processes { padding: 6rem 0 5rem; background: var(--navy); position: relative; }
.td-processes .td-doors--four { max-width: 1100px; margin: 0 auto; }
/* Always visible — no scroll-reveal dependency on this page */
.td-processes .td-door { opacity: 1 !important; transform: none !important; animation: none !important; padding: 2.1rem 2rem; }
.td-door__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.1rem; }
.td-door__head .td-door__icon { margin: 0; }
.td-door__head .td-door__tag { margin: 0; }
.td-processes .td-door__title { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); }
.td-processes .td-door__desc { font-size: 0.98rem; color: rgba(255,255,255,0.78); }
.td-processes__more { text-align: center; margin: 2.5rem 0 0; }
.td-processes__more a { color: var(--gold-hi); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ── NO ALL-CAPS — every label reads in normal case ─────────────────────── */
body *, body *::before, body *::after { text-transform: none !important; }
.td-hero__eyebrow, .section-eyebrow, .page-hero__eyebrow, .td-door__tag, .td-start__tag,
.td-evidence__kicker, .td-seat__role, .td-picker__n, .td-picker__tag, .td-picker__dur small,
.td-stepper__node, .td-stepper::before, .td-quote figcaption span, .td-trust__label,
.td-svc-card__num, .td-funnel__eyebrow, .td-next__n {
  letter-spacing: 0.02em !important;
}
.td-hero__eyebrow, .section-eyebrow, .page-hero__eyebrow { font-size: 0.78rem !important; }
.td-door__tag, .td-picker__n, .td-picker__tag, .td-evidence__kicker, .td-seat__role, .td-quote figcaption span { font-size: 0.78rem !important; }
.wtp-nav__logo-text, .wtp-footer__logo-text { letter-spacing: 0 !important; }

/* ── SERVICES OVERVIEW (/services/) ───────────────────────────── */
.td-svc-jump { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; position: relative; z-index: 2; }
.td-svc-jump a {
  padding: 0.55rem 1rem; border-radius: 999px; font-family: var(--mono); font-size: 0.8rem; font-weight: 600;
  color: var(--white); border: 1px solid color-mix(in srgb, var(--stage) 55%, transparent);
  background: color-mix(in srgb, var(--stage) 10%, transparent); transition: background 0.2s;
}
.td-svc-jump a:hover { background: color-mix(in srgb, var(--stage) 22%, transparent); }
.td-svc-rows { display: grid; gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.td-svc-row {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; padding: 2.5rem;
  background: var(--panel); border: 1px solid var(--panel-line); border-top: 3px solid var(--stage); border-radius: 16px;
  scroll-margin-top: 6rem;
}
.td-svc-row__num { font-family: var(--mono); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--stage); opacity: 0.9; }
.td-svc-row__name { font-size: 1.15rem; font-weight: 700; margin: 0.75rem 0 0.5rem; }
.td-svc-row__name span { color: var(--muted); font-weight: 500; }
.td-svc-row__q { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); line-height: 1.3; margin: 0 0 1.25rem; }
.td-svc-row__quote { margin: 0; padding-left: 1rem; border-left: 3px solid var(--stage); color: rgba(255,255,255,0.75); font-style: italic; line-height: 1.6; }
.td-svc-row__body > p { color: rgba(255,255,255,0.84); line-height: 1.75; margin: 0 0 1.25rem; }
.td-svc-row__offer {
  display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; margin: 0 0 1.25rem;
  padding: 0.85rem 1rem; border-radius: 10px; background: rgba(245,178,62,0.08); border: 1px solid rgba(245,178,62,0.3);
}
.td-svc-row__offer strong { font-family: var(--mono); font-size: 1.25rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.td-svc-row__offer span { color: var(--gold-hi); font-size: 0.92rem; }
@media (max-width: 860px) { .td-svc-row { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem 1.4rem; } }
/* Sections moved from the homepage render without scroll-reveal here */
.td-teaser { opacity: 1 !important; transform: none !important; }

/* ── HOMEPAGE, STITCH LAYOUT ────────────────────────────────────────────── */
.td-hero--stitch { padding-bottom: 4.5rem; }
.td-hero__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.td-hero__chips .td-hero__eyebrow { margin: 0; }
.td-chip {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.38rem 0.8rem; border-radius: 6px;
  font-family: var(--mono); font-size: 0.78rem; color: var(--label-blue);
  border: 1px solid rgba(141,184,255,0.3); background: rgba(141,184,255,0.06);
}
.td-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--label-blue); }

/* Stitch "primary deliverable" panel — big gold numerals, blue labels */
.td-proof {
  margin-top: 3.25rem; max-width: 760px; padding: 1.75rem; border-radius: 16px;
  background: rgba(14,24,48,0.85); border: 1px solid var(--panel-line);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.td-proof__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.td-proof__kicker { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; color: var(--gold-mid); }
.td-proof__badge { font-family: var(--mono); font-size: 0.72rem; color: var(--label-blue); padding: 0.25rem 0.55rem; border-radius: 4px; background: rgba(141,184,255,0.1); }
.td-proof__title { font-size: 1.35rem; font-weight: 700; margin: 0 0 1.25rem; }
.td-proof__rows { display: grid; gap: 0.75rem; }
.td-proof__row {
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  padding: 1.1rem 1.25rem; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--panel-line);
}
.td-proof__row strong {
  display: block; font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.1; margin-bottom: 0.3rem;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.td-proof__row p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.55; }
.td-proof__row > span { flex: none; font-family: var(--mono); font-size: 0.75rem; font-weight: 600; color: var(--label-blue); }
.td-proof__note { margin: 1.1rem 0 0 !important; font-size: 0.85rem; color: var(--muted); }
.td-proof__note a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .td-proof { padding: 1.25rem; }
  .td-proof__row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .td-proof__row > span { order: -1; }
}

/* Process panels — now carry what it does + how it starts */
#processes { padding-top: 6rem !important; }
.td-picker__panel { display: block; }
.td-picker__what { color: rgba(255,255,255,0.84); line-height: 1.7; margin: 0 0 1.5rem; }
.td-picker__first {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
  padding: 1.25rem 1.4rem; margin-bottom: 1.5rem; border-radius: 12px;
  background: rgba(245,178,62,0.07); border: 1px solid rgba(245,178,62,0.28);
}
.td-picker__first .td-picker__dur { font-size: clamp(2.4rem, 5vw, 3.2rem); }
.td-picker__first-k { font-family: var(--mono); font-size: 0.75rem; color: var(--label-blue); margin: 0 0 0.35rem; }
.td-picker__first-name { font-weight: 700; font-size: 1.1rem; margin: 0 0 0.75rem; }
.td-picker__first .td-picker__gets { margin: 0; }
.td-start__note a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; margin-left: 0.35rem; }
@media (max-width: 560px) { .td-picker__first { grid-template-columns: 1fr; gap: 0.75rem; } }

/* ── MOBILE MENU FIX ────────────────────────────────────────────────────────
   .wtp-nav's backdrop-filter makes it the containing block for its fixed
   children, so the "full-screen" menu was only as tall as the nav bar: no
   background behind the links, and the top items clipped off-screen. Drop
   the filter while open and make the panel a real scrollable overlay. */
@media (max-width: 768px) {
  .wtp-nav--open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-deep); }
  .wtp-nav__links {
    position: fixed; inset: 0; height: 100vh; height: 100dvh; overflow-y: auto;
    justify-content: flex-start; gap: 1.5rem; padding: 6rem 1.5rem 3rem;
    background: var(--navy-deep);
  }
  .wtp-nav__hamburger { position: relative; z-index: 1001; }
  .wtp-nav__links .wtp-nav__cta { margin-top: 0.5rem; }
}
@media (max-width: 768px) {
  .wtp-nav__item--dropdown { display: flex; flex-direction: column; align-items: center; width: 100%; }
}

/* ── ONE TYPEFACE — labels, chips and numbers use the normal site font
   (Inter) rather than a code-style monospace. Tabular numerals keep figures
   aligned without it. */
:root { --mono: var(--font); }

/* ── COHESIVE HOMEPAGE ──────────────────────────────────────────────────────
   One story, one width (1100px), one card style, one section rhythm. */
.td-hero--home { text-align: center; padding-bottom: 6rem; }
.td-hero--home .td-hero__inner { margin: 0 auto; max-width: 860px; }
.td-hero--home .td-hero__claim, .td-hero--home .td-hero__category { margin-left: auto; margin-right: auto; }
.td-hero--home .td-hero__category { max-width: 60ch; }
.td-hero--home .td-hero__actions { justify-content: center; }
.td-hero--home .td-hero__proof { border: none; padding: 0; margin: 0 auto; color: var(--muted); }
.td-hero--home .td-parallax__layer--art { opacity: 0.35; }
/* Mirror of the right-hand artwork, so both sides frame the headline */
.td-hero--home .td-parallax__layer--art-left { right: auto; left: 4%; transform: scaleX(-1); }

.td-home { padding: 5.5rem 0; position: relative; }
.td-home--partners { background: var(--navy); }
.td-home--offer    { background: var(--navy-deep); }
.td-home--why      { background: var(--navy); }
.td-home .section-header { max-width: 720px; margin: 0 auto 3rem; }
.td-home__grid { display: grid; gap: 1.25rem; max-width: 1100px; margin: 0 auto; }
.td-home__grid--3 { grid-template-columns: repeat(3, 1fr); }
.td-home__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
/* Partner logo panels — each in its own brand colours and typeface */
.td-partner-logo {
  display: flex; align-items: center; justify-content: center;
  height: 140px; padding: 1.5rem 2rem; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--panel-line); box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.td-partner-logo:hover { transform: translateY(-3px); }
/* width AND height auto so the capped height scales the width with it —
   the logo always keeps its true proportions */
.td-partner-logo img { display: block; width: auto; height: auto; max-width: 100%; }
.td-partner-logo--saltus { background: #1c2639; }
.td-partner-logo--saltus img { max-height: 56px; }
.td-partner-logo--seccl { background: linear-gradient(90deg, #1f163b 0%, #46245b 100%); }
.td-partner-logo--seccl img { max-height: 52px; }
.td-partner-logo--soderberg { background: #ffffff; }
.td-partner-logo--soderberg img { max-height: 78px; }
@media (max-width: 800px) { .td-partner-logo { height: 112px; } }

/* Partner names only — wordmark tiles */
.td-partners { max-width: 980px; }
.td-partner--name { align-items: center; justify-content: center; min-height: 120px; text-align: center; }
.td-partner--name .td-partner__name { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem); font-weight: 800; letter-spacing: -0.01em; text-align: center; text-wrap: balance; }
@media (max-width: 800px) { .td-partner--name { min-height: 88px; } }
@media (max-width: 700px) { .td-home__grid--2 { grid-template-columns: 1fr; } }
.td-home__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .td-home__grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px)  { .td-home__grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .td-home__grid--4 { grid-template-columns: 1fr; } }
.td-home__more { text-align: center; margin: 2.25rem 0 0; }
.td-home__more a { color: var(--gold-hi); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.td-home__cta { text-align: center; margin-top: 2.5rem; }

/* The one card style */
.td-card {
  display: flex; flex-direction: column; gap: 0.75rem; margin: 0;
  padding: 1.75rem; border-radius: 14px; background: var(--panel);
  border: 1px solid var(--panel-line); text-align: left; color: inherit; text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

/* Partners */
.td-partner { border-top: 3px solid var(--gold-mid); }
.td-partner__name { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.td-partner blockquote { margin: 0; flex: 1; font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,0.86); }
.td-partner figcaption { font-size: 0.85rem; color: var(--gold-hi); }

/* What we offer — each card leads to the services page */
.td-offer { border-top: 3px solid var(--svc); }
.td-offer:hover, .td-offer:focus-visible { border-color: color-mix(in srgb, var(--svc) 50%, transparent); border-top-color: var(--svc); transform: translateY(-3px); }
.td-offer:focus-visible { outline: 2px solid var(--gold-mid); outline-offset: 3px; }
.td-offer__tag { font-size: 0.85rem; font-weight: 700; color: var(--svc); }
.td-offer__title { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.td-offer__desc { margin: 0; flex: 1; font-size: 0.93rem; line-height: 1.6; color: rgba(255,255,255,0.78); }
.td-offer__first { font-size: 0.85rem; color: var(--gold-hi); padding-top: 0.75rem; border-top: 1px solid var(--panel-line); }
.td-offer__cta { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.9rem; color: var(--white); }
.td-offer__cta svg { width: 14px; height: 14px; transition: transform 0.2s; }
.td-offer:hover .td-offer__cta svg { transform: translateX(3px); }

/* Why us */
.td-stat strong {
  font-size: clamp(2rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.td-stat p { margin: 0; font-size: 0.93rem; line-height: 1.6; color: rgba(255,255,255,0.78); }
/* No orphaned last words in headings */
.section-h2, .td-hero__claim, .page-hero__h1, .services-contact__h2, .td-final h2 { text-wrap: balance; }
.td-home .section-header { max-width: 820px; }

/* ══ COHESION PASS (Sep 2026) ═══════════════════════════════════════════════ */

/* One continuous backdrop — no banded sections, no seams, no bare canvas */
body {
  background-color: var(--navy-deep);
  background-image:
    radial-gradient(ellipse 60% 40% at 85% 8%, rgba(245,178,62,0.07), transparent 60%),
    radial-gradient(ellipse 55% 45% at 10% 45%, rgba(201,168,76,0.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 85%, rgba(245,178,62,0.05), transparent 60%),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: auto, auto, auto, 64px 64px, 64px 64px;
  background-attachment: fixed, fixed, fixed, scroll, scroll;
}
.td-hero, .td-home, .td-home--partners, .td-home--offer, .td-home--why, .td-final,
.td-svc-body, .td-svc-body--alt, .td-faq, .td-flywheel, .td-teasers, .td-problem, .td-seats,
.td-evidence, .td-team, .about-values, .wtp-mission, .services-bento-section, .page-hero, .td-start {
  background: transparent !important; border: none !important;
}
.td-hero::after, .page-hero::after, .td-evidence::before, .td-team::before, .td-start::before,
.td-teasers::after, .td-evidence::after, .td-team::after, .td-start::after, .td-final::after,
.td-final::before, .services-bento-section::after { content: none !important; }
.td-hero--home { padding-bottom: 3rem; }
.td-home { padding: 4.5rem 0; }

/* Memorable service cards — a coloured visual header per service */
.td-offer {
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--panel); border: 1px solid color-mix(in srgb, var(--svc) 30%, transparent);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.td-offer:hover, .td-offer:focus-visible {
  transform: translateY(-6px); border-color: color-mix(in srgb, var(--svc) 70%, transparent);
  box-shadow: 0 28px 60px rgba(0,0,0,0.4), 0 0 0 1px color-mix(in srgb, var(--svc) 40%, transparent), 0 0 40px color-mix(in srgb, var(--svc) 18%, transparent);
}
.td-offer:focus-visible { outline: 2px solid var(--gold-mid); outline-offset: 3px; }
.td-offer__visual {
  position: relative; height: 140px; overflow: hidden;
  background:
    radial-gradient(circle at 75% 30%, color-mix(in srgb, var(--svc) 45%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--svc) 28%, var(--panel)) 0%, var(--panel) 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--svc) 35%, transparent);
}
.td-offer__num {
  position: absolute; left: 1.25rem; bottom: -1.4rem; font-size: 6.5rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--svc) 70%, transparent); letter-spacing: -0.04em;
}
.td-offer__icon { position: absolute; right: 1.4rem; top: 1.4rem; width: 52px; height: 52px; color: var(--svc); filter: drop-shadow(0 0 12px color-mix(in srgb, var(--svc) 60%, transparent)); transition: transform 0.3s; }
.td-offer:hover .td-offer__icon { transform: scale(1.1) rotate(-4deg); }
.td-offer__body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem 1.5rem 1.6rem; flex: 1; }
.td-offer__verb { margin: 0; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--svc); }
.td-offer__tag { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.td-offer__title { margin: 0.25rem 0 0; font-size: 1.1rem; line-height: 1.3; }
.td-offer__desc { margin: 0; flex: 1; font-size: 0.92rem; line-height: 1.6; color: rgba(255,255,255,0.78); }
.td-offer__first { font-size: 0.85rem; color: var(--gold-hi); padding-top: 0.75rem; border-top: 1px solid var(--panel-line); }
.td-offer__cta { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.9rem; }
.td-offer__cta svg { width: 14px; height: 14px; transition: transform 0.2s; }
.td-offer:hover .td-offer__cta svg { transform: translateX(4px); }

/* No more paragraph-on-paragraph: text sections become a split card —
   heading on the left, copy on the right, inside one panel */
.td-svc-body .container:has(> .td-svc-prose), .wtp-mission .container:has(> .td-svc-prose) {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start;
  max-width: 1100px; padding: 2.75rem; border-radius: 18px;
  background: linear-gradient(135deg, rgba(245,178,62,0.06), rgba(14,24,48,0.9) 45%);
  border: 1px solid var(--panel-line);
}
.td-svc-body .container:has(> .td-svc-prose) .section-header,
.wtp-mission .container:has(> .td-svc-prose) .section-header { text-align: left; margin: 0; max-width: none; }
.td-svc-body .container:has(> .td-svc-prose) .section-h2,
.wtp-mission .container:has(> .td-svc-prose) .section-h2 { text-align: left; margin-left: 0; }
.td-svc-body .container:has(> .td-svc-prose) .td-svc-grid { grid-column: 1 / -1; }
.td-svc-body .container:has(> .td-svc-grid) > .td-svc-prose:last-child { grid-column: 1 / -1; }
.td-svc-prose { margin: 0; max-width: none; }
@media (max-width: 860px) {
  .td-svc-body .container:has(> .td-svc-prose), .wtp-mission .container:has(> .td-svc-prose) { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem 1.25rem; margin: 0 1rem; width: auto; }
  .td-svc-grid { grid-template-columns: 1fr; }
}
.td-svc-body { padding: 3.5rem 0; }

/* The "we do all four" line becomes a card, not a lonely paragraph */
.td-svc-next {
  max-width: 820px; padding: 2rem 2.25rem; border-radius: 16px; line-height: 1.8;
  background: var(--panel); border: 1px solid var(--panel-line); border-left: 3px solid var(--gold-mid);
}
.td-svc-next strong { display: block; font-size: 1.15rem; margin-bottom: 0.4rem; letter-spacing: 0 !important; }
.td-svc-next a { color: var(--gold-hi); }

.page-hero { padding-bottom: 2.5rem !important; }

/* Form — highlighted field titles */
.contact-form label.field-label {
  color: var(--gold-hi) !important; opacity: 1 !important;
  font-size: 0.82rem !important; font-weight: 700 !important; letter-spacing: 0.01em !important;
}
.contact-form input, .contact-form textarea, .contact-form select { font-size: 1rem; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }

/* Homepage contact block: one panel, same card language */
.td-final { padding: 3rem 0 5rem !important; }
.td-final__inner--split {
  padding: 3rem; border-radius: 20px;
  background: linear-gradient(135deg, rgba(245,178,62,0.08), rgba(14,24,48,0.92) 45%);
  border: 1px solid rgba(245,178,62,0.25);
}
.td-final__accent { display: none; }
@media (max-width: 900px) { .td-final__inner--split { padding: 1.75rem 1.25rem; margin: 0 1rem; width: auto; } }

/* ── CONTACT PAGE ── */
.td-contact { position: relative; padding: 8rem 0 5rem; }
.td-contact__panel {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; max-width: 1100px; margin: 0 auto;
  padding: 3rem; border-radius: 20px;
  background: linear-gradient(135deg, rgba(245,178,62,0.08), rgba(14,24,48,0.92) 45%);
  border: 1px solid rgba(245,178,62,0.25); box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}
.td-contact__pitch h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; margin: 1rem 0; text-wrap: balance; }
.td-contact__pitch h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.td-contact__lead { color: rgba(255,255,255,0.82); font-size: 1.05rem; line-height: 1.65; margin: 0; }
.td-contact__form .contact-form { margin: 0; max-width: none; background: rgba(7,13,38,0.7); border-color: rgba(245,178,62,0.3); border-radius: 14px; }
.td-contact__form .contact-form .btn-primary { border-radius: 0 0 14px 14px !important; padding: 1.05rem; }
.td-contact__ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1100px; margin: 1.25rem auto 0; }
.td-way {
  display: flex; flex-direction: column; gap: 0.3rem; padding: 1.25rem 1.4rem; border-radius: 14px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--panel-line); transition: border-color 0.2s, transform 0.2s;
}
.td-way:hover { border-color: rgba(245,178,62,0.5); transform: translateY(-2px); }
.td-way__k { font-size: 0.82rem; font-weight: 700; color: var(--gold-hi); }
.td-way__v { color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .td-contact { padding-top: 6.5rem; }
  .td-contact__panel { grid-template-columns: 1fr; gap: 2rem; padding: 1.75rem 1.25rem; }
  .td-contact__ways { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
.td-footer { padding: 3rem 0 2rem; border-top: 1px solid var(--panel-line); background: rgba(5,9,26,0.85); }
.td-footer__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: 1.75rem 2rem; margin-bottom: 3rem; border-radius: 16px;
  background: linear-gradient(120deg, rgba(245,178,62,0.16), rgba(14,24,48,0.9) 55%);
  border: 1px solid rgba(245,178,62,0.35);
}
.td-footer__cta-title { margin: 0; font-size: 1.35rem; font-weight: 800; }
.td-footer__cta-sub { margin: 0.25rem 0 0; color: var(--muted); }
.td-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.td-footer__logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.05rem; margin-bottom: 0.9rem; }
.td-footer__brand p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin: 0 0 1rem; max-width: 34ch; }
.td-footer__social { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--white); font-weight: 600; font-size: 0.9rem; }
.td-footer__head { margin: 0 0 0.9rem; font-weight: 700; color: var(--gold-hi); font-size: 0.9rem; }
.td-footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.td-footer__col a, .td-footer__bar a { color: rgba(255,255,255,0.78); font-size: 0.92rem; text-decoration: none; overflow-wrap: anywhere; transition: color 0.15s; }
.td-footer__col a:hover, .td-footer__bar a:hover, .td-footer__social:hover { color: var(--gold-hi); }
.td-footer__bar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--panel-line); }
.td-footer__bar p { margin: 0; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 860px) { .td-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .td-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .td-footer__brand, .td-footer__col:last-child { grid-column: 1 / -1; }
  .td-footer__cta { padding: 1.5rem; }
}

/* ── HERO: "Where wealth works for you" (Stitch) ── */
.td-hero--home .td-hero__claim { font-size: clamp(2.8rem, 1.6rem + 5vw, 5rem); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 1.5rem; }
.td-hero--home .td-hero__category { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); max-width: 46ch; margin-bottom: 2.25rem; }
.td-hero--home .td-hero__eyebrow { margin-bottom: 1.75rem; }

/* ── SERVICE CARDS, TUNED: one clear hierarchy — verb, one line, first step ── */
.td-offer__name {
  position: absolute; left: 1.25rem; top: 1.1rem; padding: 0.3rem 0.65rem; border-radius: 6px;
  font-size: 0.8rem; font-weight: 700; color: var(--white);
  background: rgba(7,13,38,0.55); border: 1px solid color-mix(in srgb, var(--svc) 45%, transparent);
}
.td-offer__body { gap: 0.75rem; padding: 1.5rem 1.5rem 1.35rem; }
.td-offer__verb { margin: 0; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--svc); }
.td-offer__desc { margin: 0; flex: 1; font-size: 0.98rem; line-height: 1.6; color: rgba(255,255,255,0.84); }
.td-offer__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--panel-line);
  font-size: 0.88rem; color: var(--muted);
}
.td-offer__foot strong { color: var(--gold-hi); font-weight: 700; }
.td-offer__go {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 1px solid color-mix(in srgb, var(--svc) 55%, transparent); color: var(--svc);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.td-offer__go svg { width: 15px; height: 15px; }
.td-offer:hover .td-offer__go { background: var(--svc); color: var(--ink); transform: translateX(3px); }

/* ── SERVICES PANEL — one markup, adapts to web and mobile ─────────────────
   Desktop: a wide panel drops under the nav with four coloured tiles.
   Mobile (hamburger menu): the same tiles become a 2×2 grid. */
.wtp-nav .wtp-nav__item--dropdown { position: static; }
.wtp-nav .td-mega {
  position: absolute; top: calc(100% + 0.5rem); left: 50%; right: auto;
  width: min(980px, calc(100vw - 2rem)); min-width: 0; max-width: none; padding: 1.1rem;
  display: block; background: #0B1330; border: 1px solid rgba(245,178,62,0.28); border-radius: 18px;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(-10px) scale(0.98); transform-origin: top center;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.wtp-nav .wtp-nav__item--dropdown.is-open .td-mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1);
}
.td-mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.wtp-nav .td-mega a.td-mega__tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem;
  padding: 1rem 1.05rem 1.1rem; border-radius: 12px; text-decoration: none;
  font-size: 0.9rem !important; color: var(--white) !important;
  background: linear-gradient(160deg, color-mix(in srgb, var(--svc) 16%, transparent), rgba(255,255,255,0.02) 60%);
  border: 1px solid color-mix(in srgb, var(--svc) 30%, transparent); border-left-width: 1px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.wtp-nav .td-mega a.td-mega__tile:hover, .wtp-nav .td-mega a.td-mega__tile:focus-visible {
  border-color: color-mix(in srgb, var(--svc) 75%, transparent); transform: translateY(-2px);
  background: linear-gradient(160deg, color-mix(in srgb, var(--svc) 26%, transparent), rgba(255,255,255,0.03) 60%);
}
.td-mega__icon { width: 26px; height: 26px; color: var(--svc); margin-bottom: 0.4rem; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--svc) 55%, transparent)); }
.td-mega__name { font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.td-mega__verb { font-size: 1.15rem; font-weight: 800; color: var(--svc); letter-spacing: -0.01em; }
.td-mega__line { font-size: 0.85rem; line-height: 1.45; color: rgba(255,255,255,0.78); }
.td-mega__first { margin-top: 0.4rem; font-size: 0.78rem; font-weight: 600; color: var(--gold-hi); }
.td-mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.9rem; padding: 0.9rem 0.35rem 0.1rem; border-top: 1px solid var(--panel-line); }
.wtp-nav .td-mega a.td-mega__all { display: inline; padding: 0; border: none; font-size: 0.9rem !important; font-weight: 600; color: var(--gold-hi) !important; }
.wtp-nav .td-mega a.td-mega__all:hover { background: none; text-decoration: underline; text-underline-offset: 3px; }
.wtp-nav .td-mega a.td-mega__book { display: inline-flex; flex-direction: row; padding: 0.6rem 1.1rem; font-size: 0.88rem !important; color: #1A1204 !important; border-left: none; }
/* Staggered, smooth reveal of the tiles */
@media (prefers-reduced-motion: no-preference) {
  .wtp-nav .td-mega .td-mega__tile { opacity: 0; transform: translateY(6px); transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s, background 0.2s; }
  .wtp-nav .is-open .td-mega .td-mega__tile { opacity: 1; transform: none; }
  .wtp-nav .is-open .td-mega .td-mega__tile:nth-child(2) { transition-delay: 0.04s; }
  .wtp-nav .is-open .td-mega .td-mega__tile:nth-child(3) { transition-delay: 0.08s; }
  .wtp-nav .is-open .td-mega .td-mega__tile:nth-child(4) { transition-delay: 0.12s; }
}
@media (max-width: 1000px) and (min-width: 769px) {
  .td-mega__grid { grid-template-columns: repeat(2, 1fr); }
}
/* Mobile: the same tiles, as a 2×2 grid inside the full-screen menu */
@media (max-width: 768px) {
  .wtp-nav .wtp-nav__item--dropdown { width: 100%; max-width: 420px; }
  .wtp-nav .td-mega {
    position: static; width: 100%; padding: 0.75rem 0 0; margin: 0; transform: none !important;
    background: none; border: none; box-shadow: none; opacity: 1; visibility: visible;
    /* inherit, not auto: the closed menu is invisible but stays in the page,
       so its tiles must ignore taps until the menu opens. */
    pointer-events: inherit;
  }
  .td-mega__grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .wtp-nav .td-mega a.td-mega__tile { align-items: center; text-align: center; padding: 0.9rem 0.6rem; opacity: 1; transform: none; }
  .td-mega__line, .td-mega__first, .wtp-nav .td-mega a.td-mega__book { display: none !important; }
  .td-mega__foot { justify-content: center; margin-top: 0.6rem; padding-top: 0.6rem; border-top: none; }
}

/* ── SERVICE PAGES: "What it covers" ── */
.td-covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1100px; margin: 0 auto; }
.td-cover {
  position: relative; padding: 1.6rem 1.4rem 1.5rem; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--panel-line); border-top: 3px solid var(--stage, var(--gold-mid));
}
.td-cover__n {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; margin-bottom: 0.9rem;
  font-weight: 800; font-size: 0.9rem; color: var(--ink); background: var(--stage, var(--gold-mid));
}
.td-cover h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.td-cover p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: rgba(255,255,255,0.78); }
@media (max-width: 1000px) { .td-covers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .td-covers { grid-template-columns: 1fr; } }

/* ── SERVICE PAGES: stage track + previous/next at the bottom ── */
.td-pager { padding: 1rem 0 4rem; }
.td-pager .td-stepper { border: none; background: none; padding: 0 0 1.5rem; flex-wrap: wrap; }
.td-pager__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 1100px; margin: 0 auto; }
.td-pager__card {
  display: flex; flex-direction: column; gap: 0.35rem; padding: 1.4rem 1.6rem; border-radius: 14px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--panel-line); transition: border-color 0.2s, transform 0.2s;
}
.td-pager__card--next { text-align: right; align-items: flex-end; border-color: rgba(245,178,62,0.35); background: linear-gradient(120deg, var(--panel) 40%, rgba(245,178,62,0.1)); }
.td-pager__card:hover { border-color: color-mix(in srgb, var(--stage, var(--gold-mid)) 70%, transparent); transform: translateY(-2px); }
.td-pager__k { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.td-pager__k svg { width: 15px; height: 15px; }
.td-pager__t { font-size: 1.25rem; font-weight: 800; color: var(--stage, var(--gold-hi)); }
@media (max-width: 640px) {
  .td-pager__cards { grid-template-columns: 1fr; }
  .td-pager__card--next { order: -1; }
}

/* Content never depends on a reveal script: anything marked for fade-in is
   visible by default (a page without the observer script showed blank
   sections — the Services page "why it hasn't been fixed" block). */
.fade-up, .td-door, .td-teaser { opacity: 1 !important; transform: none !important; }

/* Stray teal UI brought into the gold scheme */
.td-flywheel__link { color: var(--gold-hi) !important; }
.td-team__title { color: var(--gold-hi) !important; }
.wtp-consent-banner__accept { background: var(--gold-grad) !important; color: #1A1204 !important; border: none !important; font-weight: 700 !important; }
.wtp-consent-banner a { color: var(--gold-hi) !important; }

/* Insights cards: equal rhythm — summaries clamp to four lines so short and
   very long excerpts sit side by side without one card towering over another */
.article-card__excerpt {
  display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  color: rgba(255,255,255,0.78) !important;
}
.article-card__category, .article-meta__category { color: var(--gold-hi) !important; font-family: var(--font) !important; letter-spacing: 0.02em !important; }
.article-card__link { color: var(--gold-hi) !important; }
.article-card__link:hover { color: var(--white) !important; }
.article-card { border-radius: 14px; }
ul.articles-grid { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1000px) { .td-quotes { grid-template-columns: repeat(3, 1fr); } }

/* Flywheel: the right-hand (Build) tooltip opens leftwards so it never
   pushes past the viewport (caused sideways scroll at 1024px) */
.td-ring__node--build .td-ring__tip { left: auto; right: 0; transform: translateY(4px); }
.td-ring__node--build:hover .td-ring__tip, .td-ring__node--build:focus-visible .td-ring__tip { transform: translateY(0); }
.td-flywheel { overflow-x: clip; }

/* Tablet widths: the full nav was colliding with the logo and wrapping
   the Start here button — tighten spacing between phone and desktop */
@media (min-width: 769px) and (max-width: 1100px) {
  .wtp-nav { padding-left: 1.25rem; padding-right: 1.25rem; gap: 1rem; }
  .wtp-nav__links { gap: 1.1rem !important; }
  .wtp-nav__links > a, .wtp-nav__item--dropdown > button { font-size: 0.85rem !important; }
  .wtp-nav__li-desktop { display: none !important; }
  .wtp-nav__logo { flex: none; margin-right: 0.5rem; }
}
.wtp-nav__cta { white-space: nowrap; }

/* Services overview: sections moved from the old homepage kept their 7rem
   padding — bring them onto the same rhythm as every other page */
.td-teasers, .td-problem, .td-seats, .td-flywheel { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
.td-teasers__close { margin-top: 1.75rem; }

/* Stage track fits on one row on phones */
@media (max-width: 480px) {
  .td-pager .td-stepper { gap: 0.3rem; flex-wrap: wrap; }
  .td-pager .td-stepper::before { width: 100%; text-align: center; margin: 0 0 0.35rem; }
  .td-pager .td-stepper__node { padding: 0.35rem 0.5rem; font-size: 0.7rem; gap: 0.3rem; }
  .td-pager .td-stepper__node .num { width: 16px; height: 16px; font-size: 0.6rem; }
}

@media (max-width: 360px) {
  .td-pager .td-stepper { display: grid; grid-template-columns: 1fr 1fr; }
  .td-pager .td-stepper::before { grid-column: 1 / -1; }
  .td-pager .td-stepper__arrow { display: none; }
  .td-pager .td-stepper__node { justify-content: center; }
}

/* Page rhythm: no oversized gaps under page titles */
.page-hero { padding-bottom: 1.5rem !important; }
.wtp-mission { padding: 2.5rem 0 !important; }
.td-evidence { padding: 3rem 0 !important; }
.td-team, .about-values { padding: 3.5rem 0 !important; }

/* Principle cards: left-aligned copy, equal panels */
.value-card { text-align: left !important; background: var(--panel) !important; border: 1px solid var(--panel-line) !important; border-radius: 14px !important; border-top: 3px solid var(--gold-mid) !important; }
.value-card__icon { justify-content: flex-start !important; margin-left: 0 !important; }
.value-card__title, .value-card__desc { text-align: left !important; }

/* Contact block copy: comfortable line height at every width */
.td-final__pitch p, .td-final__inner--split p { line-height: 1.65; }

/* Tighter vertical rhythm on phones — no long empty stretches */
@media (max-width: 640px) {
  .td-home { padding: 3rem 0; }
  .td-home .section-header { margin-bottom: 2rem; }
  .td-svc-body { padding: 2.25rem 0; }
  .td-faq { padding: 3rem 0 !important; }
  .td-hero--home { padding-bottom: 2rem; }
  .td-final { padding: 2rem 0 3rem !important; }
}

/* Links inside running text are underlined, not colour-only (WCAG 1.4.1) */
main p a:not([class]), main li a:not([class]), main td a:not([class]) {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}

/* ── HIGHLIGHTED STAGE TRACK (bottom of each service page) ──
   A gold-edged panel; each stage in its own service colour; the current
   stage filled solid. Children run node, arrow, node, arrow… so the four
   stages are children 1, 3, 5 and 7. */
.td-pager .td-stepper {
  max-width: 1100px; margin: 0 auto 1.25rem; padding: 1.5rem 1.25rem 1.6rem !important;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.6rem;
  border-radius: 18px !important; border: 1px solid rgba(245,178,62,0.45) !important;
  background: linear-gradient(135deg, rgba(245,178,62,0.12), rgba(14,24,48,0.95) 55%) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 0 4px rgba(245,178,62,0.06);
}
.td-pager .td-stepper::before {
  content: 'Explore the four services' !important; width: 100%; text-align: center; margin: 0 0 0.9rem !important;
  font-size: 1.05rem !important; font-weight: 800; color: var(--white) !important; letter-spacing: 0 !important;
}
.td-pager .td-stepper > :nth-child(1) { --svc: var(--signal-one); }
.td-pager .td-stepper > :nth-child(3) { --svc: var(--signal-two); }
.td-pager .td-stepper > :nth-child(5) { --svc: var(--signal-three); }
.td-pager .td-stepper > :nth-child(7) { --svc: var(--signal-four); }
.td-pager .td-stepper__node {
  padding: 0.7rem 1.15rem !important; border-radius: 12px !important; font-size: 0.95rem !important; font-weight: 700;
  color: var(--white) !important; border: 1px solid color-mix(in srgb, var(--svc) 60%, transparent) !important;
  background: color-mix(in srgb, var(--svc) 12%, transparent) !important; gap: 0.55rem !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
a.td-pager__x, .td-pager a.td-stepper__node:hover {
  background: color-mix(in srgb, var(--svc) 26%, transparent) !important; transform: translateY(-2px);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--svc) 25%, transparent);
}
.td-pager .td-stepper__node .num {
  width: 24px !important; height: 24px !important; font-size: 0.78rem !important; font-weight: 800;
  border: none !important; background: var(--svc) !important; color: var(--ink) !important;
}
.td-pager .td-stepper__node--current {
  background: var(--svc) !important; color: var(--ink) !important; border-color: var(--svc) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--svc) 25%, transparent), 0 10px 26px color-mix(in srgb, var(--svc) 35%, transparent);
}
.td-pager .td-stepper__node--current .num { background: var(--ink) !important; color: var(--svc) !important; }
.td-pager .td-stepper__arrow { color: var(--gold-mid) !important; font-size: 1.1rem; }
@media (max-width: 480px) {
  .td-pager .td-stepper { display: grid !important; grid-template-columns: 1fr 1fr; padding: 1.25rem 1rem !important; }
  .td-pager .td-stepper::before { grid-column: 1 / -1; }
  .td-pager .td-stepper__arrow { display: none; }
  .td-pager .td-stepper__node { justify-content: center; padding: 0.65rem 0.5rem !important; font-size: 0.9rem !important; }
}

/* ── HOMEPAGE: SERVICES ABOVE THE FOLD ────────────────────────────────────
   A compact hero so "Four services. One operating model." and the service
   cards are on screen the moment the page loads. */
.td-hero--home { padding: 6.25rem 0 1.25rem !important; }
.td-hero--home .td-hero__inner { max-width: 1040px; }
.td-hero--home .td-hero__eyebrow { margin-bottom: 1.1rem !important; }
.td-hero--home .td-hero__claim { font-size: clamp(2.1rem, 1.3rem + 2.9vw, 3.6rem) !important; line-height: 1.08; margin-bottom: 0.9rem !important; }
.td-hero--home .td-hero__category { font-size: 1.05rem !important; margin-bottom: 1.4rem !important; }
.td-hero--home .td-hero__actions { margin-bottom: 0 !important; }
.td-home--offer { padding-top: 1.75rem !important; }
.td-home--offer .section-header { margin-bottom: 1.5rem !important; }
.td-home--offer .section-h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
.td-home__proof { text-align: center; color: var(--muted); font-size: 0.92rem; margin: 1.75rem 0 0; }
/* beats the old "#processes { padding-top: 6rem }" rule left from the picker */
section#processes.td-home--offer { padding-top: 1.5rem !important; }
.td-hero--home .td-hero__claim { max-width: 22ch !important; margin-left: auto; margin-right: auto; }
.td-hero--home .td-hero__category { max-width: 62ch !important; }
.td-home--offer .td-home__cta { margin-top: 1.25rem; }
@media (max-width: 640px) {
  .td-hero--home { padding-top: 5.5rem !important; }
  .td-hero--home .td-hero__actions { gap: 0.6rem; }
  .td-home--offer { padding-top: 1.75rem !important; }
}

/* ── CURRENT PAGE IN THE NAV ──────────────────────────────────────────────
   The link for the page you're on is gold with a short gold bar beneath it.
   Services only lights up on the services pages (it used to look "selected"
   everywhere), and the matching tile in the services panel is outlined. */
.wtp-nav .wtp-nav__item--dropdown > button { color: var(--muted) !important; font-weight: 500 !important; }
.wtp-nav .wtp-nav__item--dropdown > button:hover,
.wtp-nav .wtp-nav__item--dropdown.is-open > button { color: var(--white) !important; }
.wtp-nav__links > a[aria-current="page"],
.wtp-nav .wtp-nav__item--dropdown.is-current > button {
  color: var(--gold-hi) !important; font-weight: 700 !important; position: relative;
}
.wtp-nav__links > a[aria-current="page"]::after,
.wtp-nav .wtp-nav__item--dropdown.is-current > button::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px;
  background: var(--gold-grad);
}
.wtp-nav .wtp-nav__item--dropdown.is-current > button::after { right: 16px; }
.wtp-nav .td-mega a.td-mega__tile[aria-current="page"] {
  border-color: var(--svc) !important; box-shadow: inset 0 0 0 1px var(--svc), 0 0 22px color-mix(in srgb, var(--svc) 30%, transparent);
}
.wtp-nav .td-mega a.td-mega__tile[aria-current="page"] .td-mega__name::after { content: ' · you are here'; color: var(--gold-hi); font-weight: 600; }
@media (max-width: 768px) {
  .wtp-nav__links > a[aria-current="page"]::after { left: 25%; right: 25%; bottom: -6px; }
  .wtp-nav .wtp-nav__item--dropdown.is-current > button { color: var(--gold-hi) !important; }
  .wtp-nav .wtp-nav__item--dropdown.is-current > button::after { display: none; }
}

/* ── ENQUIRY FORM: "Where does it hurt most?" choice tiles ─────────────────
   Replaces the native drop-down, whose option list Windows draws as a plain
   white box. A radio group, so it posts `service` exactly as before. */
.contact-form fieldset.td-choice { border: none; margin: 0; min-width: 0; padding: 1rem 1.25rem 1.1rem; border-top: 1px solid var(--line); }
.td-choice legend.field-label { float: left; width: 100%; padding: 0; margin: 0 0 0.7rem; }
.td-choice__grid { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.td-choice__opt {
  --svc: var(--gold-mid);
  position: relative; display: flex; flex-direction: column; gap: 0.1rem; cursor: pointer;
  padding: 0.65rem 0.85rem; border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--svc) 35%, transparent);
  background: color-mix(in srgb, var(--svc) 7%, transparent);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.td-choice__opt--one   { --svc: var(--signal-one); }
.td-choice__opt--two   { --svc: var(--signal-two); }
.td-choice__opt--three { --svc: var(--signal-three); }
.td-choice__opt--four  { --svc: var(--signal-four); }
.contact-form legend.field-label {
  color: var(--gold-hi) !important; font-size: 0.82rem !important; font-weight: 700 !important; letter-spacing: 0.01em !important;
}
.td-choice__opt--other { grid-column: 1 / -1; --svc: rgba(255,255,255,0.55); flex-direction: row; align-items: baseline; gap: 0.6rem; }
.td-choice__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.td-choice__name { font-weight: 700; font-size: 0.95rem; color: var(--white); }
.td-choice__verb { font-size: 0.8rem; color: var(--svc); font-weight: 600; }
.td-choice__opt--other .td-choice__verb { color: var(--muted); }
.td-choice__opt:hover { background: color-mix(in srgb, var(--svc) 14%, transparent); border-color: color-mix(in srgb, var(--svc) 60%, transparent); }
.td-choice__opt:has(input:checked) {
  background: color-mix(in srgb, var(--svc) 22%, transparent); border-color: var(--svc);
  box-shadow: 0 0 0 1px var(--svc), 0 6px 18px color-mix(in srgb, var(--svc) 22%, transparent);
}
.td-choice__opt:has(input:checked)::after {
  content: '✓'; position: absolute; top: 0.55rem; right: 0.7rem;
  width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 800; color: var(--ink); background: var(--svc);
}
.td-choice__opt:has(input:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
/* the old select-row padding rule shouldn't double up on the fieldset */
.contact-form .field.td-choice { border-top: 1px solid var(--line) !important; }
@media (max-width: 420px) { .td-choice__grid { gap: 0.4rem; } .td-choice__opt { padding: 0.6rem 0.7rem; } }

/* ── ARTICLES ON PHONES ──
   Long unbroken strings (full URLs in the text) could force an article
   wider than the screen — let them wrap. Long titles scale down so none
   runs past ~5 lines on a small phone. */
.article-body, .article-body p, .article-body li, .article-body a { overflow-wrap: anywhere; }
.article-body img, .article-body table, .article-body iframe { max-width: 100%; height: auto; }
@media (max-width: 480px) {
  .page-hero--split .page-hero__h1 { font-size: clamp(1.45rem, 1.1rem + 2.2vw, 1.75rem) !important; line-height: 1.18 !important; }
}

@media (max-width: 360px) {
  .page-hero--split .page-hero__h1 { font-size: 1.4rem !important; }
}
/* Insights filter: active chip in gold like the rest of the site; tighter
   gap between the intro and the filters */
.articles-controls__tag.active, .articles-controls__tag[aria-pressed="true"] {
  background: rgba(245,178,62,0.14) !important; border-color: rgba(245,178,62,0.6) !important; color: var(--gold-hi) !important;
}
.articles-controls__tag:hover { border-color: rgba(245,178,62,0.45) !important; color: var(--white) !important; background: rgba(245,178,62,0.08) !important; }

/* Insights listing: the section under the intro had 96px of top padding */
.page-hero + .services-bento-section { padding-top: 1.5rem !important; }

/* ── INSIGHTS CARD IMAGES: no navy bars ─────────────────────────────────────
   Pictures fill the card box edge to edge. Ones much taller or wider than
   the box (marked .is-odd-shape) are shown whole over a blurred copy of
   themselves, so there's still no empty frame around them. */
.article-card__thumb { position: relative; background: var(--navy-deep); }
.article-card__thumb img { position: relative; z-index: 1; object-fit: cover !important; object-position: center top; }
.article-card__thumb::before {
  content: ''; position: absolute; inset: -20px; z-index: 0;
  background: var(--thumb) center / cover no-repeat; filter: blur(18px) brightness(0.7); opacity: 0;
}
.article-card__thumb.is-odd-shape::before { opacity: 1; }
.article-card__thumb.is-odd-shape img { object-fit: contain !important; object-position: center; }

/* ── ARTICLE PAGE IMAGE: no navy box — the frame hugs the picture ── */
.page-hero__img-col { background: none !important; max-height: none !important; border-radius: 0 !important; overflow: visible !important; }
.page-hero__img-col img { border-radius: var(--radius-lg, 16px); max-height: 460px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); }

/* ── ARTICLES: back to all insights ── */
.td-back {
  display: inline-flex; align-items: center; gap: 0.5rem; width: fit-content;
  padding: 0.55rem 1rem; border-radius: 999px; font-size: 0.9rem; font-weight: 700;
  color: var(--gold-hi) !important; text-decoration: none !important;
  background: rgba(245,178,62,0.08); border: 1px solid rgba(245,178,62,0.35);
  transition: background 0.2s, transform 0.2s;
}
.td-back:hover, .td-back:focus-visible { background: rgba(245,178,62,0.16); transform: translateX(-2px); }
.page-hero--split .td-back-row { display: block !important; margin-bottom: 1.5rem; }
.td-back { white-space: nowrap; }
@media (max-width: 768px) { .page-hero--split .td-back-row { text-align: center; } }
.article-back { margin: 1rem 0 3rem; }

/* ── LEGAL PAGES (privacy) ── */
.td-legal { padding: 8rem 0 4rem; }
.td-legal__panel {
  max-width: 860px; margin: 0 auto; padding: 3rem; border-radius: 20px;
  background: linear-gradient(135deg, rgba(245,178,62,0.06), rgba(14,24,48,0.92) 40%);
  border: 1px solid var(--panel-line);
}
.td-legal__panel h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); line-height: 1.15; letter-spacing: -0.02em; margin: 1rem 0 0.5rem; }
.td-legal__panel h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.td-legal__body .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 2rem; }
.td-legal__body h2 { font-size: 1.25rem; margin: 2.25rem 0 0.75rem; color: var(--gold-hi); }
.td-legal__body p { color: rgba(255,255,255,0.84); line-height: 1.75; margin: 0 0 1rem; }
.td-legal__body a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: break-word; }
.td-legal__body table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.92rem; }
.td-legal__body th, .td-legal__body td { text-align: left; vertical-align: top; padding: 0.8rem; border-bottom: 1px solid var(--panel-line); color: rgba(255,255,255,0.84); }
.td-legal__body th { color: var(--white); background: rgba(255,255,255,0.03); }
@media (max-width: 640px) {
  .td-legal { padding-top: 6.5rem; }
  .td-legal__panel { padding: 1.75rem 1.25rem; margin: 0 1rem; }
  .td-legal__body table, .td-legal__body thead, .td-legal__body tbody, .td-legal__body tr, .td-legal__body th, .td-legal__body td { display: block; width: auto; }
  .td-legal__body thead { display: none; }
  .td-legal__body tr { padding: 0.75rem 0; border-bottom: 1px solid var(--panel-line); }
  .td-legal__body td { border: none; padding: 0.2rem 0; }
  /* With the header row hidden, label each stacked cell so "Yes" / "No" still
     say what they answer. */
  .td-legal__body td:first-child { color: var(--white); font-weight: 700; }
  .td-legal__body td[data-label]::before { content: attr(data-label) ": "; color: var(--white); font-weight: 600; }
}

/* Pages that already end with the form don't repeat the call-to-action */
body:has(#contact-form) .td-footer__cta { display: none; }

/* Unlinked logo keeps its look */
div.wtp-nav__logo { display: flex; align-items: center; gap: 0.6rem; cursor: default; }

/* Team cards: equal heights so both founders read as a matching pair */
.td-team__grid { align-items: stretch; }
.td-team__card { background: var(--panel); border: 1px solid var(--panel-line); border-radius: 16px; overflow: hidden; }
.td-team__photo { border-radius: 0 !important; }

/* ── Brand hero title + two doors (homepage) ──────────────────────────────
   Hero carries the live-site title; the section below it shows the two
   starting points (door 1 gold, door 2 teal) that both feed the four
   services. */
.td-hero--home .td-hero__claim--brand { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.6rem) !important; max-width: 16ch !important; }
.td-hero__intel {
  background: linear-gradient(120deg, #7FE6FF 0%, var(--signal-two) 55%, #5AA8FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.04em;
}
.td-hero__cue {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 2.25rem;
  font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.7); text-decoration: none;
}
.td-hero__cue svg { width: 16px; height: 16px; animation: td-cue 2s ease-in-out infinite; }
.td-hero__cue:hover, .td-hero__cue:focus-visible { color: var(--gold-hi); }
@keyframes td-cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .td-hero__cue svg { animation: none; } }

.td-home--doors { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--panel) 100%); }
.td-home--doors .section-lead { margin: 0.75rem auto 0; max-width: 560px; text-align: center; color: rgba(255,255,255,0.75); }
.td-twodoor { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 1.25rem; margin-top: 2.5rem; }
.td-twodoor__door--one { --svc: var(--signal-one); }
.td-twodoor__door--two { --svc: var(--signal-two); }
.td-twodoor__door {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 0.85rem;
  padding: 2.25rem 2rem 2rem; border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--svc) 22%, transparent), transparent 55%),
    var(--panel);
  border: 1px solid color-mix(in srgb, var(--svc) 35%, transparent);
  border-top: 3px solid var(--svc);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.td-twodoor__door:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--svc) 65%, transparent); box-shadow: 0 24px 50px rgba(0,0,0,0.35), 0 0 36px color-mix(in srgb, var(--svc) 15%, transparent); }
.td-twodoor__num {
  position: absolute; right: 1.25rem; top: 0.25rem; font-size: 6.5rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--svc) 45%, transparent); pointer-events: none;
}
.td-twodoor__who { margin: 0; font-size: 0.95rem; font-weight: 700; color: var(--svc); }
.td-twodoor__title { margin: 0; max-width: 20ch; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.td-twodoor__title em { font-style: normal; color: var(--svc); }
.td-twodoor__door--one .td-twodoor__title em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.td-twodoor__desc { margin: 0; flex: 1; font-size: 0.98rem; line-height: 1.65; color: rgba(255,255,255,0.8); }
.td-twodoor__leads { margin: 0; padding-top: 0.85rem; border-top: 1px solid var(--panel-line); font-size: 0.9rem; color: rgba(255,255,255,0.72); }
.td-twodoor__leads a { color: var(--white); font-weight: 700; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--svc) 70%, transparent); text-underline-offset: 3px; }
.td-twodoor__leads a:hover { color: var(--svc); }
.td-twodoor__cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.35rem;
  padding: 0.75rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  color: var(--svc); border: 1px solid color-mix(in srgb, var(--svc) 60%, transparent);
  transition: background 0.2s, color 0.2s;
}
.td-twodoor__cta svg { width: 16px; height: 16px; transition: transform 0.2s; }
.td-twodoor__cta:hover, .td-twodoor__cta:focus-visible { background: color-mix(in srgb, var(--svc) 14%, transparent); color: var(--white); }
.td-twodoor__cta:hover svg { transform: translateX(3px); }
.td-twodoor__join { display: flex; align-items: center; justify-content: center; }
.td-twodoor__join span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-size: 0.85rem; font-weight: 700; color: var(--gold-hi); background: var(--navy-deep);
  border: 1px solid color-mix(in srgb, var(--gold-mid) 45%, transparent);
}
@media (max-width: 860px) {
  .td-twodoor { grid-template-columns: 1fr; gap: 0.75rem; }
  .td-twodoor__join span { width: 38px; height: 38px; }
  .td-twodoor__door { padding: 1.9rem 1.4rem 1.6rem; }
  .td-twodoor__num { font-size: 5rem; }
}
.td-twodoor__who { padding-right: 4.5rem; }
.td-hero--home .td-hero__category { text-wrap: pretty; }
@media (max-width: 860px) { .td-twodoor__num { font-size: 4rem; right: 1rem; top: 0.4rem; } .td-twodoor__who { padding-right: 3rem; } }

/* Hero: taller, fills most of the first screen, content centred */
.td-hero--home { min-height: min(92vh, 900px); display: flex; align-items: center; padding: 7rem 0 3rem !important; }
.td-hero--home .td-hero__inner { width: 100%; }
.td-hero--home .td-hero__claim--brand { font-size: clamp(3rem, 1.6rem + 5.2vw, 5.6rem) !important; margin-bottom: 1.4rem !important; }
.td-hero--home .td-hero__category { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); max-width: 720px; }
.td-hero--home .td-hero__actions .btn-primary, .td-hero--home .td-hero__actions .btn-secondary { padding: 1rem 1.9rem; font-size: 1.02rem; }
@media (max-width: 600px) { .td-hero--home { min-height: 88svh; padding-top: 6rem !important; } }

/* Build and Run are door 2 services: their page hero wears teal. */
.td-svc-hero--door2 .page-hero__eyebrow { color: var(--signal-two) !important; border-color: rgba(0,212,255,0.35); background: rgba(0,212,255,0.07); }
.td-svc-hero--door2 .page-hero__eyebrow::before { background: var(--signal-two); box-shadow: 0 0 8px rgba(0,212,255,0.8); }
.td-svc-hero--door2 .page-hero__h1 em { background: linear-gradient(120deg, #7FE6FF 0%, var(--signal-two) 55%, #5AA8FF 100%); -webkit-background-clip: text; background-clip: text; }
.page-hero.td-svc-hero--door2 .td-svc-lead { color: #7FE6FF; }
/* Homepage scroll-spy: Contact takes the highlight at the contact section. */
.wtp-nav__links > a.is-spy { color: #7FE6FF !important; font-weight: 700 !important; position: relative; }
.wtp-nav__links > a.is-spy::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #7FE6FF, var(--signal-two));
}
@media (max-width: 768px) { .wtp-nav__links > a.is-spy::after { left: 25%; right: 25%; bottom: -6px; } }
/* Turnstile bot check sits as its own row in the enquiry card. */
.contact-form .cf-turnstile { padding: 0.9rem 1.25rem; border-top: 1px solid var(--line); min-height: 65px; }
/* The widget is at least 300px wide; on phones give it the card's full width. */
@media (max-width: 480px) { .contact-form .cf-turnstile { padding: 0.9rem 0; overflow: hidden; } }
/* "Book the call" is a plain rectangle; the card's bottom corners go square
   so the button meets the card edge cleanly. */
.td-final__inner--split .contact-form { border-radius: 14px 14px 0 0; }
.td-final__inner--split .contact-form .btn-primary { border-radius: 0 !important; }
/* Enquiry result. Success is announced by the "Email sent" pop-up, so the
   inline line is kept for screen readers only and the card ends at the
   button. Errors show as plain red text under the button. */
.td-final .wtp-contact-form__status--success {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px !important; padding: 0;
}
.td-final .wtp-contact-form__status--error { margin: 0 !important; padding: 0.85rem 1.25rem; font-size: 0.95rem !important; font-weight: 600; color: #FF9B9B !important; text-align: left; }
/* Direct contact options beside the enquiry form: email + LinkedIn. */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.td-direct { display: grid; gap: 0.6rem; margin-top: 1.75rem; }
.td-direct__card {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 1rem; border-radius: 12px; text-decoration: none;
  background: rgba(255,255,255,0.04); border: 1px solid var(--panel-line); transition: border-color 0.2s, background 0.2s;
}
.td-direct__card:hover, .td-direct__card:focus-visible { border-color: rgba(245,178,62,0.45); background: rgba(245,178,62,0.06); }
.td-direct__card:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.td-direct__card > svg { flex: none; width: 22px; height: 22px; color: var(--gold-hi); }
.td-direct__card > span { display: flex; flex-direction: column; min-width: 0; }
.td-direct__label { font-size: 0.8rem; font-weight: 700; color: var(--gold-hi); }
.td-direct__value { font-size: 0.92rem; color: var(--white); overflow-wrap: break-word; }
/* Mobile menu: "Services" is a real link to the services page (the desktop
   dropdown button is tap-disabled on mobile, so it looked dead). */
.td-nav-svc-link { display: none; }
@media (max-width: 900px) {
  .wtp-nav__item--dropdown > .td-nav-svc-link {
    display: inline-flex; align-items: center; gap: 0.4rem; font-size: 1.1rem; font-weight: 600; color: var(--white); text-decoration: none; padding: 0.25rem 0;
  }
  .wtp-nav__item--dropdown > .td-nav-svc-link::after { content: '→'; color: var(--gold-hi); }
  .wtp-nav__item--dropdown > .td-nav-svc-link[aria-current="page"] { color: var(--gold-hi); }
  .wtp-nav__item--dropdown > button { display: none !important; }
}

/* Desktop nav LinkedIn icon: its SVG had no size, so the link rendered 0px
   wide — invisible and unclickable. */
.wtp-nav__li-desktop { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--muted); transition: color 0.2s; }
.wtp-nav__li-desktop:hover { color: var(--white); }
.wtp-nav__li-desktop svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 1100px) { .wtp-nav__li-desktop { display: none !important; } }
/* Tablet (769–900px): the Services link sat in the bar at phone-menu size. */
@media (min-width: 769px) and (max-width: 900px) {
  .wtp-nav__item--dropdown > .td-nav-svc-link { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
}

/* In-page links (#contact-form, #doors, …) landed their target under the
   fixed nav, hiding the top of the form. Leave room for the nav, as the
   service rows already do. */
main [id] { scroll-margin-top: 6rem; }

/* ── 404 PAGE — reuses the legal-page panel; buttons keep their own look
   (the legal body underlines every link) and the shortcut list is a
   comfortable tap list. */
.td-404__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 2.5rem; }
.td-legal__body .td-404__actions a { text-decoration: none; }
.td-404__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--panel-line); }
.td-404__links li { border-bottom: 1px solid var(--panel-line); }
.td-legal__body .td-404__links a { display: block; padding: 0.85rem 0; text-decoration: none; color: var(--white); font-weight: 600; }
.td-404__links a::after { content: ' →'; color: var(--gold-hi); }
.td-legal__body .td-404__links a:hover { color: var(--gold-hi); }
