/* ============================================================
   SyberDigitals — homepage (rev 2, services first)
   Navy "Living Orbit" hero, light calm page below, navy CTA + footer.
   Standalone: the homepage does not load styles.css.
   Motion is progressive: every end state is the default render;
   animation only exists under html.motion-ok (set by home.js when the
   visitor has not asked for reduced motion).
   ============================================================ */

@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Variable.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Mono"; src: url("../fonts/JetBrainsMono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mono"; src: url("../fonts/JetBrainsMono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

body.home {
  --navy: #08285a; --navy-2: #0e3a7a; --navy-3: #14407f; --navy-deep: #061c40; --night: #04142f;
  --teal: #00b894; --teal-soft: #5ee0c4; --teal-deep: #007864; --teal-tint: #e0f5ef;
  --ink: #0f172a; --ink-2: #475569; --ink-3: #64748b;
  --mist: #f8fafc; --mist-2: #f1f5f9; --white: #fff; --hair: #e2e8f0; --hair-strong: #cbd5e1;
  --on: #e8eef7; --on-2: #b4c4dd; --on-3: #7f93b3; --line: rgba(255, 255, 255, .12);
  --warm-bg: #f7f3ec; --warm-ink: #2b2a26; --warm-ink-2: #5d5a52; --warm-teal: #0f6b5c; --warm-line: #e4dccd;
  --font: "Archivo", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1220px; --header-h: 70px;

  margin: 0; background: var(--mist); color: var(--ink); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.home *, .home *::before, .home *::after { box-sizing: border-box; }
.home img { display: block; max-width: 100%; }
.home a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(body.home) :where(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(body.home) :where(ul, ol) { padding: 0; list-style: none; }
.home :focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.home :is(.trust-bar, .site-header, .hero, .frameworks, .cta, .site-footer, .product-aciq) :focus-visible { outline-color: var(--teal-soft); }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--navy) !important; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .74rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.hero .eyebrow, .cta .eyebrow { color: var(--teal-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem/1 var(--font); padding: 15px 24px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn-teal { background: var(--teal); color: var(--night) !important; }
.btn-teal:hover { background: var(--teal-soft); }
.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .3); }
.btn-ghost:hover { border-color: #fff; }
.link-more { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-more .arr { transition: transform .2s; }
.link-more:hover .arr { transform: translateX(4px); }
.link-more:hover { text-decoration: underline; }

/* ---------- Chrome: trust bar + navy header ---------- */
.trust-bar { background: var(--night); color: var(--on-3); font: 400 .76rem/1 var(--mono); }
.trust-bar .wrap { display: flex; gap: 26px; padding-block: 10px; align-items: center; flex-wrap: wrap; }
.trust-bar span { display: inline-flex; gap: 8px; align-items: center; }
.trust-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.trust-bar a { margin-left: auto; color: var(--on-2) !important; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-deep); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(4, 20, 47, .35); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 36px; width: auto; flex: none; object-fit: contain; object-position: left center; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--on-2); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; border-radius: 10px; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle .bar { width: 18px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* The header "Contact Us" button replaces the plain Contact nav item; the nav item
   returns only where the button is hidden (phone widths) so Contact stays reachable. */
.site-nav a[href$="contact/"] { display: none; }
@media (max-width: 640px) { .site-nav a[href$="contact/"] { display: block; } }

/* ---------- 1. Hero: the Living Orbit ---------- */
.hero { position: relative; overflow: hidden; color: var(--on); background: var(--navy-deep); padding-block: clamp(32px, 4vw, 56px) clamp(40px, 5vw, 64px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 72% 45%, rgba(20, 64, 127, .95) 0%, rgba(8, 40, 90, .6) 45%, transparent 75%),
    radial-gradient(40% 50% at 72% 45%, rgba(0, 184, 148, .10), transparent 70%),
    linear-gradient(180deg, var(--navy-deep), var(--night)); }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.2px); background-size: 28px 28px;
  mask-image: radial-gradient(70% 80% at 70% 45%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { margin-top: 22px; font: 700 clamp(2.6rem, 1.4rem + 4.4vw, 4.9rem)/1.02 var(--font); letter-spacing: -.04em; color: #fff; }
.hero h1 .hl { background: linear-gradient(92deg, #fff 0%, var(--teal-soft) 55%, var(--teal) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 24px; max-width: 32em; font-size: 1.16rem; color: var(--on-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-facts dt { font: 600 1.35rem/1.1 var(--font); color: #fff; letter-spacing: -.01em; }
.hero-facts dd { font: 400 .76rem/1.4 var(--mono); color: var(--on-3); letter-spacing: .04em; margin-top: 4px; }

.orbit-col { min-width: 0; }
.orbit-stage { position: relative; perspective: 1400px; width: 100%; max-width: clamp(360px, calc(100vh - 410px), 600px); margin-inline: auto; }
.orbit-tilt { position: relative; transform-style: preserve-3d; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.orbit { display: block; width: 100%; height: auto; overflow: visible; }
.sweep { position: absolute; left: 5.1%; top: 5.1%; width: 89.8%; height: 89.8%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: conic-gradient(from 0deg, rgba(94, 224, 196, 0) 0deg, rgba(94, 224, 196, 0) 250deg, rgba(94, 224, 196, .04) 310deg, rgba(94, 224, 196, .12) 350deg, rgba(94, 224, 196, .3) 359.5deg, rgba(94, 224, 196, 0) 360deg);
  mask-image: radial-gradient(circle, transparent 27%, #000 29%); }
.motion-ok .sweep { opacity: 1; }
.tick-ring { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 6; stroke-dasharray: .4 4.6; }
.ring { fill: none; stroke: rgba(180, 196, 221, .26); stroke-width: 1.2; transition: stroke .5s, stroke-width .5s; }
.ring.is-active { stroke: rgba(94, 224, 196, .75); stroke-width: 1.6; filter: drop-shadow(0 0 6px rgba(0, 184, 148, .55)); }
.spoke { stroke: rgba(94, 224, 196, .45); stroke-width: 1; stroke-dasharray: 3 5; }
.comet circle { fill: var(--teal-soft); opacity: .18; }
.comet circle:nth-child(2) { opacity: .26; } .comet circle:nth-child(3) { opacity: .36; } .comet circle:nth-child(4) { opacity: .5; } .comet circle:nth-child(5) { opacity: .7; }
.comet .head { fill: #fff; opacity: 1; filter: drop-shadow(0 0 6px var(--teal-soft)); }
.comet { display: none; }
.motion-ok .comet { display: inline; }
.node .dot { fill: var(--on-3); transition: fill .4s; }
.node .halo { fill: var(--teal); opacity: calc(var(--g, 0) * .45); }
.node .lbl { font: 500 14.5px var(--font); fill: var(--on); paint-order: stroke; stroke: var(--navy-deep); stroke-width: 5px; stroke-linejoin: round; opacity: 0; transition: opacity .45s; }
.node.is-active .dot { fill: var(--teal-soft); }
.node.is-active .lbl { opacity: 1; }
.core-disc { stroke: rgba(94, 224, 196, .7); stroke-width: 1.2; filter: drop-shadow(0 0 22px rgba(0, 184, 148, .35)); }
.core-t { font: 600 15px var(--font); fill: #fff; }
.core-s { font: 500 8.5px var(--mono); letter-spacing: .16em; fill: var(--on-3); }
.pulse { fill: none; stroke: rgba(94, 224, 196, .5); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.motion-ok .pulse { animation: pulse 4.2s cubic-bezier(.2, .6, .3, 1) infinite; }
.motion-ok .pulse.p2 { animation-delay: 2.1s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.1); opacity: 0; } }
/* intro: rings draw, nodes arrive, core settles */
.motion-ok .ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s cubic-bezier(.6, 0, .2, 1) forwards; animation-delay: calc(.25s + var(--i) * .22s); }
.motion-ok .node { opacity: 0; animation: arrive .7s ease forwards; animation-delay: calc(1s + var(--i) * .07s); }
.motion-ok .core { animation: settle 1s cubic-bezier(.2, .8, .2, 1) both; transform-box: fill-box; transform-origin: center; }
.motion-ok .tick-ring { animation: fadein 2s ease both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes arrive { to { opacity: 1; } }
@keyframes settle { from { transform: scale(.6); opacity: 0; } }
@keyframes fadein { from { opacity: 0; } }

/* practice tabs under the orbit */
.practices { max-width: 600px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); }
/* all panels share one grid cell, so the block is as tall as the tallest panel and switching never shifts the page */
.practices > .panel { grid-area: 2 / 1; }
.practices > .panel[hidden] { display: block; visibility: hidden; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 6px 14px; color: var(--on-2); font: 600 1rem/1 var(--font); cursor: pointer; display: flex; gap: 10px; justify-content: center; align-items: baseline; transition: color .2s, border-color .2s; position: relative; }
.tabs button:hover { color: #fff; }
.tabs .tab-k { font: 500 .7rem/1 var(--mono); color: var(--on-2); }
.tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--teal); }
.tabs button[aria-selected="true"] .tab-k { color: var(--teal-soft); }
.tabs button::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: rgba(94, 224, 196, .5); }
.cycling .tabs button[aria-selected="true"]::after { animation: progress var(--cycle, 7s) linear forwards; }
@keyframes progress { to { width: 100%; } }
.panel { padding: 14px 2px 0; min-height: 150px; }
.panel-t { font: 600 1.05rem/1.3 var(--font); color: #fff; }
.panel p:not(.panel-t) { margin-top: 6px; color: var(--on-2); font-size: .98rem; }
.panel .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.panel .chips a { display: inline-block; font: 400 .8rem/1 var(--mono); padding: 8px 11px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; color: var(--on); text-decoration: none; transition: border-color .2s, background .2s; }
.panel .chips a:hover { border-color: var(--teal-soft); background: rgba(94, 224, 196, .08); }
.panel-link { display: inline-flex; gap: 8px; margin-top: 16px; color: var(--teal-soft) !important; font-weight: 600; text-decoration: none; }
.panel-link:hover { text-decoration: underline; }
.motion-ok .panel:not([hidden]) { animation: fadeup .45s ease both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(6px); } }

/* frameworks strip: the hero's lower edge */
.frameworks { background: var(--night); color: var(--on-2); border-top: 1px solid var(--line); }
.frameworks .wrap { display: flex; gap: 14px 32px; align-items: center; padding-block: 18px; flex-wrap: wrap; }
.frameworks .label { font: 500 .72rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-soft); }
.frameworks ul { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.frameworks li { font: 500 .86rem/1.4 var(--mono); color: var(--on); letter-spacing: .02em; position: relative; }
.frameworks li + li::before { content: ""; position: absolute; left: -15px; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--on-3); }

/* ---------- Light page bands ---------- */
.band { padding-block: clamp(72px, 9vw, 120px); }
.band-white { background: var(--white); }
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.band h2 { font: 700 clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem)/1.1 var(--font); letter-spacing: -.03em; margin-top: 16px; max-width: 18em; color: var(--navy); }
.band .sub { margin-top: 16px; color: var(--ink-2); max-width: 38em; }

/* 2. Services by practice: an editorial index, not a card grid */
.practice-index { margin-top: 56px; border-top: 1px solid var(--hair-strong); }
.practice { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 80px); padding-block: 40px; border-bottom: 1px solid var(--hair-strong); }
.practice-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-content: start; }
.ring-mark { grid-row: span 3; width: 64px; height: 64px; }
.ring-mark circle { fill: none; stroke: var(--hair-strong); stroke-width: 1.5; }
.ring-mark circle.on { stroke: var(--teal-deep); stroke-width: 2.2; }
.ring-mark .pin { fill: var(--teal); stroke: none; }
.ring-mark .hub { fill: var(--navy); stroke: none; }
.practice .k { font: 500 .74rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.practice h3 { font: 700 1.55rem/1.2 var(--font); letter-spacing: -.02em; color: var(--navy); }
.practice-meta p { color: var(--ink-2); max-width: 26em; }
.practice-meta .link-more { grid-column: 2; margin-top: 10px; }
/* Hover never changes layout (owner rule): the row keeps its box; a tint that sweeps in (background-size), a teal
   accent bar (both pseudo-elements, out of flow), colour and a transformed arrow do the work. */
.svc-list a { position: relative; z-index: 0; display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) auto; gap: 8px 28px; align-items: baseline; padding: 15px 6px 15px 0; border-bottom: 1px solid var(--hair); text-decoration: none; color: var(--ink); }
.svc-list a::before { content: ""; position: absolute; z-index: -1; inset: 0 -12px; border-radius: 8px; background: linear-gradient(90deg, rgba(0, 184, 148, .1), rgba(0, 184, 148, .02) 70%, transparent) no-repeat left center / 0% 100%; transition: background-size .35s cubic-bezier(.2, .7, .2, 1); }
.svc-list a::after { content: ""; position: absolute; left: -12px; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: var(--teal); transform: scaleY(0); transform-origin: center; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.svc-list li:first-child a { padding-top: 4px; }
.svc-list li:first-child a::before { top: -8px; }
.svc-list li:first-child a::after { top: 2px; }
.svc-list li:last-child a { border-bottom: 0; }
.svc-list b { font-weight: 600; color: var(--navy); transition: color .2s; }
.svc-list span { color: var(--ink-2); font-size: .96rem; line-height: 1.5; }
.svc-list i { font-style: normal; color: var(--teal-deep); transition: transform .25s; }
.svc-list a:is(:hover, :focus-visible)::before { background-size: 100% 100%; }
.svc-list a:is(:hover, :focus-visible)::after { transform: scaleY(1); }
.svc-list a:hover b { color: var(--teal-deep); }
/* keyboard focus: the ring is drawn around the tint layer, so ring and highlight match */
.svc-list a:focus-visible { outline: none; }
.svc-list a:focus-visible::before { outline: 3px solid var(--navy); outline-offset: 0; }
.svc-list a:is(:hover, :focus-visible) i { transform: translateX(4px); }

/* 3. How we work: a timeline drawn to scale */
.process { margin-top: 56px; }
.timeline { display: grid; grid-template-columns: 2fr 3fr 8fr 3fr; gap: 4px; }
.timeline span { height: 10px; border-radius: 5px; background: var(--navy); transform-origin: left; }
.timeline span:nth-child(2) { background: var(--navy-3); }
.timeline span:nth-child(3) { background: var(--teal-deep); }
.timeline span:nth-child(4) { background: linear-gradient(90deg, var(--teal), rgba(0, 184, 148, 0)); }
.scale { display: grid; grid-template-columns: 2fr 3fr 8fr 3fr; gap: 4px; margin-top: 10px; font: 400 .74rem/1.4 var(--mono); color: var(--ink-3); letter-spacing: .04em; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 40px; counter-reset: step; }
.steps li { border-top: 2px solid var(--hair-strong); padding-top: 20px; }
.steps .n { font: 500 .74rem/1 var(--mono); letter-spacing: .12em; color: var(--teal-deep); }
.steps h3 { font: 700 1.2rem/1.25 var(--font); color: var(--navy); margin-top: 10px; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: .98rem; }
.process-note { margin-top: 32px; font: 400 .8rem/1.5 var(--mono); color: var(--ink-3); }
.motion-ok .process .timeline span { transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.motion-ok .process.on .timeline span { transform: none; }
.motion-ok .process.on .timeline span:nth-child(2) { transition-delay: .25s; }
.motion-ok .process.on .timeline span:nth-child(3) { transition-delay: .5s; }
.motion-ok .process.on .timeline span:nth-child(4) { transition-delay: .9s; }
.motion-ok .process .steps li { transition: border-color .5s; }
.motion-ok .process.on .steps li { border-top-color: var(--navy); }

/* 4. Industries */
.industries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--hair-strong); }
.industry { padding: 36px 40px 8px 0; }
.industry + .industry { padding-left: 40px; border-left: 1px solid var(--hair); }
.industry .k { font: 500 .74rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.industry h3 { font: 700 1.45rem/1.2 var(--font); color: var(--navy); margin-top: 10px; letter-spacing: -.02em; }
.industry p { margin-top: 12px; color: var(--ink-2); max-width: 30em; }

/* 5. Training Academy */
.tracks { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; margin-top: 56px; }
.track { border: 1px solid var(--hair); border-radius: 16px; padding: clamp(24px, 3vw, 36px); background: var(--mist); }
.track .k { font: 500 .74rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.track h3 { font: 700 1.3rem/1.25 var(--font); color: var(--navy); margin-top: 8px; }
.track ul { margin-top: 18px; columns: 2 14em; column-gap: 28px; }
.track li { break-inside: avoid; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--hair); position: relative; font-size: .97rem; }
.track li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 1.5px; background: var(--teal-deep); }
.track-dev ul { columns: 1; }
.formats { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; font: 400 .8rem/1.4 var(--mono); color: var(--ink-3); }
.formats b { color: var(--ink); font-weight: 500; }

/* 6. Built by SyberDigitals: one compact band */
.products { padding-block: clamp(56px, 7vw, 88px); }
.products-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: 20px; align-items: stretch; }
.products-intro h2 { font: 700 clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem)/1.15 var(--font); letter-spacing: -.025em; color: var(--navy); margin-top: 14px; }
.products-intro p { margin-top: 12px; color: var(--ink-2); }
.product { border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.product .tag { font: 500 .7rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.product h3 { font: 700 1.35rem/1.2 var(--font); letter-spacing: -.02em; }
.product p { font-size: .97rem; }
.product .links { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.product-aciq { background: var(--navy); color: var(--on-2); position: relative; overflow: hidden; }
.product-aciq::after { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(94, 224, 196, .28); box-shadow: 0 0 0 28px rgba(94, 224, 196, .05), 0 0 0 29px rgba(94, 224, 196, .16); pointer-events: none; }
.product-aciq .tag { color: var(--teal-soft); }
.product-aciq h3 { color: #fff; }
.product-aciq a { color: var(--teal-soft) !important; }
.product-budget { background: var(--warm-bg); color: var(--warm-ink-2); border: 1px solid var(--warm-line); }
.product-budget .tag { color: var(--warm-teal); }
.product-budget h3 { color: var(--warm-ink); }
.product-budget a { color: var(--warm-teal) !important; }

/* 7. Our journey: an orbit-node timeline, the registered-company card, the client quote */
.journey-band { position: relative; overflow: hidden; isolation: isolate; }
.journey-rings { position: absolute; right: -220px; top: -180px; width: 620px; height: 620px; z-index: -1; pointer-events: none; }
.journey-rings circle { fill: none; stroke: rgba(8, 40, 90, .08); stroke-width: 1; }
.journey-rings circle.on { stroke: rgba(0, 120, 100, .16); }
.journey { position: relative; margin-top: 56px; --node: 40px; }
/* the line runs through the node centres; the last stretch fades out (the journey continues) */
.journey-line { position: absolute; left: calc(var(--node) / 2); right: 0; top: calc(var(--node) / 2 - 1px); height: 2px; border-radius: 2px; transform-origin: left center;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-3) 40%, var(--teal-deep) 75%, rgba(0, 120, 100, 0) 100%); }
.journey-stops { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; align-items: start; }
.stop-node { display: block; width: var(--node); height: var(--node); overflow: visible; }
.stop-node .o { fill: var(--mist); stroke: var(--hair-strong); stroke-width: 1.2; }
.stop-node .m { fill: #fff; stroke: var(--navy); stroke-width: 1.6; }
.stop-node .c { fill: var(--teal); }
.stop-reg .stop-node .m, .stop-now .stop-node .m { stroke: var(--teal-deep); }
.stop-k { margin-top: 22px; font: 500 .74rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.stop-t { margin-top: 8px; font: 600 1.12rem/1.4 var(--font); letter-spacing: -.01em; color: var(--navy); max-width: 17em; }
.reg-card { position: relative; overflow: hidden; margin-top: 12px; padding: 20px 40px 22px 22px; border-radius: 14px; background: var(--navy); color: var(--on-2); box-shadow: 0 18px 40px -22px rgba(8, 40, 90, .55); }
.reg-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal); }
.reg-seal { position: absolute; right: -22px; top: -22px; width: 78px; height: 78px; pointer-events: none; }
.reg-seal circle { fill: none; stroke: rgba(180, 196, 221, .24); stroke-width: 1.2; }
.reg-seal circle.on { stroke: rgba(94, 224, 196, .6); }
.reg-seal .pin { fill: var(--teal-soft); stroke: none; }
.reg-k { font: 500 .7rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-soft); }
.reg-facts { margin-top: 12px; }
.reg-facts li { padding-block: 7px; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.4; }
.reg-facts li:first-child { border-top: 0; padding-top: 0; color: #fff; font-weight: 600; }
.reg-facts .mono { font: 500 .88rem/1.4 var(--mono); letter-spacing: .04em; color: var(--on); }
/* draw-in: the line grows, each node lands, its text follows (only under motion-ok; the default is complete) */
.motion-ok .journey .journey-line { transform: scaleX(0); transition: transform 1.4s cubic-bezier(.6, 0, .2, 1); }
.motion-ok .journey .stop > * { opacity: 0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease; transition-delay: calc(.35s + var(--i) * .3s + .12s); }
.motion-ok .journey .stop > .stop-node { transform: scale(.4); transition-delay: calc(.35s + var(--i) * .3s); }
.motion-ok .journey.on .journey-line { transform: none; }
.motion-ok .journey.on .stop > * { opacity: 1; transform: none; }

.quote { position: relative; overflow: hidden; margin-top: 72px; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 15rem); gap: 0 36px; align-items: start; padding: clamp(28px, 4vw, 48px); border-radius: 18px; background: #fff; border: 1px solid var(--hair); box-shadow: 0 24px 60px -36px rgba(8, 40, 90, .35); }
.quote::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--teal-deep) 60%, rgba(0, 120, 100, 0)); }
.quote .mark { font: 700 5.5rem/.8 var(--font); color: var(--teal); }
.quote blockquote { margin: 0; }
.quote p { font: 500 clamp(1.2rem, 1rem + .8vw, 1.55rem)/1.45 var(--font); letter-spacing: -.01em; color: var(--navy); }
.quote figcaption { align-self: stretch; padding-left: 32px; border-left: 1px solid var(--hair-strong); font: 400 .8rem/1.6 var(--mono); color: var(--ink-3); display: flex; flex-direction: column; justify-content: center; }
.quote figcaption b { display: block; margin-bottom: 4px; color: var(--ink); font: 600 1rem/1.35 var(--font); }

