/* =====================================================================
   HYPEE MEDIA — Global Stylesheet  (v2 — glass + gradient, mobile-first)
   Aesthetic: deep black canvas, cool gradient text, frosted glass,
   violet only as ambient gradient, electric lime as rare micro-spark.
   Written mobile-first: base = phone, min-width queries scale up.
   ===================================================================== */

/* ----------------------------------------------------------------
   1. TOKENS
   ---------------------------------------------------------------- */
:root {
  --black:    #000000;
  --ink:      #050507;
  --panel:    #0a0a0e;
  --violet:   #38285b;   /* used inside gradients/glows only */
  --lime:     #e4f400;   /* micro-accents only (logo dot, spark) */
  --white:    #ffffff;
  --offwhite: #f2f3f7;
  --muted:    #8c8c97;
  --muted-2:  #62626d;

  /* Text & accent gradients */
  --grad-head:  linear-gradient(177deg, #ffffff 8%, #cfd8ef 55%, #9fb0d8 100%);
  --grad-cool:  linear-gradient(118deg, #f0f4ff 0%, #b6c6ec 45%, #8fa6da 100%);
  --grad-iris:  linear-gradient(135deg, #cabcff 0%, #9385e8 48%, #5b49a6 100%);
  --grad-aqua:  linear-gradient(120deg, #cdeffe 0%, #8fd0f0 100%);
  --grad-mint:  linear-gradient(120deg, #d8ffe9 0%, #84e7b6 100%);

  /* Surfaces / glass */
  --glass:      linear-gradient(160deg, rgba(255,255,255,0.085), rgba(255,255,255,0.018));
  --glass-soft: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.012));
  --glass-brd:  rgba(255,255,255,0.12);
  --glass-brd-hover: rgba(255,255,255,0.32);
  --blur:       18px;

  --line:       rgba(255,255,255,0.10);

  --font-head:  'Manrope', sans-serif;
  --font-body:  'Inter', sans-serif;

  --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  30px;

  --max:        1240px;
  --gutter:     clamp(18px, 5vw, 64px);
  --nav-h:      62px;
}
@media (min-width: 1024px) { :root { --nav-h: 78px; } }

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--offwhite);
  font-weight: 400; line-height: 1.6; font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }
::selection { background: rgba(147,133,232,0.45); color: var(--white); }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #4a3a7e, #2a2042); border-radius: 10px; }

/* ----------------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; color: var(--white); }
h1 { font-size: clamp(2.3rem, 9vw, 5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 6vw, 3.3rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 4vw, 1.7rem); font-weight: 700; }
p { color: var(--offwhite); }

.text-gradient, .text-lime {
  background: var(--grad-cool); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-iris { background: var(--grad-iris); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: "✦"; font-size: 0.7em; color: var(--lime); opacity: 0.85; }
.eyebrow.no-mark::before { content: none; }
@media (min-width: 768px){ .eyebrow { font-size: 0.78rem; } }

.lead { font-size: clamp(1rem, 2.6vw, 1.22rem); color: var(--muted); max-width: 56ch; line-height: 1.6; }
.text-muted { color: var(--muted); }
.italic { font-style: italic; }

/* ----------------------------------------------------------------
   4. LAYOUT
   ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 12vw, 130px); position: relative; }
.section--black { background: var(--black); }
/* violet only as a soft gradient wash, never a flat fill */
.section--violet, .section--violet-grad {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(56,40,91,0.55), transparent 60%),
    linear-gradient(180deg, #050409, #000 70%);
}
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }
.eyebrow + h1, .eyebrow + h2 { margin-top: 16px; }
.grid { display: grid; gap: clamp(16px, 3vw, 28px); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 6vw, 60px); }
.section-head.center { margin-inline: auto; }

/* ----------------------------------------------------------------
   5. GLASS HELPERS
   ---------------------------------------------------------------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(135%);
  backdrop-filter: blur(var(--blur)) saturate(135%);
  border: 1px solid var(--glass-brd);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.07);
}
/* tone down blur on small screens for performance */
@media (max-width: 600px){ .glass, .nav.scrolled, .mega, .mobile-menu { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); } }

