/* ==========================================================================
   SOUTH TAMPA JIU-JITSU & MMA — DESIGN SYSTEM
   Dark / industrial / technical. Near-black surfaces, 1px hairlines,
   mono system labels, compressed uppercase headlines, one signal red.
   Sharp corners only. No border-radius. No soft shadows. No gradient buttons.
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --line: #222222;
  --line-strong: #2e2e2e;
  --text: #eaeaea;
  --text-dim: #8a8a8a;
  --text-dimmer: #575757;
  --red: #e61919;
  --red-hover: #ff2a2a;
  --green: #4af626;

  --font-display: "Archivo", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --shell: 1440px;
  --gutter: 28px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------------ reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

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

/* ------------------------------------------------------------- type utils */
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mono-dim {
  color: var(--text-dim);
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.shell-line {
  max-width: var(--shell);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

@media (max-width: 720px) {
  .shell-line {
    border-left: none;
    border-right: none;
  }
}

/* =============================================================== overlays */
.fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
}

.fx-grain {
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.fx-scan {
  opacity: 0.05;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    #000 3px,
    transparent 4px
  );
}

.fx-vignette {
  background: radial-gradient(
    ellipse 120% 90% at 50% 40%,
    transparent 55%,
    rgba(0, 0, 0, 0.42) 100%
  );
}

/* =========================================================== status strip */
.status-strip {
  position: relative;
  z-index: 1002;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.status-strip .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  gap: 18px;
}

.status-strip span {
  white-space: nowrap;
}

.status-sep {
  color: var(--text-dimmer);
}

.status-hide-m {
  display: inline;
}

@media (max-width: 880px) {
  .status-hide-m {
    display: none;
  }
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--green);
  margin-right: 7px;
  vertical-align: 1px;
  animation: pulse 1.8s ease-in-out infinite;
}

.dot-red {
  background: var(--red);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

/* ============================================================== belt nav
   The sticky nav IS a black belt: solid black band, hairline bottom edge.
   The trial CTA is the red rank bar at the right end of the belt, capped
   by thin white stripes inset from each edge. */
.belt-nav {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: rgba(10, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.belt-nav .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.9;
  white-space: nowrap;
}

.wordmark-shield {
  height: 38px;
  width: auto;
  flex-shrink: 0;
}

.wordmark em {
  font-style: normal;
  color: var(--red);
}

.wordmark small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 8px;
  letter-spacing: 0.32em;
  color: var(--text-dim);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links > li {
  position: relative;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 24px 0;
  position: relative;
  display: inline-block;
  transition: color 0.25s;
}

.nav-link .no {
  color: var(--text-dimmer);
  margin-right: 5px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* programs dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 280px;
  background: var(--bg);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s var(--ease-out), visibility 0.25s;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a .no {
  color: var(--text-dimmer);
  margin-right: 8px;
}

.dropdown a::after {
  content: "→";
  color: var(--text-dimmer);
  transition: color 0.2s, transform 0.2s;
}

.dropdown a:hover {
  color: var(--text);
  background: var(--bg-2);
  padding-left: 24px;
}

.dropdown a:hover::after {
  color: var(--red);
}

/* the rank bar — red CTA with white end-stripes */
.rank-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 14px 26px;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s;
}

.rank-bar::before,
.rank-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #ffffff;
}

.rank-bar::before {
  left: 4px;
}

.rank-bar::after {
  right: 4px;
}

.rank-bar:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.rank-bar-lg {
  font-size: 12px;
  padding: 19px 38px;
}

/* ghost secondary button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 14px 26px;
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.btn-ghost:hover {
  border-color: var(--red);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-ghost-lg {
  font-size: 12px;
  padding: 19px 38px;
}

/* CTA microcopy under buttons */
.btn-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-top: 12px;
}

/* ---------------------------------------------------------- mobile nav */
.nav-burger {
  display: none;
  border: 1px solid var(--line-strong);
  width: 46px;
  height: 46px;
  position: relative;
}

.nav-burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.2s, top 0.3s var(--ease-out);
}

.nav-burger span:nth-child(1) {
  top: 15px;
}

.nav-burger span:nth-child(2) {
  top: 22px;
}

