/* ============================================================
   FORGE ATHLETICS — brutal performance
   black #0a0a0a / volt #d8ff3e / red #e5261f (sparingly)
   ============================================================ */

:root {
  --black: #0a0a0a;
  --panel: #101010;
  --rule: #262626;
  --volt: #d8ff3e;
  --red: #e5261f;
  --paper: #f4f4ef;
  --grey: #9a9a92;
  --display: "Anton", "Arial Narrow", sans-serif;
  --condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  background: var(--black);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--volt); color: var(--black); }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* SVG currentColor helpers */
.tx-volt { color: var(--volt); }
.tx-grey { color: #3a3a34; }
.tx-white { color: #e8e8e0; }
.tx-black { color: var(--black); }

/* ---------- focus / a11y ---------- */
:focus-visible {
  outline: 3px solid var(--volt);
  outline-offset: 3px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--volt); color: var(--black);
  font-family: var(--condensed); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 10px 18px; text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 14px 28px;
  border: 2px solid var(--volt);
  transition: none; /* aggressive: instant inversion */
}
.btn-volt { background: var(--volt); color: var(--black); }
.btn-volt:hover { background: var(--black); color: var(--volt); }
.btn-line { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-line:hover { background: var(--paper); color: var(--black); }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 14px var(--pad);
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--paper); text-decoration: none;
}
.brand-mark { width: 26px; height: 26px; color: var(--volt); flex: none; }
.brand-word {
  font-family: var(--condensed); font-weight: 700; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
.brand-word em { font-style: normal; color: var(--volt); margin-left: 6px; font-weight: 500; }

.head-nav { display: flex; gap: clamp(14px, 2.4vw, 32px); margin-left: auto; }
.head-nav a {
  font-family: var(--condensed); font-weight: 600; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--paper); text-decoration: none;
  padding: 4px 2px;
  box-shadow: inset 0 0 0 0 var(--volt);
  border-bottom: 3px solid transparent;
}
.head-nav a:hover { border-bottom-color: var(--volt); color: var(--volt); }
.head-cta { padding: 10px 20px; font-size: 0.95rem; }

.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px; height: 40px;
  background: none; border: 2px solid var(--volt);
  cursor: pointer; padding: 8px 9px;
  flex-direction: column; justify-content: space-between;
}
.menu-btn span { display: block; height: 3px; background: var(--volt); }
.menu-btn[aria-expanded="true"] { background: var(--volt); }
.menu-btn[aria-expanded="true"] span { background: var(--black); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--black);
  padding: 110px var(--pad) 40px;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a {
  font-family: var(--display);
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  text-transform: uppercase;
  color: var(--paper); text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.mobile-menu a:hover { color: var(--volt); }
.mobile-menu .mm-cta { color: var(--volt); }

/* ---------- shared section chrome ---------- */
.section { padding: clamp(90px, 12vw, 160px) var(--pad); position: relative; }
.bleed { overflow: clip; } /* contain all diagonals */

.sec-head { position: relative; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head-tight { margin-bottom: clamp(24px, 4vw, 48px); }
.sec-num {
  position: absolute;
  top: -0.45em; left: -0.06em;
  font-family: var(--display);
  font-size: clamp(6rem, 16vw, 14rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #2e2e2a;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.sec-kicker {
  position: relative; z-index: 1;
  font-family: var(--condensed); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--volt);
  margin-bottom: 12px;
}
.sec-kicker::before { content: "// "; color: var(--red); }
.sec-h {
  position: relative; z-index: 1;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ---------- graphic panels (photo stand-ins) ---------- */
.gpanel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.gp-fill { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gp-num {
  position: absolute; right: 16px; top: 0;
  font-family: var(--display);
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 1.1;
  color: var(--volt);
  user-select: none;
}
.gp-num-outline { color: transparent; -webkit-text-stroke: 2px var(--volt); }
.gp-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--condensed); font-weight: 600; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  padding: 8px 14px;
  border-top: 1px solid var(--rule); border-right: 1px solid var(--rule);
}
.gp-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 12px;
  background: rgba(10, 10, 10, 0.88);
  border-top: 1px solid var(--rule);
  color: var(--paper);
  font-family: var(--condensed); font-weight: 600; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 10px 14px;
}
.gp-cap-dark { background: var(--volt); color: var(--black); border-top-color: var(--black); }
.cap-no {
  flex: none;
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  background: var(--volt); color: var(--black);
  font-weight: 700;
}
.gp-cap-dark .cap-no { background: var(--black); color: var(--volt); }

.svg-num {
  font-family: var(--display);
  font-size: 130px;
  fill: #0a0a0a;
}
.svg-num-sm { font-size: 56px; letter-spacing: 4px; }

/* ---------- photography (delivered shots) ---------- */
.photo-panel picture { position: absolute; inset: 0; display: block; }
.gp-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  /* pull photos toward the mono black/volt system; keep captions legible */
  filter: saturate(0.8) contrast(1.08) brightness(0.94);
}
.photo-panel::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0) 42%),
    rgba(216, 255, 62, 0.04); /* whisper of volt over every shot */
  pointer-events: none;
}
.photo-panel .gp-num,
.photo-panel .gp-tag,
.photo-panel .gp-cap { z-index: 2; }
.hero-panel .gp-photo { object-position: 50% 30%; }
.hero-panel.photo-panel::before {
  /* echo the hero slash inside the photo panel */
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 0 76%, var(--volt) 76% 76.9%, transparent 76.9%);
  pointer-events: none;
}
.m-b .gp-photo { object-position: 50% 88%; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px var(--pad) 0;
  border-bottom: 1px solid var(--rule);
}
.hero-slash {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg,
      transparent 0 55.5%,
      var(--volt) 55.5% 56.5%,
      transparent 56.5% 62%,
      var(--red) 62% 62.4%,
      transparent 62.4%);
  opacity: 0.85;
  pointer-events: none;
}
.hero-ghost {
  position: absolute;
  left: -0.04em;
  bottom: 8vh;
  font-family: var(--display);
  font-size: clamp(8rem, 24vw, 22rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #26261f;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  flex: 1;
}
.eyebrow {
  font-family: var(--condensed); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--paper);
  margin-bottom: clamp(14px, 2vw, 24px);
}
.eyebrow .tick { color: var(--red); }
.hero-h {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4.4rem, 13.5vw, 12.5rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.volt-word { color: var(--volt); }
.hero-sub {
  max-width: 34em;
  margin-top: clamp(18px, 2.5vw, 30px);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--paper);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 3.5vw, 44px); }

