/* ═══════════════════════════════════════════════════════════
   DigiWizy v3 — Editorial Design System
   White-dominant • Magazine feel • Enerblock rhythm
   ═══════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

/* ─── 2. DESIGN TOKENS ────────────────────────────────── */
:root {
  /* Palette */
  --bg: #FFFFFF;
  --paper: #FFFFFF;
  --surface: #F6F7F9;
  --ink: #0A0A0B;
  --ink-soft: #5A5C63;
  --rule: #E7E8EC;
  --brand: #1E63FF;
  --action: #FF6A1A;
  --focus: #1E63FF;
  --success: #2E7D4F;
  --error: #D93025;

  /* Typography */
  --font-stack: 'Inter', -apple-system, "SF Pro Display", system-ui, sans-serif;
  --font-heading: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif;
  --font-accent: 'Anton', sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(48px, 6vw, 96px);
  --fs-h1: clamp(36px, 5vw, 72px);
  --fs-h2: clamp(24px, 3vw, 40px);
  --fs-h3: clamp(20px, 2vw, 28px);
  --fs-body-lg: clamp(18px, 1.4vw, 22px);
  --fs-body: clamp(16px, 1.1vw, 18px);
  --fs-caption: 12px;

  /* Layout */
  --max-width: 1240px;
  --narrow-width: 720px;
  --pad-mobile: 24px;
  --pad-tablet: 48px;
  --pad-desktop: 80px;
  --section-gap: 110px;
  --section-gap-m: 72px;
  --rail-width: 14%;
  --nav-height: 72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.6s;
  --duration-long: 1.0s;

  /* Misc */
  --radius: 24px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-lift: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.12);

  /* Legacy variable aliases (for pages still using old names) */
  --color-text-primary: var(--ink);
  --color-text-muted: var(--ink-soft);
  --color-accent: var(--action);
  --color-accent-muted: rgba(255, 106, 26, 0.08);
  --color-surface-alt: var(--surface);
  --color-border: var(--rule);
  --color-success: var(--success);
  --font-sans: var(--font-stack);
  --font-serif: var(--font-heading);
}

/* ─── 3. BASE TYPOGRAPHY ──────────────────────────────── */
body {
  font-family: var(--font-stack);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  padding-top: 0px;
  /* Space for fixed nav-glass */
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body {
    padding-top: 0px;
  }
}

.display {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1,
.h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2,
.h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.2;
}

h3,
.h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.3;
}

.body-lg {
  font-size: var(--fs-body-lg);
  line-height: 1.55;
}

.caption {
  font-size: var(--fs-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.lead {
  font-size: var(--fs-body-lg);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 640px;
}

i,
em {
  font-style: italic;
}

p+p {
  margin-top: 1em;
}

/* ─── 4. LAYOUT ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--pad-mobile);
}

.container-narrow {
  width: 100%;
  max-width: var(--narrow-width);
  margin-inline: auto;
  padding-inline: var(--pad-mobile);
}

.section {
  padding-block: var(--section-gap-m);
  position: relative;
}

.section--full {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section--center {
  text-align: center;
}

.section+.section {
  border-top: 1px solid var(--rule);
}

.bg-surface {
  background: var(--surface);
}

.bg-ink {
  background: var(--ink);
  color: var(--bg);
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--pad-tablet);
  }

  .container-narrow {
    padding-inline: var(--pad-tablet);
  }

  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--pad-desktop);
  }

  .container-narrow {
    padding-inline: var(--pad-desktop);
  }

  .section {
    padding-block: var(--section-gap);
  }
}

/* ─── 5. RAILS (Sticky Side Labels) ──────────────────── */
.rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--rail-width);
  display: none;
  z-index: 2;
}

.rail--left {
  left: 0;
}

.rail--right {
  right: 0;
}

.rail__label {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--fs-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  padding-left: 24px;
}

.rail__label--horizontal {
  writing-mode: horizontal-tb;
  transform: none;
}

.rail__price {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  padding-right: 24px;
}

@media (min-width: 1024px) {
  .rail {
    display: block;
  }
}

/* ─── 6. NAVIGATION ──────────────────────────────────── */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translate(-50%, 0);
  width: calc(100% - 32px);
  max-width: 1120px;
  height: 64px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 32px;
  box-shadow: 0 10px 30px rgba(10, 10, 11, 0.04);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  padding: 0 24px;
  overflow: hidden;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 40px rgba(10, 10, 11, 0.08);
}

.nav--hidden {
  transform: translate(-50%, -120px);
}

/* Nav Container override to stay inside floating pill */
.nav .nav__inner.container {
  max-width: 100%;
  padding-inline: 0;
  margin-inline: 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--ink);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--brand);
  transition: width 0.3s var(--ease);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px;
  height: 40px;
  justify-content: center;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
  border-radius: 2px;
}

