/* Layout concept: a working notebook for builders. Left-aligned editorial headings,
   mono "spec" labels for tools/levels/timelines, cards only where an item is a thing you buy or book.
   Colour: logo navy is the brand; electric cyan (--pop) is reserved for buttons and highlights. */
:root {
  --paper: #f5f6f2;
  --surface: #ffffff;
  --ink: #15212b;
  --muted: #55626c;
  --line: #dde1dc;
  --brand: #192e3f;
  --brand-deep: #0f1f2c;
  --pop: #22c8ee;
  --pop-ink: #0b1a24;
  --accent: #0577a0;
  --accent-ink: #ffffff;
  --accent-soft: #e0f3f9;
  --signal: #b8720a;
  --ok: #2f7d4f;
  --err: #a8382e;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 72rem;
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1822;
    --surface: #142433;
    --ink: #e8eef2;
    --muted: #9fb1bf;
    --line: #24384a;
    --brand: #0a1520;
    --brand-deep: #060e16;
    --accent: #4fd3f2;
    --accent-ink: #0b1a20;
    --accent-soft: #123447;
    --signal: #e3a345;
    --ok: #6cc08d;
    --err: #ee8a7f;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--signal); outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 650; }
h3 { font-size: 1.3rem; font-weight: 650; }
p { margin: 0; max-width: 65ch; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.stack { display: grid; gap: 1rem; }
.stack-lg { display: grid; gap: 2.5rem; }
.lede { font-size: 1.2rem; color: var(--muted); }
.label {
  font: 500 0.78rem/1.3 var(--mono);
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent);
}
.muted { color: var(--muted); }

/* Header */
/* Header and footer are navy on every page, framing the content. */
.site-header, .site-footer {
  --ink: #f2f7fa; --muted: #a9bccb; --line: rgb(255 255 255 / 0.12);
  --accent: var(--pop); --accent-soft: rgb(34 200 238 / 0.12); --surface: var(--brand);
  color: var(--ink);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--brand) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font: 700 1.1rem/1 var(--display); }
