/* ==============================================================
   INNOXER — Stylesheet ("dusk glass")
   Purple dusk palette + frosted-glass surfaces. The logo's
   yellow → orange → red gradient is the warm "sunset" accent.
   Sections: tokens · base · utilities · buttons · header · scene ·
             hero · marquee · sections · about · services · stats ·
             brands · community · CTA · contact · footer · policy · motion
   ============================================================== */

/* ---------- Design tokens ---------- */
:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #120a24;
  --bg-alt: #170d2e;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-strong: rgba(226, 198, 255, 0.32);
  --blur: 18px;

  /* Text */
  --text: #f5f0ff;
  --text-muted: #c9bfe0;
  --text-dim: #9d92b8;

  /* Lavender (highlights, links, focus) */
  --lav: #c4a7ff;
  --lav-soft: #e2c6ff;
  --lav-grad: linear-gradient(90deg, #f0d9ff 0%, #c9a6ff 45%, #a67cff 100%);

  /* Logo gradient stops — the warm sunset accent */
  --yellow: #fdbd03;
  --amber: #fda303;
  --orange: #fc6606;
  --red: #fc0531;
  --grad: linear-gradient(115deg, var(--yellow) 0%, var(--orange) 50%, var(--red) 100%);

  --error: #ff8a9a;
  --success: #86efb5;

  --font-display: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Caveat', 'Segoe Script', cursive;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 30px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --section-y: clamp(72px, 9vw, 120px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px); /* anchors land below the sticky header */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fixed ambient glow layer so glass surfaces always have colour to blur.
   (position: fixed instead of background-attachment: fixed, which is slow on iOS) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 40% at 12% 30%, rgba(124, 58, 237, 0.22), transparent 70%),
    radial-gradient(45% 40% at 90% 55%, rgba(217, 70, 239, 0.14), transparent 70%),
    radial-gradient(60% 45% at 50% 105%, rgba(252, 102, 6, 0.1), transparent 70%);
}

body.menu-open {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--lav);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

address {
  font-style: normal;
}

/* :where() keeps specificity at zero so component classes can override freely */
:where(ul[role='list'], ol[role='list']) {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

:focus-visible {
  outline: 2px solid var(--lav-soft);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection {
  background: #7c4dff;
  color: #fff;
}

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

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

/* SVG sprite: zero-size but still rendered, so its gradients/filters work via <use> */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--lav);
  color: #1b0f3d;
  font-weight: 600;
}

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

/* Frosted glass surface */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 60px -32px rgba(0, 0, 0, 0.7);
}

/* Lavender highlight for the second half of two-tone headlines */
.hl {
  background: var(--lav-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lav);
}

/* Glass pill label (hero eyebrow) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 7px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px var(--orange);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dark text on the logo gradient keeps contrast ≥ 4.5:1 across every stop */
.btn--primary {
  background: var(--grad);
  color: #1a0b05;
  box-shadow: 0 12px 32px -12px rgba(252, 102, 6, 0.75);
}

.btn--primary:hover {
  color: #1a0b05;
  box-shadow: 0 16px 38px -12px rgba(252, 60, 20, 0.9);
}

.btn--glass {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text);
}

.btn--glass:hover {
  color: #fff;
  border-color: var(--glass-border-strong);
  background: rgba(255, 255, 255, 0.14);
}

.btn--ghost-sm {
  padding: 9px 16px;
  border-color: var(--glass-border);
  background: var(--glass);
  font-size: 0.875rem;
  color: var(--text);
}

.btn--ghost-sm:hover {
  color: #fff;
  border-color: var(--glass-border-strong);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* Arrow inside a dark circle at the end of a primary button */
.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -6px -14px -6px 2px;
  border-radius: 50%;
  background: rgba(26, 11, 5, 0.88);
  color: #fff;
  transition: transform 0.2s var(--ease);
}