.nav__hamburger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }

  .nav-glass__hamburger {
    display: none !important;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* Mobile Nav Overlay — Redesigned */
.nav-mobile {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  contain: layout paint;
  z-index: 999;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: none;
  flex-direction: column;
}

.nav-mobile--open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/* Mobile nav header bar */
.nav-mobile__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.nav-mobile__brand {
  font-family: 'Anton', var(--font-stack);
  font-size: 20px;
  color: #000;
  letter-spacing: 0.04em;
}

.nav-mobile__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-mobile__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* Mobile nav footer CTA */
.nav-mobile__footer {
  padding: 20px 24px;
  flex-shrink: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.nav-mobile__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  background: #000;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s;
}

.nav-mobile__cta:hover {
  background: #222;
  color: #fff;
}

/* ─── FLOWING MENU (React Bits Vanilla Port) ─── */
.flowing-menu-wrap {
  width: 100%;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.flowing-menu {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.flowing-menu__item {
  position: relative;
  overflow: hidden;
  contain: paint;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex: 1;
}

.flowing-menu__item:first-child {
  border-top: none;
}

.flowing-menu__item-link {
  display: flex;
  align-items: center;
  padding: 8px 24px;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(36px, 6vh, 72px);
  color: rgba(0, 0, 0, 0.85);
  transition: color 0.2s ease;
  line-height: 1.1;
}

.flowing-menu__item-link:hover,
.flowing-menu__item-link:active {
  color: #000;
}

/* Flat link fallback for pages without flowing-menu items */
.flowing-menu-wrap > a {
  display: flex;
  align-items: center;
  padding: 8px 24px;
  font-weight: 700;
  font-size: clamp(36px, 6vh, 72px);
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.2s, color 0.2s;
}
.flowing-menu-wrap > a:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.04);
}

.flowing-marquee {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translate3d(0, 101%, 0);
  background: var(--brand);
  z-index: 5;
}

.flowing-marquee__inner-wrap {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.flowing-marquee__inner {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  width: fit-content;
  will-change: transform;
}

.flowing-marquee__part {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #fff;
}

.flowing-marquee span {
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(32px, 6vh, 64px);
  line-height: 1;
  padding: 0 1vw;
}

.flowing-marquee__img {
  width: clamp(140px, 22vw, 240px);
  height: clamp(60px, 8vh, 100px);
  margin: 0 2vw;
  border-radius: 50px;
  background-size: cover;
  background-position: center;
}

/* ─── 7. BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding-inline: 32px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--action);
  color: #fff;
}

.btn--primary:hover {
  background: #e55c10;
  box-shadow: 0 8px 32px rgba(255, 106, 26, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn--brand {
  background: var(--brand);
  color: #fff;
}

.btn--brand:hover {
  background: #1550d4;
}

.btn--small {
  height: 44px;
  padding-inline: 24px;
  font-size: 14px;
}

.btn--large {
  height: 64px;
  padding-inline: 48px;
  font-size: 18px;
}

.btn--white {
  background: var(--bg);
  color: var(--ink);
}

.btn--white:hover {
  background: var(--surface);
}

/* ─── 8. HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--bg);
  margin-top: 0px;
  padding-top: 0px;
}

@media (max-width: 768px) {
  .hero {
    margin-top: 0px;
    padding-top: 0px;
  }
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}

/* Gradient placeholder when video isn't loaded */
.hero__video-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A0A0B 0%, #1a1a2e 40%, #16213e 70%, #0A0A0B 100%);
  background-size: 400% 400%;
  animation: hero-gradient 12s ease infinite;
  z-index: 0;
}

@keyframes hero-gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
}

.hero__title {
  margin-bottom: 24px;
  max-width: 900px;
}

.hero__title--anton {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 400;
  /* Anton only has 400 */
}

@media (max-width: 768px) {
  .hero__title {
    font-size: clamp(72px, 18vw, 180px) !important;
  }
}

.hero__sub {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.hero__scroll-chevron {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(45deg) translateY(8px);
  }
}

/* Ghost button on dark hero background */
.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn--ghost:hover {
  background: #fff;
  color: #000 !important;
  border-color: #fff;
}

/* ─── 9. MANIFESTO ───────────────────────────────────── */
.manifesto {
  position: relative;
  padding-block: var(--section-gap) 0;
  background: var(--bg);
}

.manifesto__sentence {
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 40px;
}

.manifesto__sentence .display {
  max-width: 900px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-long) var(--ease), transform var(--duration-long) var(--ease);
}

.manifesto__sentence .display.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* GSAP Scrollytelling Pinned State */
.manifesto--scrollytelling {
  position: relative;
  height: 100vh;
  padding-block: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifesto--scrollytelling .manifesto__sentence {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: auto !important;
  padding-block: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

.manifesto--scrollytelling .manifesto__sentence.is-active {
  pointer-events: auto;
}

/* Disable transitions and force visibility inside active scrollytelling since GSAP handles it */
.manifesto--scrollytelling .manifesto__sentence .display {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ─── 10. SERVICE BANDS ──────────────────────────────── */
.service-band {
  position: relative;
  padding-block: 80px;
  border-top: 1px solid var(--rule);
}

.service-band--alt {
  background: var(--surface);
}

.service-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--pad-mobile);
}

.service-band__tier {
  font-size: var(--fs-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.service-band__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  margin-bottom: 16px;
}

.service-band__desc {
  font-size: var(--fs-body-lg);
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 600px;
}

.service-band__price {
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.service-band__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.service-band__feature {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
}

.service-band--alt .service-band__feature {
  background: var(--bg);
}

@media (min-width: 1024px) {
  .service-band {
    padding-block: 120px;
  }

  .service-band__inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding-inline: var(--pad-desktop);
    align-items: center;
  }
}

/* Split Reveal Section — height managed by GSAP pin, not CSS */
.split-reveal {
  position: relative;
  width: 100%;
  /* Height is set to 100vh here; GSAP adds scroll space via pin */
}

.split-reveal__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .split-reveal__sticky {
    flex-direction: row;
  }
}

.split-reveal__media {
  position: relative;
  width: 100%;
  height: 50vh;
  background: var(--ink);
  overflow: hidden;
}

@media (min-width: 768px) {
  .split-reveal__media {
    width: 50%;
    height: 100%;
  }
}

.split-reveal__img-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.split-reveal__img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.split-reveal__img-container--clip {
  clip-path: inset(100% 0% 0% 0%);
  z-index: 10;
}

.split-reveal__content {
  position: relative;
  width: 100%;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  /* White-dominant canvas */
  padding: 32px;
}

@media (min-width: 768px) {
  .split-reveal__content {
    width: 50%;
    height: 100%;
    padding: 64px;
  }
}

.split-reveal__wrapper {
  max-width: 480px;
  width: 100%;
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
}

.split-reveal__block {
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-reveal__block--one {
  pointer-events: auto;
}

.split-reveal__block--two {
  opacity: 0;
  transform: translateY(50px);
  pointer-events: none;
}

/* ─── 11. PROOF / TESTIMONIALS ───────────────────────── */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  padding-block: 48px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--rule);
}

.logo-strip__item {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-soft);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.logo-strip__item:hover {
  opacity: 1;
}

.pull-quote {
  padding: 48px;
  border-left: 3px solid var(--brand);
}

.pull-quote__text {
  font-size: var(--fs-h3);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
}

.pull-quote__author {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.pull-quote__role {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ─── 12. PROCESS (Sticky Numerals) ──────────────────── */
.process__steps {
  position: relative;
  counter-reset: process-step;
}

.process__step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-block: 48px;
  border-top: 1px solid var(--rule);
  counter-increment: process-step;
}

.process__numeral {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 700;
  color: var(--surface);
  -webkit-text-stroke: 1px var(--rule);
  line-height: 1;
}

.process__content h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: 12px;
}

