/* ============================================================
   OAKVILLE BRAZILIAN JIU-JITSU
   Editorial Dojo — Master Stylesheet
   ============================================================ */

/* ------------------------------------------------------------
   01 · TOKENS
   ------------------------------------------------------------ */
:root {
  /* Ink — dark theme */
  --ink: #0a0a0b;
  --ink-2: #111113;
  --ink-3: #17171b;
  --ink-4: #1f1f25;

  /* Bone — light foreground (text on dark) */
  --bone: #f4eee2;
  --bone-dim: #c9c3b6;
  --bone-low: #6b6860;
  --bone-quiet: #3b3832;

  /* Electric blue — primary accent */
  --blood: #0466c8;
  --blood-bright: #1a7de0;
  --blood-deep: #034a8f;

  /* Paper — light theme palette (used inside .theme-paper) */
  --paper: #f5efe3;
  --paper-2: #ece5d3;
  --paper-3: #ddd5bf;
  --paper-4: #c6bea6;
  --ink-text: #0a0a0b;
  --ink-text-dim: #4a4a52;
  --ink-text-low: #7a7872;
  --ink-text-quiet: #c0bfb9;
  --hair-on-paper: #d8d2c3;
  --hair-on-paper-bright: #b8b2a3;

  /* Rules */
  --hair: #2a2a30;
  --hair-bright: #3b3b44;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1440px;

  /* Type */
  --f-display: "Big Shoulders Display", "Archivo Black", ui-sans-serif, system-ui, sans-serif;
  --f-sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ------------------------------------------------------------
   02 · RESET
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: var(--ink);
  color: var(--bone);
}

body {
  font-family: var(--f-sans);
  font-weight: 400;
  line-height: 1.55;
  background: var(--ink);
  color: var(--bone);
  overflow-x: hidden;
  min-height: 100dvh;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}

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

::selection {
  background: var(--blood);
  color: var(--bone);
}

:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------------------------
   03 · TYPOGRAPHY
   ------------------------------------------------------------ */
.font-display {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  line-height: 0.88;
  font-weight: 800;
}

.font-display-tight {
  font-family: var(--f-display);
  letter-spacing: -0.015em;
  line-height: 0.84;
  font-weight: 800;
}

.font-mono {
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
  font-weight: 500;
}

.eyebrow-blood {
  color: var(--blood);
}

/* Emphasis — rendered as tilted accent on display headlines */
em,
.italic {
  font-style: italic;
  color: var(--blood);
  font-weight: 800;
}

/* ------------------------------------------------------------
   04 · LAYOUT HELPERS
   ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(5rem, 12vh, 10rem);
}

.section-sm {
  padding-block: clamp(3rem, 8vh, 6rem);
}

.section-lg {
  padding-block: clamp(6rem, 16vh, 14rem);
}

.rule {
  height: 1px;
  background: var(--hair);
  border: 0;
}

.rule-bone {
  background: var(--bone);
  opacity: 0.15;
}

/* Vertical section label */
.v-label {
  position: absolute;
  left: var(--gutter);
  top: clamp(5rem, 12vh, 10rem);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-low);
  z-index: 2;
}
@media (max-width: 960px) {
  .v-label {
    display: none;
  }
}

/* ------------------------------------------------------------
   05 · NOISE GRAIN
   ------------------------------------------------------------ */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.tatami-dots {
  background-image: radial-gradient(
    circle at 1px 1px,
    var(--hair) 1px,
    transparent 0
  );
  background-size: 28px 28px;
}

/* ------------------------------------------------------------
   05B · THEME — PAPER (light sections)
   ------------------------------------------------------------
   Apply .theme-paper to any <section> to flip the cascade to
   the light palette. All descendants referencing --ink / --bone
   / --hair will automatically resolve to the paper-side tokens.
*/
.theme-paper {
  background: var(--paper);
  color: var(--ink-text);

  /* Flip scoped tokens */
  --ink: var(--paper);
  --ink-2: var(--paper-2);
  --ink-3: var(--paper-3);
  --ink-4: var(--paper-4);
  --bone: var(--ink-text);
  --bone-dim: var(--ink-text-dim);
  --bone-low: var(--ink-text-low);
  --bone-quiet: var(--ink-text-quiet);
  --hair: var(--hair-on-paper);
  --hair-bright: var(--hair-on-paper-bright);
}

/* Subtle tatami texture for light sections — mirrors dark version */
.theme-paper.tatami-dots {
  background-image: radial-gradient(
    circle at 1px 1px,
    var(--hair-on-paper) 1px,
    transparent 0
  );
  background-color: var(--paper);
  background-size: 28px 28px;
}

/* A crisp accent rule drawn at the top seam of each paper section.
   Only shown when entering a paper section from a dark section. */
.theme-paper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blood);
  z-index: 3;
}
/* Consecutive paper sections read as one continuous zone */
.theme-paper + .theme-paper::before {
  display: none;
}

/* Component overrides inside paper sections that need contrast tuning */
.theme-paper .week-grid {
  background: var(--paper-3);
  border-color: var(--paper-3);
}
.theme-paper .day-col {
  background: var(--paper);
}
.theme-paper .day-col.is-today {
  background: var(--paper-2);
}
.theme-paper .class-block {
  background: var(--paper);
}
.theme-paper .btn-ghost {
  border-color: var(--ink-text);
  color: var(--ink-text);
}
.theme-paper .btn-ghost:hover {
  background: var(--ink-text);
  color: var(--paper);
}
.theme-paper .btn-ghost-dim {
  border-color: var(--hair-on-paper-bright);
  color: var(--ink-text);
}
.theme-paper .btn-ghost-dim:hover {
  border-color: var(--ink-text);
}
/* Keep the location map image dramatic — it's a photograph */
.theme-paper .location-image {
  background: #0a0a0b;
}
/* Force .location on paper to use pure paper, overriding its own --ink-2 rule */
.location.theme-paper {
  background: var(--paper);
}
/* Ensure paper sections have positioning context for the top accent rule */
.theme-paper {
  position: relative;
}

