/* =============================================================
   BASE · Shared styles for Gosu Upskill landing pages
   Extracted from style.css — typography, header, footer,
   buttons, layout primitives, and shared section patterns.
   ============================================================= */

/* -------------------------------------------------------------
   1. RESET · TOKENS
   ------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette — pure black, warm amber, cool holographic cyan */
  --bg:              #000000;
  --bg-elev:         #0a0a0a;
  --ink:             #f4f1ea;
  --ink-muted:       #9c9591;
  --ink-dim:         #5a554f;
  --line:            rgba(244, 241, 234, 0.12);
  --line-strong:     rgba(244, 241, 234, 0.28);
  --amber:           #ffb800;
  --amber-soft:      #ffd66d;
  --cyan:            #5ae8ff;
  --red:             #ff4b4b;
  --green:           #39e58c;

  /* Type */
  --font-display:    'Unbounded', 'Inter', system-ui, sans-serif;
  --font-body:       'Inter', system-ui, sans-serif;
  --font-mono:       'Space Mono', ui-monospace, monospace;

  /* Layout */
  --header-h:        72px;
  --edge:            5vw;

  /* Motion */
  --ease-out:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:     cubic-bezier(0.65, 0, 0.35, 1);
}

/* -------------------------------------------------------------
   2. BASE ELEMENT STYLES
   ------------------------------------------------------------- */
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--amber); color: #000; }

/* Hide scrollbar visually but keep scroll working */
::-webkit-scrollbar { width: 0; height: 0; }
html { scrollbar-width: none; }

/* Lenis */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* -------------------------------------------------------------
   3. HEADER · NAVIGATION
   ------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.4rem var(--edge);
  pointer-events: none;
}
.site-header > nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}
.brand {
  display: flex; align-items: baseline; gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1.02rem;
  line-height: 1;
  color: var(--ink);
}
.brand-mark {
  color: var(--amber);
  font-size: 0.82em;
  transform: translateY(-0.05em);
  display: inline-block;
}
.brand-sub {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--ink-muted);
  text-transform: uppercase;
  padding-left: 0.7em;
  border-left: 1px solid var(--line);
  margin-left: 0.1em;
}
.nav-links {
  display: flex; list-style: none; gap: 2.2rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.3s var(--ease-out);
  position: relative;
  padding: 0.4em 0;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--amber);
  transition: right 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-links .nav-cta {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 0.65em 1.1em;
  border-radius: 999px;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.nav-links .nav-cta:hover {
  background: var(--amber);
  color: #000;
  border-color: var(--amber);
}
.nav-links .nav-cta::after { display: none; }

/* Industries dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, var(--amber));
  border: 1px solid var(--accent, var(--amber));
  padding: 0.45em 1em;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  background: transparent;
}
.nav-dropdown-toggle:hover {
  background: var(--accent, var(--amber));
  color: #000;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: var(--bg-elev, #0a0a0a);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.5rem 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  z-index: 60;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.nav-dropdown-item:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}
.nav-dropdown-item.active {
  color: var(--accent, var(--amber));
}
.nav-dropdown-item .coming-soon {
  font-size: 0.6rem;
  color: var(--ink-dim);
  margin-left: 0.5em;
}

/* -------------------------------------------------------------
   4. SECTION LABEL
   ------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.section-label--centered { justify-content: center; }
.label-index {
  font-weight: 700;
  color: var(--amber);
}
.label-divider {
  width: 28px; height: 1px;
  background: var(--line-strong);
}
.label-name { color: var(--ink-muted); }

/* -------------------------------------------------------------
   5. SECTION TYPOGRAPHY
   ------------------------------------------------------------- */
.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.8rem;
}
.section-heading em {
  font-style: normal;
  font-weight: 500;
  color: var(--amber);
  font-family: var(--font-display);
}

.section-body {
  font-size: clamp(1rem, 1.15vw, 1.13rem);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 40ch;
  margin-bottom: 2rem;
}

/* -------------------------------------------------------------
   6. CTA BUTTONS
   ------------------------------------------------------------- */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.4rem;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  padding: 1.05em 1.8em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.cta-button--primary {
  background: var(--amber);
  color: #000;
  border: 1px solid var(--amber);
  font-weight: 700;
}
.cta-button--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.cta-button--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.cta-button--ghost:hover {
  border-color: var(--ink);
  background: rgba(244, 241, 234, 0.06);
}
.cta-arrow {
  transition: transform 0.3s var(--ease-out);
  font-family: var(--font-body);
  font-weight: 500;
}
.cta-button--primary:hover .cta-arrow { transform: translateX(4px); }

