/* ═══════════════════════════════════════════════════════
   TRUEBYTE — HOLDING PAGE  (dark theme)
   Palette: navy deep · teal #4ca6b8 · coral #ff9d82 · gold #ddac00
   Typography: Plus Jakarta Sans + Space Grotesk
═══════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────── */
:root {
  --navy:        #00265a;
  --navy-mid:    #003070;
  --navy-deep:   #001840;
  --bg:          #00265a;
  --bg-raised:   #002d6a;
  --teal:        #4ca6b8;
  --teal-light:  #7dc4d2;
  --teal-dim:    rgba(76,166,184,.18);
  --coral:       #ff9d82;
  --coral-deep:  #f08263;
  --gold:        #ddac00;
  --blue-bright: #3a8fe8;
  --purple:      #9b7fe8;
  --pale:        #b1c4e6;
  --surface:     rgba(255,255,255,.05);
  --surface-2:   rgba(255,255,255,.08);
  --line:        rgba(255,255,255,.1);
  --line-mid:    rgba(255,255,255,.06);
  --text:        #ffffff;
  --text-mid:    rgba(255,255,255,.65);
  --text-dim:    rgba(255,255,255,.38);
  --shadow-sm:   0 2px 12px rgba(0,0,0,.3);
  --shadow-md:   0 8px 32px rgba(0,0,0,.4);
  --shadow-lg:   0 24px 64px rgba(0,0,0,.5);
  --r-sm:        10px;
  --r-md:        16px;
  --r-lg:        24px;
  --r-xl:        32px;
  --max:         1200px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --heading:     'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --body:        'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--body);
  font-size: 1rem; line-height: 1.6;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--teal); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(76,166,184,.4);
  outline-offset: 3px;
}

/* ── PAGE BACKGROUND ─────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%,   rgba(76,166,184,.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(255,157,130,.1)  0%, transparent 50%),
    radial-gradient(ellipse 55% 50% at 50% 100%, rgba(0,16,48,.5)      0%, transparent 60%),
    linear-gradient(180deg, #002f72 0%, #001d50 50%, #001438 100%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-mid) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-mid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg,
    rgba(0,0,0,.2) 0%,
    rgba(0,0,0,.08) 40%,
    transparent 80%);
}

/* ── SKIP LINK ───────────────────────────────────────── */
.skip-link {
  position: absolute; top: -999px; left: 16px; z-index: 9999;
  padding: 10px 20px; border-radius: 8px;
  background: var(--teal); color: #fff; font-weight: 700; font-size: .9rem;
}
.skip-link:focus { top: 16px; }

/* ── SCROLL PROGRESS ─────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: 2px; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  transition: width .1s linear;
}

/* ── HEADER ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,26,64,.88);
  backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--line-mid);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; filter: brightness(0) invert(1); }

/* Header pill */
.header-launch-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 16px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--text-mid);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.header-launch-pill:hover { border-color: var(--teal); background: rgba(76,166,184,.1); color: var(--text); }
.hlp-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(76,166,184,.2); }
  50%       { box-shadow: 0 0 0 7px rgba(76,166,184,.06); }
}
.hlp-text { color: var(--text-mid); }
.hlp-arrow { color: var(--teal); }

/* ── MUSIC FAB – PARTY MODE ──────────────────────────── */
@property --party-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.music-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  display: flex; align-items: center; gap: 12px;
  z-index: 200;
  flex-direction: row-reverse;
}

/* Spinning conic border ring */
.music-fab-ring {
  border-radius: 50%;
  padding: 0;
  flex-shrink: 0;
  transition: padding .35s var(--ease-spring);
}
.music-fab-ring.is-playing {
  padding: 2.5px;
  background: conic-gradient(from var(--party-angle), #ff00c8, #ffd93d, #00f5ff, #6bcb77, #ff6b9d, #ff00c8);
  animation: party-spin .7s linear infinite, party-ring-glow 1.8s ease-in-out infinite;
}
@keyframes party-spin { to { --party-angle: 360deg; } }
@keyframes party-ring-glow {
  0%,100% { box-shadow: 0 0 22px rgba(255,0,200,.7), 0 0 50px rgba(255,0,200,.25); }
  33%     { box-shadow: 0 0 22px rgba(0,245,255,.8), 0 0 50px rgba(0,245,255,.3); }
  66%     { box-shadow: 0 0 22px rgba(255,217,61,.7), 0 0 50px rgba(255,217,61,.25); }
}

/* Button itself */
.music-fab-btn {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%; border: none;
  background: rgba(0,18,50,.92);
  backdrop-filter: blur(20px) saturate(180%);
  cursor: pointer;
  box-shadow: 0 4px 28px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease);
}
.music-fab-btn:hover  { transform: scale(1.1); }
.music-fab-btn:active { transform: scale(.93); }
.music-fab-btn.is-playing {
  animation: party-bounce .55s ease-in-out infinite;
}
@keyframes party-bounce {
  0%,100% { transform: scale(1) rotate(-2deg); }
  50%     { transform: scale(1.1) rotate(2deg); }
}

/* Party emoji icon */
.music-fab-spark {
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  animation: spark-idle 3s ease-in-out infinite;
  transition: opacity .15s;
}
.music-fab-btn.is-playing .music-fab-spark { display: none; }
@keyframes spark-idle {
  0%,100% { transform: rotate(-8deg) scale(1); }
  50%     { transform: rotate(8deg) scale(1.15); }
}