/* ----------------------------------------------------------------
   6. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 0 26px; height: 50px; border-radius: 999px;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap; position: relative;
}
/* PRIMARY — clean white (lime retired from CTAs) */
.btn--lime { background: linear-gradient(180deg, #ffffff, #e8edf8); color: #0a0a0f; }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(190,205,245,0.28); }
/* GHOST — frosted glass */
.btn--ghost {
  background: rgba(255,255,255,0.06); color: var(--white);
  border: 1px solid rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
/* GHOST w/ gradient text */
.btn--lime-ghost {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn--lime-ghost span, .btn--lime-ghost { background-clip: border-box; }
.btn--lime-ghost { color: #c7d4f5; }
.btn--lime-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { height: 54px; padding-inline: 30px; font-size: 1rem; }
@media (min-width: 768px){ .btn--lg { height: 58px; padding-inline: 36px; font-size: 1.05rem; } }

/* ----------------------------------------------------------------
   7. CUSTOM CURSOR (desktop only)
   ---------------------------------------------------------------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%); will-change: transform; mix-blend-mode: difference;
}
.cursor-dot { width: 7px; height: 7px; background: #fff; }
.cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.7); transition: width .25s, height .25s, background .25s, border-color .25s; }
.cursor-ring.is-hover { width: 58px; height: 58px; background: rgba(255,255,255,0.08); border-color: #fff; }
.cursor-ring.is-down { width: 28px; height: 28px; }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ----------------------------------------------------------------
   8. NAVBAR (mobile-first: hamburger by default)
   ---------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 1000; display: flex; align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition), height var(--transition);
  border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(8,8,12,0.55); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); border-bottom-color: rgba(255,255,255,0.08); }
.nav__inner { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav__logo img { height: 36px; width: auto; transition: filter var(--transition), transform var(--transition); }
.nav__logo:hover img { transform: scale(1.03); }
.nav__logo-fallback { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--white); letter-spacing: -0.04em; }
.nav__logo-fallback b { color: var(--lime); }
@media (min-width: 1024px){ .nav__logo img { height: 44px; } }

.nav__menu { display: none; }
.nav__link { position: relative; font-size: 0.92rem; font-weight: 500; color: var(--offwhite); padding: 6px 0; transition: color var(--transition); }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 100%; background: linear-gradient(90deg, #fff, #9fb0d8); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__item { position: relative; }
/* caret sits to the RIGHT of the label (flex order), underline stays on ::after */
.nav__item--has-mega > .nav__link { display: inline-flex; align-items: center; }
.nav__item--has-mega > .nav__link::before { content: ""; order: 1; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 8px; transition: transform var(--transition); opacity: .65; }
.nav__item--has-mega:hover > .nav__link::before { transform: translateY(1px) rotate(-135deg); }
.mega {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(10px);
  width: min(620px, 90vw); padding: 12px; opacity: 0; visibility: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border-radius: var(--radius-lg); background: rgba(16,14,24,0.7); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid var(--glass-brd); box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav__item--has-mega:hover .mega, .mega:hover { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__link { display: flex; gap: 13px; padding: 13px; border-radius: var(--radius-md); transition: background var(--transition); }
.mega__link:hover { background: rgba(255,255,255,0.06); }
.mega__ico { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,0.06); color: #c7d4f5; border: 1px solid rgba(255,255,255,0.08); }
.mega__ico svg { width: 19px; height: 19px; }
.mega__t { font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--white); }
.mega__d { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__cta { display: none; }
.nav__burger { display: grid; width: 42px; height: 42px; border-radius: 11px; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--white); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav__burger span:nth-child(1){ top: 15px; } .nav__burger span:nth-child(2){ top: 20px; } .nav__burger span:nth-child(3){ top: 25px; }
body.menu-open .nav__burger span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2){ opacity: 0; }
body.menu-open .nav__burger span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

@media (min-width: 1024px){
  .nav__menu { display: flex; align-items: center; gap: 30px; }
  .nav__cta { display: inline-flex; height: 42px; padding-inline: 22px; }
  .nav__burger { display: none; }
}

/* Mobile overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; transform: translateX(100%);
  background: radial-gradient(120% 80% at 100% 0%, rgba(56,40,91,0.6), transparent 55%), rgba(6,6,10,0.92);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  transition: transform 0.5s cubic-bezier(0.76,0,0.24,1);
  display: flex; flex-direction: column; justify-content: center; padding: 90px var(--gutter) 40px; gap: 4px; overflow-y: auto;
}
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu a { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 7vw, 2.1rem); color: var(--white); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); transition: color var(--transition), padding-left var(--transition); }
.mobile-menu a:hover { color: #c7d4f5; padding-left: 10px; }
.mobile-menu__sub { font-size: 0.85rem !important; font-family: var(--font-body) !important; font-weight: 500 !important; color: var(--muted) !important; padding-left: 16px !important; border: none !important; }
.mobile-menu__cta { margin-top: 24px; max-width: 240px; }

/* ----------------------------------------------------------------
   9. HERO (mobile-first stack)
   ---------------------------------------------------------------- */
.hero { min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 60px; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(34px, 8vw, 60px); align-items: center; width: 100%; }
.hero__label { margin-bottom: 14px; }
.hero__h1 { margin: 6px 0 18px; font-size: clamp(2rem, 7.4vw, 4rem); line-height: 1.16; } /* caps at 64px */
/* The headline gradient uses background-clip:text, which only paints inside
   each span's box — a tight box slices off the 'g/y/p' descender. Roomy
   line-height + padding-bottom on the SPAN give the gradient space to paint
   below the baseline. overflow:hidden on .line still masks the GSAP reveal. */
.hero__h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.04em; }
.hero__h1 .line > span { display: inline-block; padding-bottom: 0.18em; }
/* default headline = soft head gradient; accent spans = iris gradient.
   Gradient must sit on the inline-block spans themselves (background-clip:text
   does not pass through inline-block children). */
.hero__h1 .line > span { background: var(--grad-head); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero__h1 .line > span.text-lime, .hero__h1 .line > span.text-gradient { background: var(--grad-iris); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { max-width: 52ch; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ambient gradient glows (violet/blue) instead of flat colour */
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; z-index: -1; pointer-events: none; }
.hero__glow--1 { width: 70vw; max-width: 520px; aspect-ratio: 1; background: radial-gradient(circle, rgba(76,58,126,0.85), transparent 70%); top: -12%; right: -18%; }
.hero__glow--2 { width: 60vw; max-width: 420px; aspect-ratio: 1; background: radial-gradient(circle, rgba(52,86,160,0.5), transparent 70%); bottom: -16%; left: -16%; }

/* hero dashboard visual */
.hero__visual { position: relative; }
.hero__dash { border-radius: var(--radius-xl); padding: 10px; position: relative; }
.hero__dash img { width: 100%; border-radius: calc(var(--radius-xl) - 8px); display: block; }
.hero__dash::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(255,255,255,0.4), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .6; }
.hero__floats { position: absolute; inset: 0; pointer-events: none; }
.float-card { position: absolute; padding: 12px 16px; border-radius: var(--radius-md); }
.float-card .v { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.float-card .l { font-size: 0.64rem; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.float-card--a { top: 8%; left: -6%; } .float-card--b { bottom: 10%; right: -5%; }
@media (max-width: 520px){ .float-card { display: none; } }

.scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; color: var(--muted-2); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-cue__line { width: 1px; height: 42px; background: linear-gradient(#fff, transparent); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: #fff; animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0%{ top: -50%; } 100%{ top: 100%; } }

@media (min-width: 1024px){
  .hero__grid { grid-template-columns: 1.02fr 0.98fr; }
  .scroll-cue { display: flex; }
}

/* legacy dash mock (kept harmless) */
.dash { display: none; }

/* ----------------------------------------------------------------
   10. STATS
   ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px,5vw,40px) 16px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem, 9vw, 4rem); line-height: 1; letter-spacing: -0.04em;
  background: var(--grad-head); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat__label { color: var(--muted); font-size: 0.84rem; margin-top: 8px; font-weight: 500; }
@media (min-width: 768px){ .stats { grid-template-columns: repeat(4, 1fr); } }

/* ----------------------------------------------------------------
   11. MARQUEE
   ---------------------------------------------------------------- */
.marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 14px; }
.marquee__track { display: flex; width: max-content; gap: 16px; will-change: transform; }
.marquee__item { flex: 0 0 auto; width: 160px; height: 66px; display: grid; place-items: center; border-radius: var(--radius-md);
  background: var(--glass-soft); border: 1px solid rgba(255,255,255,0.08); filter: grayscale(1) opacity(0.5); transition: filter var(--transition), border-color var(--transition); }
.marquee__item:hover { filter: grayscale(0) opacity(1); border-color: rgba(255,255,255,0.28); }
.marquee__item img { height: 26px; width: auto; }
@media (min-width: 768px){ .marquee__item { width: 190px; height: 76px; } .marquee__item img { height: 30px; } }

/* ----------------------------------------------------------------
   12. SERVICE CARDS  (glass)
   ---------------------------------------------------------------- */
.svc-split { display: grid; grid-template-columns: 1fr; gap: clamp(28px,5vw,56px); align-items: start; }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.svc-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background: var(--glass); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-brd);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.svc-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx,50%) var(--my,0%), rgba(150,170,255,0.12), transparent 60%); opacity: 0; transition: opacity var(--transition); pointer-events: none; }
.svc-card:hover { transform: translateY(-6px); border-color: var(--glass-brd-hover); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.svc-card:hover::after { opacity: 1; }
.svc-card__ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #cdd8f5; }
.svc-card__ico svg { width: 24px; height: 24px; }
.svc-card h3 { color: var(--white); }
.svc-card p { color: var(--muted); font-size: 0.92rem; }
.svc-card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: #c7d4f5; font-weight: 600; font-size: 0.88rem; }
.svc-card__cta svg { transition: transform var(--transition); width: 15px; height: 15px; }
.svc-card:hover .svc-card__cta svg { transform: translateX(4px); }
@media (min-width: 600px){ .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .svc-split { grid-template-columns: 0.85fr 1.15fr; } .svc-card { padding: 28px; } }

/* ----------------------------------------------------------------
   13. ALTERNATING FEATURE ROWS
   ---------------------------------------------------------------- */
.feature-row { display: grid; grid-template-columns: 1fr; gap: clamp(22px,5vw,56px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(40px, 8vw, 100px); }
.feature-row__media { aspect-ratio: 16/9; border-radius: var(--radius-lg); position: relative; overflow: hidden; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--glass-brd); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); }
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-row__media .glyph { font-size: clamp(3.4rem, 12vw, 7rem); opacity: 0.9; }
.feature-row__media .badge { position: absolute; bottom: 14px; left: 14px; z-index: 2; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: #cdd8f5; border: 1px solid rgba(255,255,255,0.18); background: rgba(8,8,14,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 6px 12px; border-radius: 999px; }
.feature-row__num { font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; background: var(--grad-iris); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.feature-row h3 { margin: 6px 0 12px; font-size: clamp(1.4rem, 5vw, 2.1rem); color: var(--white); }
.feature-row p { color: var(--muted); }
.orb { position: absolute; border-radius: 50%; filter: blur(38px); opacity: 0.5; }
.orb--lime { background: rgba(120,140,230,0.5); width: 130px; height: 130px; }   /* recoloured cool */
.orb--white { background: rgba(255,255,255,0.16); width: 110px; height: 110px; }
@media (min-width: 768px){
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row:nth-child(even) .feature-row__media { order: -1; }
}

/* ----------------------------------------------------------------
   14. TESTIMONIALS (glass)
   ---------------------------------------------------------------- */
.tslider { position: relative; overflow: hidden; }
.tslider__track { display: flex; transition: transform 0.7s cubic-bezier(0.76,0,0.24,1); }
.tcard { flex: 0 0 100%; padding: 4px; }
.tcard__inner { border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 46px); max-width: 860px; margin-inline: auto;
  background: var(--glass); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-brd); }
.tcard__stars { color: #cdd8f5; letter-spacing: 3px; margin-bottom: 16px; font-size: 1rem; }
.tcard__quote { font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: clamp(0.92rem, 1.9vw, 1.15rem); line-height: 1.5; color: var(--white); }
.tcard__who { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.tcard__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-iris); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 0.9rem; flex: 0 0 auto; }
.tcard__name { font-weight: 700; color: var(--white); font-family: var(--font-head); }
.tcard__role { font-size: 0.82rem; color: var(--muted); }
.tslider__nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; }
.tdot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.22); transition: width var(--transition), background var(--transition); }
.tdot.active { width: 26px; border-radius: 999px; background: linear-gradient(90deg,#fff,#9fb0d8); }
.tarrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; color: var(--white); background: rgba(255,255,255,0.04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background var(--transition), border-color var(--transition); }
.tarrow:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); }

/* ----------------------------------------------------------------
   15. SPLIT / MEDIA CARD
   ---------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px,5vw,64px); align-items: center; }
.media-card { aspect-ratio: 16/9; border-radius: var(--radius-lg); position: relative; overflow: hidden; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--glass-brd); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card__stat { position: absolute; z-index: 2; padding: 12px 16px; border-radius: var(--radius-md); background: rgba(10,10,16,0.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.14); }
.media-card__stat .v { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.media-card__stat .l { font-size: 0.7rem; color: var(--muted); margin-top: 4px; }
.media-card__stat--a { top: 18px; left: 18px; } .media-card__stat--b { bottom: 18px; right: 18px; }
@media (min-width: 768px){ .split { grid-template-columns: 1fr 1fr; } }

/* ----------------------------------------------------------------
   16. CONTACT FORM (glass)
   ---------------------------------------------------------------- */
.contact-split { display: grid; grid-template-columns: 1fr; gap: clamp(28px,5vw,56px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info__row { display: flex; align-items: center; gap: 13px; color: var(--offwhite); }
.contact-info__row .ico { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: grid; place-items: center; color: #cdd8f5; }
.contact-info__row .ico svg { width: 19px; height: 19px; }
.contact-info__row a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); display: grid; place-items: center; color: var(--white); transition: background var(--transition), border-color var(--transition), transform var(--transition); }
.socials a:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); transform: translateY(-3px); }
.socials a svg { width: 17px; height: 17px; }

.form-card { border-radius: var(--radius-lg); padding: clamp(20px, 5vw, 36px);
  background: var(--glass); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-brd); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 500; color: var(--offwhite); }
