/* =========================================================================
   FrameMetric styles
   Theme: change the brand colours in the first block of :root and the whole
   site follows. Everything else references the semantic tokens below them.
   ========================================================================= */

/* ---------- Fonts (self-hosted, OFL licensed) ---------- */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-rupee.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20B8, U+20BA-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand palette: edit these to re-theme the site */
  --brand-navy: #0A1628;
  --brand-white: #F8FAFC;
  --brand-white-pure: #FFFFFF;
  --brand-slate: #94A3B8;
  --brand-blue: #3B82F6;          /* accents, highlights, blue dots, glows */
  --brand-button: #2563EB;        /* button fill: white text passes contrast on this */
  --brand-button-hover: #1D4ED8;
  --brand-rim: #CFE8FF;           /* soft cyan-white rim light on the hero arc */
  --brand-highlight: #FBBF24;     /* warm amber, the complement of the electric blue: text selection */

  /* Text selection */
  --selection-bg: var(--brand-highlight);
  --selection-text: var(--brand-navy);

  /* Cursor light: the glow and dots that follow the mouse */
  --cursor-glow: rgba(59, 130, 246, 0.13);
  --cursor-dots: rgba(191, 219, 254, 0.5);

  /* Surfaces */
  --bg: var(--brand-navy);
  --bg-deep: #050C18;
  --bg-raised: #0C1A30;
  --surface: #0F1F38;
  --surface-2: #142744;
  --surface-3: #1A3152;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.26);

  /* Text */
  --text: var(--brand-white);
  --text-strong: var(--brand-white-pure);
  --text-soft: #E2E8F0;
  --text-muted: var(--brand-slate);
  --text-faint: #7D8CA3; /* small labels; still 5:1 on the navy */

  /* Accent and actions */
  --accent: var(--brand-blue);
  --accent-soft: rgba(59, 130, 246, 0.14);
  --accent-line: rgba(59, 130, 246, 0.45);
  --accent-glow: rgba(59, 130, 246, 0.45);
  --btn-bg: var(--brand-button);
  --btn-bg-hover: var(--brand-button-hover);
  --btn-text: #FFFFFF;
  --focus: #93C5FD;
  --success: #4ADE80;
  --danger: #FCA5A5;

  /* Glass (pricing cards, form) */
  --glass-bg: rgba(10, 22, 40, 0.65);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 20px;

  /* Dot matrix */
  --dot-off: rgba(148, 163, 184, 0.2);
  --dot-on: #E2E8F0;
  --dot-accent: var(--brand-blue);
  --dot-glow: rgba(59, 130, 246, 0.24);

  /* Logo */
  --logo-fg: var(--brand-white);
  --logo-accent: var(--brand-blue);
  --wordmark-giant: #12243F;

  /* Shape and depth */
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 32px 64px -32px rgba(0, 0, 0, 0.7), 0 12px 28px -18px rgba(0, 0, 0, 0.55);
  --shadow-float: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 80px -30px rgba(0, 0, 0, 0.75), 0 18px 36px -20px rgba(0, 0, 0, 0.6);

  /* Type */
  --font-head: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-space: clamp(88px, 9.5vw, 136px);
  --header-h: 64px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --t-reveal: opacity 0.7s var(--ease-reveal) var(--d, 0ms), transform 0.7s var(--ease-reveal) var(--d, 0ms), filter 0.7s var(--ease-reveal) var(--d, 0ms);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  color-scheme: dark;
}
body {
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
main {
  position: relative;
  z-index: 1;
}
img,
svg,
canvas,
iframe {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons and small parts ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 26px -12px rgba(37, 99, 235, 0.75);
  transition: background-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s var(--ease), translate 0.35s var(--ease);
}
.btn:hover {
  background: var(--btn-bg-hover);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 14px 34px -12px rgba(37, 99, 235, 0.9);
}
.btn:active {
  transform: translateY(1px);
}
.btn[disabled],
.btn[aria-disabled="true"],
.btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}
.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: 0 0 0 1px var(--line-strong) inset;
}
.btn--ghost:hover {
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line-strong) inset;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 0 0 1px var(--line) inset;
}
.chip--accent {
  background: var(--accent-soft);
  color: #BFDBFE;
  box-shadow: 0 0 0 1px var(--accent-line) inset;
}
.label {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}
.ext-icon {
  width: 12px;
  height: 12px;
  flex: none;
  opacity: 0.7;
}