/* Equalizer bars */
.music-fab-eq {
  display: none; align-items: flex-end; gap: 3px; height: 20px;
}
.music-fab-btn.is-playing .music-fab-eq { display: flex; }
.music-fab-eq span {
  display: block; width: 3.5px; border-radius: 2px;
}
.music-fab-eq span:nth-child(1) { background: #ff00c8; animation: music-eq .6s ease-in-out infinite; }
.music-fab-eq span:nth-child(2) { background: #ffd93d; animation: music-eq .45s ease-in-out infinite .12s; }
.music-fab-eq span:nth-child(3) { background: #00f5ff; animation: music-eq .7s ease-in-out infinite .06s; }
.music-fab-eq span:nth-child(4) { background: #ff00c8; animation: music-eq .5s ease-in-out infinite .2s; }
@keyframes music-eq {
  0%,100% { height: 3px; }
  50%     { height: 20px; }
}

/* "Party time" label pill */
.music-fab-label-wrap {
  pointer-events: none;
  opacity: 0; transform: translateX(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease-spring);
}
.music-fab:hover .music-fab-label-wrap {
  opacity: 1; transform: translateX(0);
}
.music-fab-label {
  display: block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(0,18,50,.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.1);
  font-family: var(--heading);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #ff00c8, #ffd93d, #00f5ff, #ff00c8);
  background-size: 250% auto;
  animation: party-label-flow 2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255,0,200,.4));
}
@keyframes party-label-flow {
  from { background-position: 0% center; }
  to   { background-position: 250% center; }
}

@media (max-width: 600px) {
  .music-fab { bottom: 18px; right: 16px; }
  .music-fab-btn { width: 50px; height: 50px; }
  .music-fab-label-wrap { display: none; }
}

/* ── SITE MAIN ───────────────────────────────────────── */
.site-main { position: relative; z-index: 1; }

/* ── CONTAINER ───────────────────────────────────────── */
.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

/* ── EYEBROW ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--teal); border-radius: 1px; flex-shrink: 0;
}

/* ── SECTION HEADING ─────────────────────────────────── */
.section-heading { margin-bottom: 40px; }
.section-heading.compact { margin-bottom: 36px; }
.section-heading h2 {
  margin-top: 12px;
  font-family: var(--heading);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; letter-spacing: -.04em; line-height: 1.05;
  color: var(--text);
}
.section-heading p {
  margin-top: 10px;
  font-size: .96rem; color: var(--text-mid); line-height: 1.72; max-width: 50ch;
}

/* ── SECTION BASE ────────────────────────────────────── */
.section { padding: 80px 0; }
.section + .section { padding-top: 0; }

/* Offset anchor scroll by sticky header height so sections
   land at the right place when clicked from the rail nav */
section[id] { scroll-margin-top: 72px; }
#page-top   { scroll-margin-top: 0; }

/* ── PANEL (card base) ───────────────────────────────── */
.panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(177,196,230,.18);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}

/* ── BUTTONS ─────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: .92rem; font-weight: 700; border: none; cursor: pointer;
  transition: transform .18s var(--ease-spring), box-shadow .18s var(--ease);
  text-decoration: none;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: #fff;
  box-shadow: 0 6px 24px rgba(240,130,99,.3);
}
.button-primary:hover { box-shadow: 0 12px 36px rgba(240,130,99,.42); }
.button-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
}
.button-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }

/* ── INLINE LINK ─────────────────────────────────────── */
.inline-link {
  color: var(--teal); font-weight: 600; font-size: .9rem;
  text-decoration: underline; text-decoration-color: rgba(76,166,184,.25);
  text-underline-offset: 3px;
  transition: color .18s, text-decoration-color .18s;
}
.inline-link:hover { color: var(--teal-light); text-decoration-color: var(--teal-light); }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.holding-hero {
  position: relative; overflow: hidden;
  padding: 80px 0 72px;
}

/* Ambient orbs */
.hero-ambient {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.ambient-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
}
.ambient-orb--one {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(76,166,184,.18), transparent 70%);
  top: -250px; left: -200px;
}
.ambient-orb--two {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,157,130,.12), transparent 70%);
  top: -100px; right: -100px;
}
.ambient-orb--three {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(6,48,112,.5), transparent 70%);
  bottom: -180px; left: 30%;
}

/* Hero layout */
.holding-hero-shell { position: relative; z-index: 1; }
.hero-two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: center;
}

/* Hero title */
.hero-title {
  font-family: var(--heading);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 700; letter-spacing: -.05em; line-height: .97;
  color: #fff;
}
.hero-title-accent { color: var(--coral); }

/* Hero lead row */
.hero-lead-row {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 24px;
}
.hero-lead { font-size: 1.02rem; color: var(--text-mid); line-height: 1.68; }

/* Hero inline CTA */
.hero-cta-inline {
  display: inline-flex; align-items: center;
  height: 44px; padding: 0 22px; border-radius: 999px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  border: 1px solid transparent;
  color: #fff; font-size: .88rem; font-weight: 700;
  box-shadow: 0 4px 18px rgba(240,130,99,.35);
  transition: transform .18s var(--ease-spring), box-shadow .18s var(--ease);
}
.hero-cta-inline:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240,130,99,.5);
}