.nav-burger span:nth-child(3) {
  top: 29px;
}

body.nav-open .nav-burger span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

body.nav-open .nav-burger span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-burger span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  top: 95px;
  z-index: 1000;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 10px var(--gutter) 40px;
  overflow-y: auto;
  display: none;
}

body.nav-open .mobile-overlay {
  display: block;
}

body.nav-open {
  overflow: hidden;
}

.mobile-overlay a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 17px 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.mobile-overlay a .no {
  color: var(--text-dimmer);
  margin-right: 12px;
}

.mobile-overlay a::after {
  content: "→";
  color: var(--text-dimmer);
}

.mobile-overlay a.sub {
  padding-left: 28px;
  color: var(--text-dim);
  font-size: 11.5px;
}

.mobile-overlay .rank-bar {
  margin-top: 28px;
  width: 100%;
  padding: 18px;
}

.mobile-overlay .rank-bar::after {
  content: "";
}

@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: block;
  }

  .belt-nav .rank-bar {
    display: none;
  }
}

/* ================================================================== hero */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.85) contrast(1.12) brightness(0.6);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.82) 0%,
      rgba(10, 10, 10, 0.55) 45%,
      rgba(10, 10, 10, 0.94) 100%
    ),
    linear-gradient(to right, rgba(10, 10, 10, 0.65), transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(44px, 5.5vw, 72px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

/* home hero — split layout, sized to keep the CTA above the fold */
.hero--home .hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(calc(100svh - 96px), 820px);
}

.hero--home .hero-bg img {
  filter: grayscale(0.9) contrast(1.1) brightness(0.5);
}

.hero--home .hero-bg::after {
  background: linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.88) 0%,
      rgba(10, 10, 10, 0.72) 50%,
      rgba(10, 10, 10, 0.96) 100%
    ),
    linear-gradient(to right, rgba(10, 10, 10, 0.72), transparent 65%);
}

.hero-split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}

.hero-split .plate {
  background: rgba(12, 12, 12, 0.72);
}

@media (max-width: 980px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-split > .plate {
    display: none;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line-strong);
  padding: 9px 16px;
  margin-bottom: clamp(20px, 2.8vw, 32px);
  background: rgba(10, 10, 10, 0.55);
}

.hero-eyebrow .dot {
  margin-right: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.86;
  font-size: clamp(2.7rem, 5.2vw, 4.9rem);
  margin-bottom: clamp(18px, 2.6vw, 28px);
}

.hero-title > span {
  display: block;
}

.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--text);
}

.hero-title .accent {
  color: var(--red);
}

.hero-sub {
  max-width: 60ch;
  color: var(--text);
  font-size: clamp(15px, 1.45vw, 17.5px);
  line-height: 1.55;
  margin-bottom: 12px;
  font-weight: 500;
}

