/* =================================================================
   THE HEUZ CLUB: style.css
   Versão HTML/CSS/JS puros. Edite as cores em :root (logo abaixo do reset).
   ================================================================= */

/* ---------------------------------------------------------------- Fontes (auto-hospedadas) */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-variable.woff2") format("woff2-variations"),
    url("../fonts/inter-latin-variable.woff2") format("woff2");
}

/* ---------------------------------------------------------------- Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  border: 0 solid;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

ol,
ul,
menu {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background-color: transparent;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
}

img,
svg,
video {
  display: block;
  vertical-align: middle;
}

[hidden]:where(:not([hidden="until-found"])) {
  display: none !important;
}

dialog {
  color: inherit;
}


/* =================================================================
   THE HEUZ CLUB: Design tokens
   Acento: vermelho #b40001.
   ================================================================= */
:root {
  --black: #080808;
  --graphite: #121212;
  --graphite-2: #1c1c1c;
  --white: #f4f4f0;
  --mute: #a1a1a1;
  --accent: #b40001;
  /* vermelho HEUZ: configurável aqui */
  --accent-ink: #f4f4f0;
  /* texto sobre o vermelho */
  --line: rgba(244, 244, 240, 0.12);
  --line-strong: rgba(244, 244, 240, 0.24);

  --font-display: "Anton", "Archivo Black", Impact, "Arial Narrow", sans-serif;
  --font-sans: "Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1480px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 2px;
}


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

html {
  background: var(--black);
  color: var(--white);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

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

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--white);
  color: var(--black);
  padding: 10px 16px;
  font-weight: 600;
  transition: top 0.2s;
}

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

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

.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-accent {
  color: var(--accent);
}

.text-mute {
  color: var(--mute);
}

/* ================================================================= Type */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(180, 0, 1, 0.28);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
}

.section-label-num {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.section-label-rule {
  width: 48px;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
}

.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  color: var(--white);
  font-weight: 500;
}

/* ================================================================= Links & buttons */
.link-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.45s var(--ease-out), color 0.2s;
  padding-bottom: 2px;
}

.link-underline:hover,
.link-underline:focus-visible {
  background-size: 100% 1px;
}

.btn {
  --h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: var(--h);
  padding: 0 22px 0 26px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease-out), border-color 0.35s, transform 0.2s;
  white-space: nowrap;
}

.btn-sm {
  --h: 37px;
  padding: 0 14px 0 14px;
  font-size: 11.5px;
  gap: 10px;
}

.btn-lg {
  --h: 60px;
  padding: 0 26px 0 30px;
}

.btn-solid {
    background: var(--accent);
    color: #FFFFFF;
    border: 2px solid #b40001;
    border-radius: 31px;
}

.btn-solid:hover {
    color: #000;
}

.btn-solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  color: #000000 !important;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}

.btn-solid:hover::before,
.btn-solid:focus-visible::before {
  transform: translateY(0);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid var(--line-strong);
  background: rgba(8, 8, 8, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 31px;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--white);
}

.btn:active {
  transform: scale(0.98);
}