.hero-panel {
  aspect-ratio: 600 / 760;
  width: 100%;
  max-width: 430px;
  justify-self: end;
  transform: none;
}
.scroll-cue {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  margin: clamp(24px, 4vh, 48px) 0 22px;
  color: var(--grey); text-decoration: none;
  font-family: var(--condensed); font-weight: 600; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.3em;
}
.scroll-cue svg { width: 14px; height: 34px; }
.scroll-cue:hover { color: var(--volt); }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue svg { animation: cue 1.8s ease-in-out infinite; }
  @keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
}

/* ticker */
.ticker {
  position: relative;
  margin: 0 calc(-1 * var(--pad));
  border-top: 1px solid var(--rule);
  background: var(--volt);
  overflow: clip;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  text-transform: uppercase;
  color: var(--black);
  padding: 10px 0;
}
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: tick 28s linear infinite; }
  @keyframes tick { to { transform: translateX(-50%); } }
}

/* ---------- ETHOS ---------- */
.ethos { border-bottom: 1px solid var(--rule); }
.ethos-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.lede {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--paper);
}
.ethos-copy p + p { margin-top: 1.2em; }
.ethos-points {
  list-style: none;
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--rule);
}
.ethos-points li {
  padding: 16px 0 16px 26px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  color: var(--grey);
}
.ethos-points li::before {
  content: "";
  position: absolute; left: 0; top: 24px;
  width: 12px; height: 12px;
  background: var(--volt);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.ethos-points strong { color: var(--paper); font-weight: 600; }
.ethos-panel { aspect-ratio: 480 / 640; max-width: 460px; width: 100%; justify-self: end; }

/* ---------- PROGRAMS ---------- */
.programs {
  background:
    linear-gradient(100deg, transparent 0 78%, rgba(216, 255, 62, 0.05) 78%),
    var(--black);
  border-bottom: 1px solid var(--rule);
}
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.prog-card {
  position: relative;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--black);
}
.prog-index {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--red);
  letter-spacing: 0.1em;
}
.prog-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  text-transform: uppercase;
  line-height: 1;
}
.prog-who { color: var(--grey); font-size: 0.98rem; }
.prog-card ul { list-style: none; margin-top: auto; }
.prog-card li {
  font-family: var(--condensed);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  padding: 9px 0;
  border-top: 1px solid var(--rule);
  color: var(--paper);
}
.prog-card li::before { content: "— "; color: var(--volt); }
.prog-link {
  font-family: var(--condensed); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--volt); text-decoration: none;
  border-bottom: 3px solid transparent;
  align-self: flex-start;
}
.prog-link:hover { border-bottom-color: var(--volt); }

/* instant inversion on hover */
.prog-card:hover { background: var(--volt); }
.prog-card:hover h3, .prog-card:hover li, .prog-card:hover .prog-who { color: var(--black); }
.prog-card:hover li { border-top-color: rgba(10, 10, 10, 0.35); }
.prog-card:hover li::before { color: var(--black); }
.prog-card:hover .prog-index { color: var(--red); }
.prog-card:hover .prog-link { color: var(--black); border-bottom-color: var(--black); }

.prog-card-volt { background: var(--panel); }
.prog-card-volt h3 { color: var(--volt); }
.prog-card-volt:hover h3 { color: var(--black); }