/* ---------- Sky: atmosphere behind the hero ---------- */
.sky {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  height: clamp(900px, 115vh, 1200px);
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(70% 42% at 50% 0%, rgba(59, 130, 246, 0.16), transparent 70%),
    radial-gradient(50% 40% at 50% 62%, rgba(29, 78, 216, 0.12), transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, #071223 36%, var(--bg) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
}
.sky__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(55% 45% at 50% 28%, #000 10%, transparent 75%);
  mask-image: radial-gradient(55% 45% at 50% 28%, #000 10%, transparent 75%);
}
.sky__arc {
  position: absolute;
  left: 50%;
  top: calc(var(--header-h) + clamp(30px, 4vw, 60px));
  width: max(1600px, 165vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border-top: 1.5px solid rgba(207, 232, 255, 0.85);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0.05) 8%, transparent 20%);
  box-shadow:
    0 -26px 90px -24px rgba(59, 130, 246, 0.6),
    inset 0 30px 90px -34px rgba(59, 130, 246, 0.75),
    inset 0 2px 14px -2px rgba(207, 232, 255, 0.5);
  -webkit-mask-image: linear-gradient(90deg, transparent 6%, #000 32%, #000 68%, transparent 94%);
  mask-image: linear-gradient(90deg, transparent 6%, #000 32%, #000 68%, transparent 94%);
  animation: arc-breathe 9s ease-in-out infinite alternate;
}
@keyframes arc-breathe {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--logo-fg);
  text-decoration: none;
  border-radius: 6px;
}
.logo svg,
.logo img {
  height: 30px;
  width: auto;
  overflow: visible;
}
.logo-accent {
  fill: var(--logo-accent);
}
/* The blue pixel glows softly and nudges up and right on hover */
.logo-glow {
  fill: var(--logo-accent);
  opacity: 0.55;
  transition: opacity 0.35s ease;
}
.logo-pixel {
  transition: transform 0.45s var(--ease);
}
.logo:hover .logo-pixel,
.logo:focus-visible .logo-pixel {
  transform: translate(1.5px, -1.5px);
}
.logo:hover .logo-glow,
.logo:focus-visible .logo-glow {
  opacity: 1;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--text);
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
}
.menu-toggle .icon-close {
  display: none;
}
.site-header.is-open .menu-toggle .icon-close {
  display: block;
}
.site-header.is-open .menu-toggle .icon-open {
  display: none;
}
@media (max-width: 767px) {
  .menu-toggle {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 12px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .nav {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(84px, 9vw, 128px);
  text-align: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin-bottom: 28px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(207, 232, 255, 0.2);
  background: rgba(15, 31, 56, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text-soft);
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 10px 30px -14px rgba(59, 130, 246, 0.7);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.hero-pill:hover {
  border-color: rgba(207, 232, 255, 0.4);
  background: rgba(20, 39, 68, 0.7);
}
@media (max-width: 399px) {
  .hero-pill {
    gap: 8px;
    padding: 0 12px 0 11px;
    font-size: 12.5px;
  }
}
.hero-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22), 0 0 12px rgba(59, 130, 246, 0.9);
}
.hero h1 {
  max-width: 1080px;
  margin-inline: auto;
  font-size: clamp(30px, 3.4vw + 8px, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero h1 span {
  display: block;
}
.hero h1 .muted {
  color: var(--text-muted);
  font-weight: 500;
}
.hero-sub {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--text-muted);
  font-size: clamp(16px, 0.6vw + 13px, 18px);
  text-wrap: pretty;
}
.hero-cta {
  margin-top: 32px;
}
.hero-caption {
  margin-top: 14px;
}

.matrix {
  position: relative;
  isolation: isolate;
  margin-top: clamp(48px, 7vw, 88px);
}
.matrix::before {
  content: "";
  position: absolute;
  inset: 8% 18% 18%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.16), transparent);
  filter: blur(24px);
  pointer-events: none;
}
.matrix canvas {
  width: 100%;
  height: clamp(170px, 21vw, 260px);
}
.matrix figcaption {
  margin-top: 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section-space);
}
.section--compact {
  padding-block: clamp(72px, 8vw, 112px);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  column-gap: 48px;
  row-gap: 20px;
  align-items: end;
}
.eyebrow {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
}
.eyebrow b {
  color: var(--text);
  font-weight: 600;
}
.section-head h2 {
  font-size: clamp(28px, 2.6vw + 12px, 42px);
  text-wrap: balance;
}
.section-head h2 span {
  display: block;
}
.section-head h2 .muted {
  color: var(--text-muted);
  font-weight: 500;
}
.section-head p {
  color: var(--text-muted);
  font-size: 15.5px;
  padding-bottom: 4px;
  text-wrap: pretty;
}
.section-visual {
  margin-top: clamp(44px, 6vw, 80px);
}
@media (max-width: 767px) {
  .section-head {
    grid-template-columns: 1fr;
  }
}