/* Hero CTA styles */
.hero-cta-group {
  display: flex;
  gap: 0.9rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  padding: 1em 1.7em;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.hero-cta .cta-arrow {
  font-family: var(--font-body);
  font-weight: 500;
  transition: transform 0.3s var(--ease-out);
}
.hero-cta--primary {
  background: var(--amber);
  color: #000;
  border: 1px solid var(--amber);
  font-weight: 700;
}
.hero-cta--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.hero-cta--primary:hover .cta-arrow { transform: translateX(4px); }
.hero-cta--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.hero-cta--ghost:hover {
  border-color: var(--ink);
  background: rgba(244, 241, 234, 0.06);
}

/* -------------------------------------------------------------
   7. SCROLL INDICATOR
   ------------------------------------------------------------- */
.scroll-indicator {
  position: absolute;
  bottom: 3vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9em;
  z-index: 3;
}
.scroll-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--ink-muted), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-arrow::after {
  content: '';
  position: absolute; top: -70%; left: 0;
  width: 1px; height: 40%;
  background: var(--amber);
  animation: scroll-arrow 1.8s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
@keyframes scroll-arrow {
  0%   { top: -40%; }
  100% { top: 110%; }
}

/* -------------------------------------------------------------
   8. PROCESS TIMELINE
   ------------------------------------------------------------- */
.process-section {
  position: relative;
  z-index: 20;
  padding: 14vh var(--edge) 12vh;
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.process-header {
  max-width: 720px;
  margin: 0 auto 6rem;
  text-align: center;
}
.process-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 0.3rem;
}
.process-heading em {
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(180deg, var(--amber) 0%, var(--amber-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-subtitle {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.15vw, 1.13rem);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
}

.process-track {
  list-style: none;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: process;
}
/* The connecting line behind the nodes — passes through node centres */
.process-track::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(100% / 8);          /* centred under the first node */
  right: calc(100% / 8);         /* centred under the last node */
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 184, 0, 0.5) 10%,
    rgba(255, 184, 0, 0.35) 50%,
    rgba(255, 184, 0, 0.5) 90%,
    transparent 100%);
  z-index: 0;
}

.process-step {
  position: relative;
  padding: 0 1.2rem;
  text-align: center;
  z-index: 1;
}
.process-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--amber);
  margin-bottom: 1.2rem;
  padding-top: 0.25rem;
}
.process-node {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: #0a0a0a;
  border: 1px solid rgba(255, 184, 0, 0.6);
  position: relative;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 1), 0 0 24px rgba(255, 184, 0, 0.25);
}
.process-node::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--amber);
  transform: scale(0.6);
  transition: transform 0.5s var(--ease-out);
}
.process-step:hover .process-node::after { transform: scale(1); }
.process-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.process-body {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 28ch;
  margin: 0 auto;
}

/* -------------------------------------------------------------
   9. OFFERINGS PATTERN
   ------------------------------------------------------------- */
.offerings-section {
  position: relative;
  z-index: 20;
  padding: 14vh var(--edge) 10vh;
  background: var(--bg);
  color: var(--ink);
}
.offerings-header {
  max-width: 720px;
  margin: 0 auto 5rem;
  text-align: center;
}
.offerings-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 0.3rem;
}
.offerings-heading em {
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(180deg, var(--amber) 0%, var(--amber-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.offerings-subtitle {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.15vw, 1.13rem);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  max-width: 1280px;
  margin: 0 auto;
}

.offering-card {
  position: relative;
  background: #0a0a0a;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 2.2rem 2rem 0;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), background 0.5s var(--ease-out);
}
.offering-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, color-mix(in srgb, var(--amber) 14%, transparent) 0%, transparent 60%);
  opacity: 0.55;
  z-index: -1;
  transition: opacity 0.6s var(--ease-out);
}
.offering-card[data-track="hard"]::before {
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, color-mix(in srgb, var(--cyan) 16%, transparent) 0%, transparent 60%);
}
.offering-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 241, 234, 0.5);
  background: #0f0f0f;
}
.offering-card:hover::before { opacity: 1; }

.offering-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1.6rem;
  color: var(--amber);
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.45);
}
.offering-card[data-track="hard"] .offering-icon { color: var(--cyan); }
.offering-icon span {
  display: inline-block;
  transform: translateY(-1px);
}

.offering-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.6rem;
}
.offering-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.offering-intro {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 38ch;
  margin-bottom: 1.8rem;
}
.offering-list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.offering-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.45;
}
.offering-list li span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  flex: 0 0 2ch;
}
.offering-card[data-track="hard"] .offering-list li span { color: var(--cyan); }