.blood-glow::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(
    ellipse 60% 50% at 50% 0%,
    rgba(4, 102, 200, 0.28),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* ------------------------------------------------------------
   06 · HEADER
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-block: 1.25rem;
  transition: background-color 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out), padding 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border-bottom-color: var(--hair);
  padding-block: 0.9rem;
}

.site-header .bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-logo img {
  width: 44px;
  height: 44px;
  filter: invert(1) brightness(1.1);
}
.header-logo-text {
  font-family: var(--f-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.header-logo-text span {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--bone-dim);
  margin-top: 0.25rem;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.header-nav a {
  position: relative;
  padding-block: 0.25rem;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--bone);
  transform-origin: right center;
  transform: scaleX(0);
  transition: transform 0.45s var(--ease-out);
}
.header-nav a:hover::after,
.header-nav a[aria-current="page"]::after {
  transform-origin: left center;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 960px) {
  .header-nav {
    display: none;
  }
  .header-actions .btn-member {
    display: none;
  }
}

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  border: 1px solid var(--hair);
  border-radius: 999px;
  transition: border-color 0.3s var(--ease-out);
}
.burger:hover {
  border-color: var(--bone);
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--bone);
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}
.burger span:nth-child(1) {
  top: 17px;
}
.burger span:nth-child(2) {
  top: 25px;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}
@media (max-width: 960px) {
  .burger {
    display: block;
  }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--ink);
  padding: 6rem var(--gutter) 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.mobile-menu-nav a {
  font-family: var(--f-display);
  font-size: clamp(2.75rem, 10vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--hair);
  padding-block: 1.1rem 0.7rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.3s var(--ease-out), padding-left 0.4s var(--ease-out);
}
.mobile-menu-nav a:hover {
  color: var(--blood);
  padding-left: 0.5rem;
}
.mobile-menu-nav a span {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--bone-dim);
}
.mobile-menu-footer {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--bone-dim);
}
.mobile-menu-footer a {
  color: var(--bone);
}
.mobile-menu-cta {
  margin-top: 2.5rem;
}

/* ------------------------------------------------------------
   07 · BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.75rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: background-color 0.4s var(--ease-out),
    color 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-blood {
  background: var(--blood);
  color: var(--bone);
}
.btn-blood:hover {
  background: var(--blood-bright);
  transform: translateY(-1px);
}

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

.btn-ghost-dim {
  border-color: var(--hair-bright);
  color: var(--bone);
}
.btn-ghost-dim:hover {
  border-color: var(--bone);
}

.btn-sm {
  padding: 0.75rem 1.25rem;
  font-size: 0.65rem;
}

.btn-arrow::after {
  content: "→";
  font-family: var(--f-sans);
  letter-spacing: 0;
  transition: transform 0.4s var(--ease-out);
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ------------------------------------------------------------
   08 · HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: clamp(2rem, 5vh, 5rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.55) contrast(1.1) saturate(0.85);
  transform: scale(1.05);
  will-change: transform;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(10, 10, 11, 0.75) 0%,
      rgba(10, 10, 11, 0.2) 35%,
      rgba(10, 10, 11, 0.6) 75%,
      rgba(10, 10, 11, 0.95) 100%
    ),
    linear-gradient(90deg, rgba(10, 10, 11, 0.7) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-bottom: clamp(2rem, 6vh, 5rem);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.hero-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blood);
  display: inline-block;
  margin-right: 0.5rem;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 14ch;
  text-transform: none;
}
.hero-headline .hl-main {
  display: block;
}
.hero-headline .hl-tag {
  display: block;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--bone-dim);
  margin-top: 0.85rem;
  max-width: 28ch;
  text-transform: uppercase;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
}
.hero-headline em {
  font-style: italic;
  color: var(--blood);
}

.hero-tagline {
  margin-top: 1.1rem !important;
  max-width: 46ch !important;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
  line-height: 1.5 !important;
  color: var(--bone-dim) !important;
  font-family: var(--f-body, 'Archivo', sans-serif) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  opacity: 1 !important;
  letter-spacing: 0 !important;
}

.hero-sub {
  margin-top: 0.85rem;
  max-width: 56ch;
  color: var(--bone-dim);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.55;
  opacity: 0.82;
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-footer {
  margin-top: clamp(3rem, 8vh, 6rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: end;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 238, 226, 0.18);
}
@media (max-width: 720px) {
  .hero-footer {
    grid-template-columns: 1fr;
  }
}

.hero-footer-left,
.hero-footer-right {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  line-height: 1.5;
}
.hero-footer-right {
  text-align: right;
}
@media (max-width: 720px) {
  .hero-footer-right {
    text-align: left;
  }
}
.hero-footer strong {
  color: var(--bone);
  font-weight: 500;
  display: block;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}
.hero-footer-center {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--bone-low);
  text-transform: uppercase;
  text-align: center;
}

.next-class {
  color: var(--bone);
}
.next-class .cd {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--bone);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: rotate(90deg) translateX(-50%);
  transform-origin: right top;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-dim);
  z-index: 2;
}
@media (max-width: 960px) {
  .scroll-hint {
    display: none;
  }
}

/* ------------------------------------------------------------
   09 · MARQUEE TICKER
   ------------------------------------------------------------ */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vh, 5rem);
  border-block: 1px solid var(--hair);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
  gap: 4rem;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.marquee-item {
  font-family: var(--f-display);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 4rem;
  white-space: nowrap;
}
.marquee-item .dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blood);
}
.text-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bone);
}

/* ------------------------------------------------------------
   10 · INTRO "THE ACADEMY"
   ------------------------------------------------------------ */
.academy {
  position: relative;
}
.academy .grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 880px) {
  .academy .grid {
    grid-template-columns: 1fr;
  }
}