.btn-arrow {
  display: inline-flex;
  transition: transform 0.45s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn:hover .btn-arrow-down {
  transform: translateY(3px);
}

/* ================================================================= Wordmark */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.wordmark-the,
.wordmark-club {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
}

.wordmark-main {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.04em;
}

/* ================================================================= Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}

.site-header.is-open {
  background: var(--black);
}

.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-brand {
  position: relative;
  z-index: 2;
}

.header-nav {
  display: none;
}

.header-nav ul {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: rgba(244, 244, 240, 0.72);
  padding: 8px 0;
  transition: color 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.header-explore {
  display: none;
  font-size: 13px;
  color: rgba(244, 244, 240, 0.72);
}

.header-actions .btn {
  display: none;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle-bar {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}

.is-open .menu-toggle-bar:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.is-open .menu-toggle-bar:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--black);
  padding: 24px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

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

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

.mobile-menu li {
  border-bottom: 1px solid var(--line);
  animation: menuIn 0.6s var(--ease-out) both;
  animation-delay: calc(var(--i) * 50ms + 60ms);
}

.mobile-menu li a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 6.5vw, 2.2rem);
  line-height: 1.05;
}

.mobile-menu-num {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding-top: 28px;
  font-size: 14px;
  color: var(--mute);
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@media (min-width: 640px) {
  .header-actions .btn {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .header-nav {
    display: block;
  }

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

@media (min-width: 1280px) {
  .header-explore {
    display: inline;
  }
}

/* ================================================================= Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-media-inner {
  position: absolute;
  inset: -6% 0;
  will-change: transform;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.82) brightness(0.92);
  animation: heroImg 2.2s var(--ease-out) both;
}

@keyframes heroImg {
  from {
    transform: scale(1.12);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.7) 0%, rgba(8, 8, 8, 0.05) 28%, rgba(8, 8, 8, 0.35) 55%, rgba(8, 8, 8, 0.96) 88%),
    radial-gradient(120% 60% at 50% 100%, rgba(8, 8, 8, 0.6), transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
  z-index: -1;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero-grid span {
  border-left: 1px solid rgba(244, 244, 240, 0.06);
}

.hero-grid span:last-child {
  border-right: 1px solid rgba(244, 244, 240, 0.06);
}

.hero-content {
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 28px;
}

.hero-eyebrow {
  color: var(--white);
  margin-bottom: 18px;
  animation: fadeUp 0.9s var(--ease-out) both;
}

.hero-eyebrow-meta {
  color: var(--mute);
  font-weight: 500;
  letter-spacing: 0.18em;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.9rem, 13vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.005em;
  margin: 0;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero-title .line-inner {
  display: block;
  animation: lineUp 1.15s var(--ease-out) both;
}

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

@keyframes lineUp {
  from {
    transform: translateY(105%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-seq {
  animation: fadeUp 0.9s var(--ease-out) both;
}

.hero-lede {
  margin: 24px 0 0;
  max-width: 42ch;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: rgba(244, 244, 240, 0.86);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  animation: fadeUp 1s var(--ease-out) 0.9s both;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.scroll-cue-track {
  position: relative;
  width: 22px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}

.scroll-cue-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  background: var(--accent);
  border-radius: 2px;
  animation: cue 1.8s var(--ease-io) infinite;
}

@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  70% {
    transform: translateY(12px);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero-tag {
  margin: 0;
}

.hero-tag span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
}

@media (max-width: 479px) {

  .final .btn,
  .mobile-menu-foot .btn {
    width: 100%;
    justify-content: space-between;
  }

  .btn {
    max-width: 100%;
    letter-spacing: 0.12em;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero {
    justify-content: center;
  }

  .hero-media {
    left: auto;
    width: 54%;
  }

  .hero-media-shade {
    background:
      linear-gradient(90deg, var(--black) 0%, rgba(8, 8, 8, 0.55) 22%, rgba(8, 8, 8, 0) 55%),
      linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, transparent 22%, transparent 70%, rgba(8, 8, 8, 0.9) 100%);
  }

  .hero-content {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 0;
  }

  .hero-title {
    font-size: clamp(4.5rem, 7.6vw, 8.25rem);
  }

  .hero-lede {
    margin-top: 32px;
  }

  .hero-foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-inline: auto;
  }
}

/* ================================================================= Marquee */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--accent);
  color: var(--accent-ink);
  overflow: hidden;
  padding: 10px 0;
}

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

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

.marquee-group {
  display: flex;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding-right: clamp(20px, 3vw, 40px);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1;
  white-space: nowrap;
}

.marquee-item.is-outline {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--accent-ink);
}

.marquee-sep {
  flex-shrink: 0;
  color: var(--accent-ink);
}

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

/* ================================================================= Sections */
.section {
  position: relative;
  padding-block: clamp(96px, 13vw, 200px);
}

.section+.section {
  border-top: 1px solid var(--line);
}

/* Manifesto */
.manifesto-layout {
  display: grid;
  gap: clamp(48px, 6vw, 80px);
}

.manifesto-title {
  font-size: clamp(2.3rem, 5vw, 5.25rem);
}

.manifesto-body {
  display: grid;
  gap: 48px;
  align-items: end;
}

.manifesto-copy {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: rgba(244, 244, 240, 0.78);
  max-width: 34ch;
}

.manifesto-copy p {
  margin: 0 0 1.2em;
}