.brand-logo { display: block; height: 48px; width: auto; }
.site-footer .brand-logo { height: 64px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.nav a { display: block; padding: 0.45rem 0.65rem; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; }
@media (max-width: 960px) {
  .nav-toggle { display: block; position: relative; }
  .nav-toggle summary { list-style: none; cursor: pointer; font: 600 0.9rem/1 var(--mono); padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 8px; }
  .nav-toggle summary::-webkit-details-marker { display: none; }
  .nav-toggle ul { position: absolute; right: 0; top: calc(100% + 8px); flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.5rem; min-width: 14rem; box-shadow: 0 12px 30px rgb(0 0 0 / 0.12); }
  .nav-desktop { display: none; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.8rem 1.25rem; border-radius: 8px; border: 1.5px solid var(--pop);
  font: 700 0.98rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  background: var(--pop); color: var(--pop-ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--pop) 80%, transparent); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.btn.ghost:hover { border-color: var(--accent); background: var(--accent-soft); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-grid > * { min-width: 0; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-photo { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; max-width: 100%; background: var(--accent-soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 0.5rem; padding: 0; list-style: none; }
.proof li { font: 500 0.82rem/1.4 var(--mono); color: var(--muted); }
.proof li::before { content: "▸ "; color: var(--accent); }

/* Grids */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.grid > * { min-width: 0; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.85rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.grid .card:hover {
  transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--brand) 55%, transparent);
}
.card .actions { margin-top: auto; padding-top: 0.5rem; }
.card-img { margin: -1.5rem -1.5rem 0.25rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--accent-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-img img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .card, .card-img img { transition: none; } .grid .card:hover, .card:hover .card-img img { transform: none; } }
.specs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.specs li { font: 500 0.75rem/1 var(--mono); padding: 0.35rem 0.55rem; border-radius: 999px; background: var(--accent-soft); color: var(--ink); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.ticks li { padding-left: 1.4rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0.15rem; top: 0.62em; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--accent); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; margin: 0; font-size: 0.95rem; }
.kv dt { font: 500 0.78rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.kv dd { margin: 0; font-variant-numeric: tabular-nums; }
.price { font: 700 1.35rem/1 var(--display); color: var(--ink); }

/* Track blocks (sequence is real: tracks numbered 01-04 on the site) */
.track { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.5rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.track:first-child { border-top: 0; }
.track-num { font: 600 2rem/1 var(--mono); color: var(--accent); }
.track-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.5rem; }
@media (max-width: 560px) { .track { grid-template-columns: 1fr; gap: 0.75rem; } }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; }
.steps li { counter-increment: s; padding: 1.25rem; border-top: 3px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.steps li::before { content: "Step " counter(s); display: block; font: 500 0.75rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 0.5rem; }

/* Band */
.band {
  --ink: #f2f7fa; --muted: #a9bccb; --accent: var(--pop); --accent-soft: rgb(34 200 238 / 0.12);
  background: radial-gradient(60rem 20rem at 100% 0%, rgb(34 200 238 / 0.18), transparent 60%), var(--brand);
  color: var(--ink); border-radius: 16px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.25rem;
}
.band .lede { color: var(--muted); }

/* Photos strip */
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.photos figure { margin: 0; }
.photos .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--accent-soft); }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos figcaption { margin-top: 0.5rem; font-size: 0.92rem; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.25rem, 4vw, 2rem); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 0.92rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 0.7rem 0.8rem;
}
textarea { min-height: 8rem; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.5rem; min-width: 0; }
.choices { display: grid; gap: 0.45rem; }
.choice { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.6rem 0.75rem; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; font-weight: 500; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { margin-top: 0.3rem; accent-color: var(--accent); }
.req { color: var(--err); }
.form-status { font-weight: 600; }
.form-status[data-state="ok"] { color: var(--ok); }
.form-status[data-state="err"] { color: var(--err); }

/* Booking embed */
.booking-frame { width: 100%; min-height: 720px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.booking-fallback { padding: 2rem; border: 1.5px dashed var(--line); border-radius: 14px; display: grid; gap: 1rem; }

/* Modal */
dialog { border: 1px solid var(--line); border-radius: 14px; padding: 0; width: min(34rem, calc(100vw - 32px)); background: var(--surface); color: var(--ink); }
dialog::backdrop { background: rgb(10 18 24 / 0.55); }
dialog .form { border: 0; }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.icon-btn { background: none; border: 0; font-size: 1.3rem; color: var(--muted); cursor: pointer; padding: 0.25rem 0.5rem; }

/* Footer */
.site-footer {
  padding-block: 3.5rem 2rem; margin-top: 2rem;
  background: radial-gradient(40rem 18rem at 100% 0%, rgb(34 200 238 / 0.10), transparent 65%), linear-gradient(180deg, var(--brand), var(--brand-deep));
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font: 500 0.78rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.socials { display: flex; gap: 1rem; flex-wrap: wrap; font-weight: 600; }
.copyright { margin-top: 2.5rem; font-size: 0.88rem; color: var(--muted); }

/* Dark home hero: brand navy, photo, rotating headline word, animated workflow */
.hero-dark {
  --ink: #f2f7fa; --muted: #a9bccb; --line: rgb(255 255 255 / 0.13);
  --accent: var(--pop); --accent-soft: rgb(34 200 238 / 0.12);
  color: var(--ink);
  background:
    radial-gradient(42rem 28rem at 85% 10%, rgb(34 200 238 / 0.20), transparent 65%),
    radial-gradient(30rem 22rem at 0% 100%, rgb(34 200 238 / 0.10), transparent 70%),
    radial-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--brand), var(--brand-deep));
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 4vw, 2.75rem);
}
.hero-dark h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); }
.hero-dark .hero-photo { aspect-ratio: 1 / 1; max-height: 30rem; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6); }
@media (max-width: 860px) { .hero-dark .hero-photo { aspect-ratio: 4 / 3; } .hero-dark .hero-photo img { object-position: 50% 20%; } }
.btn.light { background: #f2f7fa; border-color: #f2f7fa; color: var(--brand); }
.btn.light:hover { box-shadow: 0 10px 24px -10px rgb(242 247 250 / 0.55); }
.hero-links { font-size: 0.95rem; color: var(--muted); }
.hero-links a { white-space: nowrap; color: var(--ink); font-weight: 600; text-decoration-color: rgb(34 200 238 / 0.6); }
.hero-links a:hover { color: var(--pop); }

/* Floating credential badges over the hero photo */
.hero-visual { position: relative; }
.hero-badge {
  position: absolute; z-index: 1; display: flex; align-items: center; gap: 0.65rem;
  padding: 0.6rem 0.95rem 0.6rem 0.6rem; border-radius: 14px;
  background: rgb(15 31 44 / 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgb(34 200 238 / 0.35);
  box-shadow: 0 16px 34px -14px rgb(0 0 0 / 0.65);
  animation: badge-float 6s ease-in-out infinite;
}
.hb-icon { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--pop); color: var(--pop-ink); }
.hb-icon svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hb-text { display: grid; gap: 0.1rem; line-height: 1.15; white-space: nowrap; }
.hb-text strong { font: 700 0.95rem/1.15 var(--display); color: #f2f7fa; }
.hb-text small { font: 500 0.7rem/1.2 var(--mono); color: #a9bccb; }
.b-top { top: 7%; left: -1.75rem; }
.b-mid { top: 44%; right: -1.75rem; animation-delay: -2s; }
.b-bot { bottom: 8%; left: -1.25rem; animation-delay: -4s; }
@keyframes badge-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 1100px) { .b-top, .b-bot { left: 0.75rem; } .b-mid { right: 0.75rem; } }
@media (max-width: 560px) {
  .hero-badge { padding: 0.45rem 0.7rem 0.45rem 0.45rem; gap: 0.5rem; }
  .hb-icon { width: 1.8rem; height: 1.8rem; }
  .hb-text strong { font-size: 0.82rem; }
  .hb-text small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-badge { animation: none; } }
.rotator { display: inline-block; color: var(--pop); transition: opacity 0.3s ease, transform 0.3s ease; }
.rotator.out { opacity: 0; transform: translateY(0.25em); }

.flow-wrap { margin-top: clamp(2rem, 5vw, 3rem); display: grid; gap: 0.9rem; }
.flow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: rgb(255 255 255 / 0.035);
}
.flow-node {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem 0.85rem; min-width: 0;
  border: 1px solid var(--line); border-radius: 12px; background: rgb(255 255 255 / 0.04);
  animation: flow-node 6s ease-in-out infinite; animation-delay: calc(var(--i) * 1.5s);
}
.flow-icon {
  flex: none; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 10px;
  background: rgb(34 200 238 / 0.12); color: var(--pop);
  animation: flow-icon 6s ease-in-out infinite; animation-delay: calc(var(--i) * 1.5s);
}
.flow-icon svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow-text { display: grid; gap: 0.15rem; min-width: 0; }
.flow-text strong { font-size: 0.95rem; line-height: 1.2; }
.flow-text code { font: 500 0.72rem/1.2 var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-link { position: relative; width: clamp(1.25rem, 3vw, 2.75rem); height: 2px; background: var(--line); }
.flow-dot {
  position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: var(--pop); box-shadow: 0 0 10px 2px rgb(34 200 238 / 0.7); opacity: 0;
  animation: flow-dot 6s linear infinite; animation-delay: calc(var(--i) * 1.5s + 0.9s);
}
@keyframes flow-node {
  0%, 30%, 100% { border-color: var(--line); box-shadow: none; }
  8%, 20% { border-color: var(--pop); box-shadow: 0 0 0 1px var(--pop), 0 0 28px -4px rgb(34 200 238 / 0.55); }
}
@keyframes flow-icon {
  0%, 30%, 100% { background: rgb(34 200 238 / 0.12); color: var(--pop); }
  8%, 20% { background: var(--pop); color: var(--pop-ink); }
}
@keyframes flow-dot {
  0% { left: 0; opacity: 0; }
  2% { opacity: 1; }
  12% { left: 100%; opacity: 1; }
  14%, 100% { left: 100%; opacity: 0; }
}
@keyframes flow-dot-v {
  0% { top: 0; opacity: 0; }
  2% { opacity: 1; }
  12% { top: 100%; opacity: 1; }
  14%, 100% { top: 100%; opacity: 0; }
}
@media (max-width: 860px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-link { width: 2px; height: 1.1rem; margin-left: calc(0.85rem + 1.2rem - 1px); }
  .flow-dot { left: 50%; top: 0; margin: -4.5px 0 0 -4.5px; animation-name: flow-dot-v; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-node, .flow-icon { animation: none; }
  .flow-dot { display: none; }
  .rotator { transition: none; }
}

/* Scroll reveal (only when JS runs and motion is allowed) */
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: var(--d, 0s); }
.motion .reveal.in { opacity: 1; transform: none; }

/* Mobile booking bar */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 20;
    padding: 0.6rem 16px calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { width: 100%; }
  .has-mobile-cta { padding-bottom: 4.5rem; }
}

/* Floating WhatsApp chat (shown only when TDT_CONFIG.whatsapp is set) */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 21;
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.1rem 0.75rem 0.9rem;
  border-radius: 999px; background: #25d366; color: #0b2e17; font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 28px -10px rgb(0 0 0 / 0.45); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgb(0 0 0 / 0.5); }
.wa-float svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
@media (max-width: 720px) {
  .wa-float { padding: 0.8rem; right: 16px; }
  .wa-float span { display: none; }
  .has-mobile-cta .wa-float { bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } .wa-float:hover { transform: none; } }

/* Tool logos marquee: each card carries its brand colour in --c */
.tools { padding-block: clamp(2.5rem, 5vw, 3.5rem) 0.75rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.tools + .section { padding-top: clamp(2.5rem, 5vw, 3.75rem); }
.tools .wrap { display: grid; gap: 1.5rem; margin-bottom: 1.25rem; }
.tools-head { display: grid; gap: 0.4rem; justify-items: center; text-align: center; }
.tools-head h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.marquee {
  overflow: hidden; padding-block: 0.75rem 1.25rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 1rem; margin: 0; padding: 0 1rem 0 0; list-style: none; }
.marquee-list li {
  position: relative; display: inline-flex; align-items: center; gap: 0.8rem; white-space: nowrap;
  padding: 0.7rem 1.3rem 0.7rem 0.7rem; border-radius: 16px;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--c) 22%, var(--line));
  box-shadow: 0 1px 2px rgb(15 31 44 / 0.06), 0 10px 24px -14px color-mix(in srgb, var(--c) 55%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.marquee-list li::after {
  content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: -1px; height: 2px; border-radius: 2px;
  background: var(--c); opacity: 0.55;
}
.tool-icon {
  flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px;
  background: color-mix(in srgb, var(--c) 13%, var(--surface)); color: var(--c);
  transition: background 0.25s ease, color 0.25s ease;
}
.tool-icon svg { width: 1.45rem; height: 1.45rem; fill: currentColor; }
.tool-text { display: grid; gap: 0.1rem; line-height: 1.2; }
.tool-text strong { font: 700 1rem/1.2 var(--display); color: var(--ink); }
.tool-text small { font: 500 0.72rem/1.2 var(--mono); color: var(--muted); }
.marquee-list li:hover {
  transform: translateY(-4px); border-color: var(--c);
  box-shadow: 0 18px 32px -14px color-mix(in srgb, var(--c) 70%, transparent);
}
.marquee-list li:hover .tool-icon { background: var(--c); color: #fff; }
@media (prefers-color-scheme: dark) { .marquee-list li:not(:hover) .tool-icon { color: color-mix(in srgb, var(--c) 60%, #fff); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-list { flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-list li, .tool-icon { transition: none; }
  .marquee-list li:hover { transform: none; }
}

/* Stats band */
.stats {
  --ink: #f2f7fa; --muted: #a9bccb;
  color: var(--ink); padding-block: clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1.4px) 0 0 / 22px 22px,
    radial-gradient(36rem 16rem at 15% 50%, rgb(34 200 238 / 0.16), transparent 70%),
    var(--brand);
}
.section + .stats, .stats + .section { border-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.stat { display: grid; gap: 0.35rem; padding-left: 1.1rem; border-left: 2px solid rgb(34 200 238 / 0.35); }
.stat-num { font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); color: var(--pop); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat-label { color: var(--muted); font-weight: 600; line-height: 1.35; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; } }

/* Bento course showcase */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(15rem, auto); gap: 1.25rem; }
.bento-tile {
  position: relative; overflow: hidden; border-radius: 16px; isolation: isolate; min-width: 0;
  display: flex; align-items: flex-end; background: var(--brand); color: #f2f7fa;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-tile:nth-child(4) { grid-column: span 2; }
.bento-feature { grid-column: span 2; grid-row: span 2; }
.bento-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s ease; }
.bento-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(15 31 44 / 0.05) 0%, rgb(15 31 44 / 0.55) 45%, rgb(15 31 44 / 0.95) 100%);
}
.bento-body { display: grid; gap: 0.6rem; padding: 1.4rem; width: 100%; }
.bento-feature .bento-body { padding: clamp(1.5rem, 3vw, 2.25rem); gap: 0.8rem; }
.bento-feature::before { background: linear-gradient(180deg, rgb(15 31 44 / 0) 0%, rgb(15 31 44 / 0.7) 40%, rgb(15 31 44 / 0.97) 75%); }
.bento-tile h3 { font-size: 1.2rem; }
.bento-feature h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.bento-text { color: #c9d6df; max-width: 46ch; }
.bento-tile .specs li { background: rgb(255 255 255 / 0.14); color: #f2f7fa; backdrop-filter: blur(4px); }
.bento-link { color: var(--pop); font-weight: 700; text-decoration: none; }
.bento-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bento-link:focus-visible { outline: none; }
.bento-tile:has(.bento-link:focus-visible) { outline: 3px solid var(--signal); outline-offset: 3px; }
.bento-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgb(15 31 44 / 0.7); }
.bento-tile:hover .bento-img { transform: scale(1.06); }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-feature { grid-row: span 1; min-height: 24rem; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-feature, .bento-tile:nth-child(4) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .bento-tile, .bento-img { transition: none; } .bento-tile:hover, .bento-tile:hover .bento-img { transform: none; } }

/* Learn / Hire doors */
.doors-head { justify-items: center; text-align: center; }
.doors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.door {
  position: relative; display: flex; flex-direction: column; gap: 1rem; overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: 20px; border: 1px solid var(--line);
  background: var(--surface); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.door::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--pop); }
.door-head { display: flex; align-items: center; gap: 0.8rem; }
.door-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.door-icon svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.door h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.door .actions { margin-top: auto; padding-top: 0.5rem; }
.door-alt { font-weight: 600; color: var(--muted); text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.door-alt:hover { color: var(--ink); }
.door:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); box-shadow: 0 24px 50px -26px color-mix(in srgb, var(--brand) 60%, transparent); }
.door-hire {
  --ink: #f2f7fa; --muted: #a9bccb; --line: rgb(255 255 255 / 0.12); --accent: var(--pop); --accent-soft: rgb(34 200 238 / 0.14);
  color: var(--ink); border-color: transparent;
  background:
    radial-gradient(28rem 16rem at 100% 0%, rgb(34 200 238 / 0.22), transparent 65%),
    radial-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(160deg, var(--brand), var(--brand-deep));
}
.door-hire .door-icon { background: var(--pop); color: var(--pop-ink); }
.door-hire:hover { box-shadow: 0 24px 50px -22px rgb(34 200 238 / 0.45); }
@media (max-width: 760px) { .doors { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .door { transition: none; } .door:hover { transform: none; } }

/* Inner page tops: same navy hero as home, with an orbiting visual */
.page-top { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-top .hero-grid { align-items: center; }
.page-top h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.orbit { position: relative; width: min(100%, 24rem); aspect-ratio: 1; justify-self: center; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgb(34 200 238 / 0.28); animation: orbit-spin 60s linear infinite; }
.orbit-ring::before { content: ""; position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--pop); box-shadow: 0 0 14px 3px rgb(34 200 238 / 0.7); }
.r1 { inset: 4%; }
.r2 { inset: 24%; animation-duration: 40s; animation-direction: reverse; border-style: solid; border-color: rgb(34 200 238 / 0.16); }
.orbit-core {
  position: absolute; inset: 37%; display: grid; place-items: center; border-radius: 26%;
  background: linear-gradient(145deg, var(--pop), #0b8fb3); color: var(--pop-ink);
  box-shadow: 0 0 0 10px rgb(34 200 238 / 0.08), 0 0 60px 6px rgb(34 200 238 / 0.35);
}
.orbit-core svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Chips sit around the core, never over it: top-left, upper-right, bottom-left. */
.orbit .o1 { top: 2%; left: -12%; }
.orbit .o2 { top: 15%; right: -18%; animation-delay: -2s; }
.orbit .o3 { bottom: 6%; left: -6%; animation-delay: -4s; }
.page-top { overflow: hidden; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { .orbit .o2 { right: 0; top: 20%; } .orbit .o1 { left: 0; top: -2%; } .orbit .o3 { left: 0; } }
@media (max-width: 860px) { .orbit { display: none; } }
@media (prefers-reduced-motion: reduce) { .orbit-ring { animation: none; } }

/* AI Services showcase: navy panel with automation tabs */
.showcase {
  --ink: #f2f7fa; --muted: #a9bccb; --line: rgb(255 255 255 / 0.13); --accent: var(--pop); --accent-soft: rgb(34 200 238 / 0.12);
  color: var(--ink); border-radius: 22px; padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(40rem 20rem at 100% 0%, rgb(34 200 238 / 0.18), transparent 65%),
    radial-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(160deg, var(--brand), var(--brand-deep));
}
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tab {
  font: 700 0.92rem/1 var(--body); padding: 0.7rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgb(255 255 255 / 0.04); color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tab:hover { color: var(--ink); border-color: rgb(34 200 238 / 0.5); }
.tab[aria-selected="true"] { background: var(--pop); border-color: var(--pop); color: var(--pop-ink); }
.tab-panel { display: grid; gap: 1rem; }
.tab-panel[hidden] { display: none; }
.tab-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; color: var(--muted); font-size: 0.95rem; }
.tab-meta strong { color: var(--ink); }
.tab-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font: 500 0.82rem/1.6 var(--mono); }
.tab-facts a { color: var(--pop); font-weight: 600; text-decoration: none; }
.tab-facts a:hover { text-decoration: underline; }
[id] { scroll-margin-top: 90px; }

/* Horizontal timeline: line fills and nodes light up in order once revealed */
/* --count is set inline; the line runs from the first node's centre to the last one's. */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--count, 4), minmax(0, 1fr)); gap: 1.5rem; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; top: 1.5rem; left: 1.5rem; height: 2px; background: var(--line);
  right: calc((100% - (var(--count, 4) - 1) * 1.5rem) / var(--count, 4) - 1.5rem);
}
.timeline::after { background: linear-gradient(90deg, var(--pop), var(--accent)); transform-origin: left; transform: scaleX(1); }
.timeline li { position: relative; z-index: 1; display: grid; gap: 0.5rem; align-content: start; }
.timeline h3 { font-size: 1.15rem; }
.tl-node {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  font: 600 0.9rem/1 var(--mono); background: var(--pop); color: var(--pop-ink); border: 2px solid var(--pop);
  box-shadow: 0 0 0 6px var(--paper), 0 0 22px 2px rgb(34 200 238 / 0.45);
}
.motion .timeline::after { transform: scaleX(0); transition: transform 1.4s ease 0.2s; }
.motion .timeline.in::after { transform: scaleX(1); }
.motion .timeline .tl-node { background: var(--surface); color: var(--muted); border-color: var(--line); box-shadow: 0 0 0 6px var(--paper); transition: all 0.4s ease; transition-delay: calc(var(--n) * 0.35s + 0.2s); }
.motion .timeline.in .tl-node { background: var(--pop); color: var(--pop-ink); border-color: var(--pop); box-shadow: 0 0 0 6px var(--paper), 0 0 22px 2px rgb(34 200 238 / 0.45); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .timeline::before, .timeline::after { top: 1.5rem; bottom: 1.5rem; left: calc(1.5rem - 1px); right: auto; width: 2px; height: auto; }
  .timeline::after { transform-origin: top; }
  .motion .timeline::after { transform: scaleY(0); }
  .motion .timeline.in::after { transform: scaleY(1); }
  .timeline li { grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; }
  .timeline li > :not(.tl-node) { grid-column: 2; }
  .timeline .tl-node { grid-row: span 2; }
}

