/* ============================================================
   HEATED MEDIA — styles.css
   Global stylesheet · dark editorial · combat sports luxury
   ============================================================ */

/* ── Google Fonts are loaded via each HTML <head> ── */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand palette */
  --c-black:   #0A0A0A;
  --c-surface: #111111;
  --c-s2:      #181818;
  --c-s3:      #222222;
  --c-flame:   #FF4B1F;
  --c-hot:     #FF9A00;
  --c-flame-a: rgba(255,75,31,0.12);
  --c-hot-a:   rgba(255,154,0,0.12);
  --c-white:   #F2EDE6;
  --c-grey:    #8A8A8A;
  --c-grey-a:  rgba(138,138,138,0.2);

  /* Semantic aliases */
  --bg:          var(--c-black);
  --text:        var(--c-white);
  --text-muted:  var(--c-grey);
  --accent:      var(--c-flame);
  --accent2:     var(--c-hot);

  /* Typography */
  --f-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --f-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing (8dp base) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;
  --sp-9: 128px;

  /* Layout */
  --container-max: 1320px;
  --container-pad: clamp(1.25rem, 5vw, 3.5rem);
  --nav-h: 72px;

  /* Z-index scale */
  --z-base:     0;
  --z-raised:   10;
  --z-overlay:  20;
  --z-drop:     40;
  --z-nav:      100;
  --z-modal:    1000;

  /* Borders */
  --border:      1px solid rgba(242,237,230,0.07);
  --border-hot:  1px solid var(--c-flame);
  --radius:      4px;
  --radius-lg:   8px;

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.5);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.7);
  --shadow-flame:  0 0 24px rgba(255,75,31,0.28);
  --shadow-flame2: 0 0 48px rgba(255,75,31,0.45);

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.4,0,0.2,1);
  --t-base: 250ms cubic-bezier(0.4,0,0.2,1);
  --t-slow: 400ms cubic-bezier(0.16,1,0.3,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  /* subtle noise texture via SVG data URI */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

ul, ol { list-style: none; }

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  touch-action: manipulation;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--f-display);
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 400;
}

/* ============================================================
   SKIP LINK (accessibility)
   ============================================================ */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--sp-3);
  z-index: calc(var(--z-modal) + 1);
  background: var(--c-flame);
  color: var(--c-white);
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--f-body);
  font-weight: 600;
  border-radius: var(--radius);
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--sp-3); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border);
  transition: background var(--t-base), border-color var(--t-base);
  /* Never clip the Services dropdown that floats out of the bar */
  overflow: visible;
}

.nav.scrolled {
  background: rgba(10,10,10,0.98);
  border-bottom-color: var(--c-flame-a);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  overflow: visible;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__flame { width: 22px; height: 30px; }

.nav__brand {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--c-white);
}

.nav__brand--accent { color: var(--c-flame); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  overflow: visible;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-grey);
  border-radius: var(--radius);
  transition: color var(--t-fast), background var(--t-fast);
  min-height: 44px;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link:focus-visible { color: var(--c-white); }

.nav__link.active { color: var(--c-flame); }

.nav__link--cta {
  background: var(--c-flame);
  color: var(--c-white) !important;
  padding-inline: var(--sp-4);
  font-weight: 700;
}
.nav__link--cta:hover,
.nav__link--cta:focus-visible {
  background: var(--c-hot);
  box-shadow: var(--shadow-flame);
}

/* Dropdown */
.nav__dropdown-wrap {
  position: relative;
  overflow: visible;
}

.nav__dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-grey);
  min-height: 44px;
  border-radius: var(--radius);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__dropdown-btn:hover,
.nav__dropdown-btn:focus-visible { color: var(--c-white); }
.nav__dropdown-btn[aria-expanded="true"] { color: var(--c-flame); }

.nav__chevron {
  transition: transform var(--t-base);
}
.nav__dropdown-btn[aria-expanded="true"] .nav__chevron {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + var(--sp-2));
  left: 0;
  min-width: 220px;
  background: var(--c-s2);
  border: var(--border);
  border-top: 2px solid var(--c-flame);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md);
  /* Flat, non-scrolling layout — show every item at once, never clip or scroll */
  overflow: visible;
  height: auto;
  max-height: none;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
  z-index: 9999;
}
.nav__dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.nav__dropdown-link {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-grey);
  border-bottom: var(--border);
  transition: color var(--t-fast), background var(--t-fast), padding-left var(--t-fast);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav__dropdown-link:last-child { border-bottom: none; }