.manifesto-copy strong {
  color: var(--white);
  font-weight: 600;
}

.manifesto-strong {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  line-height: 1;
}

.manifesto-figure {
  margin: 0;
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 360px;
  overflow: hidden;
  background: var(--graphite);
}

.manifesto-figure-inner {
  position: absolute;
  inset: -8% 0;
}

.manifesto-figure figcaption,
.cg-b figcaption,
.cg-c figcaption,
.about-detail figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.manifesto-sign {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  letter-spacing: 0.02em;
}

.manifesto-sign-rule {
  width: 72px;
  height: 2px;
  background: var(--accent);
}

@media (min-width: 900px) {
  .manifesto-layout {
    grid-template-columns: 1.35fr 1fr;
    grid-template-areas: "head body" "sign body";
    align-items: start;
  }

  .manifesto-head {
    grid-area: head;
  }

  .manifesto-body {
    grid-area: body;
    padding-top: clamp(60px, 9vw, 140px);
  }

  .manifesto-sign {
    grid-area: sign;
    align-self: end;
  }
}

/* About */
.about {
  background: var(--graphite);
  --mask-bg: var(--graphite);
}

.about-layout {
  display: grid;
  gap: 48px;
}

.about-main {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--graphite-2);
}

.about-main-inner {
  position: absolute;
  inset: -6% 0;
}

.about-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  background: var(--black);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mute);
}

.about-caption-num {
  color: var(--accent);
  font-size: 9px;
}

.about-title {
  font-size: clamp(2.1rem, 4vw, 4.25rem);
}

.about-copy {
  margin-top: 32px;
  max-width: 46ch;
  color: rgba(244, 244, 240, 0.74);
}

.about-copy p {
  margin: 0 0 1em;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 40px 0 0;
  border-top: 1px solid var(--line-strong);
}

.about-fact {
  padding: 16px 12px 0 0;
}

.about-fact+.about-fact {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}

.about-fact dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.about-fact dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  text-transform: uppercase;
  line-height: 1;
}

.about-detail {
  display: none;
  margin: 40px 0 0;
  position: relative;
  width: min(220px, 46%);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .about-layout {
    grid-template-columns: 1.45fr 1fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
  }

  .about-main {
    aspect-ratio: 4 / 4.4;
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .about-text {
    padding-top: 24px;
  }

  .about-detail {
    display: block;
  }
}

/* Training */
.training-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.training-title {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.training-intro {
  margin: 0;
  max-width: 40ch;
  color: rgba(244, 244, 240, 0.72);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

@media (min-width: 900px) {
  .training-head {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }

  .training-head .section-label {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
}

.programs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

@media (max-width: 639px) {
  .programs {
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .programs::-webkit-scrollbar {
    display: none;
  }

  .program {
    scroll-snap-align: start;
  }
}

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

@media (min-width: 1200px) {
  .programs {
    grid-template-columns: repeat(4, 1fr);
  }

  .program:nth-child(even) {
    margin-top: 72px;
  }
}

.program-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.4;
  overflow: hidden;
  background: var(--graphite);
  outline-offset: 4px;
  cursor: default;
}

.program-media {
  position: absolute;
  inset: 0;
}

.program-img {
  transition: transform 1.1s var(--ease-out), filter 0.6s;
  filter: grayscale(0.55) contrast(1.05) brightness(0.8);
}

.program-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.1) 30%, rgba(8, 8, 8, 0.92) 92%);
  transition: opacity 0.6s;
}

.program-num {
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 244, 240, 0.7);
  transition: color 0.5s, -webkit-text-stroke-color 0.5s;
}

.program-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 20px 24px;
}

.program-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.program-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 0.95;
}

.program-text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(244, 244, 240, 0.78);
}

.program-more {
  margin: 0;
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.55s var(--ease-out), opacity 0.4s, margin 0.55s var(--ease-out);
  overflow: hidden;
}

.program-card:hover .program-img,
.program-card:focus-visible .program-img,
.program-card:active .program-img {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1.05) brightness(0.9);
}

.program-card:hover .program-num,
.program-card:focus-visible .program-num {
  color: var(--accent);
  -webkit-text-stroke-color: var(--accent);
}