.btn__arrow svg {
  width: 16px;
  height: 16px;
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* Leading circular icon on glass buttons */
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -6px 0 -6px -14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.btn__icon svg {
  width: 15px;
  height: 15px;
}

.btn__chev {
  width: 16px;
  height: 16px;
}

/* Round icon-only button (service cards) */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover {
  background: #fff;
  color: var(--bg);
  transform: translateX(2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--lav);
}

.link-arrow [aria-hidden='true'] {
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover [aria-hidden='true'] {
  transform: translateX(4px);
}

/* Makes the whole card clickable through a single link */
.stretched-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

/* ---------- Header / navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
  background: rgba(18, 10, 36, 0.62);
  border-bottom-color: var(--glass-border);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

/* backdrop-filter turns the header into the containing block for position:fixed
   children, which would shrink the full-screen mobile menu to the header's height.
   While the menu is open, use a solid background instead. */
.site-header.menu-is-open {
  background: var(--bg);
  border-bottom-color: var(--glass-border);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 40px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(252, 102, 6, 0.45));
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
}

.nav__links {
  display: none;
}

.nav__links ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  position: relative;
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #e3d9fb;
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: #fff;
}

.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lav), var(--orange));
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__actions .lang-switch,
.nav__cta {
  display: none;
}

/* Language switcher — glass segmented pill */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lang-switch button {
  padding: 6px 11px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}

.lang-switch button:hover {
  color: #fff;
}

.lang-switch button[aria-pressed='true'] {
  background: var(--lav-soft);
  color: #1b0f3d;
}

.lang-switch--lg button {
  padding: 10px 18px;
  font-size: 0.9375rem;
}

/* Hamburger (glass circle) */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), background-color 0.2s;
}

.nav__toggle-bar {
  position: relative;
}

.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav__toggle-bar::before {
  transform: translateY(-6px);
}

.nav__toggle-bar::after {
  transform: translateY(6px);
}

.nav__toggle[aria-expanded='true'] .nav__toggle-bar {
  background: transparent;
}

.nav__toggle[aria-expanded='true'] .nav__toggle-bar::before {
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded='true'] .nav__toggle-bar::after {
  transform: rotate(-45deg);
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 24px var(--gutter) 40px;
  background:
    radial-gradient(80% 50% at 100% 100%, rgba(252, 102, 6, 0.16), transparent 70%),
    radial-gradient(80% 50% at 0% 0%, rgba(124, 58, 237, 0.25), transparent 70%),
    var(--bg);
  overflow-y: auto;
  animation: menu-in 0.25s var(--ease);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--glass-border);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.mobile-menu__footer .btn {
  width: 100%;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (min-width: 960px) {
  .nav__links,
  .nav__actions .lang-switch,
  .nav__cta {
    display: flex;
  }

  .nav__toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* ---------- Dusk scene (hero + CTA banner) — decorative CSS/SVG ---------- */
.scene {
  --land: 42%; /* height of the mountains/water SVG */
  --water: 8.5%; /* water line, measured from the bottom */
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.scene__sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #160b31 0%,
    #2a1560 24%,
    #4f2688 44%,
    #8e3f95 57%,
    #df6f74 67%,
    #f9a86a 74%,
    #fdc77f 80%
  );
}

/* Sunset glow — the logo's colours on the horizon */
.scene__sun {
  position: absolute;
  right: 4%;
  bottom: 14%;
  width: min(62vw, 820px);
  aspect-ratio: 2 / 1;
  background: radial-gradient(
    ellipse at center,
    rgba(253, 210, 130, 0.85) 0%,
    rgba(253, 163, 3, 0.45) 22%,
    rgba(252, 102, 6, 0.25) 40%,
    transparent 68%
  );
  filter: blur(8px);
}

.scene__clouds span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 196, 230, 0.32), transparent 65%);
  filter: blur(18px);
  animation: cloud 40s ease-in-out infinite alternate;
}