.academy-text h2 {
  font-family: var(--f-display);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-top: 2rem;
  font-weight: 800;
}
.academy-text h2 em {
  font-style: italic;
  color: var(--blood);
}
.academy-text p {
  margin-top: 1.75rem;
  color: var(--bone-dim);
  font-size: 1.05rem;
  max-width: 48ch;
}
.academy-text .stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hair);
}
@media (max-width: 540px) {
  .academy-text .stats {
    grid-template-columns: 1fr;
  }
}
.stat .num {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  color: var(--bone);
}
.stat .lbl {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-top: 0.5rem;
  max-width: 18ch;
  line-height: 1.4;
}

.academy-image {
  position: relative;
  align-self: stretch;
}
.academy-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--bone);
}
.academy-image .caption {
  position: absolute;
  left: -1rem;
  bottom: -2.25rem;
  background: var(--ink);
  padding: 0.75rem 1rem;
  border-left: 2px solid var(--blood);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  max-width: 28ch;
  line-height: 1.5;
}

/* ------------------------------------------------------------
   11 · PROGRAMS SHOWCASE (home)
   ------------------------------------------------------------ */
.programs-showcase {
  position: relative;
  background: var(--ink);
}
.programs-showcase .header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: 4rem;
}
@media (max-width: 720px) {
  .programs-showcase .header {
    grid-template-columns: 1fr;
  }
}
.programs-showcase h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.programs-showcase h2 em {
  font-style: italic;
  color: var(--blood);
}
.programs-showcase .header p {
  color: var(--bone-dim);
  max-width: 30ch;
}

.program-row {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(1.25rem, 3.5vh, 2.5rem);
  border-top: 1px solid var(--hair);
  overflow: hidden;
  transition: padding 0.6s var(--ease-out);
}
.program-row:last-of-type {
  border-bottom: 1px solid var(--hair);
}
.program-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blood);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s var(--ease-out);
  z-index: 0;
  mix-blend-mode: multiply;
  opacity: 0.08;
}
.program-row:hover::before {
  transform: scaleX(1);
}
.program-row > * {
  position: relative;
  z-index: 1;
}
.program-row .num {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--bone-low);
  letter-spacing: 0.2em;
}
.program-row .name {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 8vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 800;
  transition: transform 0.7s var(--ease-out), color 0.4s ease,
    -webkit-text-stroke-color 0.4s ease;
}
.program-row:hover .name {
  transform: translateX(clamp(0.5rem, 2vw, 2rem));
  color: var(--blood);
}
.program-row .age {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
  min-width: max-content;
}
.program-row .age::after {
  content: "→";
  font-family: var(--f-sans);
  font-size: 1.5rem;
  color: var(--bone);
  transition: transform 0.5s var(--ease-out), color 0.3s ease;
}
.program-row:hover .age::after {
  transform: translateX(6px);
  color: var(--blood);
}

.program-row .thumb {
  display: none;
}
@media (min-width: 1100px) {
  .program-row .thumb {
    display: block;
    position: absolute;
    top: 50%;
    right: 20%;
    width: 320px;
    aspect-ratio: 4 / 5;
    transform: translateY(-50%) translateX(120%) rotate(6deg);
    transition: transform 0.9s var(--ease-out);
    pointer-events: none;
    z-index: 0;
    border: 1px solid var(--bone);
    overflow: hidden;
  }
  .program-row .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .program-row:hover .thumb {
    transform: translateY(-50%) translateX(0) rotate(-2deg);
  }
}

@media (max-width: 720px) {
  .program-row {
    grid-template-columns: auto 1fr;
    row-gap: 0.75rem;
  }
  .program-row .age {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }
  .program-row .age::after {
    display: none;
  }
  .program-row .name {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }
}

/* ------------------------------------------------------------
   12 · MEET LUIZ
   ------------------------------------------------------------ */
.meet {
  position: relative;
}
.meet .grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) {
  .meet .grid {
    grid-template-columns: 1fr;
  }
}
.meet blockquote {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 800;
  font-style: italic;
  max-width: 14ch;
  position: relative;
  padding-left: 1.25rem;
}
.meet blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  bottom: 0.4em;
  width: 2px;
  background: var(--blood);
}
.meet .byline {
  margin-top: 2rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.meet p {
  margin-top: 2rem;
  color: var(--bone-dim);
  max-width: 50ch;
}
.meet .cta-row {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
}
.meet-image {
  position: relative;
}
.meet-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--bone);
  filter: grayscale(0.25) contrast(1.05);
}
.meet-image .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--ink);
  padding: 0.6rem 0.9rem;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blood);
  border: 1px solid var(--blood);
}

/* ------------------------------------------------------------
   13 · SCHEDULE PREVIEW + FULL SCHEDULE GRID
   ------------------------------------------------------------ */
.schedule-preview {
  position: relative;
}
.schedule-preview .header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}
@media (max-width: 720px) {
  .schedule-preview .header {
    grid-template-columns: 1fr;
  }
}
.schedule-preview h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
@media (max-width: 960px) {
  .week-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 680px) {
  .week-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.day-col {
  background: var(--ink);
  padding: 1.25rem 1rem;
  min-height: 360px;
}
.day-col.is-today {
  background: var(--ink-2);
  box-shadow: inset 2px 0 0 var(--blood);
}
.day-col.is-closed {
  background: var(--ink);
  color: var(--bone-low);
  position: relative;
}
.day-col .day-name {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.day-col.is-today .day-name {
  color: var(--blood);
}
.day-col .classes {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.class-block {
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--hair);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  transition: all 0.3s var(--ease-out);
  background: var(--ink);
  cursor: default;
}
.class-block:hover {
  border-color: var(--blood);
}
.class-block .time {
  color: var(--bone);
  font-size: 0.7rem;
  font-weight: 500;
}
.class-block .label {
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-top: 0.2rem;
  letter-spacing: 0.1em;
  font-size: 0.58rem;
}

.class-block.dim {
  opacity: 0.18;
}
.class-block.is-active {
  border-color: var(--blood);
  background: rgba(4, 102, 200, 0.08);
}

.day-col.is-closed .closed-text {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--bone-low);
  margin-top: 2rem;
  line-height: 1.3;
}

/* Filters */
.schedule-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.filter-chip {
  padding: 0.55rem 1rem;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: all 0.3s var(--ease-out);
}
.filter-chip:hover {
  border-color: var(--bone);
  color: var(--bone);
}
.filter-chip.is-active {
  background: var(--blood);
  border-color: var(--blood);
  color: var(--bone);
}

/* Legend row */
.legend {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--hair);
}
.legend-item {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--bone-dim);
  letter-spacing: 0.08em;
}
.legend-item strong {
  color: var(--bone);
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
}