.program-card:hover .program-more,
.program-card:focus-visible .program-more {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 12px;
}

@media (hover: none) {
  .program-img {
    filter: grayscale(0.15) contrast(1.05) brightness(0.85);
  }

  .program-more {
    opacity: 1;
    margin-top: 12px;
  }
}

/* Philosophy: ver bloco "WOD clock" no fim do arquivo */

/* Community */
.community {
  background: var(--graphite);
  --mask-bg: var(--graphite);
}

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

.community-title {
  font-size: clamp(2.3rem, 4.7vw, 5.25rem);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.community-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--graphite-2);
}

.cg-a {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 11;
}

.cg-inner {
  position: absolute;
  inset: -6% 0;
}

.cg-b,
.cg-c {
  aspect-ratio: 3 / 4.2;
}

.cg-quote {
  grid-column: 1 / -1;
  margin: 28px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

.cg-quote p {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.2vw, 1.95rem);
  line-height: 1.02;
}

.cg-quote footer {
  margin-top: 14px;
  font-size: 13px;
  color: var(--mute);
}

.cg-stats {
  grid-column: 1 / -1;
  color: rgba(244, 244, 240, 0.74);
  font-size: 15px;
}

.cg-stats p {
  margin: 0 0 6px;
}

.cg-stats strong {
  color: var(--white);
}

@media (min-width: 1024px) {
  .community-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
  }

  .cg-a {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
    aspect-ratio: auto;
    min-height: 640px;
  }

  .cg-b {
    grid-column: 8 / 10;
    grid-row: 1;
  }

  .cg-c {
    grid-column: 10 / 13;
    grid-row: 1;
    margin-top: 64px !important;
  }

  .cg-quote {
    grid-column: 8 / 13;
    grid-row: 2;
    align-self: end;
    margin: 0;
  }

  .cg-stats {
    grid-column: 1 / 8;
    margin-top: 12px;
  }
}

/* Gallery */
.gallery {
  padding-bottom: clamp(96px, 12vw, 180px);
}

.gallery-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.gallery-title {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.gallery-note {
  margin: 0;
  color: var(--mute);
  max-width: 40ch;
}

@media (min-width: 900px) {
  .gallery-head {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }

  .gallery-head .section-label {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
}

.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

.gi {
  position: relative;
  scroll-snap-align: start;
  aspect-ratio: 3 / 4.6;
}

.gi-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--graphite);
  overflow: hidden;
  cursor: zoom-in;
  color: inherit;
}

.gi-btn img {
  transition: transform 1.1s var(--ease-out), filter 0.6s;
  filter: saturate(0.85);
}

.gi-btn:hover img,
.gi-btn:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1);
}

.gi-btn:focus-visible {
  outline-offset: -3px;
}

.gi-index {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--white);
  mix-blend-mode: difference;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-auto-columns: 40%;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    max-width: var(--maxw);
    margin-inline: auto;
    overflow: visible;
    grid-auto-flow: dense;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-columns: auto;
    grid-auto-rows: 120px;
    gap: 14px;
  }

  .gi {
    aspect-ratio: auto;
  }

  .gi-1 {
    grid-column: 1 / 5;
    grid-row: span 5;
  }

  .gi-2 {
    grid-column: 5 / 8;
    grid-row: span 3;
  }

  .gi-3 {
    grid-column: 8 / 10;
    grid-row: span 4;
  }

  .gi-4 {
    grid-column: 10 / 13;
    grid-row: span 3;
  }

  .gi-5 {
    grid-column: 5 / 8;
    grid-row: span 4;
  }

  .gi-6 {
    grid-column: 10 / 13;
    grid-row: span 4;
  }

  .gi-7 {
    grid-column: 8 / 10;
    grid-row: span 3;
  }

  .gi-8 {
    grid-column: 1 / 4;
    grid-row: span 4;
  }

  .gi-9 {
    grid-column: 4 / 7;
    grid-row: span 3;
  }

  .gi-10 {
    grid-column: 7 / 10;
    grid-row: span 3;
  }
}

/* Lightbox */
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 8, 8, 0.96);
  color: var(--white);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.lightbox[open] {
  animation: lbIn 0.35s var(--ease-out);
}