.process__content p {
  font-size: var(--fs-body-lg);
  color: var(--ink-soft);
  max-width: 540px;
}

@media (min-width: 1024px) {
  .process__step {
    grid-template-columns: 200px 1fr;
    gap: 80px;
    padding-block: 80px;
  }

  .process__numeral {
    position: sticky;
    top: calc(var(--nav-height) + 40px);
    align-self: start;
  }
}

/* ─── 13. CTA CLOSE ────────────────────────────────────── */
.cta-close {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface);
  padding-block: clamp(100px, 15vw, 160px);
  padding-bottom: calc(var(--section-gap-m) + 60px);
  position: relative;
  z-index: 10;
}

.cta-close .display {
  margin-bottom: 40px;
  color: var(--ink);
}

/* ─── 14. WORK GRID ──────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.work-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.work-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.work-card:hover .work-card__overlay {
  opacity: 1;
}

.work-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.work-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── 15. HORIZONTAL SCROLL ──────────────────────────── */
.h-scroll-section {
  position: relative;
  overflow: hidden;
}

.h-scroll-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  padding: 40px var(--pad-mobile);
}

.h-scroll-track>* {
  flex: 0 0 80vw;
  max-width: 600px;
}

.h-scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brand);
  width: 0%;
  transition: width 0.1s linear;
}

/* Mobile: native scroll snap */
@media (max-width: 1023px) {
  .h-scroll-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .h-scroll-track::-webkit-scrollbar {
    display: none;
  }

  .h-scroll-track>* {
    scroll-snap-align: center;
  }
}

@media (min-width: 1024px) {
  .h-scroll-track {
    padding: 40px var(--pad-desktop);
  }

  .h-scroll-track>* {
    flex: 0 0 45vw;
    max-width: 700px;
  }
}

/* ─── 16. POPUP MEDIA ────────────────────────────────── */
.popup-media {
  border-radius: var(--radius);
  overflow: hidden;
  will-change: transform, opacity;
  position: relative;
}

.popup-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.6s var(--ease);
  pointer-events: none;
}

.popup-media.is-revealed::after {
  border-color: var(--rule);
}

.popup-media img {
  width: 100%;
  display: block;
}

/* ─── 17. ABOUT / ESSAY ──────────────────────────────── */
.essay p {
  font-size: var(--fs-body-lg);
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.5em;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 767px) {
  .about-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    max-width: 100%;
    overflow: hidden;
  }

  .about-hero-grid>* {
    min-width: 0;
    max-width: 100%;
  }
}

.essay h2 {
  margin-top: 2em;
  margin-bottom: 0.8em;
}

.card-media-box {
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.card-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-portrait {
  width: 100%;
  margin-block: 80px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface);
}

.founder-portrait-placeholder {
  width: 100%;
  margin-block: 80px;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: var(--fs-caption);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── 18. CONTACT SPLIT ──────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  min-height: calc(100vh - var(--nav-height));
  align-items: center;
  padding-top: calc(var(--nav-height) + 48px);
}

.contact-split__left .display {
  margin-bottom: 32px;
}

.contact-split__details {
  font-size: var(--fs-body-lg);
  color: var(--ink-soft);
}

.contact-split__details a {
  color: var(--brand);
  transition: color 0.2s;
}

.contact-split__details a:hover {
  color: var(--ink);
}

@media (min-width: 1024px) {
  .contact-split {
    grid-template-columns: 1fr 1fr;
    gap: 120px;
  }
}

/* ─── 19. FORMS ──────────────────────────────────────── */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: var(--fs-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  height: 56px;
  padding-inline: 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(30, 99, 255, 0.1);
}

textarea.form-input {
  height: 160px;
  padding-top: 16px;
  resize: vertical;
}

.form-input::placeholder {
  color: var(--ink-soft);
  opacity: 0.5;
}

/* ─── 20. PRICING ────────────────────────────────────── */
.pricing-scroll-wrapper {
  width: 100%;
  overflow-x: hidden;
}

@media (max-width: 767px) {
  .pricing-grid {
    flex-direction: column;
    padding-inline: var(--pad-mobile);
    padding-block: 20px 80px;
    gap: 20px;
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }
}

.pricing-grid::-webkit-scrollbar {
  display: none;
}

.pricing-card {
  position: relative;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  min-height: 420px;
  /* Ensure consistent height for all cards */
  display: flex;
  flex-direction: column;
}