/* Hero chips */
.hero-chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-mid);
}
.hero-chip--teal { border-color: rgba(76,166,184,.3); color: var(--teal); background: rgba(76,166,184,.08); }
.hero-chip--gold { border-color: rgba(221,172,0,.25); color: #ddac00; background: rgba(221,172,0,.07); }
.hero-chip-pip {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
}

/* Mascot column */
.hero-byte-col { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-byte-inner { position: relative; }

/* Portrait frame with bracket corners */
.mascot-shell {
  position: relative;
  width: 220px; height: 280px;
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(0,38,100,.85) 0%, rgba(0,20,55,.95) 100%);
  border: 1px solid rgba(177,196,230,.14);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 32px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
/* Corner brackets */
.mascot-shell::before,
.mascot-shell::after {
  content: ''; position: absolute;
  width: 22px; height: 22px;
}
.mascot-shell::before {
  top: 12px; left: 12px;
  border-top: 2px solid rgba(177,196,230,.35);
  border-left: 2px solid rgba(177,196,230,.35);
}
.mascot-shell::after {
  bottom: 12px; right: 12px;
  border-bottom: 2px solid rgba(177,196,230,.35);
  border-right: 2px solid rgba(177,196,230,.35);
}
.mascot-motion {
  position: relative;
  animation: float 4s ease-in-out infinite;
}
/* Top-right and bottom-left corners from inner element */
.mascot-motion::before,
.mascot-motion::after {
  content: ''; position: absolute;
  width: 22px; height: 22px;
}
.mascot-motion::before {
  top: -110px; right: -82px;
  border-top: 2px solid rgba(177,196,230,.35);
  border-right: 2px solid rgba(177,196,230,.35);
}
.mascot-motion::after {
  bottom: -110px; left: -82px;
  border-bottom: 2px solid rgba(177,196,230,.35);
  border-left: 2px solid rgba(177,196,230,.35);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.hero-mascot { width: 150px; height: 150px; object-fit: contain; }

/* Byte caption */
.byte-caption {
  text-align: center; max-width: 240px;
  padding: 12px 16px; border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
}
.byte-caption-intro { font-size: .82rem; color: var(--text-mid); line-height: 1.5; }
.byte-caption-intro strong { color: var(--text); }
.byte-caption-joke { margin-top: 5px; font-size: .76rem; color: var(--text-dim); line-height: 1.5; font-style: italic; }

/* ═══════════════════════════════════════════════════════
   HOLDING SECTIONS
═══════════════════════════════════════════════════════ */
.holding-section { padding: 80px 0; }
.holding-section + .holding-section { padding-top: 0; }

/* ── JOURNEY / STORY ─────────────────────────────────── */
.holding-story-block { max-width: 640px; }
.holding-story-block h2 {
  margin-top: 12px;
  font-family: var(--heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700; letter-spacing: -.04em; line-height: 1.06;
  color: var(--text);
}
.holding-story-lead {
  margin-top: 14px;
  font-size: 1.1rem; font-weight: 600; color: var(--teal);
}
.holding-story-block p {
  margin-top: 12px;
  font-size: .98rem; color: var(--text-mid); line-height: 1.78;
}

/* ── TRUST / CERTIFICATES ────────────────────────────── */
.trust-grid { display: grid; gap: 16px; }
.holding-certs-grid { grid-template-columns: repeat(3, 1fr); }

.trust-card {
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease-spring);
}
/* Coloured top accent bar per cert card */
.trust-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.holding-certs-grid .trust-card:nth-child(1)::before { background: var(--teal); }
.holding-certs-grid .trust-card:nth-child(2)::before { background: var(--coral); }
.holding-certs-grid .trust-card:nth-child(3)::before { background: var(--gold); }

.trust-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  transform: translateY(-3px);
}
.holding-certs-grid .trust-card:nth-child(1):hover { border-color: rgba(76,166,184,.4); }
.holding-certs-grid .trust-card:nth-child(2):hover { border-color: rgba(255,157,130,.4); }
.holding-certs-grid .trust-card:nth-child(3):hover { border-color: rgba(221,172,0,.4); }

.trust-card-cert .cert-visual {
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 14px;
}
.trust-card-cert .cert-visual img { width: 100%; height: 100%; object-fit: contain; }

/* Per-card label colours */
.holding-certs-grid .trust-card:nth-child(1) .trust-label { color: var(--teal); }
.holding-certs-grid .trust-card:nth-child(2) .trust-label { color: var(--coral); }
.holding-certs-grid .trust-card:nth-child(3) .trust-label { color: var(--gold); }

.trust-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.trust-card h3 {
  font-family: var(--heading);
  font-size: 1.1rem; font-weight: 700; color: var(--text); letter-spacing: -.02em;
}
.trust-card p { font-size: .87rem; color: var(--text-mid); line-height: 1.68; }

/* ── PILLARS GRID (used by company/timeline section) ─── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pillar-card {
  padding: 26px 22px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease-spring);
}
.pillar-card:hover {
  border-color: rgba(76,166,184,.28);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  transform: translateY(-3px);
}
.pillar-card h3 {
  font-family: var(--heading);
  font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: -.02em;
  margin-bottom: 8px;
}
.pillar-card p { font-size: .87rem; color: var(--text-mid); line-height: 1.65; }
.pillar-card-wide { grid-column: span 2; }

/* ── SECTION HEADING CENTRED VARIANT ─────────────────── */
.section-heading--center { text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }

/* ── PILLARS STACK (values section arrow-row layout) ─── */
.pillars-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.pillar-row {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Arrow label tag */
.pillar-tag {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 220px; height: 58px;
  flex-shrink: 0;
  border-radius: 10px 0 0 10px;
  padding: 0 28px 0 28px;
  z-index: 1;
}
.pillar-tag span {
  font-family: var(--heading);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: #fff; position: relative; z-index: 1;
  text-align: center;
}
/* Right-pointing arrow via pseudo-element */
.pillar-tag::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  transform: translateX(100%);
  width: 0; height: 0;
  border-top: 29px solid transparent;
  border-bottom: 29px solid transparent;
}

/* Colour variants */
.pillar-tag--coral {
  background: linear-gradient(135deg, #e8835a, #d96840);
}
.pillar-tag--coral::after { border-left: 20px solid #d96840; }

.pillar-tag--teal {
  background: linear-gradient(135deg, #3a9db5, #2c8498);
}
.pillar-tag--teal::after { border-left: 20px solid #2c8498; }

.pillar-tag--blue {
  background: var(--blue-bright);
}
.pillar-tag--blue::after { border-left: 20px solid #2b72c4; }

.pillar-tag--muted {
  background: #243d5e;
  border: 1px solid rgba(177,196,230,.2);
  border-right: none;
}
.pillar-tag--muted::after { border-left: 20px solid #243d5e; }

/* Teal dot connector */
.pillar-connector {
  display: block;
  width: 14px; height: 14px; flex-shrink: 0;
  margin: 0 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(76,166,184,.22);
  z-index: 1;
}

/* Quote panel */
.pillar-panel {
  flex: 1;
  padding: 16px 22px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(177,196,230,.18);
  font-size: .95rem; color: var(--text); line-height: 1.6;
  text-align: center;
}

/* ── CONTACT LAYOUT ──────────────────────────────────── */
.holding-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  align-items: stretch;
}

/* Contact info panel */
.holding-contact-panel {
  padding: 36px;
  display: flex; flex-direction: column; gap: 28px;
  background: linear-gradient(160deg, rgba(0,38,100,.75) 0%, rgba(0,22,58,.85) 100%);
  border: 1px solid rgba(177,196,230,.12);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.holding-contact-panel::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 10% 20%, rgba(76,166,184,.1), transparent 60%);
}
.holding-contact-panel .eyebrow { position: relative; }
.holding-contact-panel h2 {
  margin-top: 12px;
  font-family: var(--heading);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.12;
  color: #fff; position: relative;
}
.holding-contact-panel p { font-size: .93rem; color: var(--text-mid); line-height: 1.72; margin-top: 8px; position: relative; }

.holding-contact-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

.holding-contact-meta {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line-mid);
  position: relative;
}

/* Form panel */
.holding-form-panel {
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.holding-form-panel .section-heading { margin-bottom: 20px; }
.holding-form-panel .cf {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}
.cf-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ── CONTACT FORM ────────────────────────────────────── */
.cf-status {
  min-height: 1.4rem;
  font-size: .84rem; font-weight: 600; color: var(--text-mid);
}
.cf-status.is-success { color: #5dd4b9; }
.cf-status.is-error { color: #ff7f6b; }

.cf { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; align-content: start; }
.cf-row { display: flex; flex-direction: column; gap: 6px; }
.cf-row.full { grid-column: 1 / -1; }
.cf-row-message { flex: 1; display: flex; flex-direction: column; }
.cf-row-message textarea { flex: 1; min-height: 100px; }
.cf-row label {
  font-size: .82rem; font-weight: 700; color: var(--text-mid); letter-spacing: .01em;
}
.cf-row input, .cf-row textarea {
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.06);
  color: var(--text); font-size: .92rem;
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.cf-row input:focus, .cf-row textarea:focus {
  outline: none;
  border-color: rgba(76,166,184,.5);
  background: rgba(76,166,184,.06);
  box-shadow: 0 0 0 4px rgba(76,166,184,.1);
}
.cf-row input::placeholder, .cf-row textarea::placeholder { color: var(--text-dim); }
.cf-row textarea { min-height: 130px; resize: none; }

.cf-submit {
  grid-column: 1 / -1;
  width: 100%; height: 50px; border: none;
  border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: #fff; font-size: .95rem; font-weight: 700;
  box-shadow: 0 6px 24px rgba(240,130,99,.3);
  transition: transform .18s var(--ease-spring), box-shadow .18s var(--ease);
}
.cf-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(240,130,99,.44); }

/* ── SCENE ADVANCE ───────────────────────────────────── */
.scene-advance { padding: 40px 0 20px; text-align: center; }
.scene-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; font-weight: 600; color: var(--text-dim);
  transition: color .18s;
}
.scene-arrow:hover { color: var(--text-mid); }

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer {
  position: relative; z-index: 1;
  background: rgba(0,20,50,.88);
  border-top: 1px solid var(--line-mid);
  padding: 40px 0;
  backdrop-filter: blur(12px);
}
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}
.footer-inner-simple {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.footer-logo { height: 32px; width: auto; margin-bottom: 10px; filter: brightness(0) invert(1); }
.footer-inner p { font-size: 1rem; color: var(--text-dim); line-height: 1.6; max-width: 38ch; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex: 1; justify-content: flex-end; padding-top: 18px; }
.footer-utility-links-plain {
  display: flex; flex-wrap: wrap; gap: 36px; justify-content: flex-end; align-items: center; width: 100%;
}
.footer-utility-links-plain a,
.footer-utility-links-plain button {
  font-size: 1rem; font-weight: 700; color: var(--text-dim);
  background: none; border: none; cursor: pointer; padding: 0;
  transition: color .18s;
}
.footer-utility-links-plain a:hover,
.footer-utility-links-plain button:hover { color: var(--text); }

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.footer-contact-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--teal);
  transition: color .18s;
}
.footer-contact-link:hover svg { color: var(--teal-light); }

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.footer-linkedin-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--teal);
  transition: color .18s, transform .18s;
}
.footer-linkedin-bg { opacity: 1; }

.footer-legal {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-mid);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--text-dim);
}
.footer-legal a {
  color: var(--text-dim);
  transition: color .18s;
}
.footer-legal a:hover { color: var(--teal); }
.footer-linkedin:hover .footer-linkedin-icon {
  color: var(--teal-light);
  transform: translateY(-1px);
}