.hero-copy {
  max-width: 58ch;
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.hero-copy strong {
  color: var(--text);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: clamp(26px, 3.5vw, 40px);
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* compact hero for inner pages */
.hero-page .hero-inner {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.hero-page .hero-title {
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
}

/* ================================================================ ticker */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track span {
  display: inline-block;
  padding: 15px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.ticker-track em {
  font-style: normal;
  color: var(--red);
  padding: 0 22px;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =============================================================== stat bar */
.stat-bar {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

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

.stat-cell {
  padding: clamp(28px, 3.4vw, 46px) clamp(20px, 2.6vw, 38px);
  border-right: 1px solid var(--line);
  position: relative;
}

.stat-cell:last-child {
  border-right: none;
}

.stat-cell .k {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.stat-cell .k sup {
  color: var(--red);
  font-size: 0.5em;
  vertical-align: super;
}

.stat-cell .l {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@media (max-width: 880px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cell:nth-child(2) {
    border-right: none;
  }

  .stat-cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

/* ============================================================== sections */
.section {
  border-bottom: 1px solid var(--line);
  position: relative;
}

.section-pad {
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(64px, 8vw, 120px);
}

.section-head {
  margin-bottom: clamp(40px, 5.5vw, 72px);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.section-index::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--red);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.88;
  font-size: clamp(2.1rem, 5.6vw, 4.6rem);
  max-width: 22ch;
}

.section-title .accent {
  color: var(--red);
}

.section-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}

.section-lede {
  max-width: 60ch;
  color: var(--text-dim);
  margin-top: 22px;
  font-size: 16px;
}

.section-lede strong {
  color: var(--text);
}

/* belt divider — 3px red rule with a short white tick at each end */
.belt-divider {
  position: relative;
  height: 3px;
  background: var(--red);
  margin: 0 auto;
  max-width: var(--shell);
}

.belt-divider::before,
.belt-divider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10px;
  background: #ffffff;
}

.belt-divider::before {
  left: 18px;
}

.belt-divider::after {
  right: 18px;
}

/* =========================================================== photo plates
   #0c0c0c blocks, 1px border, red corner brackets, mono HUD strips. */
.plate {
  position: relative;
  background: #0c0c0c;
  border: 1px solid var(--line);
}

.plate-frame {
  position: relative;
  overflow: hidden;
}

.plate-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.8) contrast(1.12) brightness(0.82);
  transition: filter 0.6s, transform 0.9s var(--ease-out);
}

.plate:hover .plate-frame img {
  filter: grayscale(0.25) contrast(1.08) brightness(0.92);
  transform: scale(1.03);
}

.plate-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.18),
    transparent 35%,
    rgba(10, 10, 10, 0.55) 100%
  );
  pointer-events: none;
}

/* red corner brackets */
.brackets::before,
.brackets::after,
.brackets .bk::before,
.brackets .bk::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--red);
  border-style: solid;
  z-index: 2;
  pointer-events: none;
}

.brackets::before {
  top: 8px;
  left: 8px;
  border-width: 2px 0 0 2px;
}

.brackets::after {
  top: 8px;
  right: 8px;
  border-width: 2px 2px 0 0;
}

.brackets .bk::before {
  bottom: 8px;
  left: 8px;
  border-width: 0 0 2px 2px;
}

.brackets .bk::after {
  bottom: 8px;
  right: 8px;
  border-width: 0 2px 2px 0;
}

/* HUD label strips */
.hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: #0c0c0c;
}

.hud-top {
  border-bottom: 1px solid var(--line);
}

.hud-bottom {
  border-top: 1px solid var(--line);
}

.hud .hud-red {
  color: var(--red);
}

/* ======================================================== bordered grids */
.grid-cells {
  display: grid;
  border: 1px solid var(--line);
  border-right: none;
  border-bottom: none;
}

.grid-cells > * {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

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

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

@media (max-width: 1080px) {
  .cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cols-4,
  .cols-3,
  .cols-2 {
    grid-template-columns: 1fr;
  }
}

/* ========================================================= program cells */
.program-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  min-height: 320px;
  transition: background 0.3s;
}

.program-cell:hover {
  background: var(--bg-2);
}

.program-cell .pc-top {
  display: flex;
  justify-content: space-between;
  padding: 18px 22px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-dimmer);
  text-transform: uppercase;
}

.program-cell .pc-img {
  margin: 18px 22px 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0c0c0c;
  border: 1px solid var(--line);
}

.program-cell .pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.1) brightness(0.78);
  transition: filter 0.5s, transform 0.8s var(--ease-out);
}

.program-cell:hover .pc-img img {
  filter: grayscale(0.2) contrast(1.05) brightness(0.9);
  transform: scale(1.04);
}

.program-cell h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  padding: 22px 22px 8px;
}

.program-cell .pc-tag {
  padding: 0 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.program-cell .pc-link {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s;
}

.program-cell .pc-link::after {
  content: "→";
  transition: transform 0.3s var(--ease-out), color 0.25s;
}

.program-cell:hover .pc-link {
  color: #ffffff;
}

.program-cell:hover .pc-link::after {
  color: var(--red);
  transform: translateX(6px);
}

/* stretched link */
.program-cell > a.stretch {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* ===================================================== split copy layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.split.rev .split-copy {
  order: 2;
}

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

  .split.rev .split-copy {
    order: 0;
  }
}

.split-copy h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.92;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  margin-bottom: 10px;
}