/* Vertical career timeline (About) */
.vtimeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 1.25rem; max-width: 46rem; }
.vtimeline::before { content: ""; position: absolute; top: 1rem; bottom: 1rem; left: calc(1.5rem - 1px); width: 2px; background: linear-gradient(180deg, var(--pop), color-mix(in srgb, var(--pop) 15%, var(--line))); }
.vtimeline li { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1.25rem; align-items: start; }
.vtimeline li > :not(.tl-node) { grid-column: 2; }
.vtimeline .tl-node { grid-row: span 2; }
.vtimeline h3 { font-size: 1.2rem; padding-top: 0.7rem; }
.vtimeline p { padding-bottom: 0.5rem; }
.motion .vtimeline li .tl-node { transform: scale(0.6); opacity: 0.4; transition: transform 0.5s ease, opacity 0.5s ease; }
.motion .vtimeline li.in .tl-node { transform: none; opacity: 1; }

/* Coaching: pricing-style session cards */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: center; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 0.9rem; min-width: 0;
  padding: clamp(1.5rem, 3vw, 2rem); border-radius: 20px; border: 1px solid var(--line); background: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px color-mix(in srgb, var(--brand) 60%, transparent); }
.price-card .actions { margin-top: auto; padding-top: 0.5rem; }
.price-card .btn { width: 100%; }
.pc-figure { display: flex; align-items: baseline; gap: 0.5rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.pc-figure strong { font: 700 3.4rem/1 var(--display); letter-spacing: -0.03em; color: var(--accent); }
.pc-figure span { font: 500 0.85rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.price-card.featured {
  --ink: #f2f7fa; --muted: #a9bccb; --line: rgb(255 255 255 / 0.13); --accent: var(--pop); --accent-soft: rgb(34 200 238 / 0.12);
  color: var(--ink); border: 1.5px solid var(--pop); padding-block: clamp(2rem, 4vw, 2.75rem);
  background: radial-gradient(24rem 14rem at 100% 0%, rgb(34 200 238 / 0.2), transparent 65%), linear-gradient(160deg, var(--brand), var(--brand-deep));
  box-shadow: 0 26px 50px -24px rgb(34 200 238 / 0.45);
}
.pc-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--pop); color: var(--pop-ink);
  font: 600 0.72rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em;
}
@media (max-width: 960px) { .pricing { grid-template-columns: minmax(0, 1fr); max-width: 30rem; margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { .price-card { transition: none; } .price-card:hover { transform: none; } }

/* About: client wall */
.client-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.client-wall li {
  display: grid; place-items: center; min-height: 6.5rem; padding: 1rem; text-align: center; background: var(--surface);
  font: 700 clamp(1rem, 1.6vw, 1.25rem)/1.2 var(--display); color: var(--muted); letter-spacing: -0.01em;
  transition: color 0.25s ease, background 0.25s ease;
}
.client-wall li:hover { color: var(--ink); background: var(--accent-soft); }
@media (max-width: 860px) { .client-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