/* ── COOKIE BANNER ───────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 500;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  width: min(calc(100% - 32px), 680px);
  padding: 18px 22px;
  border-radius: var(--r-lg);
  background: rgba(0,28,68,.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(24px);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-copy { flex: 1; min-width: 220px; }
.cookie-banner-title { font-weight: 700; font-size: .95rem; color: var(--text); margin-bottom: 4px; }
.cookie-banner-copy p { font-size: .84rem; color: var(--text-mid); line-height: 1.6; margin-top: 4px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner-actions .button { height: 40px; padding: 0 18px; font-size: .84rem; }

/* ── REVEAL ANIMATIONS ───────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }

/* ═══════════════════════════════════════════════════════
   COLOUR SPLASHES
═══════════════════════════════════════════════════════ */

/* Journey section — teal left-border accent */
#journey .holding-story-block {
  padding-left: 28px;
  border-left: 3px solid var(--teal);
}

/* Journey heading accent word */
#journey .holding-story-block h2 { color: var(--text); }
#journey .holding-story-lead { color: var(--coral); }

/* Company section — coloured border-top per timeline card */
#company .pillars-grid .panel:nth-child(1) { border-top: 3px solid var(--coral); }
#company .pillars-grid .panel:nth-child(2) { border-top: 3px solid var(--teal); }
#company .pillars-grid .panel:nth-child(3) { border-top: 3px solid var(--gold); }

/* Company card year labels in accent colour */
#company .pillar-card:nth-child(1) h3 { color: var(--coral); }
#company .pillar-card:nth-child(2) h3 { color: var(--teal); }
#company .pillar-card:nth-child(3) h3 { color: var(--gold); }
#company .pillar-card:nth-child(4) h3 { color: var(--blue-bright); }
#company .pillar-card:nth-child(5) h3 { color: var(--coral); }

/* Certificates section — subtle teal background tint */
#certificates {
  background: linear-gradient(180deg,
    rgba(76,166,184,.06) 0%,
    transparent 100%);
}

/* Pillars section — subtle warm tint */
#pillars {
  background: linear-gradient(180deg,
    rgba(255,157,130,.04) 0%,
    transparent 100%);
}

/* Contact section eyebrow & heading accent */
#contact .holding-contact-panel .eyebrow { color: var(--teal-light); }

/* Footer — teal gradient top line */
.site-footer { border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--teal), var(--coral), var(--gold)) 1;
}

/* Scroll progress gradient extended */
.scroll-progress span {
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--gold));
}

/* Eyebrow accent lines — brighten slightly */
.eyebrow { color: var(--teal-light); }
.eyebrow::before { background: var(--teal-light); }

/* Section headings — coral gradient on hover of section (optional polish) */
#journey .section-heading h2,
#journey .holding-story-block h2 {
  background: linear-gradient(135deg, #fff 60%, var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Certificates heading — teal gradient */
#certificates .section-heading h2 {
  background: linear-gradient(135deg, #fff 50%, var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Company heading — coral gradient */
#company .section-heading h2 {
  background: linear-gradient(135deg, #fff 50%, var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pillars heading — plain white */
#pillars .section-heading h2 {
  color: #fff;
}

/* Contact heading — blue-bright gradient */
#contact .holding-contact-panel h2 {
  background: linear-gradient(135deg, #fff 50%, var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Ambient hero orbs — richer colours */
.ambient-orb--one {
  background: radial-gradient(circle, rgba(76,166,184,.28), transparent 70%);
}
.ambient-orb--two {
  background: radial-gradient(circle, rgba(255,157,130,.2), transparent 70%);
}

/* Panel hover — subtle coloured glow */
.panel:hover { box-shadow: 0 8px 40px rgba(76,166,184,.12); }

/* Holding contact panel — brighter glow */
.holding-contact-panel::before {
  background: radial-gradient(ellipse 70% 60% at 10% 20%,
    rgba(76,166,184,.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 80%,
    rgba(255,157,130,.1), transparent 60%);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* hero collapses at 1024, contact handled in comprehensive block below */
  .hero-two-col { grid-template-columns: 1fr; gap: 48px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-card-wide { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════
   EXQUISITE ENHANCEMENTS
═══════════════════════════════════════════════════════ */

/* ── CURSOR GLOW ──────────────────────────────────── */
.cursor-glow {
  position: fixed;
  top: 50vh; left: 50vw;
  width: 900px; height: 900px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle closest-side,
    rgba(76,166,184,.07) 0%,
    rgba(76,166,184,.03) 35%,
    transparent 70%);
  will-change: left, top;
  transition: left .12s linear, top .12s linear;
}
@media (max-width: 768px) {
  .cursor-glow { display: none; }
}

/* ── MASCOT SHELL — ENLARGED ──────────────────────── */
.mascot-shell.byte-shell {
  width: 340px;
  height: 390px;
}
.hero-mascot {
  width: 310px !important;
  height: 310px !important;
}

/* ── TICKER STRIP ─────────────────────────────────── */
.ticker-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  padding: 13px 0;
  position: relative; z-index: 1;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.ticker-sep {
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
  opacity: .6;
}

/* ── STATS STRIP ──────────────────────────────────── */
.stats-strip {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(76,166,184,.05), transparent),
    rgba(0,0,0,.14);
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-mid) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-mid) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .4;
}
.stats-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 52px 0;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.stat-number-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-number {
  font-family: var(--heading);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-suffix {
  font-family: var(--heading);
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.stat-rule {
  width: 1px;
  height: 72px;
  background: linear-gradient(to bottom, transparent, var(--line), transparent);
  flex-shrink: 0;
}

/* ── CERT LOGO STRIP ──────────────────────────────── */
.cert-logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 32px;
}
.cert-logo-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 40px 100px;
  cursor: default;
}
.cert-logo-item img {
  height: 200px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.35));
  transition: transform .35s var(--ease-spring), filter .25s var(--ease);
}
.cert-logo-item:hover img {
  transform: scale(1.1) translateY(-8px);
  filter: drop-shadow(0 16px 36px rgba(76,166,184,.22)) drop-shadow(0 4px 12px rgba(0,0,0,.4));
}
.cert-logo-item span {
  font-family: var(--heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  width: 100%;
  transition: color .2s var(--ease);
}
.cert-logo-item:hover span { color: var(--teal-light); }
.cert-divider {
  width: 1px;
  height: 130px;
  background: linear-gradient(to bottom, transparent, rgba(177,196,230,.22), transparent);
  flex-shrink: 0;
  align-self: center;
}

/* ── PANEL SHIMMER SWEEP ON HOVER ─────────────────── */
.panel {
  position: relative;
  overflow: hidden;
}
.panel::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255,255,255,.045) 50%,
    transparent 72%
  );
  transform: translateX(-120%) skewX(-8deg);
  transition: transform .75s var(--ease-out);
}
.panel:hover::after { transform: translateX(220%) skewX(-8deg); }