.field label .req { color: #9fb0d8; }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; color: var(--white);
  padding: 13px 15px; font-size: 0.95rem; width: 100%; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23aebfe8' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }
.field select option { background: #0c0c12; color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #565660; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(159,176,216,0.8); box-shadow: 0 0 0 3px rgba(120,140,230,0.18); background: rgba(255,255,255,0.06); }
.field .err { font-size: 0.76rem; color: #ff8080; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b6b; }
.field.invalid .err { display: block; }
.field__count { font-size: 0.7rem; color: var(--muted-2); text-align: right; }
.radio-row { display: flex; flex-wrap: wrap; gap: 9px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span { display: inline-flex; padding: 10px 16px; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; font-size: 0.86rem; transition: all var(--transition); }
.radio-pill input:checked + span { border-color: rgba(159,176,216,0.7); background: rgba(120,140,230,0.16); color: #dbe3f8; }
.form-success { display: none; padding: 14px 16px; border-radius: var(--radius-md); background: rgba(132,231,182,0.1); border: 1px solid rgba(132,231,182,0.5); color: #9fe9c2; font-weight: 500; margin-bottom: 16px; }
.form-success.show { display: block; }
@media (min-width: 600px){ .form-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .contact-split { grid-template-columns: 0.9fr 1.1fr; } }

/* ----------------------------------------------------------------
   17. PROCESS TIMELINE
   ---------------------------------------------------------------- */
.process { display: grid; grid-template-columns: 1fr; gap: 22px; position: relative; }
.process__step { text-align: center; position: relative; }
.process__num { width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  background: var(--glass); border: 1px solid var(--glass-brd); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; position: relative; z-index: 1; }
.process__step h4 { font-family: var(--font-head); color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.process__step p { font-size: 0.84rem; color: var(--muted); }
@media (min-width: 768px){
  .process { grid-template-columns: repeat(5, 1fr); }
  .process::before { content: ""; position: absolute; top: 25px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(159,176,216,0.4), transparent); }
}

/* ----------------------------------------------------------------
   18. SUBSERVICE / CHECKLIST (glass)
   ---------------------------------------------------------------- */
.subservice { border-radius: var(--radius-lg); padding: 26px; background: var(--glass); border: 1px solid var(--glass-brd); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); transition: transform var(--transition), border-color var(--transition); }
.subservice:hover { transform: translateY(-5px); border-color: var(--glass-brd-hover); }
.subservice__ico { width: 48px; height: 48px; border-radius: 13px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #cdd8f5; display: grid; place-items: center; margin-bottom: 16px; }
.subservice__ico svg { width: 23px; height: 23px; }
.subservice h3 { color: var(--white); margin-bottom: 14px; }
.ticks { display: flex; flex-direction: column; gap: 11px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; color: var(--offwhite); font-size: 0.9rem; }
.ticks li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 1px; background: linear-gradient(135deg,#c7d4f5,#8fa6da);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat; }

/* ----------------------------------------------------------------
   19. ICON GRID (glass)
   ---------------------------------------------------------------- */
.icon-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.icon-card { padding: 24px; border-radius: var(--radius-lg); background: var(--glass-soft); border: 1px solid var(--glass-brd); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); transition: transform var(--transition), border-color var(--transition); }
.icon-card:hover { transform: translateY(-5px); border-color: var(--glass-brd-hover); }
.icon-card__glyph { font-size: 1.8rem; margin-bottom: 14px; }
.icon-card h3 { color: var(--white); font-size: 1.12rem; margin-bottom: 7px; }
.icon-card p { color: var(--muted); font-size: 0.88rem; }
@media (min-width: 600px){ .icon-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .icon-grid { grid-template-columns: repeat(3, 1fr); } }
.icon-grid--4 { } /* default handled below via inline repeat on page; ensure 2 then 4 */
@media (min-width: 1024px){ .grid[style*="repeat(4"] { grid-template-columns: repeat(4,1fr) !important; } }
@media (max-width: 1023px){ .grid[style*="repeat(4"], .grid[style*="repeat(3"] { grid-template-columns: 1fr !important; } }
@media (min-width: 600px) and (max-width: 1023px){ .grid[style*="repeat(4"], .grid[style*="repeat(3"] { grid-template-columns: 1fr 1fr !important; } }

/* ----------------------------------------------------------------
   20. STORY TIMELINE
   ---------------------------------------------------------------- */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(#9fb0d8, rgba(159,176,216,0.08)); }
.tl-item { position: relative; padding-bottom: 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -36px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #0a0a0f; border: 3px solid #9fb0d8; }
.tl-item .year { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tl-item h4 { color: var(--white); margin: 5px 0; font-family: var(--font-head); }
.tl-item p { color: var(--muted); font-size: 0.9rem; }

/* ----------------------------------------------------------------
   21. TEAM (glass)
   ---------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: 1fr; gap: clamp(18px,4vw,30px); }
.team-card { text-align: center; padding: 26px; border-radius: var(--radius-lg); background: var(--glass-soft); border: 1px solid var(--glass-brd); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.team-card:hover { transform: translateY(-6px); border-color: var(--glass-brd-hover); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.team-card__photo { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 18px; object-fit: cover; border: 2px solid rgba(255,255,255,0.16); background: #1a1426; }
.team-card h3 { color: var(--white); font-size: 1.15rem; }
.team-card__role { font-size: 0.84rem; font-weight: 600; margin: 4px 0 11px; background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.team-card__bio { color: var(--muted); font-size: 0.86rem; }
.team-card__social { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-top: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); color: var(--white); transition: all var(--transition); }
.team-card__social:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); }
.team-card__social svg { width: 17px; height: 17px; }
@media (min-width: 600px){ .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .team-grid { grid-template-columns: repeat(3, 1fr); } }

/* ----------------------------------------------------------------
   22. COMPARISON TABLE
   ---------------------------------------------------------------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-brd); background: var(--glass-soft); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); }
.compare th, .compare td { padding: 15px 18px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.compare thead th { font-family: var(--font-head); color: var(--white); background: rgba(255,255,255,0.04); }
.compare thead th.hl { background: linear-gradient(135deg, rgba(150,170,255,0.22), rgba(120,140,230,0.12)); color: #fff; }
.compare td.feat { color: var(--offwhite); font-weight: 500; }
.compare td.yes { color: #bcd0ff; }
.compare td.no { color: var(--muted-2); }
.compare td.hl { background: rgba(150,170,255,0.06); }
.compare tbody tr:last-child td { border-bottom: none; }

/* ----------------------------------------------------------------
   23. FAQ ACCORDION
   ---------------------------------------------------------------- */
.faq-group + .faq-group { margin-top: 34px; }
.faq-group__title { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.faq { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: clamp(0.98rem, 3.5vw, 1.18rem); color: var(--white); transition: color var(--transition); }
.faq__q:hover { color: #c7d4f5; }
.faq__icon { flex: 0 0 26px; height: 26px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: #c7d4f5; border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.faq__icon::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq__icon::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.faq.open .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--transition); }
.faq.open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 20px; max-width: 70ch; }

/* ----------------------------------------------------------------
   24. BLOG
   ---------------------------------------------------------------- */
.blog-toolbar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.03); color: var(--offwhite); font-size: 0.82rem; font-weight: 500; transition: all var(--transition); }
.chip:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }
.chip.active { background: linear-gradient(180deg,#fff,#e8edf8); color: #0a0a0f; border-color: transparent; }
.blog-search { position: relative; }
.blog-search input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; color: var(--white); padding: 12px 18px 12px 42px; }
.blog-search input:focus { outline: none; border-color: rgba(159,176,216,0.7); box-shadow: 0 0 0 3px rgba(120,140,230,0.15); }
.blog-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }

.blog-grid { display: grid; grid-template-columns: 1fr; gap: clamp(18px,3vw,28px); }
.blog-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--glass-soft); border: 1px solid var(--glass-brd); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-6px); border-color: var(--glass-brd-hover); box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.blog-card__img { aspect-ratio: 16/9; position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(150deg, #18122a, #0c0a16); }
.blog-card__img .glyph { font-size: 2.6rem; opacity: 0.85; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.blog-card__cat { align-self: flex-start; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.blog-card h3 { color: var(--white); font-size: 1.15rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__meta { font-size: 0.76rem; color: var(--muted-2); }
.blog-card__excerpt { color: var(--muted); font-size: 0.88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__more { margin-top: auto; color: #c7d4f5; font-weight: 600; font-size: 0.86rem; display: inline-flex; gap: 5px; }
.blog-empty { text-align: center; color: var(--muted); padding: 50px 0; grid-column: 1/-1; }
@media (min-width: 640px){ .blog-grid { grid-template-columns: 1fr 1fr; } .blog-toolbar { flex-direction: row; align-items: center; justify-content: space-between; } .blog-search input { width: 280px; } }
@media (min-width: 1024px){ .blog-grid { grid-template-columns: repeat(3, 1fr); } }

/* Blog post */
.reading-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, #fff, #9fb0d8); z-index: 1001; transition: width 0.1s linear; }
.post-hero { padding-top: calc(var(--nav-h) + 30px); }
.post-hero__img { aspect-ratio: 16/9; border-radius: var(--radius-lg); background: linear-gradient(150deg, #18122a, #0c0a16); margin-top: 26px; display: grid; place-items: center; border: 1px solid var(--glass-brd); }
.post-hero__img .glyph { font-size: 4rem; opacity: 0.85; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: 0.88rem; margin-top: 16px; }
.post-layout { display: grid; grid-template-columns: 1fr; gap: clamp(28px,5vw,56px); align-items: start; }
.toc { display: none; }
.toc__title { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0 6px 13px; color: var(--muted); font-size: 0.88rem; border-left: 2px solid rgba(255,255,255,0.1); transition: all var(--transition); }
.toc a:hover, .toc a.active { color: #c7d4f5; border-left-color: #9fb0d8; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.4rem,5vw,2rem); margin: 36px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--offwhite); line-height: 1.8; }
.prose ul, .prose ol { margin: 0 0 16px 20px; color: var(--offwhite); display: flex; flex-direction: column; gap: 7px; }
.prose ul { list-style: none; margin-left: 0; }
.prose ul li { padding-left: 24px; position: relative; }
.prose ul li::before { content: "▹"; color: #9fb0d8; position: absolute; left: 4px; }
.prose ol { list-style: decimal; }
.prose a { color: #bcd0ff; text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 2px solid #9fb0d8; padding: 4px 0 4px 20px; margin: 22px 0; font-style: italic; color: var(--white); font-family: var(--font-head); font-size: 1.15rem; }
.prose img { border-radius: var(--radius-md); margin: 22px 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 36px; }
.tag { font-size: 0.78rem; color: var(--offwhite); border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.03); border-radius: 999px; padding: 6px 13px; }
@media (min-width: 1024px){ .post-layout { grid-template-columns: 220px 1fr; } .toc { display: block; position: sticky; top: 100px; } }

/* ----------------------------------------------------------------
   25. CTA BAND
   ---------------------------------------------------------------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { margin: 0 auto 28px; }
.cta-glow { position: absolute; width: 90vw; max-width: 600px; aspect-ratio: 1; background: radial-gradient(circle, rgba(76,58,126,0.4), transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); filter: blur(50px); }

/* ----------------------------------------------------------------
   26. FOOTER
   ---------------------------------------------------------------- */
.footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.08); padding-top: clamp(48px,8vw,84px); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 34px; padding-bottom: 44px; }
.footer__logo img { height: 30px; margin-bottom: 16px; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; margin-bottom: 7px; }
.footer__brand a:hover { color: var(--white); }
.footer__col h4 { font-family: var(--font-head); color: var(--white); font-size: 0.92rem; margin-bottom: 15px; }
.footer__col a { display: block; color: var(--muted); font-size: 0.9rem; padding: 6px 0; transition: color var(--transition), padding-left var(--transition); }
.footer__col a:hover { color: var(--white); padding-left: 5px; }
.footer__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer__bottom p, .footer__bottom a { color: var(--muted-2); font-size: 0.83rem; }
.footer__legal { display: flex; gap: 16px; }
.footer__legal a:hover { color: var(--white); }
.footer__socials { display: flex; gap: 9px; }
.footer__socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.03); display: grid; place-items: center; color: var(--white); transition: all var(--transition); }
.footer__socials a:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); transform: translateY(-3px); }
.footer__socials svg { width: 17px; height: 17px; }
@media (min-width: 768px){ .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(30px,4vw,60px); } .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ----------------------------------------------------------------
   27. PAGE HERO (inner pages)
   ---------------------------------------------------------------- */
.page-hero { padding-top: calc(var(--nav-h) + clamp(40px, 9vw, 90px)); padding-bottom: clamp(40px, 8vw, 80px); position: relative; overflow: hidden; }
.page-hero__inner { max-width: 820px; }
.page-hero h1 { margin: 14px 0 18px; background: var(--grad-head); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.page-hero h1 .text-lime, .page-hero h1 .text-gradient { background: var(--grad-iris); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.breadcrumb { font-size: 0.8rem; color: var(--muted-2); margin-bottom: 8px; }
.breadcrumb a:hover { color: var(--white); }

/* ----------------------------------------------------------------
   28. PAGE CURTAIN
   ---------------------------------------------------------------- */
.curtain { position: fixed; inset: 0; z-index: 9998; background: linear-gradient(160deg, #1a1430, #07060c); transform: translateY(100%); pointer-events: none; }

/* ----------------------------------------------------------------
   29. REVEAL ANIMATIONS
   ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(34px); }
.reveal-x { opacity: 0; transform: translateX(-40px); }
.reveal-x.from-right { transform: translateX(40px); }
.is-in { opacity: 1 !important; transform: none !important; }
.no-anim .reveal, .no-anim .reveal-x { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-x { opacity: 1; transform: none; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ----------------------------------------------------------------
   30. HORIZONTAL SERVICE RAIL (What We Do)
   ---------------------------------------------------------------- */
.svc-rail-head { display: grid; gap: 14px; margin-bottom: 26px; }
.svc-rail-head .lead { margin: 0; }
@media (min-width: 768px){ .svc-rail-head { grid-template-columns: 1.1fr 0.9fr; align-items: end; column-gap: 40px; } }

.rail-wrap { position: relative; }
.svc-rail {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 20px; scroll-behavior: smooth; cursor: grab;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.22) transparent;
}
.svc-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.svc-rail::-webkit-scrollbar { height: 6px; }
.svc-rail::-webkit-scrollbar-track { background: transparent; }
.svc-rail::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
.svc-rail > .svc-card { flex: 0 0 82%; scroll-snap-align: start; }
@media (min-width: 600px){ .svc-rail > .svc-card { flex: 0 0 300px; } }
.svc-rail img { -webkit-user-drag: none; }

.rail-nav { display: none; gap: 10px; position: absolute; top: -62px; right: 0; }
@media (min-width: 768px){ .rail-nav { display: flex; } }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); display: grid; place-items: center; transition: background var(--transition), border-color var(--transition), opacity var(--transition); }
.rail-btn:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); }
.rail-btn:disabled { opacity: 0.3; cursor: default; }
.rail-btn svg { width: 18px; height: 18px; }

/* ----------------------------------------------------------------
   31. HORIZONTAL SCROLL SECTION (Channels — scroll-driven on desktop)
   ---------------------------------------------------------------- */
.hsec { position: relative; overflow: hidden; padding-block: clamp(56px,12vw,110px); }
.hsec__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent; }
.hsec__viewport::-webkit-scrollbar { height: 6px; }
.hsec__viewport::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 10px; }
.hsec__track { display: flex; gap: clamp(18px,4vw,44px); width: max-content; padding-inline: var(--gutter); }
.hpanel { flex: 0 0 auto; width: 86vw; max-width: 1040px; scroll-snap-align: center; display: grid; grid-template-columns: 1fr; gap: 22px; align-content: center; }
.hpanel__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-brd); background: var(--glass); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); }
.hpanel__media img { width: 100%; display: block; }
.hpanel__tag { display: inline-block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #cdd8f5; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.hpanel__num { font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; background: var(--grad-iris); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hpanel__copy h3 { font-size: clamp(1.5rem, 5vw, 2.3rem); color: var(--white); margin: 6px 0 14px; }
.hpanel__copy p { color: var(--muted); max-width: 48ch; }
.hsec__progress { height: 3px; width: min(240px, 60%); margin: 30px auto 0; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.hsec__bar { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg,#fff,#9fb0d8); }
.hsec__hint { text-align: center; color: var(--muted-2); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 14px; }

@media (min-width: 1024px){
  .hsec { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 0; }
  .hsec .section-head { margin-top: clamp(30px,7vh,70px); margin-bottom: clamp(18px,3vh,34px); }
  .hpanel { width: 76vw; max-width: 1040px; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px,4vw,56px); align-items: center; }
  .hpanel__copy h3 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); }
  .hsec__progress { margin-bottom: clamp(18px,3vh,36px); }
}