/* ---------- 01 Channels ---------- */
.channels-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 16px 48px;
  align-items: end;
}
.channels-head .eyebrow {
  grid-column: auto;
}
.channels-head__line {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--text-muted);
}
.avatars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 20px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.avatars > li {
  display: flex;
  justify-content: center;
}
.avatar-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 8px 12px 12px;
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.avatar {
  position: relative;
  width: clamp(84px, 8.5vw, 112px);
  aspect-ratio: 1;
  border-radius: 50%;
  transition: transform 0.45s var(--ease);
}
.avatar img,
.avatar__fallback {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.avatar img {
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong);
}
.avatar__fallback {
  display: grid;
  place-items: center;
  background: var(--surface-2);
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
}
.avatar::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: border-color 0.35s ease, box-shadow 0.45s var(--ease);
  pointer-events: none;
}
.avatar-link:hover .avatar,
.avatar-link:focus-visible .avatar {
  transform: scale(1.07);
}
.avatar-link:hover .avatar::after,
.avatar-link:focus-visible .avatar::after {
  border-color: var(--accent);
  box-shadow: 0 0 30px 2px var(--accent-glow);
}
.avatar--add {
  display: grid;
  place-items: center;
  border: 1.5px dashed var(--line-strong);
  color: var(--text-muted);
  transition: transform 0.45s var(--ease), border-color 0.3s ease, color 0.3s ease;
}
.avatar--add svg {
  width: 26px;
  height: 26px;
}
.avatar-link:hover .avatar--add {
  border-color: var(--accent);
  color: var(--text);
}
.avatar-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.avatar-label {
  margin-top: -10px;
  color: var(--text-muted);
  font-size: 13px;
}
@media (max-width: 639px) {
  .channels-head {
    grid-template-columns: 1fr;
  }
  .avatars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 02 Work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px 24px;
}
.video {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 10px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(15, 31, 56, 0.55) 100%);
  transition: var(--t-reveal), translate 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s var(--ease);
}
.video:hover,
.video:focus-within {
  translate: 0 -6px;
  border-color: rgba(96, 165, 250, 0.75);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25), 0 30px 70px -30px rgba(59, 130, 246, 0.55);
}
.video--lg {
  grid-column: span 3;
}
.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-raised);
  isolation: isolate;
}
.yt__play {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.yt__play:focus-visible {
  outline-offset: -3px;
  border-radius: 12px;
}
.yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.3s ease;
}
.video:hover .yt img {
  transform: scale(1.03);
}
.yt__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22) inset, 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  transition: background-color 0.2s ease, transform 0.3s var(--ease);
}
.yt__icon svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}
.yt__play:hover .yt__icon,
.yt__play:focus-visible .yt__icon {
  background: var(--btn-bg);
  transform: scale(1.06);
}
.video--lg .yt__icon {
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
}
.yt__duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(10, 22, 40, 0.85);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video__body {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
}
.video__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  min-height: 26px;
}
.video__channel {
  font-size: 13px;
  color: var(--text-muted);
}
.video__channel b {
  color: var(--text);
  font-weight: 600;
}
.video__views {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent-line) inset;
  color: #BFDBFE;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.video__showcase {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line-strong) inset;
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}
.video__title {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.video--lg .video__title {
  font-size: 19px;
}
.video__format {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
}
.video__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.video__note {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13.5px;
}
.work-cta {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 28px;
  border-radius: 18px;
  border: 1px dashed var(--line-strong);
  background:
    radial-gradient(circle at center, var(--dot-off) 1px, transparent 1.6px) 0 0 / 16px 16px,
    var(--bg-raised);
}
.work-cta__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.work-cta p {
  color: var(--text-muted);
  font-size: 14.5px;
}
@media (min-width: 1024px) {
  .work-cta--wide {
    grid-column: span 4;
  }
}
.work-footnote {
  margin-top: 40px;
  color: var(--text-faint);
  font-size: 13px;
}
@media (max-width: 1023px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .video,
  .video--lg,
  .work-cta {
    grid-column: span 1;
  }
}
@media (max-width: 639px) {
  .work-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .video--lg .video__title {
    font-size: 17px;
  }
}

/* ---------- 03 Process: interactive stage explorer ---------- */
.explorer__rail {
  position: relative;
}
.explorer__track {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
  overflow: hidden;
}
.explorer__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #7DD3FC);
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
  transition: transform 0.6s var(--ease);
}
.explorer__tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: stage;
}
.stage-tab {
  counter-increment: stage;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 8px 4px 10px;
  border: 0;
  border-radius: 14px;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.stage-tab__node {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--bg);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.stage-tab__node::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.3s ease;
}
.stage-tab.is-done .stage-tab__node {
  border-color: var(--accent);
}
.stage-tab.is-done .stage-tab__node::after {
  background: var(--accent);
}
.stage-tab[aria-selected="true"] .stage-tab__node {
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.18);
  box-shadow: 0 0 0 5px var(--accent-soft), 0 0 22px var(--accent-glow);
}
.stage-tab[aria-selected="true"] .stage-tab__node::after {
  background: #FFFFFF;
}
.stage-tab:hover .stage-tab__node {
  border-color: var(--accent);
}
.stage-tab__num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-faint);
}
.stage-tab__name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.stage-tab:hover .stage-tab__name,
.stage-tab[aria-selected="true"] .stage-tab__name {
  color: var(--text);
}
.stage-tab .short {
  display: none;
}
.stage-tab:focus-visible {
  outline-offset: 0;
}
.explorer__panels {
  margin-top: 28px;
}
.stage-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(22px, 3.5vw, 44px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 39, 68, 0.6), rgba(15, 31, 56, 0.35));
  box-shadow: var(--shadow-float);
}
.js .stage-panel.is-entering {
  animation: panel-in 0.55s var(--ease-reveal);
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.stage-panel h3 {
  margin-top: 10px;
  font-size: clamp(22px, 1.5vw + 12px, 30px);
  text-wrap: balance;
}
.stage-panel__lead {
  margin-top: 12px;
  color: var(--text-muted);
  text-wrap: pretty;
}
.stage-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.checklist {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}
.checklist li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
}
.checklist li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.you {
  align-self: start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 22, 40, 0.45);
}
.you.is-you {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.you__text {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--text);
}
.stage-panel__visual {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: clamp(18px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, var(--dot-off) 1px, transparent 1.6px) 0 0 / 18px 18px,
    var(--bg-raised);
  overflow: hidden;
}
.niche-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-top: clamp(32px, 4vw, 48px);
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 15px;
}
.niche-line strong {
  color: var(--text);
  font-weight: 600;
}