.split-copy h3 .accent {
  color: var(--red);
}

.split-copy .kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}

.split-copy p {
  color: var(--text-dim);
  max-width: 58ch;
  margin-bottom: 16px;
}

.split-copy p strong {
  color: var(--text);
}

.split-copy .cta-row {
  margin-top: 28px;
}

/* sticky oversized section number (philosophy-style) */
.giant-no {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 13vw, 13rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--red);
  position: sticky;
  top: 130px;
}

@media (max-width: 940px) {
  .giant-no {
    position: static;
    font-size: clamp(4rem, 16vw, 7rem);
    margin-bottom: 24px;
  }
}

/* ========================================================== mono checklist */
.checklist {
  border: 1px solid var(--line);
}

.checklist li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: attr(data-i);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--red);
  flex-shrink: 0;
}

.checklist li strong {
  color: var(--text);
}

/* green tick variant */
.checklist.ticks li::before {
  content: "+";
  color: var(--green);
  font-weight: 700;
}

/* ========================================================== testimonials */
.review-cell {
  background: var(--bg);
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.3s;
}

.review-cell:hover {
  background: var(--bg-2);
}

.review-stars {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red);
}

.review-cell blockquote {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.65;
}

.review-cell figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.review-cell .avatar {
  width: 34px;
  height: 34px;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
}

.review-cell .name {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.review-cell .src {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-top: 3px;
}

/* ============================================================== schedule */
.sched-day {
  background: var(--bg);
}

.sched-day h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.sched-day h3 .mono {
  color: var(--text-dimmer);
  font-weight: 500;
}

.sched-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.sched-row:last-child {
  border-bottom: none;
}

.sched-row .cls {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.sched-row .coach {
  display: block;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-top: 4px;
}

.sched-row .time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--red);
  white-space: nowrap;
}

/* ==================================================================== faq */
.faq {
  border: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 18px;
  text-align: left;
  padding: 22px;
  transition: background 0.25s;
}

.faq-q:hover {
  background: var(--bg-2);
}

.faq-q .no {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--red);
  flex-shrink: 0;
}

.faq-q .q {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--text);
  flex: 1;
}

.faq-q .ind {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
  transition: transform 0.3s var(--ease-out), color 0.25s;
}

.faq-item.open .faq-q .ind {
  transform: rotate(45deg);
  color: var(--red);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}

.faq-a-inner {
  padding: 0 22px 24px 50px;
  color: var(--text-dim);
  max-width: 70ch;
}

/* ===================================================== transmission form */
.tx-form {
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
}

.tx-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tx-head .file {
  color: var(--text-dimmer);
  font-weight: 500;
}

.tx-body {
  padding: 26px 20px;
  display: grid;
  gap: 22px;
}

.tx-field label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 9px;
}

.tx-field label .req {
  color: var(--red);
}

.tx-field input,
.tx-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 13px 14px;
  transition: border-color 0.25s;
}

.tx-field input:focus,
.tx-field textarea:focus {
  outline: none;
  border-color: var(--red);
}

.tx-field input::placeholder,
.tx-field textarea::placeholder {
  color: var(--text-dimmer);
}

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

.tx-submit {
  width: 100%;
}

.tx-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dimmer);
}

.tx-status {
  display: none;
  padding: 14px 20px;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.tx-form.sent .tx-status {
  display: block;
}

/* ============================================================== CTA band */
.cta-band {
  border-bottom: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ghosted crest watermark — embossed seal on the closing file */
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 80vw);
  height: min(640px, 96vw);
  background: url("/assets/img/logo-shield.png") no-repeat center / contain;
  opacity: 0.055;
  filter: grayscale(0.25);
  pointer-events: none;
}

.cta-band .section-pad {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.88;
  font-size: clamp(2.2rem, 6.5vw, 5.4rem);
  margin: 0 auto clamp(20px, 3vw, 30px);
  max-width: 18ch;
}

.cta-band h2 .accent {
  color: var(--red);
}

.cta-band h2 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}

.cta-band p {
  color: var(--text-dim);
  max-width: 56ch;
  margin: 0 auto clamp(28px, 4vw, 40px);
}

.cta-band p strong {
  color: var(--text);
}