/* ------------------------------------------------------------
   14 · LOCATION
   ------------------------------------------------------------ */
.location {
  position: relative;
  background: var(--ink-2);
  border-block: 1px solid var(--hair);
}
.location .grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  min-height: 520px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .location .grid {
    grid-template-columns: 1fr;
  }
}
.location-text {
  padding: clamp(2.5rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location-text h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 800;
}
.location-text h2 em {
  font-style: italic;
  color: var(--blood);
}
.nap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.nap-item strong {
  display: block;
  font-family: var(--f-sans);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bone);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.nap-item a {
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nap-item a:hover {
  border-bottom-color: var(--blood);
}

.location-image {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  min-height: 320px;
}
.location-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) contrast(1.1);
}
.location-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 11, 0.4) 0%,
    transparent 50%,
    rgba(10, 10, 11, 0.3) 100%
  );
}
.location-image .pin {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.location-image .pin span {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-style: italic;
  color: var(--bone);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
  text-align: center;
  padding: 1.5rem 2rem;
  border: 1px solid var(--bone);
  background: rgba(10, 10, 11, 0.65);
  backdrop-filter: blur(8px);
}

/* ------------------------------------------------------------
   15 · CTA BAND
   ------------------------------------------------------------ */
.cta-band {
  position: relative;
  background: var(--blood);
  color: var(--bone);
  padding-block: clamp(4rem, 10vh, 8rem);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 50%,
    rgba(255, 255, 255, 0.12),
    transparent 70%
  );
}
.cta-band .inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 880px) {
  .cta-band .inner {
    grid-template-columns: 1fr;
  }
}
.cta-band h2 {
  font-family: var(--f-display);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.cta-band h2 em {
  font-style: italic;
  color: #0a0a0b;
}
.cta-band p {
  margin-top: 1.25rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  max-width: 42ch;
  opacity: 0.9;
}
.cta-band .btn {
  background: var(--ink);
  color: var(--bone);
  padding: 1.35rem 2.5rem;
  font-size: 0.78rem;
}
.cta-band .btn:hover {
  background: var(--bone);
  color: var(--ink);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
   16 · FOOTER
   ------------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--hair);
  padding-block: clamp(4rem, 10vh, 7rem) 2.5rem;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand img {
  width: 60px;
  filter: invert(1) brightness(1.1);
}
.footer-brand p {
  margin-top: 1.5rem;
  color: var(--bone-dim);
  font-size: 0.92rem;
  max-width: 32ch;
  line-height: 1.55;
}
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blood);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--bone-dim);
}
.footer-col a {
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.3s, border-color 0.3s;
}
.footer-col a:hover {
  color: var(--bone);
  border-bottom-color: var(--bone);
}
.footer-col .nap-line {
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-low);
}

.footer-giant {
  margin-top: 4rem;
  overflow: hidden;
  line-height: 0;
}
.footer-giant .text {
  font-family: var(--f-display);
  font-size: clamp(4rem, 20vw, 18rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--hair-bright);
  text-align: center;
  user-select: none;
}

/* ------------------------------------------------------------
   17 · INTERIOR HERO (non-home pages)
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  padding-top: 11rem;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 50% 0%,
    rgba(4, 102, 200, 0.12),
    transparent 70%
  );
  pointer-events: none;
}
.page-hero .inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}
@media (max-width: 720px) {
  .page-hero .inner {
    grid-template-columns: 1fr;
  }
}
.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 11vw, 11rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 14ch;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--blood);
}
.page-hero .sub {
  color: var(--bone-dim);
  max-width: 36ch;
  font-size: 1rem;
  text-align: right;
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .page-hero .sub {
    text-align: left;
  }
}
.breadcrumbs {
  display: flex;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-low);
  margin-bottom: 2.5rem;
}
.breadcrumbs a:hover {
  color: var(--bone);
}
.breadcrumbs span.sep::before {
  content: "/";
  color: var(--hair-bright);
}

/* ------------------------------------------------------------
   18 · ABOUT TIMELINE
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--bone);
}
.about-body h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.about-body p {
  color: var(--bone-dim);
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: 1.5rem;
}
.about-body .pullquote {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  font-style: italic;
  color: var(--bone);
  padding: 2rem 0;
  margin: 2rem 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  max-width: 24ch;
}

.timeline {
  margin-top: 5rem;
  position: relative;
}
.timeline-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  padding-block: 2rem;
  border-top: 1px solid var(--hair);
}
.timeline-row:last-child {
  border-bottom: 1px solid var(--hair);
}
.timeline-row .year {
  font-family: var(--f-display);
  font-size: 1.75rem;
  color: var(--blood);
}
.timeline-row h3 {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  font-weight: 800;
}
.timeline-row p {
  color: var(--bone-dim);
  max-width: 56ch;
}

.principles {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--hair);
}
@media (max-width: 720px) {
  .principles {
    grid-template-columns: 1fr;
  }
}
.principle .num {
  font-family: var(--f-display);
  font-size: 4.5rem;
  color: var(--blood);
  line-height: 1;
}
.principle h3 {
  font-family: var(--f-display);
  font-size: 1.75rem;
  margin: 0.75rem 0 0.5rem;
  font-weight: 800;
}
.principle p {
  color: var(--bone-dim);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
   19 · PROGRAMS HUB
   ------------------------------------------------------------ */