/* Stage previews: neutral illustrations, no metrics or people */
.mock {
  width: 100%;
  max-width: 380px;
}
.bar {
  display: block;
  width: var(--w, 60%);
  height: 8px;
  border-radius: 6px;
  background: var(--surface-3);
}
.mock-tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line) inset;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 500;
}
.mock-tag--accent {
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent-line) inset;
  color: #BFDBFE;
}
.mock-ideas {
  display: grid;
  gap: 10px;
}
.mock-idea {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.5s var(--ease);
}
.mock-idea.is-picked {
  transform: translateX(12px);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 18px 40px -20px var(--accent-glow);
}
.mock-pick {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #BFDBFE;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
}
.mock-script {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.mock-script__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.mock-script__row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.mock-marker {
  color: var(--text-faint);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 500;
}
.mock-script__row.is-hook .mock-marker {
  color: #BFDBFE;
}
.mock-script__row.is-hook .bar {
  background: linear-gradient(90deg, var(--accent), rgba(59, 130, 246, 0.35));
}
.mock-rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin-top: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #FECACA;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
}
.mock-rec__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F87171;
  animation: rec-pulse 1.4s ease-in-out infinite;
}
@keyframes rec-pulse {
  50% {
    opacity: 0.35;
  }
}
.mock-thumb {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.mock-thumb__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #1D4ED8 0%, #0B1E3F 62%);
  box-shadow: 0 22px 44px -22px var(--accent-glow);
}
.mock-thumb__shape {
  position: absolute;
  right: 9%;
  top: 20%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 24%;
  background: linear-gradient(135deg, #93C5FD, #1E3A8A);
  transform: rotate(-8deg);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6);
}
.mock-thumb__text {
  position: absolute;
  left: 7%;
  top: 22%;
  display: grid;
  gap: 10px;
  width: 50%;
}
.mock-thumb__text i {
  display: block;
  height: 14px;
  border-radius: 4px;
  background: #FFFFFF;
}
.mock-thumb__text i + i {
  width: 70%;
}
.mock-thumb__title {
  display: grid;
  gap: 8px;
  width: 100%;
}
.mock-edit {
  display: grid;
  gap: 10px;
}
.mock-edit__screen {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #0B1E3F, #12305E);
}
.mock-edit__play {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.mock-edit__play::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #FFFFFF;
}
.mock-edit__tracks {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.track {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.track__label {
  color: var(--text-faint);
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 500;
}
.track__lane {
  position: relative;
  height: 16px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.06);
}
.clip {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: var(--x);
  width: var(--w);
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.35);
}
.clip--main {
  background: rgba(59, 130, 246, 0.6);
}
.clip--audio {
  background: repeating-linear-gradient(90deg, rgba(125, 211, 252, 0.55) 0 2px, transparent 2px 4px);
}
.playhead {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 42px;
  width: 2px;
  border-radius: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: playhead 6s linear infinite;
}
@keyframes playhead {
  from {
    left: 42px;
  }
  to {
    left: calc(100% - 12px);
  }
}
.mock-pack {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.mock-field {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
}
.mock-field__label {
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 500;
}
.mock-chips {
  display: flex;
  gap: 5px;
}
.mock-chips i {
  width: 30px;
  height: 14px;
  border-radius: 999px;
  background: var(--surface-3);
}
.mock-check {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--success);
  background: rgba(74, 222, 128, 0.15);
}
.mock-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--success);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.mock-ready {
  justify-self: center;
  margin-top: 4px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.85);
}
@media (max-width: 899px) {
  .stage-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .stage-panel__visual {
    min-height: 0;
  }
}
@media (max-width: 599px) {
  .explorer__track {
    top: 24px;
  }
  .stage-tab {
    padding-top: 8px;
  }
  .stage-tab__node {
    width: 32px;
    height: 32px;
    margin-bottom: 0;
    color: var(--text-muted);
  }
  .stage-tab__node::after {
    content: counter(stage, decimal-leading-zero);
    width: auto;
    height: auto;
    background: none !important;
  }
  .stage-tab[aria-selected="true"] .stage-tab__node {
    color: #FFFFFF;
    transform: scale(1.08);
  }
  .stage-tab.is-done .stage-tab__node {
    color: var(--text);
  }
  .stage-tab__num {
    display: none;
  }
  .stage-tab__name {
    font-size: 11.5px;
  }
  .stage-tab .long {
    display: none;
  }
  .stage-tab .short {
    display: inline;
  }
  .stage-split {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 399px) {
  .stage-tab__name {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ---------- Brand / Creator switch (sliding thumb) ---------- */
.switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 31, 56, 0.75);
  box-shadow: 0 0 0 1px var(--line-strong) inset, 0 12px 30px -16px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.switch::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--text);
  box-shadow: 0 8px 22px -8px rgba(248, 250, 252, 0.45);
  transition: transform 0.45s var(--ease);
}
.switch[data-active="creator"]::before {
  transform: translateX(100%);
}
.switch__btn {
  position: relative;
  z-index: 1;
  min-height: 42px;
  min-width: 118px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s ease;
}
.switch__btn:hover {
  color: var(--text);
}
.switch__btn[aria-pressed="true"] {
  color: var(--bg);
}