.offering-footer {
  margin: 1.6rem -2rem 0;
  padding: 1rem 2rem 1.3rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

/* Bespoke banner — full-width highlight below the two cards */
.offerings-bespoke {
  max-width: 1280px;
  margin: 2.4rem auto 0;
}
.bespoke-inner {
  position: relative;
  border: 1px solid rgba(255, 184, 0, 0.32);
  border-radius: 14px;
  padding: 2.6rem 2.4rem;
  background:
    radial-gradient(ellipse 40% 120% at 0% 50%, rgba(255, 184, 0, 0.12) 0%, transparent 70%),
    #0a0a0a;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}
.bespoke-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(255, 184, 0, 0.4);
  padding: 0.55em 0.9em;
  border-radius: 999px;
  white-space: nowrap;
  align-self: center;
}
.bespoke-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.bespoke-body {
  grid-column: 2 / 3;
  margin-top: 0.6rem;
  font-size: 0.96rem;
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 56ch;
}
.bespoke-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.95em 1.5em;
  border-radius: 999px;
  background: var(--amber);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  white-space: nowrap;
  align-self: center;
}
.bespoke-cta span {
  font-family: var(--font-body);
  font-weight: 500;
}
.bespoke-cta:hover {
  background: var(--ink);
  color: #000;
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
   10. FOOTER
   ------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 15;
  background: var(--bg);
  padding: 4rem var(--edge) 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex; align-items: baseline; gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1rem;
  color: var(--ink);
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  justify-self: center;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-links a {
  color: var(--ink);
  transition: color 0.3s var(--ease-out);
}
.footer-links a:hover { color: var(--amber); }

.footer-baseline {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* -------------------------------------------------------------
   11. RESPONSIVE — shared components only
   ------------------------------------------------------------- */
@media (max-width: 900px) {
  :root {
    --edge: 24px;
    --header-h: 62px;
  }

  .brand-sub { display: none; }

  .nav-links { gap: 1rem; }
  .nav-links li:not(:last-child) { display: none; }

  .section-heading { font-size: clamp(2rem, 9vw, 3.2rem); }
  .section-body    { font-size: 1rem; }

  /* Hero CTAs — tighter on narrow screens */
  .hero-cta-group { gap: 0.7rem; }
  .hero-cta { padding: 0.9em 1.4em; font-size: 0.7rem; }

  /* Offerings → single column + stacked bespoke layout */
  .offerings-section { padding: 10vh var(--edge); }
  .offerings-header { margin-bottom: 3rem; }
  .offerings-grid { grid-template-columns: 1fr; gap: 1rem; }
  .offering-card { padding: 1.8rem 1.4rem 0; }
  .offering-footer { margin: 1.4rem -1.4rem 0; padding: 0.9rem 1.4rem 1.1rem; }
  .bespoke-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 1.5rem;
  }
  .bespoke-body { grid-column: 1 / -1; }
  .bespoke-cta { justify-self: flex-start; }

  /* Process → vertical timeline on mobile */
  .process-section { padding: 10vh var(--edge); }
  .process-header { margin-bottom: 3.5rem; }
  .process-track {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 2.4rem;
  }
  .process-track::before {
    top: 0; bottom: 0;
    left: 23px; right: auto;        /* node centre: left 12 + half of 22 = 23 */
    width: 1px;
    height: auto;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(255, 184, 0, 0.5) 6%,
      rgba(255, 184, 0, 0.35) 50%,
      rgba(255, 184, 0, 0.5) 94%,
      transparent 100%);
  }
  .process-step {
    text-align: left;
    padding: 0 0 0 3.4rem;
    position: relative;
  }
  .process-index {
    position: absolute;
    top: 0; left: 3.4rem;
    margin-bottom: 0;
  }
  .process-node {
    position: absolute;
    top: 4px; left: 12px;
    margin: 0;
  }
  .process-title { margin-top: 1.6rem; }
  .process-body { margin: 0; max-width: 42ch; }

  /* Footer — single column */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .footer-meta { justify-self: start; }
  .footer-links { align-items: flex-start; }
  .footer-baseline { flex-direction: column; gap: 0.6rem; }

  /* Brand tighter on narrow screens */
  .brand-name { font-size: 0.92rem; }
}

@media (max-width: 480px) {
  .nav-links .nav-cta { padding: 0.55em 0.9em; font-size: 0.66rem; }

  /* Hero CTAs stack full-width for easier tapping */
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta { width: 100%; justify-content: center; }

  /* Final CTA buttons full-width */
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-button { width: 100%; justify-content: center; }

  /* Brand name smaller */
  .brand-name { font-size: 0.92rem; }
}

/* Accessibility — respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