.programs-hub {
  display: flex;
  flex-direction: column;
}
.program-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 8vh, 6rem);
  border-top: 1px solid var(--hair);
  align-items: center;
  overflow: hidden;
}
.program-card:nth-child(even) {
  grid-template-columns: 0.9fr 1fr;
}
.program-card:nth-child(even) .program-card-text {
  order: 2;
}
.program-card:last-of-type {
  border-bottom: 1px solid var(--hair);
}
@media (max-width: 880px) {
  .program-card,
  .program-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .program-card:nth-child(even) .program-card-text {
    order: 1;
  }
}
.program-card .num {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--blood);
  letter-spacing: 0.2em;
}
.program-card h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
.program-card h2 em {
  font-style: italic;
  color: var(--blood);
}
.program-card .promise {
  color: var(--bone-dim);
  margin-bottom: 2rem;
  max-width: 44ch;
}
.program-card .age-badge {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--hair);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 1.5rem;
}
.program-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--bone);
}
.program-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter 0.6s ease;
}
.program-card:hover .program-card-image img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ------------------------------------------------------------
   20 · PROGRAM DETAIL PAGES
   ------------------------------------------------------------ */
.program-detail-hero {
  position: relative;
  padding-top: 9rem;
  padding-bottom: clamp(3rem, 8vh, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
  min-height: 75dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.program-detail-hero .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.program-detail-hero .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) contrast(1.1);
}
.program-detail-hero .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(10, 10, 11, 0.4) 0%,
      transparent 40%,
      rgba(10, 10, 11, 0.9) 100%
    );
}
.program-detail-hero .inner {
  position: relative;
  z-index: 1;
}
.program-detail-hero .num {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blood);
  margin-bottom: 1rem;
}
.program-detail-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(3rem, 10vw, 10rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 14ch;
}
.program-detail-hero h1 em {
  font-style: italic;
  color: var(--blood);
}
.program-detail-hero .sub {
  margin-top: 1.5rem;
  max-width: 48ch;
  color: var(--bone-dim);
  font-size: 1.1rem;
}
.program-detail-hero .pills {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pill {
  padding: 0.55rem 1rem;
  border: 1px solid var(--hair-bright);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(6px);
}

/* Learn grid */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
@media (max-width: 720px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }
}
.learn-item {
  background: var(--ink);
  padding: clamp(1.75rem, 4vw, 3rem);
  position: relative;
}
.learn-item .num {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--blood);
  margin-bottom: 1.5rem;
}
.learn-item h3 {
  font-family: var(--f-display);
  font-size: 1.75rem;
  line-height: 1.05;
  margin-bottom: 0.8rem;
  font-weight: 800;
}
.learn-item p {
  color: var(--bone-dim);
  font-size: 0.95rem;
  max-width: 36ch;
}

/* Class walkthrough */
.walkthrough {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 880px) {
  .walkthrough {
    grid-template-columns: 1fr;
  }
}
.walk-step img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--bone);
}
.walk-step .step-num {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blood);
  margin-top: 1.5rem;
}
.walk-step h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0.5rem 0 0.5rem;
  font-weight: 800;
}
.walk-step p {
  color: var(--bone-dim);
  font-size: 0.93rem;
}

/* Who it's for */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 720px) {
  .who-grid {
    grid-template-columns: 1fr;
  }
}
.who-grid h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-top: 2rem;
  font-weight: 800;
}
.who-list {
  display: flex;
  flex-direction: column;
}
.who-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--hair);
  color: var(--bone-dim);
  font-size: 1.02rem;
}
.who-list li:last-child {
  border-bottom: 1px solid var(--hair);
}
.who-list li::before {
  content: attr(data-num);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  color: var(--blood);
  letter-spacing: 0.18em;
  padding-top: 0.3rem;
}

/* FAQ accordion */
.faq-list {
  max-width: 920px;
}
.faq {
  border-top: 1px solid var(--hair);
}
.faq:last-of-type {
  border-bottom: 1px solid var(--hair);
}
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  transition: color 0.3s;
  font-weight: 800;
}
.faq-q:hover {
  color: var(--blood);
}
.faq-q .ico {
  width: 32px;
  height: 32px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  transition: all 0.4s var(--ease-out);
}
.faq-q .ico::before,
.faq-q .ico::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}
.faq-q .ico::before {
  width: 12px;
  height: 1.5px;
}
.faq-q .ico::after {
  width: 1.5px;
  height: 12px;
}
.faq[aria-expanded="true"] .ico {
  background: var(--blood);
  border-color: var(--blood);
}
.faq[aria-expanded="true"] .ico::after {
  transform: scaleY(0);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.faq[aria-expanded="true"] .faq-a {
  grid-template-rows: 1fr;
}
.faq-a > div {
  overflow: hidden;
}
.faq-a p {
  color: var(--bone-dim);
  padding: 0 0 1.75rem;
  max-width: 60ch;
  font-size: 1.02rem;
}

/* Related programs */
.related {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 720px) {
  .related {
    grid-template-columns: 1fr;
  }
}
.related-card {
  position: relative;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--hair);
  overflow: hidden;
  transition: border-color 0.4s;
}
.related-card:hover {
  border-color: var(--blood);
}
.related-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  transition: transform 1s var(--ease-out), filter 0.6s;
}
.related-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.75);
}
.related-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(10, 10, 11, 0.9) 100%
  );
}
.related-card .inner {
  position: absolute;
  left: 1.75rem;
  right: 1.75rem;
  bottom: 1.5rem;
  z-index: 2;
}
.related-card .inner h3 {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1;
  font-weight: 800;
}
.related-card .inner span {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* ------------------------------------------------------------
   21 · SCHEDULE PAGE ADDITIONS (grid + legends)
   ------------------------------------------------------------ */
.schedule-section h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.firsttime {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--hair);
  background: var(--ink-2);
}
@media (max-width: 720px) {
  .firsttime {
    grid-template-columns: 1fr;
  }
}
.firsttime h3 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 12ch;
}
.firsttime ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.firsttime li {
  position: relative;
  padding-left: 2.25rem;
  color: var(--bone-dim);
  font-size: 1.02rem;
  line-height: 1.5;
}
.firsttime li strong {
  color: var(--bone);
  display: inline;
  margin-right: 0.35em;
}
.firsttime li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--blood);
  font-size: 1.2rem;
  line-height: 1;
}