@keyframes lbIn {
  from {
    opacity: 0;
  }
}

.lightbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 64px 16px 96px;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-height: 100%;
  animation: fadeUp 0.45s var(--ease-out);
}

.lightbox-img {
  max-height: calc(100dvh - 200px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-figure figcaption {
  max-width: 60ch;
  text-align: center;
  font-size: 13px;
  color: var(--mute);
}

.lightbox-count {
  display: block;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}

.lb-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(244, 244, 240, 0.06);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.lb-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.lb-close {
  top: 12px;
  right: 12px;
}

.lb-prev,
.lb-next {
  bottom: 24px;
}

.lb-prev {
  left: calc(50% - 64px);
}

.lb-next {
  left: calc(50% + 12px);
}

@media (min-width: 768px) {

  .lb-prev,
  .lb-next {
    top: 50%;
    bottom: auto;
    margin-top: -26px;
  }

  .lb-prev {
    left: 24px;
  }

  .lb-next {
    left: auto;
    right: 24px;
  }

  .lb-close {
    top: 24px;
    right: 24px;
  }
}

/* Coaches (pendente) */
.coaches.is-pending {
  background: repeating-linear-gradient(45deg, #111 0 12px, #141414 12px 24px);
}

.coaches-title {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
}

.pending-note {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px dashed var(--accent);
  color: var(--white);
  max-width: 64ch;
}

/* Practical */
.practical-layout {
  display: grid;
  gap: 48px;
}

.practical-title {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1.2;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: rgba(244, 244, 240, 0.7);
  font-size: 15px;
}

.info-grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(56px, 7vw, 96px);
  background: var(--line);
  border: 1px solid var(--line);
}

.info-card {
  background: var(--black);
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  min-height: 0;
}

.info-k {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.info-v {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1;
}

.info-s {
  margin: 0;
  color: rgba(244, 244, 240, 0.7);
  font-size: 15px;
}

.info-link {
  font-size: 15px;
  margin-top: 4px;
}

.info-link-big {
  transition: color 0.2s;
}

.info-link-big:hover {
  color: var(--accent);
}

.info-partners {
  display: flex;
  gap: 18px;
  margin: 4px 0 0;
}

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

@media (min-width: 1024px) {
  .info-card {
    min-height: 190px;
  }

  .practical-layout {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

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

/* Final CTA */
.final {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-block: 120px;
}

.final-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.final-media-inner {
  position: absolute;
  inset: -12% 0;
  left: 200px;
}

.final-media img {
  filter: grayscale(0.4) contrast(1.1) brightness(0.7);
}

.final-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.55) 55%, rgba(8, 8, 8, 0.3) 100%),
    linear-gradient(180deg, var(--black) 0%, transparent 18%, transparent 80%, var(--black) 100%);
}

.final-title {
  font-size: clamp(2.4rem, 5vw, 5.75rem);
  max-width: 15ch;
}

.final-copy {
  margin: 28px 0 36px;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: rgba(244, 244, 240, 0.84);
  max-width: 36ch;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
  background: var(--black);
  overflow: hidden;
}

.footer-slogan {
  margin: 0 0 56px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 7vw, 7rem);
  text-align: center;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

.footer-brand p {
  margin: 14px 0 0;
  color: var(--mute);
  max-width: 32ch;
  font-size: 15px;
}

.footer-k {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 15px;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute);
}

.footer-base p {
  margin: 0;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ================================================================= Reveal system
   Estados iniciais só existem com html.js (adicionado no <head>).
   Sem JS, ou se o controlador falhar, todo o conteúdo fica visível. */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js .reveal-line[data-reveal] {
  display: block;
  opacity: 1;
  transform: none;
  overflow: hidden;
  /* folga para acentos (Ã, Í, Ó) e cedilha não serem cortados pela máscara */
  padding-top: 0.14em;
  margin-top: -0.14em;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.reveal-line {
  display: block;
}

.reveal-line>span {
  display: inline-block;
}

.js .reveal-line[data-reveal]>span {
  transform: translate3d(0, 108%, 0);
  transition: transform 1.1s var(--ease-out);
}

.js .reveal-line[data-reveal].is-in>span {
  transform: none;
}

.js .reveal-line:nth-child(2)>span {
  transition-delay: 0.08s;
}

.js .reveal-line:nth-child(3)>span {
  transition-delay: 0.16s;
}

.js .reveal-line:nth-child(4)>span {
  transition-delay: 0.24s;
}

/* Máscara: painel cobrindo a imagem que recolhe (não usa clip-path no alvo,
   para não zerar a interseção do IntersectionObserver nem o lazy loading). */
.js [data-reveal="mask"] {
  opacity: 1;
  transform: none;
  position: relative;
}

.js [data-reveal="mask"]::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  background: var(--mask-bg, var(--black));
  transform-origin: 50% 0%;
  transition: transform 1.25s var(--ease-io);
  pointer-events: none;
}

.js [data-reveal="mask"].is-in::after {
  transform: scaleY(0);
}

.js [data-reveal="mask"] img {
  transform: scale(1.12);
  transition: transform 1.6s var(--ease-out), filter 0.6s;
}

.js [data-reveal="mask"].is-in img {
  transform: scale(1);
}

.js .gi[data-reveal="mask"].is-in .gi-btn:hover img,
.js .gi[data-reveal="mask"].is-in .gi-btn:focus-visible img {
  transform: scale(1.05);
}

.js [data-reveal="stagger"] {
  opacity: 1;
  transform: none;
}

.js [data-reveal="stagger"]>* {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
}

.js [data-reveal="stagger"].is-in>* {
  opacity: 1;
  transform: none;
}

.js [data-reveal="stagger"]>*:nth-child(2) {
  transition-delay: 0.08s;
}

.js [data-reveal="stagger"]>*:nth-child(3) {
  transition-delay: 0.16s;
}

.js [data-reveal="stagger"]>*:nth-child(4) {
  transition-delay: 0.24s;
}

.js [data-reveal="stagger"]>*:nth-child(5) {
  transition-delay: 0.32s;
}

.js .section-label[data-reveal] .section-label-rule {
  transform: scaleX(0);
  transition: transform 1s var(--ease-out) 0.2s;
}

.js .section-label[data-reveal].is-in .section-label-rule {
  transform: scaleX(1);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .marquee-track {
    animation: none !important;
  }

  .marquee {
    overflow-x: auto;
  }

  [data-parallax] {
    transform: none !important;
  }

  .js [data-reveal="mask"]::after {
    display: none;
  }

  .js [data-reveal],
  .js [data-reveal]>*,
  .js .reveal-line>span {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}


/* =================================================================
   Logos oficiais
   ================================================================= */
.header-logo {
  height: 26px;
  width: auto;
}

@media (min-width: 1024px) {
  .header-logo {
    height: 30px;
  }
}

.footer-seal {
  width: 112px;
  height: auto;
  opacity: 0.9;
}

/* =================================================================
   Hero: fotos alternando de forma discreta
   ================================================================= */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slides .hero-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: none;
  transform: scale(1.06);
  transition: opacity 1.8s var(--ease-io), transform 8s linear;
}

.hero-slides .hero-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slides .hero-img:first-child.is-active {
  animation: heroImg 2.2s var(--ease-out) both;
}

.hero-slide-meter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}

.hero-slide-num {
  color: var(--white);
}

.hero-slide-bar {
  position: relative;
  width: 56px;
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}

.hero-slide-bar i {
  position: absolute;
  inset: 0;
  background: var(--white);
  transform-origin: left;
  transform: scaleX(0);
}

.hero-slide-bar i.is-running {
  animation: slideBar var(--slide-ms, 6000ms) linear forwards;
}

@keyframes slideBar {
  to {
    transform: scaleX(1);
  }
}

.hero-seal {
  position: absolute;
  z-index: 1;
  top: calc(var(--header-h) + 18px);
  right: var(--gutter);
  width: 76px;
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  animation: sealSpin 40s linear infinite, fadeUp 1.2s var(--ease-out) 0.6s both;
}

@keyframes sealSpin {
  to {
    rotate: 360deg;
  }
}

@media (min-width: 1280px) {
  .hero-seal {
    top: auto;
    bottom: 34%;
    right: calc(54% - 62px);
    width: 124px;
    opacity: 0.95;
  }
}

/* =================================================================
   Filosofia: relógio de WOD guiado pelo scroll
   Uma aula de 60 minutos em 3 rounds. Sem JS (ou com movimento
   reduzido) a seção aparece completa e estática.
   ================================================================= */
.philosophy {
  position: relative;
  background: var(--black);
  border-top: 1px solid var(--line);
  --seg-on: var(--accent);
  --seg-off: rgba(180, 0, 1, 0.1);
  --seg-glow: rgba(180, 0, 1, 0.75);
}

.wod-stage {
  padding-block: clamp(96px, 12vw, 160px);
}

.philosophy.is-scrub {
  height: 280vh;
}

.philosophy.is-scrub .wod-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 24px) 40px;
}