.pricing-card .border-glow-inner {
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 40px 32px;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.pricing-card--popular {
  border-color: var(--brand);
  border-width: 2px;
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  z-index: 2;
}

.pricing-card__tier {
  font-size: var(--fs-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.pricing-card__price {
  font-size: clamp(40px, 4vw, 48px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.1;
  white-space: nowrap;
}

.pricing-card__price-old {
  font-size: var(--fs-body);
  color: var(--ink-soft);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.pricing-card__discount {
  display: inline-block;
  background: rgba(46, 125, 79, 0.1);
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.pricing-card__desc {
  font-size: var(--fs-body);
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.pricing-card__features {
  margin-bottom: 32px;
  flex-grow: 1;
  /* Allow features section to grow and push button down */
  display: flex;
  flex-direction: column;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 8px;
  font-size: 15px;
  color: var(--ink-soft);
  min-width: 0;
  overflow-wrap: anywhere;
}

.pricing-card__feature::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* Replaced by React Bits Stack component (motion-based) */

/* Add-ons */
.addon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.addon-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}

.addon-card:hover {
  border-color: var(--brand);
}

.addon-card__name {
  font-weight: 500;
  color: var(--ink);
}

.addon-card__price {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .addon-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── 21. CARDS (Generic) ────────────────────────────── */
.card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@media (max-width: 768px) {
  .card {
    padding: 24px 16px !important;
  }
}

.stack-container .card {
  padding: 0 !important;
}

/* Responsive Case Study Stats */
.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 480px) {
  .case-study-stats {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.card h3,
.card h4 {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: 12px;
}

.card p {
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ─── 22. FOOTER ─────────────────────────────────────── */

/* Hero wireframe canvas — sits behind content, decorative only */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Ensure hero content stays above the canvas */
.hero__content {
  position: relative;
  z-index: 1;
}

/* Footer Parallax Gradient Wordmark Removed - Only 3D particle footer is active */

.footer-3d {
  width: 100%;
  height: 300px;
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.footer-3d canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-3d__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--ink);
}

.footer-3d__fallback svg {
  width: 60%;
  max-width: 500px;
  height: auto;
}

@media (min-width: 1024px) {
  .footer-3d {
    height: 450px;
  }
}

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 64px 32px;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer a:hover {
  color: #fff;
}

.footer__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--pad-mobile);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: block;
}

.footer__desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 320px;
}

.footer__contact-info {
  font-size: 14px;
  line-height: 1.8;
}

.footer__links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__heading {
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 16px;
}

.footer__link-list li {
  margin-bottom: 10px;
}

.footer__link-list a {
  font-size: 14px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.2s, background 0.2s;
}

.footer__social a:hover {
  border-color: var(--brand);
  background: rgba(30, 99, 255, 0.1);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (min-width: 768px) {
  .footer__inner {
    padding-inline: var(--pad-tablet);
  }

  .footer__top {
    grid-template-columns: 1.2fr 2fr;
  }
}

@media (min-width: 1024px) {
  .footer__inner {
    padding-inline: var(--pad-desktop);
  }
}

/* ─── 23. FLOATING UI ────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--action);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 106, 26, 0.4);
  z-index: 998;
  transition: transform 0.3s var(--ease);
  animation: wa-pulse 8s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes wa-pulse {

  0%,
  87%,
  100% {
    box-shadow: 0 4px 16px rgba(255, 106, 26, 0.4);
  }

  90% {
    box-shadow: 0 4px 24px rgba(255, 106, 26, 0.6), 0 0 0 8px rgba(255, 106, 26, 0.15);
  }

  93% {
    box-shadow: 0 4px 16px rgba(255, 106, 26, 0.4);
  }
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}


/* ─── 24. BLOG ───────────────────────────────────────── */
.blog-coming-soon {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}

/* ─── 25. COMPARISON TABLE ───────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}

.comparison-table th {
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
}

.comparison-table td {
  color: var(--ink-soft);
}

/* ─── 26. FAQ (Premium AI Style) ─────────────────────── */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease;
  position: relative;
}

.faq-item:hover {
  border-color: rgba(30, 99, 255, 0.3);
  box-shadow: 0 8px 32px rgba(30, 99, 255, 0.08);
}

.faq-item.is-open {
  border-color: var(--brand);
  box-shadow: 0 12px 40px rgba(30, 99, 255, 0.12);
  background: var(--surface);
  /* Slight contrast when active */
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  font-size: var(--fs-body-lg);
  font-weight: 500;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent;
  transition: color 0.3s ease;
}

.faq-item.is-open .faq-question {
  color: var(--brand);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--ink-soft);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
}

.faq-item:hover .faq-question::after {
  background: rgba(30, 99, 255, 0.1);
  color: var(--brand);
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease, padding 0.5s ease;
  opacity: 0;
  visibility: hidden;
}

.faq-answer__inner {
  padding: 0 24px 24px 24px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  max-height: 2000px;
  opacity: 1;
  visibility: visible;
}

/* ─── 27. STATS ──────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
}

.stat-number {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--fs-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

@media (min-width: 768px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: clamp(48px, 14vw, 72px);
  }
}

/* ─── 28. MISC COMPONENTS ────────────────────────────── */
/* Section label */
.section-label {
  font-size: var(--fs-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* Tags */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-soft);
}

.tag--brand {
  background: rgba(30, 99, 255, 0.08);
  color: var(--brand);
}

.tag--action {
  background: rgba(255, 106, 26, 0.08);
  color: var(--action);
}

/* AEO TL;DR blocks (preserve for SEO silo pages) */
.aeo-tldr {
  padding: 24px 28px;
  background: var(--surface);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: 32px;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-soft);
}

.aeo-tldr strong {
  color: var(--ink);
}

/* Guarantee badge */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(46, 125, 79, 0.06);
  border: 1px solid rgba(46, 125, 79, 0.2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--success);
}

/* Exit popup */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 11, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.exit-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.exit-popup {
  background: var(--bg);
  padding: 48px;
  border-radius: var(--radius);
  max-width: 440px;
  width: 90%;
  text-align: center;
}

.exit-popup h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: 12px;
}

.exit-popup p {
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.exit-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-dismiss {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 12px;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}

.btn-dismiss:hover {
  color: var(--ink);
}

/* Spline container */
.spline-container {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

.spline-container spline-viewer {
  width: 100%;
  height: 100%;
}

/* ─── 29. UTILITIES ──────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--brand);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 500;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mb-8 {
  margin-bottom: 32px;
}

.mb-12 {
  margin-bottom: 48px;
}

.mb-16 {
  margin-bottom: 64px;
}

.mt-2 {
  margin-top: 8px;
}

.mt-4 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 32px;
}

.mt-12 {
  margin-top: 48px;
}

.gap-8 {
  gap: 32px;
}

.gap-16 {
  gap: 64px;
}

.w-full {
  width: 100%;
}

.mx-auto {
  margin-inline: auto;
}

/* Legacy button class aliases */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding-inline: 32px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
  background: var(--action);
  color: #fff;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  background: #e55c10;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding-inline: 32px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  background: var(--ink);
  color: var(--bg);
}

.btn-large {
  height: 64px;
  padding-inline: 48px;
  font-size: 18px;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding-inline: 32px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
  background: var(--bg);
  color: var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  background: var(--surface);
}

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding-inline: 32px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-ghost-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-nav {
  height: 40px;
  padding-inline: 20px;
  font-size: 13px;
}

/* Legacy tag alias */
.tag-accent {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 106, 26, 0.08);
  color: var(--action);
}

/* Legacy background alias */
.bg-alt {
  background: var(--surface);
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Accent link */
.link-accent {
  color: var(--brand);
  transition: color 0.2s;
}

.link-accent:hover {
  color: var(--action);
}

/* Image overlay (work page) */
.image-overlay {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.image-overlay img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.image-overlay .overlay-content {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 16px 24px;
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

/* CTA Banner */
.cta-banner {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(80px, 10vw, 120px);
  text-align: center;
}

/* Reveal animation variants */
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
}

.js-active .reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-active .reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-active .reveal-left.is-visible,
.js-active .reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

/* Contact grid responsive */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

/* Mobile menu button (legacy) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
}

/* Mobile nav overlay (legacy) */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.mobile-nav--open {
  opacity: 1;
  pointer-events: auto;
}

/* Reveal animation base (no-JS visible, enhanced by GSAP or IntersectionObserver) */
.reveal {
  opacity: 1;
  transform: none;
}

/* When JS is active, set initial hidden state for GSAP/IO to animate from */
.js-active .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* When GSAP clears props OR IntersectionObserver adds is-visible */
.js-active .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ─── 30. ACCESSIBILITY ──────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ─── 31. REDUCED MOTION ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__video-placeholder {
    animation: none;
    background-position: 0% 50%;
  }

  .js-active .reveal,
  .js-active .reveal-left,
  .js-active .reveal-right {
    opacity: 1;
    transform: none;
  }

  .whatsapp-float {
    animation: none;
  }
}

/* ─── 32. PRINT ──────────────────────────────────────── */
@media print {

  .nav,
  .nav-mobile,
  .whatsapp-float,
  .hero__video,
  .hero__video-placeholder,
  .footer-3d,
  .exit-popup-overlay,
  .hero__scroll {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    background: #fff;
    color: #000;
    padding: 40px 0;
  }

  .section {
    padding-block: 40px;
    break-inside: avoid;
  }
}

/* ─── 33. SKELETON LOADER (minimal) ──────────────────── */
.page-skeleton {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.page-skeleton.dismissed,
.page-skeleton--hide {
  opacity: 0;
}

.skel-pulse {
  width: 40px;
  height: 40px;
  border: 2px solid var(--rule);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: skel-spin 0.8s linear infinite;
}

@keyframes skel-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ─── 34. COOKIE CONSENT BANNER ──────────────────────── */
.cookie-consent-banner {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 11, 0.9);
  z-index: 2000;
}

.cookie-consent-banner__content {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cookie-consent-banner__info {
  margin-bottom: 24px;
}

.cookie-consent-banner__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}

.cookie-consent-banner__description {
  font-size: var(--fs-body);
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 24px;
}

.cookie-consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cookie-consent-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--fs-body);
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  min-width: 100px;
}