/* ------------------------------------------------------------
   22 · CONTACT PAGE
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field label {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair);
  padding: 0.9rem 0;
  font-size: 1rem;
  color: var(--bone);
  font-family: var(--f-sans);
  transition: border-color 0.3s;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--bone-low);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--blood);
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23c9c3b6' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.5rem;
}
.field select option {
  background: var(--ink);
  color: var(--bone);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field.hp {
  position: absolute;
  left: -9999px;
}
.form-submit {
  margin-top: 0.5rem;
}
.form-note {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-low);
  margin-top: 0.5rem;
}

.contact-info {
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--hair);
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-info .block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-info h3 {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blood);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.contact-info .big {
  font-family: var(--f-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--bone);
}
.contact-info a {
  transition: color 0.3s;
}
.contact-info a:hover {
  color: var(--blood);
}
.contact-info .hours {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--bone-dim);
}
.contact-info .hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.2rem;
}
.contact-info .hours-row strong {
  color: var(--bone);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  background: var(--ink-2);
  border: 1px solid var(--hair);
  overflow: hidden;
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) contrast(0.9) saturate(0.7);
}

/* ------------------------------------------------------------
   23 · REVEAL ANIMATIONS (IntersectionObserver-driven)
   ------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="fade"] {
  transform: none;
}
[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}
[data-reveal-delay="4"] {
  transition-delay: 0.32s;
}
[data-reveal-delay="5"] {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track,
  .hero-meta .dot {
    animation: none !important;
  }
  .hero-bg img {
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ------------------------------------------------------------
   24 · UTILITY
   ------------------------------------------------------------ */
.flex {
  display: flex;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-sm {
  gap: 0.75rem;
}
.gap-md {
  gap: 1.5rem;
}
.gap-lg {
  gap: 3rem;
}
.mt-sm {
  margin-top: 1rem;
}
.mt-md {
  margin-top: 2rem;
}
.mt-lg {
  margin-top: 4rem;
}
.mb-sm {
  margin-bottom: 1rem;
}
.mb-md {
  margin-bottom: 2rem;
}
.mb-lg {
  margin-bottom: 4rem;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.bone-dim {
  color: var(--bone-dim);
}
.blood {
  color: var(--blood);
}
.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;
}
.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hero body class ensures header starts transparent */
body.has-hero .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}

/* ============================================================
   TRIAL CLASS MODAL — paper cream + ink text + blue accent
   ============================================================ */
.trial-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  visibility: hidden;
  opacity: 0;
  transition: opacity 280ms ease, visibility 280ms;
}
.trial-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.trial-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 9, 0.72);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  cursor: pointer;
}

.trial-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  background: var(--paper);
  background-image:
    radial-gradient(circle at 12% 0%, rgba(4, 102, 200, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.015), transparent 40%);
  color: var(--ink-text);
  border: 1px solid var(--paper-4);
  border-radius: 3px;
  box-shadow:
    0 50px 120px -20px rgba(0, 0, 0, 0.55),
    0 10px 40px -10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition:
    transform 420ms cubic-bezier(0.2, 0.85, 0.2, 1) 60ms,
    opacity 280ms ease 60ms;
}
.trial-modal.is-open .trial-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Subtle paper grain on card */
.trial-modal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: multiply;
}

/* Scrollbar */
.trial-modal-card::-webkit-scrollbar {
  width: 6px;
}
.trial-modal-card::-webkit-scrollbar-track {
  background: transparent;
}
.trial-modal-card::-webkit-scrollbar-thumb {
  background: var(--paper-4);
  border-radius: 3px;
}

.trial-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--paper-4);
  color: var(--ink-text);
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 240ms ease;
  z-index: 3;
}
.trial-modal-close:hover {
  background: var(--blood);
  border-color: var(--blood);
  color: #fff;
  transform: rotate(90deg);
}
.trial-modal-close:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 3px;
}

.trial-modal-body {
  position: relative;
  padding: clamp(2rem, 4.5vw, 2.9rem) clamp(1.6rem, 4vw, 2.6rem) clamp(1.75rem, 4vw, 2.4rem);
  z-index: 2;
}

.trial-modal-header {
  margin-bottom: 1.75rem;
  padding-right: 3rem;
}
.trial-modal-header .eyebrow {
  font-family: var(--f-mono, "JetBrains Mono", monospace);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blood);
  margin-bottom: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.trial-modal-header .eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--blood);
  display: inline-block;
}
.trial-modal-header h2 {
  font-family: var(--f-display, "Big Shoulders Display", serif);
  font-size: clamp(2rem, 4.6vw, 2.85rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--ink-text);
  margin: 0 0 1rem;
}
.trial-modal-header h2 em {
  font-style: italic;
  color: var(--blood);
}
.trial-modal-intro {
  color: var(--ink-text-dim);
  font-size: 0.94rem;
  line-height: 1.55;
  max-width: 42ch;
  margin: 0;
}

/* Form */
.trial-form {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}
.trial-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
@media (max-width: 480px) {
  .trial-form-row {
    grid-template-columns: 1fr;
  }
}
.trial-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
}
.trial-form .field.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.trial-form label {
  font-family: var(--f-mono, "JetBrains Mono", monospace);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-text-low);
  font-weight: 500;
}
.trial-form input,
.trial-form select {
  appearance: none;
  -webkit-appearance: none;
  background: #fbf7ec;
  border: 1px solid var(--paper-4);
  color: var(--ink-text);
  padding: 0.9rem 1rem;
  font-family: var(--f-body, "Archivo", sans-serif);
  font-size: 0.98rem;
  border-radius: 2px;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  width: 100%;
}
.trial-form input::placeholder {
  color: var(--ink-text-quiet);
}
.trial-form input:hover,
.trial-form select:hover {
  border-color: var(--ink-text-low);
}
.trial-form input:focus,
.trial-form select:focus {
  outline: none;
  border-color: var(--blood);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(4, 102, 200, 0.18);
}

