/* ============================================================
   SUPER GROUP — Design System
   Neutral first. Accent second. Type carries the identity.
   Palette from brand doc: White / Charcoal / Graphite / Concrete / Mist
   Accent: shield orange (logo gradient #F7A11A → #B7220C)
   ============================================================ */

:root {
  --white: #ffffff;
  --charcoal: #101114;
  --charcoal-deep: #0a0b0d;
  --graphite: #2a2d31;
  --concrete: #d8d8d6;
  --mist: #eceef0;
  --ink: #101114;
  --body-ink: #383c41;
  --line: #e3e5e7;
  --line-dark: #26282c;

  --orange: #e8590c;
  --orange-deep: #b7220c;
  --amber: #f7a11a;
  --orange-grad: linear-gradient(135deg, var(--amber) 0%, var(--orange) 46%, var(--orange-deep) 100%);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 14px;
  --radius-lg: 22px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --speed: 0.55s;

  /* z-scale */
  --z-marquee: 2;
  --z-dropdown: 40;
  --z-header: 50;
  --z-mobilebar: 60;
  --z-overlay: 70;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body-ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: var(--accent-on); }

.skip-link {
  position: absolute; left: -999px; top: 12px;
  background: var(--charcoal); color: var(--white);
  padding: 10px 18px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-transform: uppercase;
  text-wrap: balance;
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }

.display { font-size: clamp(2.6rem, 6.5vw, 5.4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 900; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -0.01em; }

p { max-width: 62ch; text-wrap: pretty; }

.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--div-b, var(--orange));
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--orange-grad); border-radius: 2px; }