.cta-band .hero-ctas {
  justify-content: center;
}

/* ================================================================ footer */
.footer {
  background: var(--bg);
}

.footer-mark {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  padding: clamp(48px, 7vw, 90px) 0 clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.footer-shield {
  height: clamp(84px, 11vw, 158px);
  width: auto;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .footer-shield {
    display: none;
  }
}

.footer-mark .big {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.84;
  font-size: clamp(2.6rem, 8.6vw, 8rem);
}

.footer-mark .big em {
  font-style: normal;
  color: var(--red);
}

.footer-mark .big .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.footer-col {
  padding: clamp(26px, 3vw, 40px) clamp(18px, 2.4vw, 32px);
  border-right: 1px solid var(--line);
}

.footer-col:last-child {
  border-right: none;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-bottom: 20px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-col .em {
  color: var(--text);
}

@media (max-width: 880px) {
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-col:nth-child(2) {
    border-right: none;
  }

  .footer-col:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-col {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
  }

  .footer-col:last-child {
    border-bottom: none;
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  padding: 20px 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dimmer);
}

.footer-legal a {
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-legal .rev {
  color: var(--text-dimmer);
}

/* ================================================================ gallery */
.gallery-cell {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #0c0c0c;
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.1) brightness(0.8);
  transition: filter 0.5s, transform 0.8s var(--ease-out);
}

.gallery-cell:hover img {
  filter: grayscale(0) contrast(1.05) brightness(0.95);
  transform: scale(1.05);
}

.gallery-cell .tag {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-cell:hover .tag {
  opacity: 1;
}

/* ============================================================== team grid */
.team-cell {
  background: var(--bg);
  transition: background 0.3s;
}

.team-cell:hover {
  background: var(--bg-2);
}

.team-cell .plate-frame {
  aspect-ratio: 4 / 4.6;
}

.team-cell .tc-meta {
  padding: 18px 20px 22px;
}

.team-cell h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
}

.team-cell .role {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.7;
}

/* =========================================================== legal pages */
.legal-body {
  max-width: 760px;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 42px 0 14px;
}

.legal-body h2::before {
  content: "// ";
  color: var(--red);
}

.legal-body p,
.legal-body li {
  color: var(--text-dim);
  margin-bottom: 14px;
}

.legal-body li {
  padding-left: 20px;
  position: relative;
}

.legal-body li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--red);
}

.legal-body a {
  color: var(--text);
  border-bottom: 1px solid var(--red);
}

.legal-body strong {
  color: var(--text);
}

/* =========================================================== trial modal */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-root.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.modal-root.open .modal-backdrop {
  animation: modal-fade 0.35s ease both;
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
}

.modal-root.open .modal-panel {
  animation: modal-in 0.5s var(--ease-out) both;
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-panel .tx-head {
  position: sticky;
  top: 0;
  background: var(--bg-2);
  z-index: 2;
}

.modal-shield {
  height: 24px;
  width: auto;
  flex-shrink: 0;
}

.modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}

.modal-close:hover {
  border-color: var(--red);
  color: #ffffff;
}

.modal-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.tx-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 460px) {
  .tx-row {
    grid-template-columns: 1fr;
  }
}

.tx-select {
  position: relative;
}

.tx-select::after {
  content: "\25BE";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 12px;
  pointer-events: none;
}

.tx-field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 13px 38px 13px 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.25s;
}

.tx-field select:focus {
  outline: none;
  border-color: var(--red);
}

.tx-field select:invalid {
  color: var(--text-dimmer);
}

.tx-field select option {
  color: var(--text);
  background: var(--bg);
}

body.modal-open {
  overflow: hidden;
}

/* ================================================================ motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================ misc utils */
.center {
  text-align: center;
}

.mt-0 {
  margin-top: 0 !important;
}

.contact-rows {
  border: 1px solid var(--line);
}

.contact-rows > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.contact-rows > div:last-child {
  border-bottom: none;
}

.contact-rows .k {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dimmer);
}

.contact-rows .v {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.contact-rows .v a:hover {
  color: var(--red-hover);
}

@media (max-width: 520px) {
  .contact-rows > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