.trial-form .select-wrap {
  position: relative;
}
.trial-form .select-wrap select {
  padding-right: 2.75rem;
  cursor: pointer;
}
.trial-form .select-wrap select option {
  background: var(--paper);
  color: var(--ink-text);
}
.trial-form .select-wrap select:invalid {
  color: var(--ink-text-quiet);
}
.trial-form .select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  color: var(--ink-text-dim);
  pointer-events: none;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
}

.btn-trial-submit {
  margin-top: 0.7rem;
  width: 100%;
  justify-content: center;
  padding-block: 1.05rem;
  font-size: 0.78rem;
}

.trial-form-trust {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.35rem;
  font-family: var(--f-mono, "JetBrains Mono", monospace);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-text-low);
}
.trial-form-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.trial-form-trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--blood);
  border-radius: 50%;
  display: inline-block;
}

/* Success state */
.trial-success {
  position: relative;
  z-index: 2;
  padding: clamp(2.75rem, 6vw, 3.75rem) clamp(1.6rem, 4vw, 2.6rem);
  text-align: center;
}
.trial-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(4, 102, 200, 0.1);
  border: 1px solid rgba(4, 102, 200, 0.3);
  color: var(--blood);
  margin-bottom: 1.4rem;
}
.trial-success .eyebrow {
  font-family: var(--f-mono, "JetBrains Mono", monospace);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blood);
  margin-bottom: 0.8rem;
}
.trial-success h3 {
  font-family: var(--f-display, "Big Shoulders Display", serif);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: var(--ink-text);
  line-height: 0.95;
}
.trial-success h3 em {
  font-style: italic;
  color: var(--blood);
}
.trial-success p {
  color: var(--ink-text-dim);
  max-width: 38ch;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
  font-size: 0.96rem;
}

body.modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .trial-modal,
  .trial-modal-card,
  .trial-modal-close {
    transition: none !important;
  }
  .trial-modal-card {
    transform: none;
  }
}

/* ------------------------------------------------------------
   30 · BOOKING PAGE — calendar landing after lead form
   ------------------------------------------------------------ */

/* Page wrapper: account for fixed header + remove any hero bleed */
body.booking-body {
  background: var(--ink);
}
body.booking-body main {
  padding-top: 0;
}

/* --- Ticker marquee ---------------------------------------- */
.booking-ticker {
  position: relative;
  margin-top: 6.5rem;
  overflow: hidden;
  background: var(--blood);
  color: var(--bone);
  border-top: 1px solid var(--blood-deep);
  border-bottom: 1px solid var(--blood-deep);
  padding: 0.85rem 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.booking-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: booking-ticker 42s linear infinite;
  padding-left: 1.5rem;
}
.booking-ticker-track span {
  display: inline-block;
}
.booking-ticker-track .dot {
  font-size: 0.7em;
  opacity: 0.55;
  transform: translateY(-2px);
}
@keyframes booking-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .booking-ticker-track {
    animation: none;
  }
}

/* --- Booking hero ------------------------------------------ */
.booking-hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}
.booking-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 45% at 50% 0%,
    rgba(4, 102, 200, 0.14),
    transparent 70%
  );
  pointer-events: none;
}
.booking-hero .wrap {
  position: relative;
}

/* --- Progress rail ----------------------------------------- */
.booking-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-low);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.booking-progress-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.9rem 0.5rem 0.7rem;
  border: 1px solid var(--hair);
  border-radius: 2px;
  background: rgba(17, 17, 19, 0.6);
  transition: all 0.3s var(--ease-out);
}
.booking-progress-step .num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0;
  color: var(--bone);
  min-width: 1.6ch;
}
.booking-progress-step.is-done {
  border-color: rgba(4, 102, 200, 0.5);
  color: var(--bone-dim);
}
.booking-progress-step.is-done .num {
  color: var(--blood-bright);
  position: relative;
}
.booking-progress-step.is-done .num::after {
  content: "✓";
  margin-left: 0.35rem;
  color: var(--blood-bright);
  font-size: 0.85rem;
}
.booking-progress-step.is-active {
  border-color: var(--blood);
  background: rgba(4, 102, 200, 0.12);
  color: var(--bone);
  box-shadow: 0 0 0 1px var(--blood), 0 0 34px -8px rgba(4, 102, 200, 0.6);
}
.booking-progress-step.is-active .num {
  color: var(--blood-bright);
}
.booking-progress-line {
  flex: 0 0 clamp(1.5rem, 4vw, 3.5rem);
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(4, 102, 200, 0.5),
    var(--blood)
  );
}
@media (max-width: 560px) {
  .booking-progress {
    gap: 0.6rem;
  }
  .booking-progress-step {
    padding: 0.4rem 0.6rem;
    font-size: 0.68rem;
  }
  .booking-progress-step .num {
    font-size: 0.95rem;
  }
  .booking-progress-line {
    flex-basis: 1rem;
  }
}

/* --- Hero split grid --------------------------------------- */
.booking-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 900px) {
  .booking-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.booking-hero-copy .eyebrow {
  margin-bottom: 1.25rem;
}
.booking-hero-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 8.5vw, 8rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  max-width: 12ch;
  margin-bottom: 1.5rem;
}
.booking-hero-title em {
  font-style: italic;
  color: var(--blood);
}
.booking-hero-sub {
  color: var(--bone-dim);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  max-width: 48ch;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.booking-hero-sub strong {
  color: var(--bone);
  font-weight: 600;
}
.booking-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  list-style: none;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.booking-hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.booking-hero-trust li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blood);
  transform: rotate(45deg);
}