strong { color: var(--ink); font-weight: 700; }
.on-dark strong { color: var(--white); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(72px, 10vw, 132px); }
.section--tight { padding-block: clamp(56px, 7vw, 92px); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--charcoal); color: #c9cdd2; }
.section--dark p { color: #b6bbc1; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin: 14px 0 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn .arr { transition: transform 0.25s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--accent); color: var(--accent-on); box-shadow: 0 10px 26px -12px rgba(0,0,0,0.45); }
.btn--primary:hover { background: var(--accent-deep); box-shadow: 0 12px 30px -12px rgba(0,0,0,0.55); }

.btn--dark { background: var(--charcoal); color: var(--white); }
.btn--dark:hover { background: var(--graphite); }

.btn--ghost { border-color: var(--concrete); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.on-dark .btn--ghost { border-color: #3c4046; color: var(--white); }
.on-dark .btn--ghost:hover { border-color: var(--white); }

.btn--lg { padding: 18px 34px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  transition: transform 0.4s var(--ease-out), background 0.3s, box-shadow 0.3s;
  background: transparent;
}
.site-header.is-solid {
  background: rgba(10, 11, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-chip {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--charcoal-deep);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.brand-chip img { width: 26px; height: auto; }
.brand-word { line-height: 1.05; color: var(--white); }
.brand-word .top { display: block; font-weight: 900; letter-spacing: 0.08em; font-size: 0.98rem; text-transform: uppercase; }
.brand-word .sub { display: block; font-size: 0.58rem; letter-spacing: 0.34em; text-transform: uppercase; color: #9aa0a6; }

.main-nav { display: flex; align-items: center; gap: clamp(2px, 0.6vw, 8px); margin-left: clamp(4px, 1vw, 16px); }
.main-nav > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 10px 13px; border-radius: 9px;
  color: #d4d7db; font-weight: 600; font-size: 0.93rem;
  transition: color 0.2s, background 0.2s;
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-link .chev { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.25s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(225deg) translateY(-1px); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: var(--z-dropdown);
  min-width: 300px; padding: 10px;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 24px 60px -18px rgba(16, 17, 20, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 14px; border-radius: 9px; font-weight: 600; font-size: 0.93rem;
  transition: background 0.18s;
}
.dropdown a:hover { background: var(--mist); }
.dropdown a .tag {
  margin-left: auto; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
}
.tag--live { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.tag--soon { background: var(--mist); color: #7b8087; }
.dropdown .dd-note { grid-column: 1 / -1; padding: 10px 14px 6px; font-size: 0.78rem; color: #7b8087; border-top: 1px solid var(--line); margin-top: 6px; }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); }
.header-phone { color: var(--white); font-weight: 800; font-size: 0.98rem; letter-spacing: 0.02em; white-space: nowrap; }
.header-phone span { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #9aa0a6; white-space: nowrap; }

.nav-toggle { display: none; }

/* Mobile nav */
@media (max-width: 1080px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px;
    margin-left: auto; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14); border-radius: 11px; cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--white);
    position: relative; transition: transform 0.3s var(--ease-out), opacity 0.2s;
  }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }
  body.nav-open .nav-toggle span { background: transparent; }
  body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .header-cta .btn { display: none; }

  .mobile-nav {
    position: fixed; inset: 0; z-index: var(--z-overlay);
    background: var(--charcoal-deep); color: var(--white);
    padding: 110px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease-out), visibility 0.35s;
  }
  body.nav-open .mobile-nav { opacity: 1; visibility: visible; }
  .mobile-nav h5 { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: #80868d; margin: 28px 0 10px; }
  .mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 1.15rem; font-weight: 700; border-bottom: 1px solid var(--line-dark); }
  .mobile-nav .mn-cta { margin-top: 32px; display: grid; gap: 12px; }
  .mobile-nav .mn-cta .btn { width: 100%; }
}
@media (min-width: 981px) { .mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--charcoal-deep);
  color: #c9cdd2;
  overflow: clip;
  padding-block: 140px 90px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg .slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.6s ease;
  background-size: cover; background-position: center;
}
.hero-bg .slide.is-active { opacity: 1; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 110%, color-mix(in srgb, var(--div-b) 30%, transparent) 0%, transparent 55%),
    linear-gradient(100deg, rgba(8,9,11,0.96) 32%, rgba(8,9,11,0.55) 70%, rgba(8,9,11,0.35) 100%);
}
.hero-shield {
  position: absolute; right: -6%; bottom: -14%; width: clamp(360px, 42vw, 680px); aspect-ratio: 404 / 493;
  opacity: 0.07; pointer-events: none; background: var(--logo-ink, #fff);
  -webkit-mask: url("../img/Super_Group_Logo.png") no-repeat center / contain;
  mask: url("../img/Super_Group_Logo.png") no-repeat center / contain;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.95fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  font-size: 0.78rem; font-weight: 600; color: #e6e8ea;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge .star { color: var(--div-a); letter-spacing: 0.08em; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--div-b); }

.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--div-a); }
.hero .lede { margin-bottom: 34px; color: #b6bbc1; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-call { font-weight: 800; color: var(--white); font-size: 1.05rem; }
.hero-call span { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #80868d; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: #80868d;
}
.scroll-cue::after {
  content: ""; width: 1.5px; height: 38px;
  background: linear-gradient(var(--div-a), transparent);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Quote form card */
.quote-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
}
.quote-card h3 { margin-bottom: 6px; }
.quote-card .qc-sub { font-size: 0.88rem; color: #6c7178; margin-bottom: 22px; }
.quote-card .field { margin-bottom: 14px; }
.quote-card label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #565b61; margin-bottom: 6px; }
.quote-card input, .quote-card select, .quote-card textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: #fafbfb; font-size: 0.96rem; color: var(--ink);
  font-family: inherit; text-transform: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quote-card textarea { resize: vertical; min-height: 92px; line-height: 1.5; display: block; }
.quote-card input::placeholder, .quote-card textarea::placeholder { color: #80868d; text-transform: none; }
.quote-card input:focus, .quote-card select:focus, .quote-card textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.qc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-card .btn { width: 100%; margin-top: 6px; }
.qc-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 0.78rem; color: #6c7178; }
.qc-meta b { color: var(--ink); }

@media (max-width: 980px) {
  .hero { padding-top: 120px; }
  .hero-inner { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: var(--z-marquee);
  background: var(--charcoal); border-block: 1px solid var(--line-dark);
  overflow: clip; padding-block: 18px;
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-size: 0.86rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #9aa0a6;
}
.marquee-item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--div-a), var(--div-b)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.stat {
  padding: clamp(30px, 4vw, 52px) clamp(18px, 2.5vw, 40px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat .num {
  font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 900; letter-spacing: -0.03em;
  color: var(--ink); line-height: 1.05; font-variant-numeric: tabular-nums;
}
.stat .num .unit {
  color: var(--div-b); font-size: 0.5em; font-weight: 800; letter-spacing: -0.005em;
}
.stat .lbl { margin-top: 12px; font-size: 0.92rem; color: var(--body-ink); max-width: 24ch; }
@media (max-width: 880px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
}

/* ---------- Division feature cards ---------- */
.division-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 32px); }
.division-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 480px; border-radius: var(--radius-lg); overflow: clip;
  color: #d4d7db; padding: clamp(26px, 3vw, 40px);
  isolation: isolate;
}
.division-card .dc-bg { position: absolute; inset: 0; z-index: -2; transition: transform 1.1s var(--ease-out); background-size: cover; background-position: center; }
.division-card:hover .dc-bg { transform: scale(1.05); }
.division-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,11,13,0.05) 30%, rgba(10,11,13,0.92) 100%);
}
.division-card .dc-top { position: absolute; top: 24px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; }
.division-card .dc-hero {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #c9cdd2;
}
.division-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--white); margin-bottom: 10px; }
.division-card p { font-size: 0.97rem; margin-bottom: 22px; color: #c2c6cb; }
.division-card .dc-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--white); font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; }
.division-card .dc-link .arr { color: var(--div-b); transition: transform 0.25s var(--ease-out); }
.division-card:hover .dc-link .arr { transform: translateX(6px); }
@media (max-width: 800px) { .division-grid { grid-template-columns: 1fr; } .division-card { min-height: 380px; } }