.scene__clouds span:nth-child(1) {
  width: 46%;
  height: 16%;
  left: -6%;
  top: 14%;
}

.scene__clouds span:nth-child(2) {
  width: 38%;
  height: 12%;
  right: 6%;
  top: 8%;
  animation-delay: -14s;
}

.scene__clouds span:nth-child(3) {
  width: 52%;
  height: 14%;
  left: 30%;
  top: 40%;
  opacity: 0.6;
  animation-delay: -26s;
}

@keyframes cloud {
  to {
    transform: translateX(6%);
  }
}

.scene__land {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: var(--land);
}

/* Glints on the water */
.scene__shimmer {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 0;
  height: var(--water);
  background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(255, 230, 255, 0.1) 6px 7px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  animation: shimmer 7s ease-in-out infinite alternate;
}

@keyframes shimmer {
  to {
    transform: translateX(3%);
  }
}

/* Arch group: arch, reflection, orb and floating cubes share one box */
.scene__arch {
  position: absolute;
  right: 7%;
  bottom: var(--water);
  width: clamp(240px, 32vw, 480px);
  aspect-ratio: 400 / 440;
}

.arch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Mirror below the water line: flip around the base and squash */
.arch--reflection {
  transform-origin: bottom;
  transform: scaleY(-0.45);
  opacity: 0.4;
  filter: blur(2px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 70%);
  mask-image: linear-gradient(to top, #000 0%, transparent 70%);
}

.orb {
  position: absolute;
  left: 90%;
  bottom: 1%;
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #ecdcff 12%, #a78bfa 42%, #5b3fd0 72%, #2a1a6e 100%);
  box-shadow: 0 0 36px 8px rgba(167, 139, 250, 0.6), 0 0 90px 30px rgba(120, 90, 255, 0.28);
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 46px 12px rgba(196, 167, 255, 0.75), 0 0 110px 40px rgba(120, 90, 255, 0.35);
  }
}

/* Glass cubes (colours feed the <symbol id="cube"> faces) */
.cube {
  position: absolute;
  overflow: visible;
  filter: drop-shadow(0 0 14px var(--cube-glow, rgba(196, 167, 255, 0.55)));
  animation: bob var(--dur, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
  50% {
    transform: translateY(-14px) rotate(calc(var(--rot, 0deg) + 8deg));
  }
}

.cube--violet {
  --cube-top: rgba(214, 190, 255, 0.9);
  --cube-left: rgba(132, 92, 255, 0.78);
  --cube-right: rgba(76, 41, 170, 0.85);
  --cube-glow: rgba(167, 139, 250, 0.6);
}

.cube--amber {
  --cube-top: rgba(254, 220, 130, 0.92);
  --cube-left: rgba(253, 163, 3, 0.82);
  --cube-right: rgba(252, 102, 6, 0.85);
  --cube-glow: rgba(253, 163, 3, 0.55);
}

.cube--teal {
  --cube-top: rgba(160, 245, 240, 0.9);
  --cube-left: rgba(45, 185, 205, 0.78);
  --cube-right: rgba(20, 110, 150, 0.85);
  --cube-glow: rgba(94, 234, 212, 0.5);
}

.cube--blue {
  --cube-top: rgba(170, 200, 255, 0.9);
  --cube-left: rgba(90, 125, 255, 0.78);
  --cube-right: rgba(45, 70, 184, 0.85);
  --cube-glow: rgba(110, 150, 255, 0.55);
}

/* Positions are relative to the arch box */
.cube--1 { left: 0%; top: 2%; width: 15%; --rot: -12deg; --dur: 8s; }
.cube--2 { left: 74%; top: -10%; width: 17%; --rot: 14deg; --dur: 7s; --delay: -2s; }
.cube--3 { left: -24%; top: 22%; width: 11%; --rot: 8deg; --dur: 9s; --delay: -4s; }
.cube--4 { left: 92%; top: 30%; width: 10%; --rot: -18deg; --dur: 6.5s; --delay: -1s; }
.cube--5 { left: 30%; top: 24%; width: 34%; --rot: 6deg; --dur: 9s; --delay: -3s; }
.cube--6 { left: 48%; top: -18%; width: 8%; --rot: 22deg; --dur: 6s; --delay: -5s; }

/* Darkens the scene behind text and fades into the page background */
.scene__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 10, 36, 0.82) 0%, rgba(18, 10, 36, 0.5) 38%, rgba(18, 10, 36, 0) 62%),
    linear-gradient(180deg, rgba(18, 10, 36, 0.5) 0%, transparent 18%, transparent 78%, var(--bg) 100%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1); /* slide under the transparent header */
  padding: calc(var(--header-h) + clamp(56px, 9vw, 112px)) 0 clamp(120px, 13vw, 176px);
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
}