/* ── PILLAR ROW INTERACTION ───────────────────────── */
.pillar-panel {
  transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pillar-row:hover .pillar-panel {
  background: rgba(255,255,255,.10);
  border-color: rgba(177,196,230,.30);
  box-shadow: 0 4px 24px rgba(76,166,184,.08);
}
.pillar-connector {
  transition: box-shadow .25s var(--ease), transform .25s var(--ease-spring);
}
.pillar-row:hover .pillar-connector {
  box-shadow: 0 0 0 7px rgba(76,166,184,.16), 0 0 22px rgba(76,166,184,.28);
  transform: scale(1.25);
}
.pillar-tag {
  transition: filter .2s var(--ease);
}
.pillar-row:hover .pillar-tag { filter: brightness(1.12); }

/* ── COMPANY TIMELINE GRID — EQUAL 3 COLUMNS ─────── */

/* ── COMPANY HORIZONTAL TIMELINE ──────────────────── */

.co-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto 40px auto;
  gap: 0 12px;
  margin-top: 56px;
}

/* Row placement */
.co-tl-pip  { grid-row: 1; justify-self: center; }
.co-tl-stem { grid-row: 2; justify-self: center; }
.co-tl-card { grid-row: 3; }

/* Column placement */
.co-tl-pip--1, .co-tl-stem--1, .co-tl-card--1 { grid-column: 1; }
.co-tl-pip--2, .co-tl-stem--2, .co-tl-card--2 { grid-column: 2; }
.co-tl-pip--3, .co-tl-stem--3, .co-tl-card--3 { grid-column: 3; }
.co-tl-pip--4, .co-tl-stem--4, .co-tl-card--4 { grid-column: 4; }
.co-tl-pip--5, .co-tl-stem--5, .co-tl-card--5 { grid-column: 5; }

/* Circle pip */
.co-tl-pip {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--teal);
  box-shadow: 0 0 16px rgba(76,166,184,.3);
  display: flex; align-items: center; justify-content: center;
}

.co-tl-pip span {
  font-family: var(--heading);
  font-size: .62rem;
  font-weight: 700;
  color: var(--teal);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.co-tl-stem { width: 2px; height: 40px; }

/* Cards — same grid row = same height automatically */
.co-tl-card {
  padding: 16px 14px;
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.co-tl-card p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

/* Teal: 1,3,5 — Coral: 2,4 */
.co-tl-pip--1, .co-tl-pip--3, .co-tl-pip--5 { border-color: var(--teal);  box-shadow: 0 0 16px rgba(76,166,184,.35); }
.co-tl-pip--1 span, .co-tl-pip--3 span, .co-tl-pip--5 span { color: var(--teal); }
.co-tl-stem--1, .co-tl-stem--3, .co-tl-stem--5 { background: linear-gradient(to bottom, var(--teal), transparent); }
.co-tl-pip--2, .co-tl-pip--4 { border-color: var(--coral); box-shadow: 0 0 16px rgba(255,157,130,.35); }
.co-tl-pip--2 span, .co-tl-pip--4 span { color: var(--coral); }
.co-tl-stem--2, .co-tl-stem--4 { background: linear-gradient(to bottom, var(--coral), transparent); }

/* Mobile */
@media (max-width: 768px) {
  .co-timeline {
    grid-template-columns: auto auto 1fr;
    grid-template-rows: repeat(5, auto);
    gap: 12px 14px;
  }
  .co-tl-pip--1 { grid-column: 1; grid-row: 1; }
  .co-tl-pip--2 { grid-column: 1; grid-row: 2; }
  .co-tl-pip--3 { grid-column: 1; grid-row: 3; }
  .co-tl-pip--4 { grid-column: 1; grid-row: 4; }
  .co-tl-pip--5 { grid-column: 1; grid-row: 5; }
  .co-tl-stem--1 { grid-column: 2; grid-row: 1; width: 32px; height: 2px; align-self: center;
    background: linear-gradient(to right, var(--teal), transparent) !important; }
  .co-tl-stem--2 { grid-column: 2; grid-row: 2; width: 32px; height: 2px; align-self: center;
    background: linear-gradient(to right, var(--coral), transparent) !important; }
  .co-tl-stem--3 { grid-column: 2; grid-row: 3; width: 32px; height: 2px; align-self: center;
    background: linear-gradient(to right, var(--teal), transparent) !important; }
  .co-tl-stem--4 { grid-column: 2; grid-row: 4; width: 32px; height: 2px; align-self: center;
    background: linear-gradient(to right, var(--coral), transparent) !important; }
  .co-tl-stem--5 { grid-column: 2; grid-row: 5; width: 32px; height: 2px; align-self: center;
    background: linear-gradient(to right, var(--teal), transparent) !important; }
  .co-tl-card--1 { grid-column: 3; grid-row: 1; }
  .co-tl-card--2 { grid-column: 3; grid-row: 2; }
  .co-tl-card--3 { grid-column: 3; grid-row: 3; }
  .co-tl-card--4 { grid-column: 3; grid-row: 4; }
  .co-tl-card--5 { grid-column: 3; grid-row: 5; }
  .co-tl-pip { width: 56px; height: 56px; align-self: center; }
  .co-tl-pip span { font-size: .55rem; }
  .co-tl-card { text-align: left; align-items: flex-start; }
}

/* ── COMPANY TIMELINE CARD GLOW ───────────────────── */
#company .pillar-card {
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .22s var(--ease-spring);
}
#company .pillar-card:nth-child(1):hover { border-color: rgba(255,157,130,.4); box-shadow: 0 12px 40px rgba(255,157,130,.1); }
#company .pillar-card:nth-child(2):hover { border-color: rgba(76,166,184,.4);  box-shadow: 0 12px 40px rgba(76,166,184,.1); }
#company .pillar-card:nth-child(3):hover { border-color: rgba(221,172,0,.4);   box-shadow: 0 12px 40px rgba(221,172,0,.08); }
#company .pillar-card:nth-child(4):hover { border-color: rgba(58,143,232,.4);  box-shadow: 0 12px 40px rgba(58,143,232,.1); }
#company .pillar-card:nth-child(5):hover { border-color: rgba(255,157,130,.4); box-shadow: 0 12px 40px rgba(255,157,130,.1); }

/* ── CONTACT PANEL EXTRA LINE DETAIL ──────────────── */
.holding-contact-meta {
  position: relative;
}
.holding-contact-meta::before {
  content: '';
  position: absolute;
  left: 0; top: -1px;
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: 1px;
}

/* ── HERO CHIPS ENHANCED ──────────────────────────── */
.hero-chip {
  transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease-spring);
}
.hero-chip:hover {
  border-color: rgba(177,196,230,.28);
  background: rgba(255,255,255,.1);
  transform: translateY(-1px);
}