.wod-layout {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.philosophy-title {
  font-size: clamp(2rem, 4vw, 3.9rem);
  max-width: 16ch;
}

.wod-intro {
  margin-top: 22px;
  max-width: 38ch;
  color: rgba(244, 244, 240, 0.7);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.wod-board {
  display: grid;
  gap: 28px;
}

.wod-clock {
  --dh: clamp(64px, 15vw, 136px);
  position: relative;
  padding: 18px 22px 20px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(180, 0, 1, 0.1), transparent 60%),
    #0c0c0c;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: inset 0 0 0 6px #070707, inset 0 0 0 7px var(--line);
}

.wod-clock-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}

.wod-clock-round b {
  color: var(--white);
  font-weight: 600;
}

.wod-digits {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--dh) * 0.1);
  padding-block: 6px;
}

.seg {
  --t: calc(var(--dh) * 0.105);
  position: relative;
  width: calc(var(--dh) * 0.54);
  height: var(--dh);
  flex: 0 0 auto;
}

.seg i {
  position: absolute;
  background: var(--seg-off);
  transition: background 0.12s, box-shadow 0.12s;
}

.seg .sa,
.seg .sg,
.seg .sd {
  left: calc(var(--t) * 0.55);
  right: calc(var(--t) * 0.55);
  height: var(--t);
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
}