.hero__content {
  position: relative;
  max-width: 640px;
}

.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(18, 10, 36, 0.45);
}

.hero__lead {
  display: block;
}

/* The rotating word sits on its own line so changes never reflow the lead text */
.hero__rotator {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em; /* room for descenders */
}

.hero__word {
  display: inline-block;
  background: var(--lav-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.hero__word.is-out {
  transform: translateY(-60%);
  opacity: 0;
}

.hero__word.is-in {
  transform: translateY(60%);
  opacity: 0;
  transition: none;
}

.hero__subtitle {
  max-width: 540px;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: #ded4f5;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Handwritten "Aprende / Construye / Crece" accent */
.hero__script {
  position: absolute;
  top: calc(var(--header-h) + 28px);
  right: 4%;
  display: none;
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 2.3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.05;
  color: #f6ecff;
  text-shadow: 0 0 18px rgba(196, 167, 255, 0.7);
  transform: rotate(-9deg);
}

.hero__script span {
  display: block;
}

.hero__script span:nth-child(2) {
  padding-left: 0.8em;
}

.hero__script span:nth-child(3) {
  padding-left: 1.6em;
}

/* Vertical 01–04 indicator, synced with the rotating word */
.hero__steps {
  position: absolute;
  right: 2.2%;
  top: 50%;
  display: none;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 14px;
  list-style: none;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  transform: translateY(-50%);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.hero__steps li {
  position: relative;
  transition: color 0.3s;
}

.hero__steps li.is-active {
  color: #fff;
}

.hero__steps li.is-active::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lav-soft);
  box-shadow: 0 0 10px var(--lav);
  transform: translateY(-50%);
}

@media (min-width: 1100px) {
  .hero__script {
    display: block;
  }
  .hero__steps {
    display: flex;
  }
}

/* Phones/tablets: arch moves behind the text, fewer cubes, stronger scrim */
@media (max-width: 959px) {
  .hero .scene__arch {
    right: -16%;
    width: 74vw;
    opacity: 0.6;
  }

  .hero .cube--3,
  .hero .cube--4,
  .hero .cube--6 {
    display: none;
  }

  .hero .scene__scrim {
    background: linear-gradient(
      180deg,
      rgba(18, 10, 36, 0.72) 0%,
      rgba(18, 10, 36, 0.55) 45%,
      rgba(18, 10, 36, 0.7) 82%,
      var(--bg) 100%
    );
  }
}

/* ---------- Brands marquee (floating glass bar) ---------- */
.marquee-wrap {
  position: relative;
  z-index: 2;
  margin-top: -52px;
}

.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-radius: 999px;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.marquee__item {
  display: flex;
  align-items: center;
  padding-right: clamp(32px, 5vw, 72px);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: #d9cdf5;
  white-space: nowrap;
  transition: color 0.3s;
}

.marquee__logo {
  flex-shrink: 0;
  width: clamp(26px, 2.6vw, 32px);
  height: auto;
  margin-right: 12px;
  border-radius: 23%; /* matches the app-icon corners of the source logos */
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
}

.marquee__item::after {
  content: '';
  margin-left: clamp(32px, 5vw, 72px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(252, 102, 6, 0.7);
}

.marquee__item:hover {
  color: #fff;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Generic section ---------- */
.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head--row {
  display: grid;
  gap: 20px;
  max-width: none;
}

.section-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.section-head__aside .section-intro {
  margin: 0;
}

@media (min-width: 900px) {
  .section-head--row {
    grid-template-columns: 1fr minmax(0, 440px);
    align-items: end;
    gap: 48px;
  }
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-intro {
  font-size: clamp(1.0625rem, 1.3vw, 1.125rem);
  color: var(--text-muted);
}

.card {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform 0.3s var(--ease), border-color 0.3s, background-color 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-strong);
}

.card :where(h3) {
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card :where(p) {
  color: var(--text-muted);
}

.card :where(p:last-child) {
  margin-bottom: 0;
}

/* Small corner dots from the reference design */
.service::after,
.step::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.4) 2px, transparent 2.5px) left 12px top 12px / 6px 6px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.4) 2px, transparent 2.5px) left 12px bottom 12px / 6px 6px no-repeat;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.about__year {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(32px, 5vw, 56px) 24px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.about__year::before {
  content: '';
  position: absolute;
  inset: 20% 10% auto;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.35), transparent 65%);
  filter: blur(20px);
  z-index: -1;
}