/* ---------- 04 Pricing: frosted glass over giant type ---------- */
.pricing {
  position: relative;
  overflow: hidden;
}
.pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 48px;
}
.pricing-head__line {
  max-width: 400px;
  color: var(--text-muted);
  font-size: 15.5px;
}
.pricing-switch {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  margin-top: clamp(36px, 5vw, 56px);
}
.pricing-stage {
  --giant: clamp(84px, 19vw, 280px);
  position: relative;
  margin-top: clamp(14px, 2vw, 24px);
}
.pricing-giant {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-head);
  font-size: var(--giant);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  /* its text box reaches above the letters: never let it swallow clicks on the toggle */
  pointer-events: none;
}
.pricing-cards {
  position: relative;
  z-index: 1;
  display: grid;
  justify-content: center;
  gap: 20px;
  margin-top: calc(var(--giant) * -0.46);
}
.pricing-cards.is-entering > * {
  animation: cards-in 0.5s var(--ease-reveal) both;
}
.pricing-cards.is-entering > :nth-child(2) {
  animation-delay: 70ms;
}
.pricing-cards.is-entering > :nth-child(3) {
  animation-delay: 140ms;
}
@keyframes cards-in {
  from {
    transform: translateY(16px) scale(0.985);
  }
  to {
    transform: none;
  }
}
/* Column widths follow the number of cards: brands have one, creators two */
.pricing-cards,
.pricing-cards[data-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 360px));
}
.pricing-cards[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 430px));
}
.pricing-cards[data-count="1"] {
  grid-template-columns: minmax(0, 560px);
}
.glass-slot {
  position: relative;
  display: flex;
  min-width: 0;
}
.glass-slot.is-recommended::before {
  content: "";
  position: absolute;
  inset: -16% -12% -6%;
  z-index: 0;
  background: radial-gradient(50% 50% at 50% 38%, rgba(59, 130, 246, 0.55), rgba(59, 130, 246, 0) 72%);
  filter: blur(26px);
  pointer-events: none;
}
.glass-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 40px 80px -40px rgba(0, 0, 0, 0.85);
}
.glass-slot.is-recommended .glass-card {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 0 0 1px rgba(59, 130, 246, 0.25), 0 40px 90px -40px rgba(59, 130, 246, 0.7);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass-card {
    background: rgba(10, 22, 40, 0.94);
  }
}
.glass-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}
.plan__name {
  font-size: 23px;
  color: var(--text-strong);
}
.plan__summary {
  margin-top: 8px;
  color: var(--text-soft);
}
.plan__price {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.plan__price .label {
  display: block;
}
.plan__price-value {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.plan__includes {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}
.plan__includes li {
  display: flex;
  gap: 12px;
  font-size: 15px;
}
.plan__includes svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent);
}
.plan__bottom {
  margin-top: auto;
  padding-top: 26px;
}
.plan__cta {
  width: 100%;
  margin-top: 20px;
}
.founding {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 560px;
  margin: 20px auto 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent-line) inset;
  font-size: 14.5px;
}
.founding::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--accent);
}
.pricing-note {
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}
@media (max-width: 1023px) {
  .pricing-cards,
  .pricing-cards[data-count="3"] {
    grid-template-columns: minmax(0, 560px);
  }
}
@media (max-width: 899px) {
  .pricing-cards[data-count="2"] {
    grid-template-columns: minmax(0, 520px);
  }
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.quote {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.quote blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}
.quote figcaption {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 14px;
}
.quote figcaption b {
  display: block;
  color: var(--text);
  font-weight: 600;
}

/* ---------- 05 Work with us ---------- */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(20, 39, 68, 0.62), rgba(10, 22, 40, 0.7));
  box-shadow: var(--shadow-float);
  isolation: isolate;
}
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.75), transparent);
  pointer-events: none;
}
.contact__aside-inner {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.contact__aside {
  padding: clamp(24px, 3.6vw, 48px);
  border-right: 1px solid var(--line);
  border-radius: 28px 0 0 28px;
  background:
    radial-gradient(120% 55% at 0% 0%, rgba(59, 130, 246, 0.16), transparent 62%),
    radial-gradient(circle at center, var(--dot-off) 1px, transparent 1.6px) 0 0 / 18px 18px;
}
.contact__form {
  position: relative;
  padding: clamp(24px, 3.6vw, 48px);
}
.contact__form-head h3 {
  font-size: clamp(20px, 1vw + 14px, 24px);
}
.contact__form-head p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14.5px;
}
.contact__form-head + .inquiry {
  margin-top: 28px;
}