/* filler CTA tile — fills the sixth grid cell */
.prog-cta { background: var(--volt); justify-content: flex-start; }
.prog-cta h3, .prog-cta .prog-who { color: var(--black); }
.prog-cta:hover { background: var(--volt); } /* stays volt; card is already inverted */
.prog-cta:hover h3, .prog-cta:hover .prog-who { color: var(--black); }
.prog-index-dark, .prog-cta:hover .prog-index-dark { color: var(--red); }
.btn-dark {
  background: var(--black); color: var(--volt); border-color: var(--black);
  margin-top: auto; align-self: flex-start;
}
.btn-dark:hover { background: transparent; color: var(--black); }
.prog-cta:focus-within { outline: 3px solid var(--paper); }

/* ---------- FLOOR / mosaic ---------- */
.floor { border-bottom: 1px solid var(--rule); }
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.mosaic-item { margin: 0; }
.m-a { grid-column: span 7; aspect-ratio: 760 / 480; }
.m-b { grid-column: span 5; aspect-ratio: 480 / 480; }
.m-c { grid-column: span 4; aspect-ratio: 480 / 480; }
.m-d { grid-column: span 8; aspect-ratio: 760 / 480; }
.m-e { grid-column: span 12; aspect-ratio: 1240 / 420; }
.m-e .gp-fill { }

/* ---------- VISIT ---------- */
.visit {
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.visit-slash {
  position: absolute; inset: 0;
  background: linear-gradient(295deg,
    transparent 0 84%,
    var(--volt) 84% 84.5%,
    transparent 84.5% 90%,
    rgba(216, 255, 62, 0.06) 90%);
  pointer-events: none;
}
.visit-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.visit-copy p + p { margin-top: 1.1em; }
.visit-mail {
  display: inline-block;
  margin-top: clamp(24px, 3.5vw, 40px);
  font-family: var(--display);
  font-size: clamp(1.25rem, 3.1vw, 2.6rem);
  text-transform: uppercase;
  color: var(--black);
  background: var(--volt);
  text-decoration: none;
  padding: 12px 20px;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.15;
}
.visit-mail:hover { background: var(--paper); }

.hours {
  border: 1px solid var(--rule);
  background: var(--panel);
  padding: clamp(20px, 2.6vw, 34px);
}
.hours-h {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 18px;
}
.hours-grid { display: block; }
.hours-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}
.hours-row dt {
  font-family: var(--condensed); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--grey);
}
.hours-row dd {
  font-family: var(--condensed); font-weight: 700; font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.hours-note dd { color: var(--volt); }

/* ---------- FOOTER ---------- */
.site-foot { padding: clamp(40px, 6vw, 70px) var(--pad) 28px; }
.foot-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--rule);
}
.foot-nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 34px); }
.foot-nav a {
  font-family: var(--condensed); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--paper); text-decoration: none;
  border-bottom: 3px solid transparent;
}
.foot-nav a:hover { color: var(--volt); border-bottom-color: var(--volt); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 0.88rem;
  color: var(--grey);
}
.foot-credit a { color: var(--volt); text-decoration: none; border-bottom: 2px solid transparent; }
.foot-credit a:hover { border-bottom-color: var(--volt); }

/* ---------- reveal animations (IntersectionObserver) ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  [data-reveal].in { opacity: 1; transform: none; }
  .prog-card:nth-child(2)[data-reveal] { transition-delay: 0.08s; }
  .prog-card:nth-child(3)[data-reveal] { transition-delay: 0.16s; }
  .prog-card:nth-child(4)[data-reveal] { transition-delay: 0.08s; }
  .prog-card:nth-child(5)[data-reveal] { transition-delay: 0.16s; }
  .mosaic-item:nth-child(2)[data-reveal] { transition-delay: 0.08s; }
  .mosaic-item:nth-child(4)[data-reveal] { transition-delay: 0.08s; }
}
.no-io [data-reveal] { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
}

@media (max-width: 860px) {
  .head-nav, .head-cta { display: none; }
  .menu-btn { display: flex; }

  .hero { padding-top: 108px; }
  .hero-slash {
    background:
      linear-gradient(115deg,
        transparent 0 74%,
        var(--volt) 74% 75%,
        transparent 75% 81%,
        var(--red) 81% 81.5%,
        transparent 81.5%);
  }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-panel { max-width: 420px; justify-self: start; aspect-ratio: 600 / 520; }
  .hero-ghost { bottom: 4vh; font-size: clamp(7rem, 26vw, 12rem); }

  .ethos-grid, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .ethos-panel { justify-self: start; }

  .m-a, .m-b, .m-c, .m-d, .m-e { grid-column: span 12; }
  .m-b, .m-c { aspect-ratio: 480 / 400; }
  .m-e { aspect-ratio: 760 / 480; }
}

@media (max-width: 520px) {
  .prog-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-h { font-size: clamp(4rem, 24vw, 6.5rem); }
  .gp-num { font-size: 4.2rem; right: 10px; }
  .hours-row { flex-direction: row; }
  .btn { width: 100%; text-align: center; }
  .hero-ctas { flex-direction: column; }
  .foot-top { flex-direction: column; align-items: flex-start; }
}