.cookie-consent-banner__button--accept {
  background: var(--action);
  color: #fff;
}

.cookie-consent-banner__button--accept:hover {
  background: #e55c10;
  transform: translateY(-2px);
}

.cookie-consent-banner__button--reject {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
}

.cookie-consent-banner__button--reject:hover {
  background: var(--rule);
  transform: translateY(-2px);
}

.cookie-consent-banner__button--settings {
  background: var(--brand);
  color: #fff;
}

.cookie-consent-banner__button--settings:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .cookie-consent-banner__content {
    padding: 24px;
  }

  .cookie-consent-banner__title {
    font-size: var(--fs-h3);
  }

  .cookie-consent-banner__description {
    font-size: var(--fs-body);
  }

  .cookie-consent-banner__actions {
    flex-direction: column;
  }

  .cookie-consent-banner__button {
    width: 100%;
    padding: 14px;
  }
}

/* ═══════════════════════════════════════════════════════════
   V4 COMPONENT STYLES
   ═══════════════════════════════════════════════════════════ */

/* ─── Liquid Glass Nav ─── */
.nav-glass {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(92vw, 900px);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  border-radius: 32px;
  clip-path: inset(0 round 32px);
}

/* Force GPU isolation & clip composited layers (SVG backdrop-filter bleed fix) */
#nav {
  border-radius: 32px;
  clip-path: inset(0 round 32px);
  overflow: clip !important;
  isolation: isolate;
  contain: paint;
}

.nav-glass__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s var(--ease);
}

.nav-glass--scrolled .nav-glass__inner {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-glass__logo {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  transition: color 0.3s;
}

.nav-glass--scrolled .nav-glass__logo {
  color: var(--ink);
}

.nav-glass__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-glass__link {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 14px;
  border-radius: 12px;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.nav-glass__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-glass--scrolled .nav-glass__link {
  color: var(--ink-soft);
}

.nav-glass--scrolled .nav-glass__link:hover {
  color: var(--ink);
  background: var(--surface);
}

.nav-glass__link--active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
}

.nav-glass--scrolled .nav-glass__link--active {
  color: var(--brand) !important;
  background: rgba(30, 99, 255, 0.08);
}

.nav-glass__cta {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  background: var(--brand);
  color: #fff !important;
  border-radius: 12px;
  transition: all 0.2s var(--ease);
  margin-left: 4px;
}

.nav-glass__cta:hover {
  background: #1555dd;
  transform: translateY(-1px);
}

.nav-glass__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-glass__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-glass--scrolled .nav-glass__hamburger span {
  background: var(--ink);
}

@media (max-width: 768px) {
  .nav-glass {
    top: 12px;
    width: calc(100vw - 24px);
  }

  .nav-glass__inner {
    padding: 10px 16px;
  }

  .nav-glass__links {
    display: none;
  }

  .nav-glass__hamburger {
    display: flex;
  }
}

/* ─── Hero video overlay ─── */
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.35) 0%, rgba(10, 10, 11, 0.55) 50%, rgba(10, 10, 11, 0.88) 100%);
  z-index: 1;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ─── Gradient text ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--brand), var(--action), #2E7D4F, var(--brand));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes floating-tilt {

  0%,
  100% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  }

  25% {
    transform: perspective(1000px) rotateX(2deg) rotateY(5deg);
  }

  50% {
    transform: perspective(1000px) rotateX(-2deg) rotateY(0deg);
  }

  75% {
    transform: perspective(1000px) rotateX(2deg) rotateY(-5deg);
  }
}

@keyframes floating-avatar {

  0%,
  100% {
    transform: translateZ(20px) scale(1);
  }

  50% {
    transform: translateZ(40px) scale(1.05);
  }
}

/* ─── Curved Loop ─── */
.curved-loop-jacket {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  contain: layout paint;
  padding: 20px 0;
}