/* Timeline: the line from step 1 to step 2 fills as the form gets completed */
.timeline {
  --tl: 0;
  position: relative;
  display: grid;
  gap: 26px;
  margin-top: 18px;
}
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 14px;
  width: 2px;
  border-radius: 2px;
}
.timeline::before {
  bottom: 14px;
  background: var(--line-strong);
}
.timeline::after {
  height: calc((100% - 28px) * var(--tl));
  background: linear-gradient(180deg, var(--accent), #7DD3FC);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
  transition: height 0.6s var(--ease);
}
.timeline li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
}
.timeline__dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--bg-raised);
  color: var(--text-faint);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.4s var(--ease);
}
.timeline li.is-active .timeline__dot {
  border-color: var(--accent);
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 0 0 5px var(--accent-soft), 0 0 20px var(--accent-glow);
}
.timeline li.is-done .timeline__dot {
  border-color: var(--accent);
  background: var(--bg-raised);
  color: var(--accent);
}
.timeline strong {
  display: block;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 600;
}
.timeline li span:not(.timeline__dot) {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 14.5px;
}
.trust {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.trust__row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.trust__avatars {
  display: flex;
  flex: none;
}
.trust__avatars > * {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid var(--bg-raised);
  background: var(--surface-2);
  object-fit: cover;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
}
.trust__avatars > :first-child {
  margin-left: 0;
}
.trust__text {
  color: var(--text-muted);
  font-size: 14px;
}
.contact__mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--line-strong) inset;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.contact__mail:hover {
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--accent-line) inset;
}
.form-progress {
  position: absolute;
  top: 0;
  left: clamp(24px, 3.6vw, 48px);
  right: clamp(24px, 3.6vw, 48px);
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(148, 163, 184, 0.12);
}
.form-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #7DD3FC);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  transition: transform 0.5s var(--ease);
}