/* 8. CTA: navy, with the orbit echoed */
.cta { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--on-2); padding-block: clamp(72px, 9vw, 120px); isolation: isolate; }
.cta-rings { position: absolute; right: -160px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); z-index: -1; pointer-events: none; }
.cta-rings circle { fill: none; stroke: rgba(180, 196, 221, .18); stroke-width: 1; }
.cta-rings circle.on { stroke: rgba(94, 224, 196, .45); }
.cta-rings .pin { fill: var(--teal-soft); stroke: none; }
.motion-ok .cta-rings .spin { transform-origin: 310px 310px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta h2 { font: 700 clamp(2rem, 1.3rem + 3vw, 3.4rem)/1.08 var(--font); letter-spacing: -.03em; max-width: 14em; color: #fff; margin-top: 16px; }
.cta p { margin-top: 18px; max-width: 36em; }
.cta p strong { color: #fff; font-weight: 600; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-2); padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: var(--on) !important; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h3 { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-soft); margin-bottom: 16px; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand p { margin-top: 16px; max-width: 26em; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 400 .78rem/1.5 var(--mono); }
.footer-base a { text-decoration: underline; }

/* Reveal (home.js / main.js add .in) */
.motion-ok .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
.motion-ok .reveal.in { opacity: 1; transform: none; }
.motion-ok.page-exit, .motion-ok .page-exit { opacity: 0; transition: opacity .15s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-deep); border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 10px 24px 18px; }
  .site-nav a { padding: 13px 4px; }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--teal-soft); }
  .hero-grid { grid-template-columns: 1fr; }
  .orbit-stage { max-width: 560px; }
}
@media (max-width: 960px) {
  .practice, .tracks, .products-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .band-head { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  /* the journey turns vertical: line down the left, nodes on it, text beside */
  .journey-line { left: calc(var(--node) / 2 - 1px); right: auto; top: 11px; bottom: 0; width: 2px; height: auto; transform-origin: center top;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-3) 40%, var(--teal-deep) 75%, rgba(0, 120, 100, 0) 100%); }
  .motion-ok .journey .journey-line { transform: scaleY(0); }
  .journey-stops { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .stop { position: relative; padding-left: calc(var(--node) + 22px); }
  .stop-node { position: absolute; left: 0; top: -9px; }
  .stop-k { margin-top: 0; }
  .stop-t { max-width: 26em; }
  .reg-card { max-width: 420px; }
  .quote { grid-template-columns: auto minmax(0, 1fr); gap: 0 24px; }
  .quote figcaption { grid-column: 2; margin-top: 22px; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--hair-strong); }
}
@media (max-width: 720px) {
  .industries { grid-template-columns: 1fr; }
  .industry, .industry + .industry { padding: 28px 0 8px; border-left: 0; }
  .industry + .industry { border-top: 1px solid var(--hair); margin-top: 20px; }
  .svc-list a { grid-template-columns: minmax(0, 1fr) auto; }
  .svc-list span { grid-column: 1; grid-row: 2; }
  .svc-list i { grid-row: 1; grid-column: 2; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .hide-sm { display: none; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .node .lbl { display: none; }
  .tabs button { font-size: .92rem; }
  .hero-facts { gap: 14px 24px; }
  .steps, .footer-grid { grid-template-columns: 1fr; }
  .timeline, .scale { grid-template-columns: 3fr 3fr 6fr 3fr; }
  .scale { font-size: .66rem; }
  .quote { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .quote figcaption { grid-column: 1; }
  .quote .mark { font-size: 4.2rem; }
  .journey-rings { right: -360px; }
  .quote p { font-size: 1.2rem; }
  .practice-meta { grid-template-columns: 1fr; }
  .ring-mark { grid-row: auto; width: 48px; height: 48px; }
  .practice-meta .link-more { grid-column: 1; }
  .cta-rings { opacity: .5; right: -300px; }
}

@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Print / save-as-PDF: show every end state (nothing waits for a scroll or an animation). */
@media print {
  .motion-ok .reveal, .motion-ok .node, .motion-ok .core, .motion-ok .journey .stop > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .motion-ok .ring { stroke-dashoffset: 0 !important; animation: none !important; }
  .motion-ok .process .timeline span, .motion-ok .journey .journey-line { transform: none !important; transition: none !important; }
  .sweep, .comet { display: none !important; }
}
