#showcase-h.editorial-title {
  font-size: 44px !important;
}

/**
 * main.css -- Core Global Styles & Design Tokens
 * Antierly Schools and Beyond (ASB)
 * Component-specific styles are encapsulated in component SCSS modules.
 */

:root {
  /* Palette */
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --bg-dark: #0b0b0c;
  --text: #111112;
  --muted: #686c72;
  --border: #e9ecef;
  --border-dk: #1f2022;
  --red: #f31515;
  --red-dk: #c20e0e;
  --red-glow: rgba(243, 21, 21, 0.12);
  --white: #ffffff;

  /* Warm editorial theme variables */
  --cream-bg: #ffffff;
  --charcoal-text: #1c1b19;
  --apricot: var(--red);
  --peach: #fdebeb;
  --warm-border: rgba(28, 27, 25, 0.08);

  /* Fonts */
  --font: "Manrope", sans-serif;
  --ff-display: "Jost", sans-serif;
  --ff-accent: "Cormorant Garamond", serif;

  /* Type Scale */
  --t-display: clamp(5.5rem, 7.5vw, 10.5rem);
  --t-h1: clamp(3.75rem, 5vw, 7.5rem);
  --t-h2: clamp(2.5rem, 4.5vw, 3.5rem);
  --t-h3: clamp(1.75rem, 2.2vw, 3rem);
  --t-h4: clamp(1.2rem, 1.4vw, 1.6rem);
  --t-body: clamp(1rem, 0.94vw, 1.125rem);
  --t-sm: 0.875rem;
  --t-xs: 0.75rem;

  /* Spacing */
  --frame: 1600px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max-w: var(--frame);

  /* Section vertical rhythm */
  --sec-xl: clamp(5.5rem, 7.5vw, 9rem);
  --sec-lg: clamp(4.5rem, 6vw, 7.5rem);
  --sec-md: clamp(2.5rem, 4vw, 4.5rem);
  --sec-sm: clamp(1.5rem, 2.5vw, 3rem);

  /* Gap tokens */
  --gap-xl: 4rem;
  --gap-lg: 3rem;
  --gap-md: 2rem;
  --gap-sm: 1.5rem;
  --gap-xs: 1rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.2s;
  --t-base: 0.3s;
  --t-slow: 0.6s;

  /* Radius scale - All squared 0px */
  --radius-tag: 0px;
  --radius-sm: 0px;
  --radius: 0px;
  --radius-lg: 0px;
  --radius-pill: 0px;
  --radius-card: 0px;

  /* Elevation scale */
  --shadow-sm: 0 1px 2px rgba(17, 17, 18, 0.04), 0 6px 16px rgba(17, 17, 18, 0.05);
  --shadow-md: 0 2px 6px rgba(17, 17, 18, 0.05), 0 16px 32px rgba(17, 17, 18, 0.07);
  --shadow-lg: 0 4px 12px rgba(17, 17, 18, 0.06), 0 28px 56px rgba(17, 17, 18, 0.1);

  /* Z-index */
  --z-nav: 100;
  --z-cur: 9999;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
}

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

ul {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  font-family: inherit;
}

::selection {
  background: var(--red);
  color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

video,
iframe,
embed,
object,
canvas {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-display) !important;
  font-weight: 600 !important;
}

h2,
.h2 {
  font-size: var(--t-h2) !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s var(--ease-out) forwards;
}

#particle-canvas,
#ribbon-canvas {
  pointer-events: none;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.container-fluid {
  width: 100%;
  padding-inline: var(--pad);
}

.sec {
  padding-block: var(--sec-lg);
}

.sec-xl {
  padding-block: var(--sec-xl);
}

.sec-sm {
  padding-block: var(--sec-md);
}

/* Typography Utilities */
.display {
  font-size: var(--t-display);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.025em;
}

.h1 {
  font-size: var(--t-h1);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.h3 {
  font-size: var(--t-h3);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.h4 {
  font-size: var(--t-h4);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0em;
}

.body {
  font-size: var(--t-body);
  line-height: 1.82;
  color: var(--muted);
}

.sm {
  font-size: var(--t-sm);
  line-height: 1.75;
  color: var(--muted);
}

.label {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Section Label (red dash + text) */
.lbl {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.lbl::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.lbl-light {
  color: rgba(255, 255, 255, 0.5);
}

.lbl-light::before {
  background: rgba(255, 255, 255, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  font-family: var(--font);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-tag);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
  transition:
    transform var(--t-fast) var(--ease-out),
    box-shadow var(--t-fast) var(--ease-out),
    background var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-102%);
  transition: transform var(--t-base) var(--ease-out);
  z-index: -1;
}

.btn:hover::after {
  transform: translateX(0);
}

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

.btn-arr {
  transition: transform var(--t-fast) var(--ease-out);
  display: inline-block;
}

.btn:hover .btn-arr {
  transform: translate(4px, -2px);
}

/* Variants */
.btn-red {
  background: var(--red);
  color: #fff;
  z-index: 1;
}

.btn-red::after {
  background: var(--red-dk);
}

.btn-red:hover {
  box-shadow: 0 10px 30px var(--red-glow);
}

.btn-dark {
  background: var(--bg-dark);
  color: #fff;
  z-index: 1;
}

.btn-dark::after {
  background: #1c1c1d;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  z-index: 1;
}

.btn-outline::after {
  background: var(--text);
}

.btn-outline:hover {
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  z-index: 1;
}

.btn-outline-white::after {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  :root {
    --sec-xl: 3.5rem;
    --sec-lg: 2.5rem;
    --sec-md: 1.75rem;
    --sec-sm: 1.25rem;

    --gap-xl: 2.5rem;
    --gap-lg: 2rem;
    --gap-md: 1.5rem;
  }

  section h2,
  .editorial-title {
    font-size: 40px !important;
    line-height: 1.1 !important;
  }

  .editorial-title.text-explode.te-visible {
    font-size: 44px !important;
  }

  .te-word {
    transform: scale(1.1) translateY(-6px);
    filter: blur(3px);
  }
}

/* Remove all decorative eyebrow lines globally */
.lbl::before,
.lbl-light::before,
.partners__eyebrow-line,
.editorial-lbl::before,
.wox__label::before,
.testi__eyebrow::before,
.cform__eyebrow::before {
  display: none !important;
}

/* Scroll Reveal Utilities (.rv, .rl, .rr, .rs, .tm) */
@keyframes rvAutoIn {
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

.rv, .rl, .rr, .rs, .tm {
  opacity: 0;
  transform: translateY(28px);
  animation: rvAutoIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.rl { transform: translateX(-28px); }
.rr { transform: translateX(28px); }
.rs { transform: scale(0.96); }

.rv.on, .rl.on, .rr.on, .rs.on, .tm.on {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger Delays */
.d1 { transition-delay: 0.08s; animation-delay: 0.08s; }
.d2 { transition-delay: 0.16s; animation-delay: 0.16s; }
.d3 { transition-delay: 0.24s; animation-delay: 0.24s; }
.d4 { transition-delay: 0.32s; animation-delay: 0.32s; }
.d5 { transition-delay: 0.40s; animation-delay: 0.40s; }

/* Global Marquee Keyframes */
@keyframes partnersMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes ft-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes cta-band-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}