.seg .sa {
  top: 0;
}

.seg .sg {
  top: calc(50% - var(--t) / 2);
}

.seg .sd {
  bottom: 0;
}

.seg .sb,
.seg .sc,
.seg .se,
.seg .sf {
  width: var(--t);
  height: calc(50% - var(--t) * 0.6);
  clip-path: polygon(50% 0, 100% 14%, 100% 86%, 50% 100%, 0 86%, 0 14%);
}

.seg .sf {
  left: 0;
  top: calc(var(--t) * 0.55);
}

.seg .sb {
  right: 0;
  top: calc(var(--t) * 0.55);
}

.seg .se {
  left: 0;
  bottom: calc(var(--t) * 0.55);
}

.seg .sc {
  right: 0;
  bottom: calc(var(--t) * 0.55);
}

.seg[data-d="0"] .sa,
.seg[data-d="0"] .sb,
.seg[data-d="0"] .sc,
.seg[data-d="0"] .sd,
.seg[data-d="0"] .se,
.seg[data-d="0"] .sf {
  background: var(--seg-on);
  box-shadow: 0 0 calc(var(--dh) * 0.12) var(--seg-glow);
}

.seg[data-d="1"] .sb,
.seg[data-d="1"] .sc {
  background: var(--seg-on);
  box-shadow: 0 0 calc(var(--dh) * 0.12) var(--seg-glow);
}

.seg[data-d="2"] .sa,
.seg[data-d="2"] .sb,
.seg[data-d="2"] .sg,
.seg[data-d="2"] .se,
.seg[data-d="2"] .sd {
  background: var(--seg-on);
  box-shadow: 0 0 calc(var(--dh) * 0.12) var(--seg-glow);
}

.seg[data-d="3"] .sa,
.seg[data-d="3"] .sb,
.seg[data-d="3"] .sg,
.seg[data-d="3"] .sc,
.seg[data-d="3"] .sd {
  background: var(--seg-on);
  box-shadow: 0 0 calc(var(--dh) * 0.12) var(--seg-glow);
}

.seg[data-d="4"] .sf,
.seg[data-d="4"] .sg,
.seg[data-d="4"] .sb,
.seg[data-d="4"] .sc {
  background: var(--seg-on);
  box-shadow: 0 0 calc(var(--dh) * 0.12) var(--seg-glow);
}