.nav__dropdown-link:hover,
.nav__dropdown-link:focus-visible {
  color: var(--c-white);
  background: var(--c-s3);
  padding-left: calc(var(--sp-4) + 6px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--sp-2);
  border-radius: var(--radius);
  transition: background var(--t-fast);
}
.nav__hamburger:hover { background: var(--c-s3); }
.nav__hamburger:focus-visible {
  outline: 2px solid var(--c-flame);
  outline-offset: 2px;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base), width var(--t-base);
  transform-origin: center;
}
.nav__hamburger span:nth-child(3) { width: 70%; }

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  width: 100%;
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   SHARED PAGE PADDING (for fixed nav)
   ============================================================ */
.page-content { padding-top: var(--nav-h); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px var(--sp-5);
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  min-height: 52px;
  min-width: 44px;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.btn:focus-visible {
  outline: 3px solid var(--c-flame);
  outline-offset: 3px;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--c-flame);
  color: var(--c-white);
}
.btn--primary:hover {
  background: var(--c-hot);
  box-shadow: var(--shadow-flame);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 1px solid rgba(242,237,230,0.3);
}
.btn--outline:hover {
  border-color: var(--c-flame);
  color: var(--c-flame);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--c-flame);
  border: 1px solid var(--c-flame);
}
.btn--ghost:hover {
  background: var(--c-flame);
  color: var(--c-white);
  box-shadow: var(--shadow-flame);
  transform: translateY(-2px);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-bar {
  background: var(--c-s2);
  border-block: var(--border);
  overflow: hidden;
  padding-block: var(--sp-3);
  position: relative;
}

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

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  padding-inline: var(--sp-6);
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--c-grey);
  white-space: nowrap;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-flame);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   STAT BAR
   ============================================================ */
.stat-bar {
  display: flex;
  align-items: stretch;
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  position: relative;
  border-right: var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--c-flame);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-grey);
  margin-top: var(--sp-2);
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--c-surface);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-flame-a), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
}

.service-card:hover {
  border-color: var(--c-flame);
  transform: translateY(-4px);
  box-shadow: var(--shadow-flame);
}
.service-card:hover::before { opacity: 1; }

.service-card__num {
  font-family: var(--f-display);
  font-size: 5rem;
  color: rgba(255,75,31,0.1);
  line-height: 1;
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-4);
  pointer-events: none;
  user-select: none;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--sp-4);
}

.service-card__title {
  font-family: var(--f-display);
  font-size: 1.75rem;
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}

.service-card__body {
  font-size: 0.9rem;
  color: var(--c-grey);
  line-height: 1.6;
}

/* ============================================================
   BRAND MARQUEE
   ============================================================ */
.brand-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-block: var(--sp-5);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.brand-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: var(--sp-8);
  animation: brand-scroll 45s linear infinite;
}
.brand-marquee:hover .brand-marquee__track {
  animation-play-state: paused;
}

.brand-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-white);
  opacity: 0.55;
  transition: opacity var(--t-base), color var(--t-base);
}
.brand-item:hover {
  opacity: 1;
  color: var(--c-flame);
}
.brand-item::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--c-flame), var(--c-hot));
}

@keyframes brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee { -webkit-mask-image: none; mask-image: none; }
  .brand-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: var(--sp-5) var(--sp-7);
  }
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  position: relative;
}

.process-step {
  padding: var(--sp-5) var(--sp-4);
  background: var(--c-surface);
  border: var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color var(--t-base);
}
.process-step:hover { border-color: var(--c-flame); }

.process-step__num {
  font-family: var(--f-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--c-flame);
  margin-bottom: var(--sp-3);
}

.process-step__title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--c-white);
  margin-bottom: var(--sp-2);
}

.process-step__body {
  font-size: 0.875rem;
  color: var(--c-grey);
  line-height: 1.6;
}

/* ============================================================
   CONTACT FORM SECTION
   ============================================================ */
.contact-section {
  background: var(--c-surface);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-flame), var(--c-hot), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.contact-headline {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  color: var(--c-white);
  margin-bottom: var(--sp-4);
}

.contact-headline span { color: var(--c-flame); }