.about__year-number {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 20vw, 9.5rem); /* sized to stay inside the glass panel */
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(120deg, #f0d9ff 0%, #b794ff 50%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about__year-label {
  margin-top: 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about__story > p:not(.eyebrow) {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 620px;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
  }
}

/* ---------- What we do ---------- */
.services {
  display: grid;
  gap: 16px;
}

.service {
  padding-bottom: 84px; /* room for the round arrow button */
}

.service__go {
  position: absolute;
  right: 20px;
  bottom: 20px;
}

/* "Glossy 3D" icon tile */
.service__icon {
  --t1: #c4a7ff;
  --t2: #6d3df0;
  --tglow: rgba(124, 77, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.6), transparent 42%),
    linear-gradient(145deg, var(--t1), var(--t2));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -8px 14px rgba(0, 0, 0, 0.28),
    0 14px 32px -10px var(--tglow);
  color: #fff;
  transform: rotate(-4deg);
  transition: transform 0.3s var(--ease);
}

.service:hover .service__icon {
  transform: rotate(0deg) scale(1.05);
}

.service__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.service__icon--teal { --t1: #8ff3ea; --t2: #1597b8; --tglow: rgba(45, 185, 205, 0.6); }
.service__icon--amber { --t1: #ffd36b; --t2: #fc6606; --tglow: rgba(252, 102, 6, 0.6); }
.service__icon--pink { --t1: #ffa3d8; --t2: #c8358f; --tglow: rgba(212, 63, 154, 0.6); }
.service__icon--blue { --t1: #9cc0ff; --t2: #3d5cf0; --tglow: rgba(61, 92, 240, 0.6); }

.service__example {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--glass-border);
  font-size: 0.9375rem;
}

.service__example strong {
  color: var(--text);
  font-weight: 600;
}

@media (min-width: 640px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .service:last-child {
    grid-column: 1 / -1;
  }
}

/* 6-column grid: three cards on the first row, two wider cards on the second */
@media (min-width: 1024px) {
  .services {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }
  .service {
    grid-column: span 2;
  }
  .service--half,
  .service:last-child {
    grid-column: span 3;
  }
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
  padding: 22px clamp(18px, 3vw, 30px);
  border-radius: var(--radius-lg);
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.stat__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background: linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box, var(--grad) border-box; /* gradient ring */
  color: #ffcf6e;
  box-shadow: 0 0 22px -6px rgba(252, 102, 6, 0.6);
}

.stat__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 700;
}

.stat__text span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat + .stat {
    padding-left: 24px;
    border-left: 1px solid var(--glass-border);
  }
  .stat {
    padding-right: 16px;
  }
}

/* ---------- Brands (project-style cards) ---------- */
.brands {
  display: grid;
  gap: 18px;
}

.brand-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
}