/* Form fields */
.inquiry {
  display: grid;
  gap: 20px;
}
.field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field__label {
  padding: 0;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
}
.field__optional {
  margin-left: 6px;
  color: var(--text-faint);
  font-weight: 400;
}
.field__hint {
  color: var(--text-faint);
  font-size: 12.5px;
}
.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.field-group {
  display: grid;
  gap: 20px;
}
.input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(5, 12, 24, 0.5);
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.input::placeholder {
  color: var(--text-faint);
}
.input:hover {
  border-color: rgba(148, 163, 184, 0.42);
}
.input:focus,
.input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.28);
  background: rgba(5, 12, 24, 0.72);
}
.input[aria-invalid="true"] {
  border-color: #F87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16);
}
.textarea {
  min-height: 96px;
  line-height: 1.5;
  resize: vertical;
}
.field__error {
  color: var(--danger);
  font-size: 13px;
}

/* Choice cards (radio buttons styled as cards) */
.choices {
  display: grid;
  gap: 10px;
}
.choices--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.choices--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.choice {
  position: relative;
  display: flex;
  min-width: 0;
}
.choice input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice__box {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(5, 12, 24, 0.45);
  transition: border-color 0.2s ease, background-color 0.25s ease, box-shadow 0.3s var(--ease), transform 0.2s var(--ease);
}
.choices--compact .choice__box {
  padding: 12px 14px;
}
.choice:hover .choice__box {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(20, 39, 68, 0.55);
}
.choice input:checked + .choice__box {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.12);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16), 0 16px 34px -20px var(--accent-glow);
}
.choice input:active + .choice__box {
  transform: scale(0.99);
}
.choice input:focus-visible + .choice__box {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.choice input[aria-invalid="true"] + .choice__box {
  border-color: rgba(248, 113, 113, 0.7);
}
.choice__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line) inset;
  color: var(--text);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.choice__icon svg {
  width: 18px;
  height: 18px;
}
.choice input:checked + .choice__box .choice__icon {
  background: var(--accent);
  color: #FFFFFF;
}
.choice__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}
.choice__title::after {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.choice input:checked + .choice__box .choice__title::after {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.choice__text {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}
.inquiry__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 4px;
}
.inquiry__submit {
  min-width: 168px;
}
/* Sending: a small spinner in the button, and the fields dim until the reply comes back */
.inquiry__submit[aria-busy="true"]::before {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.inquiry.is-sending .field,
.inquiry.is-sending .field-group {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.inquiry__hint {
  color: var(--text-faint);
  font-size: 13px;
}
.inquiry__status:empty {
  display: none;
}
.inquiry__status {
  font-size: 14px;
  color: var(--text-muted);
}
.inquiry__status.is-error {
  color: var(--danger);
}
.inquiry-done {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 24px 0 8px;
}
.inquiry-done__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent-line) inset, 0 0 34px var(--accent-glow);
  color: var(--accent);
}
.inquiry-done__icon svg {
  width: 22px;
  height: 22px;
}
.inquiry-done h3 {
  font-size: 26px;
}
.inquiry-done p {
  max-width: 460px;
  color: var(--text-muted);
}
@media (max-width: 899px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact__aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 28px 28px 0 0;
  }
  .contact__aside-inner {
    position: static;
  }
}
@media (max-width: 639px) {
  .choices--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 559px) {
  .field-row,
  .choices--2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .inquiry__submit {
    width: 100%;
  }
}

