/* ============================================================
   TOURAY · Brand Design System
   Strength. Combat. Discipline.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* --- Core palette --- */
  --ink:        #0A0A0B;   /* near-black base */
  --ink-2:      #101013;   /* raised surface */
  --ink-3:      #17171C;   /* card surface */
  --ink-4:      #202027;   /* hover / border-light */
  --line:       #2A2A31;   /* hairline borders */

  --bone:       #F5F1E9;   /* warm white text */
  --bone-dim:   #C7C3BB;   /* secondary text */
  --muted:      #85858F;   /* tertiary text */

  --red:        #E5241F;   /* Touray Red */
  --red-bright: #FF3B30;
  --red-deep:   #A5120E;
  --gold:       #D8B25A;   /* championship gold */
  --gold-bright:#F0CE7C;

  /* --- Semantics --- */
  --bg:         var(--ink);
  --fg:         var(--bone);
  --accent:     var(--red);

  /* --- Type --- */
  --f-display: 'Anton', 'Arial Narrow', sans-serif;
  --f-stat:    'Bebas Neue', 'Arial Narrow', sans-serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Rhythm --- */
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 30px 80px -30px rgba(0,0,0,.85);
  --glow-red: 0 0 60px -12px rgba(229,36,31,.55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

/* Film-grain / vignette texture layer */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(229,36,31,.10), transparent 60%),
    radial-gradient(100% 100% at 50% 120%, rgba(0,0,0,.6), transparent 55%);
  mix-blend-mode: normal;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { position: relative; padding-block: clamp(72px, 12vh, 150px); z-index: 2; }
.section--tight { padding-block: clamp(48px, 8vh, 90px); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor; display: inline-block;
}
.eyebrow.center::before { display: none; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: .96; letter-spacing: .01em; text-transform: uppercase; }
.display {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  line-height: .9;
  letter-spacing: .005em;
}
.h-xl { font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: .92; }
.h-lg { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.italic-cut { font-style: italic; transform: skewX(-6deg); display: inline-block; }
.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.text-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bone);
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--bone-dim); max-width: 60ch; line-height: 1.65; }
.muted { color: var(--muted); }
.mono-num { font-family: var(--f-stat); letter-spacing: .02em; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 58px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--bh); padding-inline: 30px;
  font-weight: 700; font-size: .93rem; letter-spacing: .04em;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  white-space: nowrap;
  text-transform: uppercase;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary {
  background: var(--red); color: #fff;
  box-shadow: 0 12px 40px -12px rgba(229,36,31,.7);
}
.btn--primary:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 20px 50px -12px rgba(229,36,31,.8); }
.btn--gold { background: var(--gold); color: #241c05; box-shadow: 0 12px 40px -14px rgba(216,178,90,.7); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--bone); }
.btn--ghost:hover { border-color: var(--bone); background: rgba(245,241,233,.04); transform: translateY(-2px); }
.btn--sm { --bh: 46px; padding-inline: 20px; font-size: .8rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; letter-spacing: .03em; color: var(--bone); text-transform: uppercase; font-size: .85rem; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow:hover { color: var(--red); }

/* ---------- Chips / tags ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bone-dim);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.chip .dot.gold { background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--ink-4); box-shadow: var(--shadow); }
.card--feature { border-color: rgba(229,36,31,.4); box-shadow: 0 0 0 1px rgba(229,36,31,.15), var(--glow-red); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,11,.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--bone-dim); position: relative; transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--bone); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--red); transition: width .25s var(--ease); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 20px; height: 2px; background: var(--bone); transition: .3s var(--ease); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo svg { height: 40px; width: auto; }
.logo__word { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .06em; line-height: 1; }
.logo__word small { display: block; font-family: var(--f-body); font-size: .5rem; letter-spacing: .42em; color: var(--muted); font-weight: 600; margin-top: 3px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8,8,9,.98); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--gut);
  transform: translateY(-100%); transition: transform .45s var(--ease);
  overflow: hidden; visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; overflow-y: auto; }
.mobile-menu a { font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3.2rem); color: var(--bone); padding-block: 6px; text-transform: uppercase; opacity: .5; transition: opacity .2s, transform .2s; }
.mobile-menu a:hover { opacity: 1; color: var(--red); transform: translateX(8px); }
.mobile-menu .mm-foot { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); background: var(--ink-2); padding-block: 72px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--f-body); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-grid a { display: block; color: var(--bone-dim); padding-block: 6px; font-size: .92rem; transition: color .2s, transform .2s; }
.footer-grid a:hover { color: var(--red); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--bone-dim); transition: .25s var(--ease); }
.social-row a:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; background: var(--ink-2); position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 48px; font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2.4rem); text-transform: uppercase; color: var(--bone); white-space: nowrap; }
.marquee__item span.star { color: var(--red); }
.marquee__item.dim { color: transparent; -webkit-text-stroke: 1px var(--muted); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Stat blocks ---------- */
.stat { text-align: center; }
.stat__num { font-family: var(--f-stat); font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; color: var(--bone); }
.stat__num .u { font-size: .4em; color: var(--red); }
.stat__label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Utilities ---------- */
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 12px; } .gap-md { gap: 20px; } .gap-lg { gap: 40px; }
.wrap-flex { flex-wrap: wrap; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-sm { margin-top: 14px; } .mt-md { margin-top: 28px; } .mt-lg { margin-top: 48px; }
.maxw-sm { max-width: 620px; } .maxw-md { max-width: 780px; }
.rounded { border-radius: var(--radius-lg); overflow: hidden; }
.hide-mobile { }
.badge-pop { position:absolute; top:20px; right:20px; }

/* Tag row */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Section heading combo */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 52px; }
.sec-head .lede { margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .g-3, .g-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .card { padding: 24px; }
}