/* ---------- Roster ---------- */
.roster { border-top: 1px solid var(--line-dark); }
.roster-row {
  position: relative;
  display: grid; grid-template-columns: 72px 1.1fr 1fr auto;
  align-items: center; gap: clamp(14px, 3vw, 40px);
  padding: 22px 8px; border-bottom: 1px solid var(--line-dark);
  transition: background 0.25s, padding-left 0.35s var(--ease-out);
}
a.roster-row:hover { background: rgba(255,255,255,0.035); padding-left: 20px; }
.roster-row .rr-num { font-weight: 800; color: #565b61; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.roster-row .rr-name { font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(1.15rem, 2.2vw, 1.7rem); color: var(--white); display: flex; align-items: center; gap: 14px; }
.roster-row .rr-trade { color: #9aa0a6; font-size: 0.95rem; }
.roster-row .rr-status { justify-self: end; }
.roster-row.is-soon .rr-name { color: #6c7178; }
.pill {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.pill--live { background: var(--accent); color: var(--accent-on); }
.pill--soon { background: var(--graphite); color: #9aa0a6; }
@media (max-width: 720px) {
  .roster-row { grid-template-columns: 40px 1fr auto; }
  .roster-row .rr-trade { grid-column: 2 / 3; grid-row: 2; font-size: 0.85rem; }
  .roster-row .rr-num { grid-row: span 2; }
}

/* ---------- Comparison ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 32px); align-items: stretch; }
.compare-col { border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 44px); }
.compare-col h3 { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; font-size: 1.25rem; }
.compare-col h3 .pill { letter-spacing: 0.12em; }
.compare-col li { display: flex; gap: 14px; padding: 14px 0; font-size: 0.98rem; line-height: 1.5; }
.compare-col li + li { border-top: 1px solid; }
.compare-col .mark { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; margin-top: 1px; }

.compare-col--old { background: var(--white); border: 1px solid var(--line); color: var(--body-ink); }
.compare-col--old li + li { border-color: var(--line); }
.compare-col--old .mark { background: var(--mist); color: #7b8087; }
.compare-col--old h3 { color: #565b61; }

.compare-col--sg { background: var(--charcoal); color: #c9cdd2; }
.compare-col--sg li + li { border-color: var(--line-dark); }
.compare-col--sg .mark { background: var(--accent); color: var(--accent-on); }
.compare-col--sg h3 { color: var(--white); }
@media (max-width: 800px) { .compare-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.process-media {
  position: sticky; top: 110px; border-radius: var(--radius-lg); overflow: clip; aspect-ratio: 4 / 4.6;
  background:
    radial-gradient(120% 80% at 70% 8%, color-mix(in srgb, var(--div-a) 14%, transparent) 0%, transparent 55%),
    radial-gradient(120% 90% at 30% 110%, color-mix(in srgb, var(--div-b) 16%, transparent) 0%, transparent 60%),
    linear-gradient(165deg, #111317 0%, #0a0b0d 70%);
  border: 1px solid var(--line-dark);
}
.process-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.process-media .pm-hud {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 4px; padding: 26px;
}
.process-media .pm-step {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--div-a);
}
.process-media .pm-cap {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; color: var(--white);
}
.process--flat .pm-hud { background: rgba(10,11,13,0.35); }
.process-steps { display: grid; gap: clamp(40px, 6vh, 72px); padding-block: 10px; }
.step { max-width: 480px; }
.step .step-no {
  display: inline-grid; place-items: center; width: 54px; height: 54px;
  border-radius: 14px; background: var(--charcoal); color: var(--white);
  font-weight: 900; font-size: 1.05rem; margin-bottom: 18px;
}
.step.is-active .step-no { background: var(--accent); }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.99rem; }
@media (max-width: 860px) {
  /* Mobile: pin the animation to the viewport so it stays visible while the
     four steps scroll past it. Previously the media was `relative` and scrolled
     off-screen, so the 3D scene was never seen on phones. */
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-media {
    position: sticky; top: clamp(58px, 9vh, 92px);
    aspect-ratio: auto; height: 42vh; min-height: 264px; max-height: 440px;
    z-index: 2;
  }
  .process-steps {
    position: relative; z-index: 1;
    gap: 34vh; padding-top: 9vh; padding-bottom: 30vh;
  }
  .process-steps .step { max-width: none; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  /* No scroll scene to keep in view: revert to a calm stacked layout. */
  .process-media { position: relative; top: 0; height: auto; aspect-ratio: 16 / 10; margin-bottom: 28px; }
  .process-steps { gap: clamp(28px, 6vh, 48px); padding: 0; }
}

/* ---------- Values ---------- */
.values-row { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line-dark); }
.value-cell { padding: clamp(26px, 3vw, 42px) clamp(16px, 2vw, 30px); border-left: 1px solid var(--line-dark); }
.value-cell:first-child { border-left: 0; }
.value-cell .v-letter { font-size: 2.4rem; font-weight: 900; color: var(--div-a); line-height: 1; }
.value-cell h3 { font-size: 1.02rem; margin: 14px 0 8px; color: var(--white); }
.value-cell p { font-size: 0.88rem; color: #9aa0a6; }
@media (max-width: 980px) {
  .values-row { grid-template-columns: 1fr 1fr; }
  .value-cell { border-top: 1px solid var(--line-dark); }
  .value-cell:nth-child(odd) { border-left: 0; }
  .value-cell:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 520px) {
  .values-row { grid-template-columns: 1fr; }
  .value-cell { border-left: 0 !important; border-top: 1px solid var(--line-dark); }
  .value-cell:first-child { border-top: 0; }
}

/* ---------- Testimonials ---------- */
.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.reviews-score { text-align: right; }
.reviews-score .rs-num { font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 900; color: var(--ink); line-height: 1; }
.reviews-score .rs-stars { color: var(--div-b); font-size: 1.3rem; letter-spacing: 0.15em; }
.reviews-score .rs-sub { font-size: 0.82rem; color: #6c7178; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(310px, 380px); gap: 20px; overflow-x: auto; padding: 38px 4px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.review {
  scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column; gap: 18px;
}
.review .rv-quote { font-size: 1.02rem; line-height: 1.55; color: var(--ink); font-weight: 500; }
.review .rv-quote::before { content: "“"; display: block; font-size: 2.6rem; font-weight: 900; color: var(--div-b); line-height: 0.6; margin-bottom: 14px; }
.review .rv-who { margin-top: auto; font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.review .rv-who span { display: block; font-weight: 500; color: #7b8087; font-size: 0.78rem; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font-weight: 800; font-size: 1.08rem; color: var(--ink); letter-spacing: -0.01em;
}
.faq-q .fx { flex: 0 0 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--concrete); display: grid; place-items: center; position: relative; transition: background 0.25s, border-color 0.25s, transform 0.35s var(--ease-out); }
.faq-q .fx::before, .faq-q .fx::after { content: ""; position: absolute; background: currentColor; transition: transform 0.3s; }
.faq-q .fx::before { width: 11px; height: 1.5px; }
.faq-q .fx::after { width: 1.5px; height: 11px; }
.faq-item.is-open .fx { background: var(--accent); border-color: var(--accent); color: var(--accent-on); transform: rotate(90deg); }
.faq-item.is-open .fx::after { transform: scaleY(0); }
.faq-a { overflow: clip; height: 0; transition: height 0.45s var(--ease-out); }
.faq-a > div { padding: 0 4px 26px; font-size: 0.98rem; max-width: 60ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.cta-final { position: relative; overflow: clip; }
.cta-final .cta-shield { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: clamp(280px, 30vw, 480px); aspect-ratio: 404 / 493; opacity: 0.08; pointer-events: none; background: var(--logo-ink, #fff); -webkit-mask: url("../img/Super_Group_Logo.png") no-repeat center / contain; mask: url("../img/Super_Group_Logo.png") no-repeat center / contain; }
.cta-final h2 { max-width: 16ch; }
.cta-final .cta-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal-deep); color: #9aa0a6; padding: clamp(60px, 8vw, 96px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.footer-brand p { font-size: 0.92rem; margin-top: 18px; max-width: 34ch; }
.footer-col h5 { color: var(--white); font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 0.93rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.8rem; color: #6c7178;
}
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar);
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
  transform: translateY(100%); transition: transform 0.4s var(--ease-out);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar a {
  display: grid; place-items: center; padding: 16px 10px;
  font-weight: 800; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.mobile-bar .mb-call { background: var(--charcoal); color: var(--white); }
.mobile-bar .mb-quote { background: var(--accent); color: var(--accent-on); }
@media (max-width: 720px) { .mobile-bar { display: grid; } body { padding-bottom: 0; } }

/* ---------- Page hero (subsidiary pages) ---------- */
.page-hero { padding: clamp(150px, 20vh, 210px) 0 clamp(60px, 8vw, 100px); }
.page-hero .crumbs { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #80868d; margin-bottom: 22px; display: flex; gap: 10px; align-items: center; }
.page-hero .crumbs a:hover { color: var(--white); }
.page-hero .crumbs .sep { color: var(--div-b); }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: clip; }
.service-cell { background: var(--white); padding: clamp(26px, 3vw, 40px); transition: background 0.25s; }
.service-cell:hover { background: var(--mist); }
.service-cell .sc-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--charcoal); color: var(--div-a); display: grid; place-items: center; font-weight: 900; margin-bottom: 20px; font-size: 1.1rem; }
.service-cell h3 { margin-bottom: 10px; }
.service-cell p { font-size: 0.94rem; }

/* ---------- Reveal animations (JS adds .rv, GSAP/IO drives) ---------- */
.rv { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}


/* ============================================================
   Projects division name in the brand lockup picks up the
   division accent (matches the Building Wash treatment).
   ============================================================ */
[data-div="projects"] .brand-word .sub { color: var(--div-a); }

/* ============================================================
   Phase motion tiles — shared by the Projects "How we work" and the
   home "How it works" sections. Small cards, each with its own Three.js
   canvas, laid out left-to-right so a whole process reads on one screen.
   Themed per division via --accent / --div-a / --div-b.
   ============================================================ */
.ptile-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.2vw, 18px); align-items: stretch;
}
.ptile {
  display: flex; flex-direction: column;
  background: linear-gradient(168deg, #16181d, #101216);
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: clamp(14px, 1.3vw, 20px);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.ptile:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-dark)); transform: translateY(-3px); }
.ptile .pstep-no {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); border: 1px solid var(--accent); color: var(--accent-on);
  font-weight: 900; font-size: 0.9rem; margin-bottom: 10px;
}
.ptile h3, .ptile h4 { color: #fff; font-size: clamp(0.98rem, 1.05vw, 1.12rem); margin-bottom: 6px; letter-spacing: -0.01em; line-height: 1.16; }
.ptile p { color: #c4c8cd; font-size: clamp(0.82rem, 0.9vw, 0.9rem); line-height: 1.45; }
.ptile-media {
  margin-top: auto; padding-top: clamp(12px, 1.2vw, 16px); position: relative;
}
.ptile-canvas {
  display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(120% 80% at 70% 6%, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 55%),
    radial-gradient(120% 90% at 28% 112%, color-mix(in srgb, var(--div-b, var(--accent)) 20%, transparent) 0%, transparent 60%),
    linear-gradient(165deg, #131417 0%, #0a0b0d 70%);
}
.ptile--flat .ptile-canvas { display: none; }
.ptile--flat .ptile-media {
  aspect-ratio: 3 / 2; border-radius: var(--radius); border: 1px solid var(--line-dark);
  background: linear-gradient(165deg, #131417 0%, #0a0b0d 70%);
}
@media (max-width: 1024px) {
  .ptile-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; }
}
@media (max-width: 560px) {
  .ptile-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Pinned "how we work / how it works" flow.
   Full-bleed canvas pins to the viewport; step captions slide in
   from the left and the motif crossfades, advancing on scroll.
   Shared by index.html and projects.html (themed per division).
   ============================================================ */
.flow { position: relative; height: calc(var(--steps, 4) * var(--flow-step, 90vh)); }
.flow-stage {
  position: sticky; top: 0; height: 100vh; overflow: clip;
  background:
    radial-gradient(120% 90% at 78% 8%, color-mix(in srgb, var(--div-a, var(--accent)) 16%, transparent) 0%, transparent 55%),
    radial-gradient(120% 90% at 18% 108%, color-mix(in srgb, var(--div-b, var(--accent)) 18%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, #101216 0%, #08090b 70%);
}
.flow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* left scrim keeps caption text legible over the graphic */
.flow-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(8,9,11,0.82) 0%, rgba(8,9,11,0.55) 34%, rgba(8,9,11,0) 62%);
}
.flow-head {
  position: absolute; z-index: 3; top: clamp(84px, 13vh, 130px); left: clamp(20px, 6vw, 90px);
  display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); max-width: min(620px, 80vw);
}
.flow-key {
  display: inline-grid; place-items: center; flex: none;
  width: clamp(52px, 5vw, 70px); height: clamp(52px, 5vw, 70px); border-radius: 16px;
  background: var(--accent); color: var(--accent-on); box-shadow: 0 14px 32px -16px var(--div-b, var(--accent));
}
.flow-key .ic { width: 54%; height: 54%; }
.flow-head h3 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.02; letter-spacing: -0.02em; }
.flow-head .flow-meta { display: block; margin-top: 6px; font-size: clamp(0.82rem, 1.1vw, 0.98rem); font-weight: 600; color: #aab0b6; letter-spacing: 0.01em; text-transform: none; }

.flow-overlay { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.flow-cap {
  position: absolute; left: clamp(20px, 6vw, 90px); bottom: clamp(72px, 16vh, 150px);
  max-width: min(560px, 56vw);
  opacity: 0; transform: translateX(-52px); transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.flow-cap.is-active { opacity: 1; transform: translateX(0); }
.flow-no {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: var(--accent-on); font-weight: 900; font-size: 0.96rem; margin-bottom: 14px;
}
.flow-cap h4 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 10px; }
.flow-cap p { color: #dfe3e7; font-size: clamp(0.98rem, 1.3vw, 1.14rem); line-height: 1.5; max-width: 48ch; }

.flow-dots { position: absolute; z-index: 3; right: clamp(18px, 4vw, 56px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 11px; }
.flow-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.22); transition: background 0.3s, transform 0.3s; }
.flow-dot.is-active { background: var(--accent); transform: scale(1.35); }

@media (max-width: 720px) {
  .flow-cap { max-width: min(92vw, 560px); bottom: clamp(48px, 12vh, 110px); }
  .flow-head { top: clamp(74px, 11vh, 110px); }
  .flow-dots { right: 14px; gap: 9px; }
}

/* No-WebGL fallback: stack the captions in a normal, readable block. */
.flow--flat { height: auto; }
.flow--flat .flow-stage { position: relative; height: auto; padding: clamp(28px, 5vw, 56px) 0; }
.flow--flat .flow-stage::before { display: none; }
.flow--flat .flow-head { position: relative; top: auto; left: auto; margin: 0 var(--gutter) clamp(20px, 3vw, 32px); }
.flow--flat .flow-overlay { position: relative; inset: auto; }
.flow--flat .flow-cap { position: relative; left: auto; bottom: auto; opacity: 1; transform: none; max-width: none; margin: 0 var(--gutter) clamp(18px, 2vw, 26px); }
.flow--flat .flow-dots { display: none; }

/* Pathway CTA overlaid bottom-right of the pinned flow stage */
.flow-cta {
  position: absolute; z-index: 3; right: clamp(20px, 5vw, 72px); bottom: clamp(60px, 13vh, 120px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right;
  max-width: min(440px, 54vw);
}
.flow-cta .pc-note { font-size: 0.86rem; color: #aab0b6; font-style: italic; max-width: 34ch; }
.flow--flat .flow-cta { position: relative; right: auto; bottom: auto; align-items: flex-start; text-align: left; margin: 0 var(--gutter) clamp(8px, 2vw, 20px); max-width: none; }
@media (max-width: 720px) {
  .flow-cta { display: none; }
}