/* ── SECTION HEADING REVEAL POLISH ───────────────── */
.holding-story-block {
  position: relative;
}
.holding-story-block::after {
  content: '';
  position: absolute;
  left: -3px; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  border-radius: 2px;
}

/* ── FOOTER GRADIENT LINE ─────────────────────────── */
.site-footer {
  border-image: linear-gradient(90deg, transparent, var(--teal) 20%, var(--coral) 50%, var(--gold) 80%, transparent) 1;
}

/* ── SCROLL PROGRESS FULL GRADIENT ───────────────── */
.scroll-progress span {
  background: linear-gradient(90deg, var(--teal) 0%, var(--coral) 50%, var(--gold) 100%);
}

/* ── HLP NOTICE PILL + SHINE ──────────────────────── */
.hlp-shine {
  position: absolute;
  top: -10%; left: -80%;
  width: 55%; height: 120%;
  background: linear-gradient(
    105deg,
    transparent 15%,
    rgba(255,255,255,.22) 45%,
    rgba(255,255,255,.28) 50%,
    rgba(255,255,255,.22) 55%,
    transparent 85%
  );
  transform: skewX(-12deg);
  animation: hlp-sweep 4s cubic-bezier(.4,0,.2,1) infinite;
  pointer-events: none;
}
@keyframes hlp-sweep {
  0%    { left: -80%;  opacity: 0; }
  8%    { opacity: 1; }
  40%   { left: 160%; opacity: 1; }
  41%   { opacity: 0; }
  100%  { left: 160%; opacity: 0; }
}

/* ── HLP NOTICE – ABSOLUTE MAXIMUM MODE ───────────── */
@property --hype-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* 3D tilt wrapper */
.hlp-notice-3d {
  animation: hlp-3d-tilt 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hlp-3d-tilt {
  0%,100% { transform: perspective(400px) rotateX(0deg) rotateY(0deg); }
  25%     { transform: perspective(400px) rotateX(6deg) rotateY(10deg); }
  75%     { transform: perspective(400px) rotateX(-5deg) rotateY(-8deg); }
}

/* Spinning conic border wrapper — magenta/cyan/white ONLY */
.hlp-notice-hype {
  position: relative;
  border-radius: 999px;
  padding: 2px;
  background: conic-gradient(
    from var(--hype-angle),
    #ff00c8, #ffffff, #00f5ff, #ffffff, #ff00c8
  );
  animation: hlp-hype-spin .9s linear infinite, hlp-hype-pulse 2s ease-in-out infinite;
}
@keyframes hlp-hype-spin {
  to { --hype-angle: 360deg; }
}
@keyframes hlp-hype-pulse {
  0%,100% {
    box-shadow:
      0 0 22px rgba(255,0,200,.8),
      0 0 55px rgba(255,0,200,.35),
      0 0 100px rgba(0,245,255,.2);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 30px rgba(0,245,255,.9),
      0 0 70px rgba(0,245,255,.4),
      0 0 120px rgba(255,0,200,.25);
    transform: scale(1.07);
  }
}

/* Radar ripple rings */
.hlp-ripple-ring {
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  border: 1.5px solid #ff00c8;
  pointer-events: none;
  animation: hlp-ripple 2.4s ease-out infinite;
}
.hlp-ripple-ring--b {
  border-color: #00f5ff;
  animation-delay: .8s;
}
.hlp-ripple-ring--c {
  border-color: #ffffff;
  animation-delay: 1.6s;
}
@keyframes hlp-ripple {
  0%   { transform: scale(1);   opacity: .9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Orbiting particle ring */
.hlp-orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  pointer-events: none;
  animation: hlp-orbit 3s linear infinite;
}
.hlp-orbit-ring::before {
  content: '';
  position: absolute;
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  box-shadow:
    58px   0px  5px 2px #ff00c8,
   -58px   0px  5px 2px #00f5ff,
     0px  27px  4px 1px #ffffff,
     0px -27px  4px 1px #ff00c8,
    41px  19px  3px 1px #00f5ff,
   -41px  19px  3px 1px #ff00c8,
    41px -19px  3px 1px #ffffff,
   -41px -19px  3px 1px #00f5ff;
}
@keyframes hlp-orbit {
  to { transform: rotate(360deg); }
}

/* Inner pill */
.hlp-notice--wild {
  background: rgba(4,0,14,.95);
  border-radius: 999px;
  animation: hlp-glitch 3s steps(1) infinite;
}
@keyframes hlp-glitch {
  0%,78%,100% { transform: none; filter: none; }
  79% { transform: translateX(5px) skewX(4deg) scaleX(1.02); filter: hue-rotate(90deg) brightness(2.5) saturate(4) contrast(1.4); }
  80% { transform: translateX(-6px) skewX(-5deg) scaleY(1.04); filter: hue-rotate(220deg) brightness(3) saturate(5) invert(.08); }
  81% { transform: translateX(4px) skewY(2deg); filter: hue-rotate(310deg) brightness(2) saturate(3); }
  82% { transform: translateX(-3px); filter: hue-rotate(160deg) brightness(3.5) contrast(2); }
  83% { transform: translateX(2px) skewX(2deg); filter: hue-rotate(40deg) brightness(2) saturate(3); }
  84% { transform: none; filter: none; }
}

/* Flowing magenta → white → cyan text */
.hlp-notice--wild .hlp-text {
  background: linear-gradient(90deg, #ff00c8, #ffffff, #00f5ff, #ffffff, #ff00c8);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.5rem !important;
  animation: hlp-text-flow 1.2s linear infinite;
}
@keyframes hlp-text-flow {
  from { background-position: 0% center; }
  to   { background-position: 300% center; }
}

/* Dot */
.hlp-notice--wild .hlp-dot {
  background: #ff00c8;
  flex-shrink: 0;
  animation: hlp-dot-chroma 1.2s linear infinite, hlp-dot-pulse-wild 1.6s ease-in-out infinite;
}
@keyframes hlp-dot-chroma {
  0%   { background: #ff00c8; box-shadow: 0 0 10px #ff00c8, 0 0 20px #ff00c8; }
  50%  { background: #00f5ff; box-shadow: 0 0 10px #00f5ff, 0 0 20px #00f5ff; }
  100% { background: #ff00c8; box-shadow: 0 0 10px #ff00c8, 0 0 20px #ff00c8; }
}
@keyframes hlp-dot-pulse-wild {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.5); }
}

/* Shine sweeps */
.hlp-notice--wild .hlp-shine {
  background: linear-gradient(
    105deg,
    transparent 15%,
    rgba(255,0,200,.35) 35%,
    rgba(255,255,255,.6) 50%,
    rgba(0,245,255,.35) 65%,
    transparent 85%
  );
  animation: hlp-sweep 1.6s cubic-bezier(.4,0,.2,1) infinite;
}
.hlp-shine--b {
  position: absolute;
  top: -10%; left: -80%;
  width: 35%; height: 120%;
  background: linear-gradient(105deg, transparent 15%, rgba(0,245,255,.3) 45%, rgba(255,255,255,.45) 50%, rgba(255,0,200,.3) 55%, transparent 85%);
  transform: skewX(-12deg);
  animation: hlp-sweep 1.6s cubic-bezier(.4,0,.2,1) infinite .7s;
  pointer-events: none;
}

/* CRT scanlines inside pill */
.hlp-scanlines {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,.18) 2px,
    rgba(0,0,0,.18) 4px
  );
  animation: hlp-scanlines-move 6s linear infinite, hlp-scanlines-flicker .12s steps(1) infinite;
  pointer-events: none;
  z-index: 5;
}
@keyframes hlp-scanlines-move {
  from { background-position: 0 0; }
  to   { background-position: 0 80px; }
}
@keyframes hlp-scanlines-flicker {
  0%,91%,93%,100% { opacity: 1; }
  92%             { opacity: .55; }
}

/* ── PAGE RAILS ───────────────────────────────────── */
.page-rail {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  pointer-events: none;
}
.page-rail--left  { left: 32px; pointer-events: auto; }
.page-rail--right { right: 32px; }

/* Left rail — scrollspy dots */
.page-rail--left {
  gap: 36px;
  align-items: flex-start;
}
.page-rail--left::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 4px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(177,196,230,.25) 10%,
    rgba(177,196,230,.25) 90%,
    transparent 100%);
}
.rail-marker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}
.rail-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--navy-deep);
  border: 2px solid rgba(177,196,230,.35);
  flex-shrink: 0;
  position: relative; z-index: 2;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease-spring), border-color .3s;
}
.rail-marker:hover .rail-dot {
  background: var(--navy-deep);
  border-color: var(--teal);
  transform: scale(1.2);
}
.rail-marker.is-active .rail-dot {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 0 5px rgba(76,166,184,.18), 0 0 18px rgba(76,166,184,.45);
  transform: scale(1.6);
}
.rail-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), color .25s;
}
.rail-marker:hover .rail-label {
  opacity: .7;
  transform: translateX(0);
}
.rail-marker.is-active .rail-label {
  opacity: 1;
  transform: translateX(0);
  color: var(--teal);
}