.curved-loop-svg {
  user-select: none;
  width: 100%;
  min-width: 1200px;
  /* Increased from 800px to make it bigger on mobile */
  height: auto;
  aspect-ratio: 72 / 11;
  overflow: hidden;
  display: block;
  font-size: 64px !important;
  /* Increased font-size */
  fill: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .curved-loop-svg {
    min-width: 1200px;
    font-size: 42px !important;
  }
}

@media (max-width: 767px) {
  .curved-loop-jacket {
    display: none;
  }
}

@media (min-width: 1024px) {
  .curved-loop-svg {
    min-width: 1440px;
  }
}

/* ─── Service Cards (Enerblock-style) ─── */
.service-cards-section {
  padding: 100px 0;
}

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--rule);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.75));
}

.service-card__label {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
}

.service-card__number {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.service-card__body {
  padding: 24px;
}

.service-card__body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  transition: gap 0.2s var(--ease);
}

.service-card__link:hover {
  gap: 12px;
}

/* ─── Aurora Footer ─── */
.aurora-footer {
  position: relative;
  background: #0A0A0B;
  min-height: 400px;
  padding-block: 64px 32px;
  overflow: hidden;
}

/* ─── Footer Brand DIGIWIZY Text ─── */
#footer-interactive-container,
#footer-3d-canvas {
  display: none !important;
}

.footer-brand-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: clamp(56px, 14vw, 200px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.25);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.footer__inner {
  position: relative;
  z-index: 2;
}

.aurora-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora-footer__content {
  position: relative;
  z-index: 1;
}

.aurora-footer .footer__logo {
  color: #fff;
}

.aurora-footer .footer__heading {
  color: rgba(255, 255, 255, 0.4);
}

.aurora-footer .footer__link-list a {
  color: rgba(255, 255, 255, 0.6);
}

.aurora-footer .footer__link-list a:hover {
  color: #fff;
}

.aurora-footer .footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.aurora-footer .footer__bottom p {
  color: rgba(255, 255, 255, 0.3);
}

/* ─── Footer "DIGIWIZY" Premium Text Logo ─── */
.footer__hello-logo {
  padding: 4px 0 8px;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
  pointer-events: auto;
  isolation: isolate;
}

.footer__hello-text {
  display: block;
  font-family: 'Anton', var(--font-stack);
  font-size: clamp(52px, 14vw, 200px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: transparent;
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.5s ease,
              opacity 0.4s ease;
  opacity: 0.75;
  cursor: default;
}

.footer__hello-logo:hover .footer__hello-text {
  transform: scale(1.02);
  filter: brightness(1.4);
  opacity: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.12) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 768px) {
  .footer__hello-logo {
    padding: 0 0 4px;
  }
  .footer__hello-text {
    font-size: clamp(36px, 12vw, 80px);
  }
}

/* ─── Blog SVG hello-logo (preserved) ─── */
.hello-text-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hello-text-path {
  font-family: 'Anton', var(--font-stack);
  font-size: 180px;
  font-weight: 400;
  letter-spacing: -0.05em;
  fill: transparent;
  stroke: url(#hello-grad);
  stroke-width: 1.5px;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 2.2s cubic-bezier(0.22, 1, 0.36, 1), fill 0.8s ease-in-out 1.8s;
}

.animate-drawing .hello-text-path {
  stroke-dashoffset: 0;
  fill: url(#hello-grad);
}

@media (max-width: 768px) {
  .hello-text-path {
    font-size: 80px;
    stroke-width: 1px;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
  }
}

/* ─── Section spacing ─── */
.section--tight {
  padding: 50px 0;
}

.section--compact {
  padding: 70px 0;
}

@media (max-width: 768px) {
  .section--tight {
    padding: 32px 0;
  }

  .section--compact {
    padding: 48px 0;
  }

  .service-cards-section {
    padding: 60px 0;
  }

  .service-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Click Spark Canvas ─── */
.click-spark-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ─── BorderGlow Cards ─── */
.border-glow-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 30;
  --color-sensitivity: 50;
  --border-radius: 20px;
  --glow-padding: 30px;
  --cone-spread: 25;
  --card-bg: #0A0A0B;
  position: relative;
  border-radius: var(--border-radius);
  isolation: isolate;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--card-bg);
  overflow: visible;
}

.border-glow-card::before,
.border-glow-card::after,
.border-glow-card>.edge-light {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.25s ease-out;
  z-index: -1;
  pointer-events: none;
}

.border-glow-card::before {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card-bg) 0 100%) padding-box,
    radial-gradient(at 80% 55%, rgba(30, 99, 255, 0.5) 0, transparent 50%) border-box,
    radial-gradient(at 20% 80%, rgba(255, 106, 26, 0.4) 0, transparent 50%) border-box,
    radial-gradient(at 50% 20%, rgba(46, 125, 79, 0.4) 0, transparent 50%) border-box;
  opacity: max(0.06, calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity))));
  mask-image: conic-gradient(from var(--cursor-angle) at center, black calc(var(--cone-spread) * 1%), transparent calc((var(--cone-spread) + 15) * 1%), transparent calc((100 - var(--cone-spread) - 15) * 1%), black calc((100 - var(--cone-spread)) * 1%));
}

.border-glow-card>.edge-light {
  inset: calc(var(--glow-padding) * -1);
  mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
  opacity: max(0.02, calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity))));
  mix-blend-mode: plus-lighter;
}

.border-glow-card>.edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(30, 99, 255, 0.6),
    inset 0 0 15px rgba(30, 99, 255, 0.2),
    0 0 15px rgba(30, 99, 255, 0.2),
    0 0 30px rgba(30, 99, 255, 0.1);
}

.border-glow-inner {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding: 32px;
}

.border-glow-card--light {
  --card-bg: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
}

.border-glow-card--light::before {
  background:
    linear-gradient(var(--card-bg) 0 100%) padding-box,
    radial-gradient(at 80% 55%, rgba(30, 99, 255, 0.25) 0, transparent 50%) border-box,
    radial-gradient(at 20% 80%, rgba(255, 106, 26, 0.2) 0, transparent 50%) border-box;
}

.border-glow-card--light>.edge-light::before {
  box-shadow:
    inset 0 0 0 1px rgba(30, 99, 255, 0.3),
    inset 0 0 15px rgba(30, 99, 255, 0.1),
    0 0 15px rgba(30, 99, 255, 0.1);
}

