/* PAPP Fitness */
:root {
  --red: #e10f2e;
  --red-bright: #ff2343;
  --black: #0b0c0d;
  --ink: #111315;
  --g900: #16181b;
  --g800: #1e2124;
  --g700: #2a2d31;
  --g500: #5b6066;
  --g400: #8a8d90;
  --g300: #b4b7ba;
  --g100: #e6e7e8;
  --white: #f4f4f2;
  --display: 'Anton', 'Impact', sans-serif;
  --head: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 4.4vw, 64px); }
h3 { font-size: clamp(20px, 1.8vw, 26px); }
p { margin: 0 0 1em; color: var(--g300); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.red { color: var(--red-bright); }
.lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--g100); max-width: 40em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Camo surfaces */
.camo { background: #141517 url('../img/camo.svg') 0 0 / 360px repeat; }
.camo-fade { position: relative; isolation: isolate; }
.camo-fade::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url('../img/camo.svg') 0 0 / 360px repeat;
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 600 17px/1 var(--head); letter-spacing: .02em;
  padding: 15px 24px; border: 2px solid var(--red); border-radius: 2px;
  background: var(--red); color: #fff; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.btn:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(225, 15, 46, .7); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn.ghost { background: transparent; border-color: var(--g500); color: var(--white); }
.btn.ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); box-shadow: none; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  transition: background .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled { background: rgba(11, 12, 13, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--g800); }
.site-header .brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { font: 500 16px var(--head); text-decoration: none; color: var(--g300); letter-spacing: .02em; }
.nav a:hover, .nav a[aria-current='page'] { color: #fff; }
.nav .btn { padding: 12px 18px; font-size: 15px; color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--g700); color: #fff; padding: 10px 12px; font: 500 15px var(--head); cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 12, 13, .97); border-bottom: 1px solid var(--g800);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--g800); font-size: 20px; }
  .nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 70% 50%, transparent 30%, rgba(11, 12, 13, .85) 85%);
}
.hero-copy { position: relative; z-index: 2; padding-top: clamp(84px, 11vh, 110px); padding-bottom: clamp(56px, 9vh, 100px); width: 100%; }
.hero-copy .logo { width: min(26vw, 36vh, 400px); min-width: 150px; margin-bottom: clamp(16px, 3vh, 32px); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
.hero h1 { font-size: clamp(26px, min(3vw, 5.2vh), 46px); max-width: 15em; color: #fff; }
.hero p { max-width: 34em; font-size: clamp(15px, min(1.2vw, 2.2vh), 18px); color: var(--g100); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(16px, 3vh, 28px); }
.hero-text-bg { max-width: 640px; }
@media (max-width: 900px) {
  .hero { align-items: flex-end; min-height: 100svh; }
  .hero-copy { padding-top: 30svh; padding-bottom: 28px; }
  .hero-copy .logo { width: min(44vw, 22svh); margin-bottom: 14px; }
  .hero h1 { font-size: clamp(24px, 6.4vw, 32px); margin-bottom: .4em; }
  .hero p { font-size: 15px; line-height: 1.5; margin-bottom: 0; }
  .hero .ctas { margin-top: 18px; }
  .hero .ctas .btn { flex: 1 1 auto; padding: 14px 16px; font-size: 16px; }
  .hero-text-bg { background: linear-gradient(180deg, transparent, rgba(11, 12, 13, .9) 18%); padding-top: 24px; }
}
.hud {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 34px;
  font: 400 13px var(--mono); color: var(--g300); width: min(300px, 60vw);
}
.hud .row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.hud .label { color: #fff; }
.hud .track { height: 2px; background: var(--g700); }
.hud .bar { height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) { .hud { top: 76px; bottom: auto; } }

/* Ticker */
.ticker { border-block: 1px solid var(--g800); background: var(--ink); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font: 400 clamp(24px, 3vw, 42px)/1 var(--display); padding-right: 48px; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--g500); }
.ticker span:nth-child(3n+1) { color: var(--white); -webkit-text-stroke: 0; }
.ticker span i { font-style: normal; color: var(--red); -webkit-text-stroke: 0; padding-left: 48px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Sections */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 52em; margin-bottom: clamp(32px, 4.5vw, 56px); }

/* Parallax photo band */
.parallax { position: relative; overflow: hidden; min-height: min(80vh, 760px); display: flex; align-items: center; }
.parallax .bg {
  position: absolute; inset: -20% 0; background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.15) brightness(.55);
  will-change: transform;
}
.parallax .tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 12, 13, .95) 10%, rgba(11, 12, 13, .55) 60%, rgba(225, 15, 46, .35)); mix-blend-mode: normal; }
.parallax .grain { position: absolute; inset: 0; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.parallax .wrap { position: relative; z-index: 2; }
.parallax h2 { max-width: 10em; }
.parallax p { color: var(--g100); max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); }
.big-word {
  position: absolute; z-index: 1; right: -2vw; bottom: -3vw; pointer-events: none;
  font: 400 clamp(100px, 20vw, 320px)/0.8 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .12);
  will-change: transform; white-space: nowrap;
}

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; background: var(--g800); border: 2px solid var(--g800); }
.service { background: var(--black); padding: 32px 28px 36px; position: relative; overflow: hidden; transition: background .2s ease; }
.service:hover { background: var(--g900); }
.service .num { font: 400 14px var(--mono); color: var(--red-bright); display: block; margin-bottom: 28px; }
.service h3 { font-size: 26px; }
.service p { margin: 0; }
.service::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); transition: width .3s ease; }
.service:hover::after { width: 100%; }
.service.featured { background: var(--red); }
.service.featured p, .service.featured .num { color: #fff; }
.service.featured:hover { background: var(--red-bright); }

/* About Steve */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.facts { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--g800); }
.facts li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--g800); color: var(--g100); }
.facts li::before { content: ''; flex: 0 0 10px; height: 10px; margin-top: 8px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.fighters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fighter { position: relative; overflow: hidden; background: var(--g900); aspect-ratio: 3 / 4; }
.fighter img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: transform .5s ease, filter .5s ease; }
.fighter:hover img { transform: scale(1.04); filter: grayscale(.2) contrast(1.05); }
.fighter figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 18px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .9)); }
.fighter figcaption strong { display: block; font: 600 22px var(--head); color: #fff; }
.fighter figcaption span { font-size: 14px; color: var(--g300); }
.fighter.tall { grid-row: span 2; aspect-ratio: auto; }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.person { background: var(--g900); border: 1px solid var(--g800); display: flex; flex-direction: column; }
.person .photo { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.9); }
.person .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 50%, rgba(225, 15, 46, .45)); mix-blend-mode: multiply; }
.person .body { padding: 28px 28px 32px; }
.person h3 { font-size: 28px; }
.person .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { font: 400 12px var(--mono); padding: 5px 9px; border: 1px solid var(--g700); color: var(--g300); }
blockquote { margin: 20px 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--red); font: 500 20px/1.35 var(--head); color: #fff; }
blockquote cite { display: block; font: 400 14px var(--body); color: var(--g400); margin-top: 8px; font-style: normal; }