.contact-sub {
  color: var(--c-grey);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9rem;
  color: var(--c-grey);
}
.contact-meta-item strong { color: var(--c-white); }

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-grey);
}

.form-input,
.form-textarea {
  background: var(--c-s2);
  border: 1px solid rgba(242,237,230,0.1);
  border-radius: var(--radius);
  padding: 14px var(--sp-4);
  color: var(--c-white);
  font-size: 1rem;
  min-height: 52px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(138,138,138,0.5);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-flame);
  box-shadow: 0 0 0 3px var(--c-flame-a);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

/* ============================================================
   INSTAGRAM DM BUTTON
   ============================================================ */
.ig-dm {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 14px var(--sp-5);
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-radius: 100px;
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  min-height: 52px;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast);
}
.ig-dm:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(253,29,29,0.4);
}
.ig-dm:focus-visible {
  outline: 3px solid #fcb045;
  outline-offset: 3px;
}
.ig-dm:active { transform: scale(0.97); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-surface);
  border-top: var(--border);
  padding-block: var(--sp-6);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-5);
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer__brand-name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--c-white);
}

.footer__brand-name span { color: var(--c-flame); }

.footer__tagline {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-grey);
  margin-top: 2px;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: var(--border);
  border-radius: 50%;
  color: var(--c-grey);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.footer__social:hover {
  color: var(--c-white);
  border-color: var(--c-flame);
  background: var(--c-flame-a);
}
.footer__social:focus-visible {
  outline: 2px solid var(--c-flame);
  outline-offset: 3px;
}

.footer__right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.footer__email {
  font-size: 0.875rem;
  color: var(--c-grey);
  transition: color var(--t-fast);
}
.footer__email:hover { color: var(--c-flame); }

.footer__copy {
  font-size: 0.75rem;
  color: rgba(138,138,138,0.5);
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-flame);
  margin-bottom: var(--sp-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-flame);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ============================================================
   DIAGONAL DIVIDER
   ============================================================ */
.diagonal-divider {
  height: 80px;
  background: var(--c-surface);
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
  margin-top: -2px;
}

.diagonal-divider--flip {
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

/* ============================================================
   EMBER CANVAS
   ============================================================ */
.ember-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   SECTION HEADLINE UTILITY
   ============================================================ */
.section-headline {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  color: var(--c-white);
}

.section-headline--xl {
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.section-headline span.accent { color: var(--c-flame); }
.section-headline span.hot    { color: var(--c-hot); }

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4         { grid-template-columns: repeat(2, 1fr); }
  .process-grid   { grid-template-columns: repeat(2, 1fr); }
  .contact-grid   { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer__inner  { grid-template-columns: 1fr; text-align: center; gap: var(--sp-4); }
  .footer__right  { text-align: center; }
  .footer__brand  { justify-content: center; }
  .footer__links  { justify-content: center; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav__links {
    /* iOS Safari toggles unreliably with display:none/flex, so the menu
       stays display:flex and is shown/hidden via visibility + opacity +
       transform instead. Never toggle `display` on this element. */
    display: flex;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    /* Fixed-size panel: height fits the links, so the menu never scrolls. */
    height: auto;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-4);
    overflow: hidden;
    transition: visibility var(--t-base), opacity var(--t-base), transform var(--t-base);
    /* Sit above all page content so links are never clipped or hidden */
    z-index: 9999;
  }

  .nav__links.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .nav__link,
  .nav__dropdown-btn {
    font-size: 1rem;
    padding: var(--sp-3) var(--sp-4);
    width: 100%;
    justify-content: space-between;
    border-radius: var(--radius);
    min-height: 56px;
  }

  .nav__dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    background: var(--c-s3);
    border: none;
    border-left: 2px solid var(--c-flame);
    border-radius: 0;
    margin-left: var(--sp-3);
    margin-top: var(--sp-1);
    display: none;
    box-shadow: none;
  }
  .nav__dropdown.open { display: block; }

  /* Keep Services sub-links easy to tap (Athletes, Businesses & Gyms, Event Coverage) */
  .nav__dropdown-link { min-height: 48px; }

  .nav__hamburger { display: flex; }

  .grid-2,
  .grid-3,
  .grid-4        { grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .stat-bar      { flex-direction: column; }
  .stat-item     { border-right: none; border-bottom: var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

/* ============================================================
   FOCUS VISIBLE (global)
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--c-flame);
  outline-offset: 3px;
}