/* ─── Pricing Best Seller ─── */
.pricing-card {
  position: relative;
}

.pricing-card--popular {
  border: 2px solid var(--brand) !important;
  box-shadow: 0 0 0 4px rgba(30, 99, 255, 0.1), var(--shadow-lift);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}

.pricing-card__discount {
  display: inline-block;
  background: rgba(46, 125, 79, 0.08);
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
  margin-top: 8px;
}

.pricing-card__original-price {
  text-decoration: line-through;
  color: var(--ink-soft);
  font-size: 16px;
  margin-right: 6px;
}

/* ─── Profile Card (Founder) ─── */
.pc-card-wrapper {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --pointer-from-center: 0;
  --pointer-from-top: 0.5;
  --pointer-from-left: 0.5;
  --card-opacity: 0;
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --background-x: 50%;
  --background-y: 50%;
  --card-radius: 24px;
  --inner-gradient: linear-gradient(145deg, rgba(96, 73, 110, 0.55) 0%, rgba(113, 196, 255, 0.27) 100%);
  --behind-glow-color: rgba(30, 99, 255, 0.4);
  --behind-glow-size: 40%;
  perspective: 500px;
  position: relative;
  touch-action: none;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.pc-behind {
  position: absolute;
  inset: -20px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), var(--behind-glow-color) 0%, transparent var(--behind-glow-size));
  filter: blur(40px) saturate(1.1);
  opacity: calc(0.6 * var(--card-opacity));
  transition: opacity 200ms ease;
}

.pc-card-wrapper:hover,
.pc-card-wrapper.active {
  --card-opacity: 1;
}

.pc-card-shell {
  position: relative;
  z-index: 1;
  width: 100%;
}

.pc-card {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 0.8;
  display: grid;
  border-radius: var(--card-radius);
  position: relative;
  background: rgba(10, 10, 11, 0.95);
  box-shadow: rgba(0, 0, 0, 0.6) calc((var(--pointer-from-left) * 8px) - 3px) calc((var(--pointer-from-top) * 16px) - 6px) 16px -5px;
  transition: transform 0.15s ease-out;
  transform: translateZ(0) rotateX(var(--rotate-y, 0deg)) rotateY(var(--rotate-x, 0deg));
  overflow: hidden;
  backface-visibility: hidden;
}

@media (hover: none) {
  .pc-card {
    animation: floating-tilt 6s ease-in-out infinite;
  }
}

.pc-card:hover,
.pc-card.active {
  animation: none !important;
}

.pc-card:hover,
.pc-card.active {
  transition: none;
  transform: translateZ(0) rotateX(var(--rotate-y)) rotateY(var(--rotate-x));
}

.pc-card * {
  display: grid;
  grid-area: 1/-1;
  border-radius: var(--card-radius);
  pointer-events: none;
}

.pc-inside {
  inset: 0;
  position: absolute;
  background-image: var(--inner-gradient);
  background-color: rgba(10, 10, 11, 0.95);
}

.pc-avatar-content {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--card-radius);
  transform: translateZ(20px);
  backface-visibility: hidden;
}

@media (hover: none) {
  .pc-avatar-content {
    animation: floating-avatar 6s ease-in-out infinite;
  }
}

.pc-card:hover .pc-avatar-content,
.pc-card.active .pc-avatar-content {
  animation: none !important;
}

.pc-avatar-content .avatar {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transform: none;
  /* Fits frame perfectly */
  backface-visibility: hidden;
  will-change: transform;
  object-fit: cover;
  object-position: center bottom;
}

.pc-card:hover .avatar,
.pc-card.active .avatar {
  /* animation handled by parent now */
}

.pc-user-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 14px;
  pointer-events: auto;
}

.pc-user-details {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pc-mini-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.pc-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-handle {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.pc-status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.pc-contact-btn {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.pc-contact-btn:hover {
  border-color: var(--brand);
  background: rgba(30, 99, 255, 0.15);
}

.pc-details {
  width: 100%;
  position: absolute;
  top: 20px;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  z-index: 5;
  mix-blend-mode: luminosity;
}

.pc-details h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(22px, 4vw, 32px);
  margin: 0;
  background: linear-gradient(to bottom, #fff, rgba(111, 111, 190, 0.8));
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.pc-details p {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin: 4px 0 0;
}

@media (max-width: 480px) {
  .pc-card-wrapper {
    width: min(100%, 380px);
  }

  .pc-behind {
    inset: -12px;
  }

  .pc-card {
    height: auto;
    width: 100%;
    aspect-ratio: 4/5;
    contain: paint;
  }

  .pc-avatar-content {
    position: absolute;
    inset: 0;
  }

  .pc-avatar-content .avatar {
    transform: none;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }

  .pc-details h3 {
    font-size: 20px;
  }

  .pc-user-info {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 8px 12px;
  }

  .pc-mini-avatar {
    width: 28px;
    height: 28px;
  }

  .pc-handle {
    font-size: 12px;
  }

  .pc-status {
    font-size: 10px;
  }

  .pc-contact-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
}

/* ─── Tilted Card ─── */
.tilted-card-figure {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tilted-card-inner {
  position: relative;
  transform-style: preserve-3d;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.5s ease-out;
}

.tilted-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  will-change: transform;
}

.tilted-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.7));
  border-radius: 16px;
}

.tilted-card-caption {
  position: absolute;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: #222;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.2s;
}

/* ─── Scroll Stack ─── */
.scroll-stack-scroller {
  position: relative;
  width: 100%;
  overflow: visible;
}

.scroll-stack-inner {
  padding: 10vh 0;
}

.scroll-stack-card {
  transform-origin: top center;
  will-change: transform, filter;
  backface-visibility: hidden;
  border-radius: 24px;
  padding: 48px;
  margin: 40px auto;
  max-width: 800px;
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.scroll-stack-card--dark {
  background: #111;
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.scroll-stack-end {
  height: 50vh;
}

/* ─── Carousel ─── */
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--rule);
}

.carousel-track {
  display: flex;
  gap: 16px;
  cursor: grab;
  will-change: transform;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-item {
  flex-shrink: 0;
  width: 280px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 24px;
  transition: transform 0.3s var(--ease);
  user-select: none;
}

.carousel-item:hover {
  transform: translateY(-4px);
}

.carousel-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
  color: #fff;
}

.carousel-item__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.carousel-item__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rule);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-indicator.active {
  background: var(--brand);
  transform: scale(1.3);
}