.brand-card:focus-within {
  outline: 2px solid var(--lav-soft);
  outline-offset: 3px;
}

.brand-card .stretched-link:focus-visible {
  outline: none; /* the whole card shows the focus ring instead */
}

.brand-card__cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 8px);
}

.brand-card__art {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
}

.brand-card:hover .brand-card__art {
  transform: scale(1.06);
}

.brand-card__mark {
  position: absolute;
  left: 50%;
  top: 46%;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.brand-card__logo {
  flex-shrink: 0;
  width: clamp(44px, 5vw, 56px);
  height: auto;
  border-radius: 23%;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-card__ext {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(18, 10, 36, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
}

.brand-card__ext svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-card__pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(18, 10, 36, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
}

.brand-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 12px 12px;
}

.brand-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.brand-card__body p {
  flex: 1;
  margin-bottom: 18px;
}

.brand-card__body .link-arrow {
  align-self: flex-start;
}

/* CSS-art covers, tinted with each brand's logo colours */
.brand-card--aventuriz .brand-card__art {
  /* teal #00a99d from the Aventuriz mark, with a warm dusk sun */
  background:
    radial-gradient(circle at 78% 80%, rgba(253, 200, 110, 0.75) 0 6%, rgba(253, 163, 3, 0.3) 12%, transparent 32%),
    radial-gradient(circle at 18% 20%, rgba(70, 230, 210, 0.45), transparent 45%),
    linear-gradient(155deg, #13183f 0%, #0c5a6a 50%, #00a99d 100%);
}

.brand-card--dancity .brand-card__art {
  /* near-black #16141f + coral #ff4f3f from the Dancity equaliser */
  background:
    repeating-radial-gradient(circle at 72% 62%, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 22px),
    radial-gradient(circle at 72% 62%, rgba(255, 79, 63, 0.7), transparent 52%),
    linear-gradient(150deg, #16141f 0%, #3a1838 55%, #a3283a 100%);
}

.brand-card--nutribram .brand-card__art {
  /* green #2f8f47 + mint #b8f0c4 from the Nutribram sprout */
  background:
    radial-gradient(circle at 24% 76%, rgba(184, 240, 196, 0.55), transparent 38%),
    radial-gradient(circle at 80% 20%, rgba(120, 230, 170, 0.35), transparent 40%),
    linear-gradient(150deg, #0b2418 0%, #1f6b36 55%, #2f8f47 100%);
}

.brand-card--focubit .brand-card__art {
  /* black + electric violet from the Focubit tiles */
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(circle at 70% 30%, rgba(160, 80, 255, 0.75), transparent 45%),
    linear-gradient(150deg, #07040f 0%, #2a0d5c 55%, #7a2dff 100%);
}

@media (min-width: 760px) {
  .brands {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

/* ---------- Community ---------- */
.steps {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.step__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(214, 190, 255, 0.85);
}

.step h3 {
  font-size: 1.375rem;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.featured {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 20px;
  padding: clamp(28px, 4vw, 48px);
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg);
  /* Glass fill + lavender → orange gradient border */
  background:
    linear-gradient(160deg, rgba(44, 24, 88, 0.92), rgba(24, 14, 50, 0.92)) padding-box,
    linear-gradient(120deg, #e2c6ff, #a78bfa 40%, var(--orange) 80%, var(--yellow)) border-box;
  box-shadow: 0 30px 70px -40px rgba(124, 77, 255, 0.8);
}

.featured::after {
  content: '';
  position: absolute;
  inset: auto -80px -170px auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 102, 6, 0.3), transparent 70%);
  pointer-events: none;
}

.featured__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.55), transparent 42%),
    var(--grad);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 14px 32px -10px rgba(252, 102, 6, 0.7);
  color: #1a0b05;
}

.featured__icon svg,
.featured__location svg,
.contact__icon svg,
.social svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.featured__icon svg {
  width: 32px;
  height: 32px;
}

.featured__label {
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffcf6e;
}

.featured__title {
  font-size: clamp(1.625rem, 3.2vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.featured__location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.featured__location svg {
  width: 16px;
  height: 16px;
}

.featured__desc {
  max-width: 720px;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tags li {
  padding: 6px 14px;
  border: 1px solid rgba(214, 190, 255, 0.3);
  border-radius: 999px;
  background: rgba(196, 167, 255, 0.1);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--lav-soft);
}

@media (min-width: 760px) {
  .featured {
    grid-template-columns: auto 1fr;
    gap: 32px;
  }
}

/* ---------- Final CTA banner (mini scene) ---------- */
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(340px, 36vw, 460px);
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  box-shadow: 0 40px 90px -50px rgba(124, 77, 255, 0.9);
}

.scene--mini {
  --land: 52%;
  --water: 11%;
}

.scene--mini .scene__sun {
  right: 2%;
  bottom: 18%;
  width: 70%;
}

.scene--mini .scene__arch {
  right: 9%;
  width: clamp(180px, 22vw, 300px);
}

/* Second, smaller arch behind and to the left = "double arch" */
.arch--back {
  transform-origin: bottom center;
  transform: translateX(-62%) scale(0.72);
  opacity: 0.85;
}

.scene--mini .scene__scrim {
  background: linear-gradient(90deg, rgba(18, 10, 36, 0.88) 0%, rgba(18, 10, 36, 0.55) 45%, rgba(18, 10, 36, 0) 72%);
}

.cta-banner__content {
  position: relative;
  max-width: 520px;
}

.cta-banner__title {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-banner__content > p:not(.eyebrow) {
  margin-bottom: 28px;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: #ded4f5;
}

@media (max-width: 759px) {
  .scene--mini .scene__arch {
    right: -10%;
    width: 60vw;
    opacity: 0.5;
  }
  .scene--mini .scene__scrim {
    background: linear-gradient(180deg, rgba(18, 10, 36, 0.8), rgba(18, 10, 36, 0.55));
  }
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  gap: 48px;
  align-items: start;
}

.contact__list {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.contact__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--lav-soft);
}

.contact__icon svg {
  width: 20px;
  height: 20px;
}

.contact__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact__list a,
.contact__list address {
  font-size: 1.0625rem;
  color: var(--text);
}

.contact__list a:hover {
  color: var(--lav-soft);
}

.contact-form {
  border-radius: var(--radius-lg);
}

.contact-form:hover {
  transform: none;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.contact-form__hint {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: rgba(10, 5, 24, 0.45);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #857aa3;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lav);
  box-shadow: 0 0 0 3px rgba(196, 167, 255, 0.25);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--error);
}

.field.has-error input:focus,
.field.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(255, 138, 154, 0.22);
}

.field__error {
  font-size: 0.875rem;
  color: var(--error);
}

.field__error:empty {
  display: none;
}

.contact-form .btn {
  margin-top: 6px;
}

.contact-form__privacy {
  margin: 14px 0 0;
  font-size: 0.8125rem;
  text-align: center;
  color: var(--text-dim);
}

.contact-form__privacy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__status {
  margin: 14px 0 0;
  font-size: 0.9375rem;
}

.contact-form__status:empty {
  display: none;
}

.contact-form__status[data-type='error'] {
  color: var(--error);
}

.contact-form__status[data-type='success'] {
  padding: 12px 14px;
  border: 1px solid rgba(134, 239, 181, 0.3);
  border-radius: 14px;
  background: rgba(134, 239, 181, 0.08);
  color: var(--success);
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(23, 13, 46, 0.6), rgba(10, 6, 22, 0.9));
  padding-top: clamp(56px, 8vw, 88px);
  font-size: 0.9375rem;
}

.footer__grid {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand p {
  max-width: 320px;
  margin-top: 16px;
  color: var(--text-muted);
}

.footer__col h2 {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lav);
}

.footer__col ul {
  display: grid;
  gap: 10px;
}

.footer__col a,
.footer__col address {
  color: var(--text-muted);
}

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

.social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: var(--glass);
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.social a:hover {
  color: #fff;
  border-color: var(--glass-border-strong);
  background: rgba(196, 167, 255, 0.14);
}

.social svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  padding-block: 24px 32px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer__bottom p {
  margin: 0;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 48px;
  }
}

/* ---------- Privacy policy page ---------- */
.policy-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--glass-border);
  background: linear-gradient(180deg, #170b33 0%, #2c1663 45%, #5a2a8c 80%, #7d3a92 100%);
}

/* Sunset glow + arch-like halo on the horizon */
.policy-hero::before {
  content: '';
  position: absolute;
  right: -6%;
  bottom: -55%;
  width: min(70vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 28px solid rgba(214, 190, 255, 0.28);
  box-shadow: 0 0 60px 10px rgba(167, 139, 250, 0.35), inset 0 0 60px 10px rgba(167, 139, 250, 0.25);
  z-index: -1;
}

.policy-hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -40%;
  width: min(80vw, 900px);
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse at center, rgba(253, 190, 110, 0.55), rgba(252, 102, 6, 0.2) 40%, transparent 70%);
  z-index: -2;
}