.seg[data-d="5"] .sa,
.seg[data-d="5"] .sf,
.seg[data-d="5"] .sg,
.seg[data-d="5"] .sc,
.seg[data-d="5"] .sd {
  background: var(--seg-on);
  box-shadow: 0 0 calc(var(--dh) * 0.12) var(--seg-glow);
}

.seg[data-d="6"] .sa,
.seg[data-d="6"] .sf,
.seg[data-d="6"] .sg,
.seg[data-d="6"] .se,
.seg[data-d="6"] .sc,
.seg[data-d="6"] .sd {
  background: var(--seg-on);
  box-shadow: 0 0 calc(var(--dh) * 0.12) var(--seg-glow);
}

.seg[data-d="7"] .sa,
.seg[data-d="7"] .sb,
.seg[data-d="7"] .sc {
  background: var(--seg-on);
  box-shadow: 0 0 calc(var(--dh) * 0.12) var(--seg-glow);
}

.seg[data-d="8"] .sa,
.seg[data-d="8"] .sb,
.seg[data-d="8"] .sc,
.seg[data-d="8"] .sd,
.seg[data-d="8"] .se,
.seg[data-d="8"] .sf,
.seg[data-d="8"] .sg {
  background: var(--seg-on);
  box-shadow: 0 0 calc(var(--dh) * 0.12) var(--seg-glow);
}

.seg[data-d="9"] .sa,
.seg[data-d="9"] .sb,
.seg[data-d="9"] .sc,
.seg[data-d="9"] .sd,
.seg[data-d="9"] .sf,
.seg[data-d="9"] .sg {
  background: var(--seg-on);
  box-shadow: 0 0 calc(var(--dh) * 0.12) var(--seg-glow);
}

.seg-colon {
  display: flex;
  flex-direction: column;
  gap: calc(var(--dh) * 0.28);
}

.seg-colon i {
  width: calc(var(--dh) * 0.1);
  height: calc(var(--dh) * 0.1);
  background: var(--seg-on);
  box-shadow: 0 0 calc(var(--dh) * 0.12) var(--seg-glow);
}

.is-scrub:not(.is-finished) .seg-colon i {
  animation: colonBlink 1s steps(2, start) infinite;
}

@keyframes colonBlink {
  to {
    opacity: 0.15;
  }
}

.wod-clock-bar {
  margin-top: 16px;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}

.wod-clock-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(var(--p, 1));
}

.is-finished .wod-clock {
  animation: clockDone 0.9s var(--ease-out);
}

@keyframes clockDone {
  30% {
    box-shadow: inset 0 0 0 6px #070707, inset 0 0 0 7px var(--accent), 0 0 48px rgba(180, 0, 1, 0.35);
  }
}

.wod-rounds {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.wod-round {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0 16px 18px;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.5s, color 0.5s;
}

.wod-round::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}

.wod-round-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.wod-round p {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.35;
  color: var(--white);
}

.is-scrub .wod-round {
  opacity: 0.32;
}

.is-scrub .wod-round.is-done {
  opacity: 0.6;
}

.is-scrub .wod-round.is-done .wod-round-k::after {
  content: " ✓";
  color: var(--accent);
}

.is-scrub .wod-round.is-active {
  opacity: 1;
}

.wod-round.is-active::before {
  transform: scaleY(1);
}

.wod-done {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
}

.wod-done-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.wod-done-sign {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
}

.is-scrub .wod-done {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.is-scrub.is-finished .wod-done {
  opacity: 1;
  transform: none;
}

@media (min-width: 1024px) {
  .wod-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .wod-clock {
    --dh: clamp(96px, 8.4vw, 136px);
  }
}

@media (max-width: 1023px) {
  .philosophy.is-scrub .wod-stage {
    align-items: flex-start;
  }

  .wod-intro {
    display: none;
  }

  .wod-board {
    gap: 18px;
  }

  .wod-round {
    grid-template-columns: 76px 1fr;
    padding-block: 12px;
  }
}

@media (max-width: 479px) {
  .wod-clock {
    padding: 14px 14px 16px;
  }

  .philosophy-title {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-seal {
    animation: none;
  }
}