/* ─── Split Reveal (Enerblock) ─── */
.split-reveal {
  position: relative;
  /* No fixed height — GSAP ScrollTrigger pin handles scroll space */
}

.split-reveal__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.split-reveal__media {
  position: relative;
  width: 50%;
  height: 100%;
  background: #0A0A0B;
  overflow: hidden;
}

.split-reveal__img-container {
  position: absolute;
  inset: 0;
}

.split-reveal__img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-reveal__img-container--clip {
  clip-path: inset(100% 0% 0% 0%);
  z-index: 2;
}

.split-reveal__content {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 48px;
}

.split-reveal__wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 320px;
}

.split-reveal__block {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-reveal__block--two {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}

@media (max-width: 768px) {
  .split-reveal {
    min-height: 100svh;
  }

  .split-reveal__sticky {
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100svh !important;
  }

  .split-reveal__media {
    width: 100%;
    height: 45%;
  }

  .split-reveal__content {
    width: 100%;
    height: 55%;
    padding: 32px 24px;
  }

  .split-reveal__wrapper {
    height: min(360px, 100%);
  }

  .split-reveal__block {
    position: absolute;
    inset: 0;
  }

  .split-reveal__content .h1 {
    font-size: clamp(34px, 10vw, 64px);
  }

  .split-reveal__content .lead {
    font-size: clamp(16px, 4vw, 19px);
  }
}

@media (max-width: 767px) {
  .pricing-card .btn {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 52px;
    padding: 14px 18px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   30. SLIDE-IN BUTTON (.btn-slide-in)
   ═══════════════════════════════════════════════════════════ */
.btn-slide-in {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
  z-index: 1;
}

.btn-slide-in::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
  border-radius: inherit;
}

.btn-slide-in:hover::before {
  transform: scaleX(1);
}

.btn-slide-in:hover {
  color: #fff !important;
  border-color: var(--brand) !important;
}

/* Invert for ghost buttons — slide in with white on dark bg */
.btn--ghost.btn-slide-in::before {
  background: #fff;
}

.btn--ghost.btn-slide-in:hover {
  color: #000 !important;
  border-color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════
   31. APPLE HELLO — DIGIWIZY SVG Text Drawing Effect
   (Unified — overrides the earlier .footer__hello-logo block)
   ═══════════════════════════════════════════════════════════ */
.footer__hello-logo {
  /* Reset conflicting earlier rule */
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto;
  /* Enable interaction for particles */
  z-index: 2;
  opacity: 1 !important;
  margin-bottom: 0;
  padding: 40px 0 20px;
  overflow: hidden;
  width: 100%;
  background: transparent !important;
  /* Fix black square */
}

.footer__hello-logo svg {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* The SVG text path animation is handled by the earlier block:
   .hello-text-path { stroke-dasharray/offset } and
   .animate-drawing .hello-text-path { stroke-dashoffset: 0; fill: url(#hello-grad) }
   Those rules remain valid. */

/* ═══════════════════════════════════════════════════════════
   32. FOOTER SOCIAL ICONS
   ═══════════════════════════════════════════════════════════ */
#footer-3d-canvas {
  background: transparent !important;
  pointer-events: none;
  /* Let clicks pass through to particles handled by container */
}

#footer-3d-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}

.footer__social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.footer__social-icons a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   33. FEATURE FLIPPER (Services Page)
   ═══════════════════════════════════════════════════════════ */
.feature-flipper {
  position: relative;
  width: 100%;
}

.feature-flipper__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 16px;
}

.feature-flipper__tab {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.feature-flipper__tab:hover {
  border-color: var(--brand);
  color: var(--ink);
}

.feature-flipper__tab--active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.feature-flipper__panels {
  position: relative;
  min-height: 300px;
}

.feature-flipper__panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-flipper__panel--active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.feature-flipper__panel h3 {
  font-size: var(--fs-h2);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.feature-flipper__panel p {
  color: var(--ink-soft);
  font-size: var(--fs-body);
  margin-bottom: 16px;
  max-width: 600px;
}

.feature-flipper__panel ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-flipper__panel li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
}

.feature-flipper__panel li::before {
  content: '→';
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 768px) {
  .feature-flipper__panel ul {
    grid-template-columns: 1fr;
  }

  .feature-flipper__tabs {
    gap: 6px;
  }

  .feature-flipper__tab {
    font-size: 11px;
    padding: 8px 14px;
  }
}

/* ─── 36. GLASS SURFACE (React Bits) ──────────────────── */
.nav-glass.glass-surface--svg {
  background: light-dark(hsl(0 0% 100% / var(--glass-frost, 0)), hsl(0 0% 0% / var(--glass-frost, 0)));
  backdrop-filter: var(--filter-id, url(#glass-filter)) saturate(var(--glass-saturation, 1));
  box-shadow:
    0 0 2px 1px light-dark(color-mix(in oklch, black, transparent 85%), color-mix(in oklch, white, transparent 65%)) inset,
    0 0 10px 4px light-dark(color-mix(in oklch, black, transparent 90%), color-mix(in oklch, white, transparent 85%)) inset,
    0px 4px 16px rgba(17, 17, 26, 0.05),
    0px 8px 24px rgba(17, 17, 26, 0.05),
    0px 16px 56px rgba(17, 17, 26, 0.05),
    0px 4px 16px rgba(17, 17, 26, 0.05) inset,
    0px 8px 24px rgba(17, 17, 26, 0.05) inset,
    0px 16px 56px rgba(17, 17, 26, 0.05) inset;
  border: none;
  /* Override standard nav border */
  border-radius: 32px;
  clip-path: inset(0 round 32px);
}

.nav-glass.glass-surface--fallback {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px) saturate(1.8) brightness(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.2),
    0 2px 16px 0 rgba(31, 38, 135, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
  .nav-glass.glass-surface--fallback {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px) saturate(1.8) brightness(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
      inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 0 rgba(255, 255, 255, 0.1);
  }
}

/* ─── Mobile: Footer Brand Text ─── */
@media (max-width: 767px) {
  .footer-brand-text {
    font-size: clamp(32px, 14vw, 56px);
  }
}