/* Right rail — identity & signal */
.page-rail--right {
  gap: 20px;
  align-items: center;
}
.rail-vtext {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(177,196,230,.22);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
}
.rail-signal {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  transform: rotate(180deg);
}
.rs-bar {
  width: 4px;
  border-radius: 2px 2px 0 0;
  background: var(--teal);
  opacity: .35;
  animation: signal-pulse 2s ease-in-out infinite;
}
.rs-bar--1 { height: 5px;  animation-delay: 0s; }
.rs-bar--2 { height: 9px;  animation-delay: .15s; }
.rs-bar--3 { height: 14px; animation-delay: .3s; }
.rs-bar--4 { height: 20px; animation-delay: .45s; }
@keyframes signal-pulse {
  0%, 100% { opacity: .35; }
  50%       { opacity: .85; }
}
.rail-connected {
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(76,166,184,.35);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

/* Only show rails when there's real side space */
@media (max-width: 1380px) {
  .page-rail { display: none; }
}

/* ── CONTACT PROMISE BLOCK ────────────────────────── */
.contact-promise-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cpb-status {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cpb-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(74,222,128,.5);
  animation: cpb-ring 2.2s ease-out infinite;
}
@keyframes cpb-ring {
  0%   { box-shadow: 0 0 0 0   rgba(74,222,128,.5); }
  70%  { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0   rgba(74,222,128,0); }
}
.cpb-status-text {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: .01em;
}
.cpb-steps {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(177,196,230,.12);
  padding-left: 20px;
  position: relative;
}
.cpb-steps li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  position: relative;
}
.cpb-steps li::before {
  content: '';
  position: absolute;
  left: -24px; top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid rgba(177,196,230,.25);
}
.cpb-steps li:first-child::before { border-color: var(--teal); background: var(--teal); box-shadow: 0 0 8px rgba(76,166,184,.4); }
.cpb-step-n {
  font-family: var(--heading);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  flex-shrink: 0;
}
.cpb-step-text {
  font-size: .87rem;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ── AMBIENT ORB PARALLAX READINESS ──────────────── */
.ambient-orb { will-change: transform; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — comprehensive mobile system
══════════════════════════════════════════════════════ */

/* ── TABLET 1024px ──────────────────────────────────── */
@media (max-width: 1024px) {
  /* Hide side rails — no room */
  .page-rail { display: none; }

  /* Company timeline */

  /* Certs */
  .cert-logo-item { padding: 28px 32px; }
  .cert-logo-item img { height: 130px; max-width: 160px; }

  /* Mascot */
  .mascot-shell.byte-shell { width: 280px; height: 320px; }
  .hero-mascot { width: 250px !important; height: 250px !important; }
}

/* ── TABLET 900px ───────────────────────────────────── */
@media (max-width: 900px) {
  .stats-row { padding: 36px 0; }
  .stat-number { font-size: clamp(2.2rem, 5vw, 3.4rem); }
}

/* ── MOBILE 768px ───────────────────────────────────── */
@media (max-width: 768px) {
  /* Header */
  .header-inner { height: 56px; width: calc(100% - 28px); gap: 10px; }
  .brand-logo { height: 26px; }
  .hlp-text { font-size: 1rem !important; }
  .hlp-notice { padding: 5px 12px !important; }

  /* Layout spacing */
  .holding-hero { padding: 48px 0 36px; }
  .holding-section { padding: 52px 0; }
  .container { width: calc(100% - 28px); }

  /* Hero — stack text over mascot, mascot below */
  .hero-two-col { grid-template-columns: 1fr; gap: 36px; }
  .hero-byte-col { flex-direction: column; align-items: center; }
  .hero-title { font-size: clamp(2.2rem, 7vw, 3.2rem); }
  .hero-lead-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .mascot-shell.byte-shell { width: 220px; height: 260px; }
  .hero-mascot { width: 200px !important; height: 200px !important; }

  /* Stats — 2×2 grid */
  .stats-row { flex-wrap: wrap; padding: 28px 0; }
  .stat-item { width: 50%; min-width: 50%; flex: none; padding: 20px 0; border-bottom: 1px solid var(--line-mid); }
  .stat-item:nth-child(1), .stat-item:nth-child(3) { border-right: 1px solid var(--line-mid); }
  .stat-rule { display: none; }

  /* Company timeline — single column */

  /* Certs — 2×2 grid */
  .cert-logo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .cert-logo-item { padding: 24px 16px; flex-direction: column; align-items: center; gap: 14px; }
  .cert-logo-item img { height: 100px; max-width: 120px; }
  .cert-divider { display: none; }

  /* Pillars — still horizontal rows at 768px, just tighter tags */
  .pillar-tag { width: 180px; font-size: .7rem; }

  /* Contact */
  .holding-contact-layout { grid-template-columns: 1fr; gap: 16px; }
  .holding-contact-panel { padding: 24px 20px; }
  .holding-form-panel { padding: 24px 20px; }
  .cf-fields { grid-template-columns: 1fr; }
  .contact-left-col { flex-direction: row; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
  .contact-left-col .holding-contact-panel { flex: 1; min-width: 260px; }
  .contact-byte-mascot { width: 130px; padding-top: 0; align-self: flex-end; }

  /* Footer */
  .footer-inner-simple { flex-direction: column; gap: 20px; }
  .footer-meta { align-items: flex-start; width: 100%; }
  .footer-utility-links-plain { justify-content: flex-start; gap: 16px; flex-wrap: wrap; }
  .footer-logo { height: 26px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Cookie banner */
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: flex-end; }

  /* Ticker */
  .ticker-item { font-size: .65rem; }
}

/* ── PILLARS MOBILE — stack into clean cards ────────── */
@media (max-width: 680px) {
  .pillars-stack { gap: 10px; }

  /* Each row becomes a card */
  .pillar-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(177,196,230,.1);
  }

  /* Tag becomes the card header */
  .pillar-tag {
    width: 100%;
    height: 48px;
    border-radius: 0;
    padding: 0 20px;
    justify-content: flex-start;
  }
  .pillar-tag::after { display: none; }

  /* Dot connector hidden — makes no sense when stacked */
  .pillar-connector { display: none; }

  /* Panel becomes the card body */
  .pillar-panel {
    width: 100%;
    border-radius: 0;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 14px 20px;
  }

  .pillar-row:hover .pillar-panel {
    background: transparent;
    border-color: rgba(255,255,255,.06);
    box-shadow: none;
  }
}

/* ── SMALL MOBILE 480px ─────────────────────────────── */
@media (max-width: 480px) {
  /* Header — tighten pill so it doesn't overflow */
  .hlp-text { font-size: .85rem !important; }
  .hlp-notice { padding: 4px 10px !important; }

  .hero-title { font-size: clamp(2rem, 8.5vw, 2.8rem); }

  /* Stats */
  .stat-item { width: 50%; }
  .stat-number { font-size: 2.4rem; }

  /* Certs */
  .cert-logo-strip { grid-template-columns: 1fr 1fr; }
  .cert-logo-item { padding: 18px 10px; }
  .cert-logo-item img { height: 80px; max-width: 100px; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card-wide { grid-column: span 1; }

  /* Contact actions stack */
  .holding-contact-actions { flex-direction: column; }
  .holding-contact-actions .button { width: 100%; text-align: center; }

  /* Contact — Byte hides on very small screens */
  .contact-byte-mascot { display: none; }
  .contact-left-col { flex-direction: column; }

  /* Footer */
  .footer-utility-links-plain { gap: 12px; }
  .footer-contact-link span, .footer-linkedin span { font-size: .88rem; }
}

/* ── BYTE MASCOT IN CONTACT SECTION ───────────────── */
.contact-left-col {
  display: flex;
  flex-direction: column;
}

.contact-left-col .holding-contact-panel {
  flex: 1;
}

.contact-byte-mascot {
  display: block;
  width: 220px;
  height: 275px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: bottom center;
  margin: 0 auto;
  padding-top: 20px;
}

/* ── MOBILE OVERFLOW & ANIMATION FIXES ─────────────── */

/* Global safe max-width on everything */
img, video, canvas, svg { max-width: 100%; }

@media (max-width: 768px) {
  /* Kill the 3D tilt — causes rendering blowout on small viewports */
  .hlp-notice-3d { animation: none !important; transform: none !important; }

  /* Hide elements that overflow the header bounds */
  .hlp-ripple-ring,
  .hlp-orbit-ring { display: none !important; }

  /* Scale the spinning pill border back a touch */
  .hlp-notice-hype { animation: hlp-hype-spin .9s linear infinite !important; }

  /* Shrink the pill text/padding at 768 */
  .hlp-notice { padding: 5px 12px !important; }
  .hlp-text   { font-size: .95rem !important; }

  /* Hero mascot — never exceed viewport */
  .hero-mascot { max-width: 100% !important; }
  .mascot-shell.byte-shell { max-width: 100%; }

  /* Prevent ticker from forcing width */
  .ticker-strip { overflow: hidden; }

  /* Contact mascot height cap on tablet */
  .contact-byte-mascot { width: 160px; height: 200px; }

  /* Music FAB — keep off bottom nav on mobile */
  .music-fab { bottom: 20px; right: 16px; }
}

@media (max-width: 480px) {
  /* Pill — minimal at very small sizes */
  .hlp-notice-hype { padding: 1.5px; }
  .hlp-text   { font-size: .8rem !important; }
  .hlp-notice { padding: 4px 10px !important; }

  /* Hero — prevent image overflow */
  .hero-byte-col { width: 100%; }
  .hero-mascot { width: 160px !important; height: 160px !important; }
  .mascot-shell.byte-shell { width: 180px; height: 210px; }

  /* Section containers — full bleed padding */
  .container { width: calc(100% - 20px); }

  /* Music FAB tighter */
  .music-fab { bottom: 16px; right: 12px; }
  .music-fab-btn { width: 46px; height: 46px; }
  .music-fab-spark svg { width: 20px; height: 20px; }
}