.policy-hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.policy-meta {
  color: #ded4f5;
  font-size: 0.9375rem;
  margin: 0;
}

.policy-layout {
  display: grid;
  gap: 40px;
  padding-block: clamp(40px, 6vw, 72px) var(--section-y);
}

.policy-toc {
  align-self: start;
  padding: 22px;
  font-size: 0.9375rem;
}

.policy-toc h2 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lav);
}

.policy-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.25em;
  color: var(--text-dim);
}

.policy-toc a {
  color: var(--text-muted);
}

.policy-toc a:hover {
  color: #fff;
}

.policy-content {
  max-width: 760px;
}

.policy-content .lead {
  font-size: 1.125rem;
  color: var(--text);
}

.policy-note {
  padding: 14px 18px;
  border-left: 3px solid var(--lav);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(196, 167, 255, 0.08);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.policy-content section {
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--glass-border);
}

.policy-content h2 {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  font-weight: 600;
  margin-bottom: 18px;
}

.policy-content h2 .num {
  font-size: 0.9em;
  background: var(--lav-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
}

.policy-content strong {
  color: var(--text);
}

.policy-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.policy-content li::marker {
  color: var(--orange);
}

.policy-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-contact {
  margin-top: 48px;
  padding: 24px;
}

.policy-contact p {
  margin: 0;
  color: var(--text);
}

@media (min-width: 1024px) {
  .policy-layout {
    grid-template-columns: 260px 1fr;
    gap: 64px;
  }

  .policy-toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* ---------- Scroll reveal ----------
   Only hidden when JS is running (html.js), so content is never lost without scripts. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Cards animate on hover after they're revealed */
.js .card.reveal.is-visible:hover {
  transform: translateY(-4px);
  transition-delay: 0ms;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  /* Cubes rest at their tilt instead of floating */
  .cube {
    animation: none;
    transform: rotate(var(--rot, 0deg));
  }

  /* Static brand strip instead of an endless animation */
  .marquee__track {
    animation: none;
    width: auto;
    justify-content: center;
    flex-wrap: wrap;
  }

  .marquee__list[aria-hidden='true'],
  .marquee__item[aria-hidden='true'] {
    display: none;
  }
}