/* ---------- Cursor light (mouse only): a soft glow and a patch of dots follow the mouse ---------- */
.cursor-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.cursor-fx.is-on {
  opacity: 1;
}
.cursor-fx__glow,
.cursor-fx__dots {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}
.cursor-fx__glow {
  width: 900px;
  height: 900px;
  background: radial-gradient(closest-side, var(--cursor-glow), rgba(59, 130, 246, 0.04) 50%, transparent 100%);
}
.cursor-fx__dots {
  width: 440px;
  height: 440px;
  background-image: radial-gradient(circle, var(--cursor-dots) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(closest-side, #000 15%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 15%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
}

/* ---------- Cursor spotlight on cards (mouse only) ---------- */
[data-spotlight] {
  position: relative;
}
[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(147, 197, 253, 0.95), rgba(59, 130, 246, 0.4) 35%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
@media (hover: hover) and (pointer: fine) {
  [data-spotlight]:hover::after {
    opacity: 1;
  }
}

/* ---------- 06 About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  background:
    radial-gradient(circle at center, var(--dot-off) 1px, transparent 1.6px) 0 0 / 18px 18px,
    var(--bg-raised);
}
.about__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text-faint);
}
.about__placeholder svg {
  width: 30%;
  height: auto;
  opacity: 0.55;
}
.about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.about__photo:hover img {
  transform: scale(1.03);
}
/* soft navy fade at the bottom so the photo sits into the dark theme */
.about__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(10, 22, 40, 0.55) 100%);
}
.about__photo[data-spotlight]::after {
  inset: 0;
}
.about__copy {
  display: grid;
  gap: 18px;
  color: var(--text-muted);
  font-size: 16.5px;
}
.about__lead {
  color: var(--text);
  font-family: var(--font-head);
  font-size: clamp(22px, 1.4vw + 12px, 28px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.about__copy strong {
  color: var(--text);
  font-weight: 600;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--line-strong) inset;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.socials a:hover {
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--accent-line) inset;
}
@media (max-width: 767px) {
  .about {
    grid-template-columns: minmax(0, 1fr);
  }
  .about__photo {
    max-width: 360px;
  }
}

/* ---------- 07 FAQ ---------- */
.faq {
  border-bottom: 1px solid var(--line);
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease), color 0.2s ease;
}
.faq details[open] summary svg {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq summary:focus-visible {
  outline-offset: 4px;
}
.faq__answer {
  max-width: 720px;
  padding: 0 0 24px;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding-top: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 48px;
}
.footer-brand p {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 15px;
}
.footer-brand p strong {
  display: block;
  color: var(--text);
  font-weight: 500;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-cols h2 {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}
.footer-cols ul {
  display: grid;
  gap: 2px;
  margin-top: 12px;
}
.footer-cols a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-cols a:hover {
  color: var(--text);
}
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 20px;
  color: var(--text-faint);
  font-size: 13px;
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--line);
}
.footer-giant {
  margin-top: clamp(32px, 5vw, 64px);
  color: var(--wordmark-giant);
}
.footer-giant svg {
  width: 100%;
  height: auto;
  margin-bottom: -1.2%;
}
@media (max-width: 767px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 479px) {
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* contact gets its own row so the email address never breaks */
  .footer-cols > div:nth-child(2) {
    grid-column: 1 / -1;
    order: 3;
  }
}

/* ---------- Section ticks (desktop) ---------- */
.ticks {
  position: fixed;
  right: 20px;
  top: 50%;
  z-index: 40;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transform: translateY(-50%);
}
.ticks a {
  display: block;
  width: 12px;
  height: 1px;
  padding: 5px 0;
  background: var(--line-strong);
  background-clip: content-box;
  transition: width 0.3s var(--ease), background-color 0.3s ease;
}
.ticks a:hover {
  background-color: var(--text-muted);
}
.ticks a.is-active {
  width: 24px;
  background-color: var(--text);
}
@media (min-width: 1240px) {
  .ticks {
    display: flex;
  }
}

/* ---------- Blur-to-sharp scroll reveal (only with JS and motion allowed) ---------- */
.reveal {
  transition: var(--t-reveal);
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(10px);
  }
}
@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;
  }
  .video:hover,
  .video:focus-within {
    translate: none;
  }
}

/* ---------- 404 ---------- */
.error-page {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  padding-block: 64px;
  text-align: center;
}
.error-page__inner {
  width: 100%;
  max-width: 720px;
}
.error-page .matrix {
  margin-top: 0;
  margin-bottom: 40px;
}
.error-page h1 {
  font-size: clamp(28px, 3vw + 10px, 44px);
}
.error-page p {
  margin-top: 14px;
  color: var(--text-muted);
}
.error-page .btn {
  margin-top: 28px;
}
