/* Fight Mechanix: fight night under gym lights. Near black ground, warm white ink, brand orange. Coach marks are drawn in white with orange rings. */

@font-face { font-family: "Big Shoulders Display"; src: url("/assets/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("/assets/fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ground: #0d0e10;
  --raised: #15171a;
  --raised-2: #1c1f23;
  --line: rgba(244, 240, 232, .12);
  --muted: #8f949a;
  --ink: #f4f0e8;
  --ink-muted: #c9c4ba;
  --accent: #ff6a1a;
  --accent-ink: #141414;
  --display: "Big Shoulders Display", "Barlow Condensed", Impact, sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow { font-family: var(--label); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.eyebrow i { font-style: normal; color: var(--muted); margin: 0 .35em; }
.section-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .92; letter-spacing: .005em; font-size: clamp(2.6rem, 6.4vw, 5.6rem); margin: 0 0 1.2rem; }
.section-title span { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.4rem; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-family: var(--label); font-weight: 700; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.btn:hover { background: #ff8340; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(244, 240, 232, .55); }
.btn--ghost:hover { background: rgba(244, 240, 232, .1); }
.btn--small { min-height: 40px; padding: .45rem .9rem; font-size: .95rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); background: linear-gradient(to bottom, rgba(13, 14, 16, .92), rgba(13, 14, 16, .7)); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__word { font-family: var(--display); font-weight: 900; font-size: 1.45rem; letter-spacing: .03em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { font-family: var(--label); font-weight: 600; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink-muted); }
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
.nav-toggle { display: none; }

/* HERO: a band showing one fight photo whole, head to waist, in three planes (the cage at the back, FIGHT MECHANIX in the middle, the two fighters in front). The photo keeps its own shape and fades into the ground at the sides; copy sits in a band underneath. */
.hero { position: relative; }
.hero__stage { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100svh; min-height: 680px; padding-top: var(--header-h); overflow: hidden; background: var(--ground); }
.hero__panel { position: relative; margin: 0; overflow: hidden; clip-path: inset(0 0 2px 0); container-type: size; }
.hero__panel::after { content: ""; position: absolute; inset: 0 0 -2px; z-index: 4; pointer-events: none; background: linear-gradient(to top, var(--ground) 0, rgba(13, 14, 16, 0) 16%); }
.hero__frame { position: absolute; top: 0; bottom: 0; left: 50%; aspect-ratio: 1400 / 775; transform: translateX(-50%); }
.hero__scene { position: absolute; inset: 0; transform-origin: 45% 45%; will-change: transform; }
.hero__plate, .hero__plate img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__plate img { object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.hero__plate--front { z-index: 3; }
.hero__word { position: absolute; z-index: 2; left: 50%; top: 3%; margin: 0; white-space: nowrap; pointer-events: none; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .78; letter-spacing: -.005em; font-size: 46cqh; color: var(--ink); transform: translateX(-50vw); }
.hero__word > span { display: inline-block; padding-left: var(--gutter); will-change: transform; }
.hero__w { display: inline-block; will-change: transform; }
.hero__copy { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 72px); align-items: end; padding: clamp(18px, 3vh, 32px) var(--gutter) clamp(28px, 5vh, 56px); max-width: 1440px; }
.hero__copy .eyebrow { margin-bottom: .7rem; }
.hero__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; font-size: clamp(2.8rem, 5.2vw, 5.4rem); margin: 0; text-wrap: balance; }
.hero__title span { color: var(--accent); }
.hero__lede { margin: 0 0 1.2rem; color: var(--ink-muted); font-size: clamp(1.02rem, 1.2vw, 1.12rem); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__fine { margin: .9rem 0 0; font-size: .92rem; color: var(--muted); }
.hero__after { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(28px, 5vh, 56px); margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .95; font-size: clamp(2.2rem, 4.4vw, 4.2rem); display: grid; gap: .1em; }
.hero__after span:last-child { color: var(--accent); font-size: .55em; font-family: var(--label); letter-spacing: .08em; }
html:not(.motion-on) .hero__after { display: none; }

/* HOW WE TEACH: three principles in order, read left to right */
.breakdown__head { max-width: 48rem; margin-bottom: clamp(32px, 6vh, 64px); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); counter-reset: none; }
.principles li { position: relative; padding: clamp(22px, 2.6vw, 36px) clamp(20px, 2.2vw, 30px) clamp(24px, 2.8vw, 40px); background: var(--raised); border-top: 3px solid var(--accent); }
.principles__num { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 8vw, 7rem); line-height: .8; color: var(--accent); margin-bottom: 1.2rem; }
.principles h3 { margin: 0 0 .5rem; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: .95; }
.principles p { margin: 0; color: var(--ink-muted); }
/* Coach marks, still used by the program page heroes */
.callouts { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; }
.callout__ring { fill: rgba(255, 106, 26, .16); stroke: var(--accent); stroke-width: 4; }
.callout__line { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.callout__label { fill: var(--ink); font-family: var(--label); font-weight: 700; font-size: 40px; letter-spacing: 4px; paint-order: stroke; stroke: rgba(8, 9, 10, .85); stroke-width: 8px; }

/* MEMBERSHIP */
.membership { position: relative; padding: clamp(80px, 14vh, 160px) var(--gutter); background: var(--raised); border-top: 1px solid var(--line); }
.membership__inner { max-width: 1100px; margin: 0 auto; }
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin: 1rem 0 1.6rem; padding: clamp(20px, 3vw, 40px); border: 1px solid var(--line); border-top: 3px solid var(--accent); background: rgba(8, 9, 10, .55); }
.spec__amount { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(4.2rem, 10vw, 8rem); line-height: .85; color: var(--accent); }
.spec__unit { display: block; margin-top: .6rem; font-family: var(--label); font-weight: 700; font-size: 1.2rem; letter-spacing: .1em; text-transform: uppercase; }
.spec__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .9rem; }
.spec__list li { position: relative; padding-left: 1.6rem; }
.spec__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: 3px; background: var(--accent); }
.membership__note { color: var(--muted); margin: 0 0 1.6rem; }