/* Schools */
.schools { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .schools { grid-template-columns: 1fr; } }
.schools-panel { background: rgba(11, 12, 13, .88); border: 1px solid var(--g700); padding: clamp(28px, 4vw, 48px); backdrop-filter: blur(4px); }
.check { list-style: none; padding: 0; margin: 0 0 28px; }
.check li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--g800); position: relative; color: var(--g100); }
.check li::before { content: ''; position: absolute; left: 0; top: 18px; width: 16px; height: 9px; border-left: 3px solid var(--red-bright); border-bottom: 3px solid var(--red-bright); transform: rotate(-45deg); }
.badge-dbs { display: inline-flex; align-items: center; gap: 10px; font: 500 15px var(--head); padding: 10px 16px; border: 1px solid var(--red); color: #fff; margin-bottom: 24px; }

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.product-card { background: var(--g900); border: 1px solid var(--g800); text-decoration: none; display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
.product-card:hover { border-color: var(--red); transform: translateY(-4px); }
.product-card .img { aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #1f2226, #0d0e10 70%); display: grid; place-items: center; overflow: hidden; }
.product-card .img img { width: 88%; transition: transform .4s ease; }
.product-card:hover .img img { transform: scale(1.05) rotate(-1deg); }
.product-card .info { padding: 20px 22px 24px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.product-card h3 { font-size: 22px; margin: 0 0 4px; }
.product-card .cat { font-size: 14px; color: var(--g400); }
.price { font: 600 22px var(--head); color: #fff; white-space: nowrap; }
.note { font-size: 14px; color: var(--g400); border-left: 2px solid var(--g700); padding-left: 12px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.reveal-list { display: grid; gap: 14px; }
.reveal {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; background: var(--g900); border: 1px solid var(--g800);
}
.reveal .k { font: 400 13px var(--mono); color: var(--g400); display: block; margin-bottom: 4px; }
.reveal .v { font: 600 clamp(20px, 2.4vw, 28px) var(--head); color: #fff; word-break: break-all; }
.reveal .v a { text-decoration: none; }
.reveal .v a:hover { color: var(--red-bright); }
.reveal button { flex: none; }
.map-card { background: var(--g900); border: 1px solid var(--g800); padding: 28px; }
.map-card address { font-style: normal; color: var(--g100); font-size: 19px; margin-bottom: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--g800); padding: 56px 0 40px; background: var(--ink); }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.site-footer img { height: 70px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { text-decoration: none; color: var(--g300); font: 500 16px var(--head); }
.site-footer nav a:hover { color: #fff; }
.site-footer small { display: block; color: var(--g500); margin-top: 32px; font-size: 13px; }

/* Reveal-on-scroll */
.fade { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } }

/* Shop pages */
.page-hero { padding: 120px 0 48px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(44px, 7vw, 100px); font-family: var(--display); font-weight: 400; letter-spacing: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button { font: 500 16px var(--head); padding: 10px 18px; background: transparent; color: var(--g300); border: 1px solid var(--g700); cursor: pointer; }
.filters button[aria-pressed='true'] { background: var(--white); color: var(--black); border-color: var(--white); }

.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); padding-top: 120px; padding-bottom: 100px; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.pdp-img { background: radial-gradient(circle at 50% 40%, #22262a, #0d0e10 70%); border: 1px solid var(--g800); aspect-ratio: 1; display: grid; place-items: center; position: sticky; top: 100px; }
@media (max-width: 900px) { .pdp-img { position: static; } }
.pdp-img img { width: 86%; }
.pdp h1 { font-size: clamp(32px, 4vw, 52px); }
.pdp .price { font-size: 32px; display: block; margin-bottom: 24px; }
.opt { margin: 0 0 24px; border: 0; padding: 0; }
.opt legend { font: 500 16px var(--head); margin-bottom: 10px; color: var(--g100); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; min-width: 52px; text-align: center; padding: 11px 14px; border: 1px solid var(--g700); font: 500 16px var(--head); cursor: pointer; }
.chips input:checked + span { background: var(--white); color: var(--black); border-color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.qty { display: inline-flex; border: 1px solid var(--g700); }
.qty button { background: none; border: 0; color: #fff; width: 46px; font-size: 20px; cursor: pointer; }
.qty input { width: 56px; text-align: center; background: none; border: 0; color: #fff; font: 600 18px var(--head); }
.spec { list-style: none; padding: 0; margin: 28px 0; border-top: 1px solid var(--g800); }
.spec li { padding: 12px 0; border-bottom: 1px solid var(--g800); color: var(--g300); }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.crumbs { font: 400 13px var(--mono); color: var(--g400); margin-bottom: 18px; }
.crumbs a { text-decoration: none; color: var(--g300); }

/* Fitness racing */
.racing { overflow: hidden; background: linear-gradient(180deg, var(--black), var(--ink)); }
.racing .big-word { -webkit-text-stroke-color: rgba(225, 15, 46, .22); }
.racing-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 88px); align-items: center; position: relative; z-index: 2; }
@media (max-width: 900px) { .racing-grid { grid-template-columns: 1fr; } }
.racing-photo { margin: 0; position: relative; }
.racing-photo .racing-img { overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--g800); }
.racing-photo img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.15); }
.racing-photo::after { content: ''; position: absolute; inset: 0 0 34px 0; background: linear-gradient(200deg, transparent 45%, rgba(225, 15, 46, .5)); mix-blend-mode: multiply; pointer-events: none; }
.racing-photo figcaption { font: 400 13px var(--mono); color: var(--g400); padding-top: 12px; }
.race-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 28px; }
.race-tags span { font: 400 clamp(18px, 1.8vw, 26px)/1 var(--display); padding: 10px 16px; border: 1px solid var(--g700); }
.race-tags span:first-child { background: var(--red); border-color: var(--red); }
.service p a { text-decoration: none; font-weight: 600; }
.service.featured p a { color: #fff; }