/* --- Massive step stack (right column) --------------------- */
.booking-step-stack {
  justify-self: end;
  text-align: right;
  font-family: var(--f-display);
  line-height: 0.82;
  color: var(--bone);
  user-select: none;
}
@media (max-width: 900px) {
  .booking-step-stack {
    justify-self: start;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
  }
}
.booking-step-label {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-low);
  margin-bottom: 0.7rem;
}
@media (max-width: 900px) {
  .booking-step-label {
    margin-bottom: 0;
    order: 1;
  }
}
.booking-step-num {
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 13rem);
  letter-spacing: -0.05em;
  color: var(--blood);
  line-height: 0.82;
}
.booking-step-num-dim {
  color: var(--bone);
  opacity: 0.18;
}
@media (max-width: 900px) {
  .booking-step-num {
    font-size: clamp(3.5rem, 14vw, 6rem);
  }
}
.booking-step-divider {
  height: 1px;
  width: 100%;
  max-width: 10rem;
  margin-left: auto;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  background: var(--bone);
  opacity: 0.35;
}
@media (max-width: 900px) {
  .booking-step-divider {
    display: none;
  }
}
.booking-step-caption {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-low);
  margin-top: 0.75rem;
}
@media (max-width: 900px) {
  .booking-step-caption {
    display: none;
  }
}

/* --- Calendar switcher chips ------------------------------- */
.booking-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 760px) {
  .booking-chips {
    grid-template-columns: repeat(2, 1fr);
  }
}
.booking-chip {
  position: relative;
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 1rem 1.15rem 1.1rem;
  background: var(--ink-2);
  border: 1px solid var(--hair);
  color: var(--bone-dim);
  text-align: left;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  font-family: var(--f-sans);
  overflow: hidden;
}
.booking-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 102, 200, 0.22) 0%,
    rgba(4, 102, 200, 0) 70%
  );
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
}
.booking-chip:hover {
  border-color: var(--hair-bright);
  color: var(--bone);
  transform: translateY(-1px);
}
.booking-chip:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 2px;
}
.booking-chip .chip-num {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--bone-low);
  margin-bottom: 0.35rem;
}
.booking-chip .chip-label {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.booking-chip .chip-sub {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-low);
  margin-top: 0.35rem;
}
.booking-chip.is-active {
  background: var(--ink-3);
  border-color: var(--blood);
  color: var(--bone);
  box-shadow: 0 0 0 1px var(--blood), 0 18px 40px -22px rgba(4, 102, 200, 0.65);
}
.booking-chip.is-active::before {
  opacity: 1;
}
.booking-chip.is-active .chip-num,
.booking-chip.is-active .chip-sub {
  color: var(--blood-bright);
}
.booking-chip.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blood);
}

/* --- Calendar frame ---------------------------------------- */
.booking-cal-frame {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--hair-bright);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}
.booking-cal-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--blood) 0%,
    var(--blood-bright) 40%,
    var(--blood) 100%
  );
  z-index: 2;
}
.booking-cal-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--hair);
  background: rgba(10, 10, 11, 0.6);
}
.booking-cal-frame-header .eyebrow {
  margin: 0;
  color: var(--blood-bright);
}
.booking-cal-frame-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  letter-spacing: -0.01em;
  color: var(--bone);
}
.booking-cal-stage {
  position: relative;
  display: grid;
  min-height: clamp(540px, 70vh, 760px);
  background: var(--ink);
}
/* All 4 calendar slots share the same grid cell (stack on top of each other).
   Only the .is-active one is visible — but the others still occupy layout so
   their iframes can load and auto-size via postMessage on initial page load. */
.booking-cal {
  grid-area: 1 / 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.booking-cal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
/* Make GHL iframes fill the stage naturally */
.booking-cal iframe {
  width: 100% !important;
  min-height: clamp(540px, 70vh, 760px) !important;
  border: 0 !important;
  display: block;
}

/* --- Calendar placeholder (shown until GHL embeds pasted) -- */
.booking-cal-placeholder {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.015) 0 14px,
      transparent 14px 28px
    ),
    var(--ink-3);
  color: var(--bone-dim);
}
.booking-cal-placeholder .eyebrow {
  color: var(--blood-bright);
  margin-bottom: 0.75rem;
}
.booking-cal-placeholder h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-bottom: 1rem;
}
.booking-cal-placeholder p {
  max-width: 52ch;
  line-height: 1.6;
  font-size: 0.95rem;
}
.booking-cal-placeholder code {
  font-family: var(--f-mono);
  font-size: 0.82em;
  padding: 0.1em 0.45em;
  background: rgba(4, 102, 200, 0.18);
  color: var(--blood-bright);
  border-radius: 2px;
}
.booking-cal-placeholder-mark {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--bone-low);
  border: 1px solid var(--hair);
  padding: 0.35rem 0.6rem;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.3);
}

/* --- "What to expect" section ------------------------------- */
.booking-expect {
  border-top: 1px solid var(--hair);
  background: var(--ink-2);
}
.booking-expect-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}
.booking-expect-header h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0;
}
.booking-expect-header h2 em {
  font-style: italic;
  color: var(--blood);
}
.booking-expect-header .eyebrow {
  margin-bottom: 0.9rem;
}
.booking-expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .booking-expect-grid {
    grid-template-columns: 1fr;
  }
}
.booking-expect-card {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--ink);
  border: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.booking-expect-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--blood);
  transition: width 0.4s var(--ease-out);
}
.booking-expect-card:hover {
  border-color: var(--hair-bright);
  transform: translateY(-2px);
}
.booking-expect-card:hover::before {
  width: 100%;
}
.booking-expect-num {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--bone-low);
}
.booking-expect-card h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.booking-expect-card p {
  color: var(--bone-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}
.booking-expect-foot {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hair);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-low);
}

/* --- Details strip ------------------------------------------ */
.booking-details {
  border-top: 1px solid var(--hair);
}
.booking-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 780px) {
  .booking-details-grid {
    grid-template-columns: 1fr;
  }
}
.booking-details-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--hair);
}
@media (min-width: 781px) {
  .booking-details-item + .booking-details-item {
    padding-left: 2rem;
    border-left: 1px solid var(--hair);
  }
}
.booking-details-item .eyebrow {
  margin-bottom: 0.6rem;
}
.booking-details-lg {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
  color: var(--bone);
  margin-bottom: 0.85rem;
}
.booking-details-link {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--blood-bright);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-out);
}
.booking-details-link:hover {
  border-bottom-color: var(--blood-bright);
}