/* FOOTER */
.site-footer { padding: 56px var(--gutter) 72px; background: #08090a; border-top: 1px solid rgba(255,255,255,.06); }
.site-footer__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.site-footer p { margin: .15rem 0; color: var(--ink-muted); }
.site-footer__name { font-family: var(--display); font-weight: 900; font-size: 1.8rem; text-transform: uppercase; color: var(--ink) !important; }
.site-footer__small { font-size: .92rem; color: var(--muted) !important; margin-top: .6rem !important; }
.site-footer__info { flex: 1 1 320px; }
.site-footer__nav { display: grid; gap: .45rem; }
.site-footer__nav a { font-family: var(--label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--ink-muted); }
.site-footer__nav a:hover { color: var(--ink); }

/* ===== Shared sections ===== */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 12vh, 140px) 0; position: relative; }
.section--steel { background: var(--raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lede { color: var(--ink-muted); font-size: clamp(1.05rem, 1.35vw, 1.2rem); max-width: 40rem; }

/* Program hero: back stamp word, middle photo inside a dark frame, front schedule tag. */
.phero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(36px, 7vh, 80px)) 0 clamp(56px, 9vh, 104px); background: radial-gradient(ellipse at 75% 40%, #1a1c20 0, var(--ground) 62%); }
.phero__back { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: flex-end; }
.phero__stamp { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(9rem, 26vw, 26rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(244, 240, 232, .07); letter-spacing: -.01em; transform: translateX(6%); white-space: nowrap; will-change: transform; }
.phero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.phero h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; font-size: clamp(2.9rem, 6.4vw, 6rem); margin: 0 0 1rem; text-wrap: balance; }
.phero h1 span { display: block; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.6rem; padding: 0; list-style: none; }
.chips li { font-family: var(--label); font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; padding: .45rem .75rem; border: 1px solid rgba(244, 240, 232, .2); background: rgba(8, 9, 10, .6); }
.chips li b { color: var(--accent); font-weight: 700; margin-right: .35em; }
.phero__window { position: relative; margin: 0; }
.phero__glass { position: relative; overflow: hidden; aspect-ratio: var(--ratio, 3 / 2); background: var(--raised-2); }
.phero__layer { position: absolute; left: 0; right: 0; top: -8%; height: 116%; will-change: transform; }
.phero__layer picture, .phero__layer img, .phero__layer .callouts { position: absolute; inset: 0; width: 100%; height: 100%; }
.phero__layer img { object-fit: cover; }
.phero__glass::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .16); pointer-events: none; z-index: 1; }
.phero__bezel { position: absolute; inset: -10px; border: 10px solid #121417; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px rgba(0,0,0,.5); pointer-events: none; z-index: 3; }
.phero__tag { position: absolute; z-index: 4; left: 18px; bottom: -26px; padding: .55rem .9rem; background: var(--accent); color: var(--accent-ink); font-family: var(--label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.callouts--xl .callout__ring { stroke-width: 7; }
.callouts--xl .callout__line { stroke-width: 6; }
.callouts--xl .callout__label { font-size: 68px; stroke-width: 12px; letter-spacing: 6px; }
.callouts--md .callout__label { font-size: 44px; }

/* Numbered list with a title column that stays put on desktop */
.spec-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.spec-split__head { position: sticky; top: calc(var(--header-h) + 32px); }
.parts { list-style: none; margin: 0; padding: 0; }
.parts li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.parts li:last-child { border-bottom: 1px solid var(--line); }
.parts__num { font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--accent); }
.parts h3 { margin: 0 0 .35rem; font-family: var(--label); font-weight: 700; font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.parts p { margin: 0; color: var(--ink-muted); }

/* Three cards in a row */
.plates { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.plate { position: relative; padding: 1.6rem 1.4rem 1.5rem; background: var(--raised-2); border-top: 3px solid var(--accent); }
.plate__step { font-family: var(--label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-size: .95rem; }
.plate h3 { margin: .4rem 0 .5rem; font-family: var(--display); font-weight: 900; font-size: 1.9rem; text-transform: uppercase; line-height: .95; }
.plate p { margin: 0; color: var(--ink-muted); }

/* Coach */
.coach { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.coach--photo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.coach__plate { position: relative; padding: clamp(24px, 3.4vw, 48px); background: var(--raised-2); border-left: 4px solid var(--accent); }
.coach__name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .9; margin: 0 0 .8rem; }
.coach__roles { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.2rem; padding: 0; }
.coach__roles li { font-family: var(--label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; padding: .3rem .6rem; background: rgba(255, 106, 26, .14); color: #ffb48a; }
.coach__plate p { margin: 0 0 .8rem; color: var(--ink-muted); max-width: 44rem; }
.coach__photo { margin: 0; position: relative; }
.coach__photo img, .coach-feature figure img, .jj__photo img { width: 100%; height: auto; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
figcaption { margin-top: .6rem; font-family: var(--label); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Home coach feature: portrait from fight night, a second fight frame, and the words between */
.coach-feature__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); grid-template-areas: "main copy" "main alt"; gap: clamp(24px, 3.4vw, 56px) clamp(28px, 4.4vw, 72px); align-items: start; }
.coach-feature__main { grid-area: main; margin: 0; }
.coach-feature__copy { grid-area: copy; padding-top: clamp(8px, 4vh, 48px); }
.coach-feature__copy p { color: var(--ink-muted); margin: 0 0 .9rem; max-width: 36rem; }
.coach-feature__adam { padding-top: .9rem; border-top: 1px solid var(--line); color: var(--ink) !important; }
.coach-feature__alt { grid-area: alt; margin: 0; }

/* Jiu jitsu on the same pass */
.jj__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4.4vw, 72px); align-items: center; }
.jj__facts { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.jj__facts li { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); }
.jj__facts b { display: block; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; color: var(--accent); margin-bottom: .3rem; }
.jj__facts span { color: var(--ink-muted); }
.jj__photo { margin: 0; }

/* Programs: home rows */
.programs { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.1); }
.program { border-bottom: 1px solid rgba(255,255,255,.1); }
.program a { display: grid; grid-template-columns: 5rem minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: clamp(12px, 2.4vw, 36px); align-items: center; padding: 1.6rem .4rem; text-decoration: none; transition: background .25s ease, padding .25s ease; }
.program a:hover, .program a:focus-visible { background: rgba(255, 106, 26, .07); padding-left: 1rem; }
.program__num { font-family: var(--display); font-weight: 900; font-size: 2.6rem; color: var(--muted); line-height: 1; }
.program__name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: .95; }
.program__when { display: block; margin-top: .35rem; font-family: var(--label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; color: var(--accent); }
.program__line { color: var(--ink-muted); }
.program__go { font-family: var(--label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 1rem; white-space: nowrap; }
.program__go::after { content: " \2192"; }

/* Schedule */
.week { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 2rem; }
.day { background: var(--raised-2); border: 1px solid rgba(255,255,255,.06); padding: 1rem .9rem 1.1rem; min-height: 12rem; }
.section--steel .day { background: #22262b; }
.day h3 { margin: 0 0 .8rem; font-family: var(--label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 1rem; color: var(--muted); border-bottom: 2px solid var(--accent); padding-bottom: .5rem; }
.slot { margin: 0 0 .9rem; }
.slot time { display: block; font-family: var(--display); font-weight: 900; font-size: 1.6rem; line-height: 1; }
.slot a, .slot span { font-family: var(--label); font-weight: 600; font-size: 1.05rem; letter-spacing: .03em; text-decoration: none; color: var(--ink); }
.slot a:hover { color: var(--accent); }
.slot small { display: block; color: var(--muted); font-size: .85rem; }
.day--quiet p { color: var(--muted); margin: 0; font-size: .95rem; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid rgba(255,255,255,.1); }
.faq details:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.4rem 1.2rem 0; position: relative; font-family: var(--label); font-weight: 700; font-size: 1.3rem; letter-spacing: .03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.8rem; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.3rem; color: var(--ink-muted); max-width: 46rem; }

/* CTA band */
.cta-band { position: relative; padding: clamp(64px, 10vh, 120px) 0; background: var(--accent); color: var(--accent-ink); overflow: hidden; }
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; gap: 1.4rem 3rem; align-items: center; justify-content: space-between; }
.cta-band h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: .9; margin: 0; }
.cta-band p { margin: .6rem 0 0; font-weight: 500; }
.btn--dark { background: var(--accent-ink); color: var(--ink); border-color: var(--accent-ink); }
.btn--dark:hover { background: #2a2a2a; }
.btn--line { background: transparent; color: var(--accent-ink); border-color: rgba(20,20,20,.6); }
.btn--line:hover { background: rgba(0,0,0,.08); }
.notice { border-left: 4px solid var(--accent); padding: .9rem 1.1rem; background: rgba(255, 106, 26, .08); color: var(--ink); margin: 1.4rem 0; max-width: 46rem; }

/* 404 */
.closed { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; background: radial-gradient(ellipse at 50% 30%, #1d2024 0, var(--ground) 65%); }
.closed__plate { max-width: 640px; }
.closed__plate h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 9vw, 6rem); line-height: .9; margin: 0 0 1rem; }

@media (max-width: 1100px) and (min-width: 900px) {
  .site-nav { gap: 1.05rem; }
  .site-nav a:not(.btn) { font-size: .95rem; letter-spacing: .06em; }
}

/* PHONE */
@media (max-width: 899px) {
  :root { --header-h: 60px; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(13, 14, 16, .98); border-bottom: 1px solid rgba(255,255,255,.08); transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .site-nav .btn { margin-top: 14px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 1px solid rgba(255,255,255,.18); color: var(--ink); }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; } .nav-toggle__bars::after { top: 7px; }
  .brand__word { font-size: 1.2rem; }
  .brand img { width: 34px; height: 34px; }

  /* Phone hero: the band on top, the words underneath, no pin. The photo sits in the lower part of the band, slid so Elijah is centered, which leaves the top for FIGHT / MECHANIX; his hair just meets the bottom of the second word. */
  .hero__stage { height: auto; min-height: 0; grid-template-rows: auto auto; }
  .hero__panel { height: 60svh; min-height: 400px; max-height: 600px; }
  .hero__frame { top: auto; bottom: 0; height: 84%; transform: translateX(-42%); }
  .hero__plate img { -webkit-mask-image: none; mask-image: none; }
  .hero__plate:not(.hero__plate--front) img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
  /* left 42% cancels the frame shift, then the words are pulled back to the screen edge. */
  .hero__word { left: 42%; top: -18%; font-size: 22.5vw; line-height: .8; transform: translateX(-50vw); }
  .hero__word > span { display: grid; }
  .hero__w { display: block; }
  .hero__copy { grid-template-columns: 1fr; gap: 14px; padding: 6px var(--gutter) 48px; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .hero__lede { font-size: 1rem; margin-bottom: 1.1rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__after { display: none; }

  .principles { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }

  .phero__inner { grid-template-columns: 1fr; }
  .phero__window { margin: 10px 10px 30px; }
  .phero__stamp { font-size: 9rem; align-self: flex-start; margin-top: 30vh; }
  .spec-split { grid-template-columns: 1fr; }
  .spec-split__head { position: static; }
  .plates { grid-template-columns: 1fr; }
  .coach--photo { grid-template-columns: 1fr; }
  .coach-feature__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "main" "alt"; }
  .coach-feature__copy { padding-top: 0; }
  .coach-feature__main { max-width: 440px; }
  .jj__grid { grid-template-columns: 1fr; }
  .jj__facts { grid-template-columns: 1fr; }
  .program a { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .program__line, .program__go { grid-column: 2; }
  .program__num { font-size: 2rem; align-self: start; }
  .week { grid-template-columns: 1fr; }
  .day { min-height: 0; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .callouts--xl .callout__label { font-size: 80px; }
}

/* REDUCED MOTION: a composed second layout, not just opacity 1. */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .btn, .site-nav { transition: none !important; }
}

/* Great Lakes Brazilian Jiu Jitsu lockup inside the jiu jitsu section */
.jj__brand { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.4rem; }
.jj__brand img { width: 64px; height: 64px; }
.jj__brand p { margin: 0; display: grid; line-height: 1.2; }
.jj__brand b { font-family: var(--label); font-weight: 700; font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; }
.jj__brand span { font-family: var(--label); font-weight: 600; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* Fight Prep: fight night gallery, two portraits around one cage frame */
.fight-night__head { max-width: 46rem; margin-bottom: clamp(28px, 5vh, 56px); }
.fight-night__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(14px, 2.4vw, 32px); align-items: center; }
.fight-night__grid figure { margin: 0; }
.fight-night__grid img { width: 100%; height: auto; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
@media (max-width: 899px) {
  .fight-night__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fight-night__knee { grid-column: 1 / -1; order: 3; }
}
