/* ============ Cami Canache Racing — brand: #662483 -> #d60b52 ============ */

@font-face {
  font-family: 'AlongSanss';
  src: url('/assets/fonts/AlongSanss2-Heavy.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AlongSanss';
  src: url('/assets/fonts/AlongSanss2-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AlongSanss';
  src: url('/assets/fonts/AlongSanss2-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AlongSanss';
  src: url('/assets/fonts/AlongSanss2-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AlongSanss';
  src: url('/assets/fonts/AlongSanss2-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #662483;
  --magenta: #d60b52;
  --grad: linear-gradient(100deg, var(--purple), var(--magenta));
  --bg: #0d0b10;
  --bg-2: #14111a;
  --bg-3: #1c1824;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f1f7;
  --text-dim: #b7aec4;
  --radius: 18px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  /* Brand font is display-only (quirky baselines); body copy uses a clean system stack. */
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3,
.btn, .nav__links, .lang-toggle__btn, .hero__badge, .section__kicker,
.marquee__track, .timeline__year, .stat__num, .sp-card__icon,
.footer__line, .contact__phone {
  font-family: 'AlongSanss', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

a { color: inherit; text-decoration: none; }

.grad-text {
  background: linear-gradient(100deg, #a052c7, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============ Nav ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 48px);
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(13, 11, 16, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo img { height: 44px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav__links a { opacity: 0.85; transition: opacity 0.2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta {
  background: var(--grad);
  padding: 9px 18px;
  border-radius: 999px;
  opacity: 1 !important;
}
.nav__right { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.lang-toggle__btn {
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-dim);
  background: none;
  border: 0;
  padding: 7px 13px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.lang-toggle__btn.is-active { background: var(--grad); color: #fff; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero__media, .hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(13, 11, 16, 0.45) 40%, rgba(13, 11, 16, 0.35) 100%),
    linear-gradient(115deg, rgba(102, 36, 131, 0.35), transparent 55%);
}
.hero__content {
  padding: 0 clamp(20px, 6vw, 90px) clamp(70px, 12vh, 130px);
  max-width: 1000px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: clamp(0.78rem, 2.4vw, 0.95rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(13, 11, 16, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
  animation: fadeUp 0.9s ease both 0.2s;
}
.badge-flag {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 3px;
  background:
    conic-gradient(#fff 0 25%, #111 0 50%, #fff 0 75%, #111 0) 0 0/8px 8px;
  outline: 1px solid rgba(255,255,255,0.3);
}
.hero__title {
  font-size: clamp(3.4rem, 13vw, 8.5rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  animation: fadeUp 0.9s ease both 0.35s;
}
.hero__sub {
  margin-top: 18px;
  max-width: 520px;
  color: var(--text-dim);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  animation: fadeUp 0.9s ease both 0.5s;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  animation: fadeUp 0.9s ease both 0.65s;
}
.hero__scroll {
  position: absolute;
  bottom: 22px;
  right: clamp(20px, 5vw, 60px);
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  display: flex;
  justify-content: center;
}
.hero__scroll span {
  width: 4px;
  height: 9px;
  margin-top: 8px;
  border-radius: 4px;
  background: #fff;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(214, 11, 82, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(214, 11, 82, 0.5); }
.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.1); }
.btn--big { padding: 20px 36px; line-height: 1.45; }

/* ============ Marquee ============ */
.marquee {
  overflow: hidden;
  background: var(--grad);
  padding: 13px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -14px 0 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  width: max-content;
  font-weight: 800;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  animation: marquee 26s linear infinite;
}
.marquee__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.7;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Sections ============ */
.section { padding: clamp(76px, 11vw, 140px) clamp(20px, 5vw, 60px); }
.section__inner { max-width: 1180px; margin: 0 auto; }
.section__kicker {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--magenta);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.section__kicker::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--grad);
}
.section__title {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.02;
  margin-bottom: clamp(26px, 4vw, 44px);
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ About ============ */
.about { background: var(--bg-2); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.about__media-accent {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: var(--radius);
  background: var(--grad);
  opacity: 0.55;
  z-index: 0;
}
.about__text p:not(.section__kicker) { color: var(--text-dim); margin-bottom: 16px; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.stat__num {
  display: block;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 900;
  font-style: italic;
}
.stat__label { font-size: 0.85rem; color: var(--text-dim); }

/* ============ Timeline ============ */
.timeline {
  position: relative;
  display: grid;
  gap: 26px;
  padding-left: 26px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), var(--magenta));
  border-radius: 2px;
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--magenta);
}
.timeline__item--win::before { background: var(--magenta); box-shadow: 0 0 18px rgba(214, 11, 82, 0.9); }
.timeline__year {
  font-weight: 900;
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.timeline__card {
  margin-top: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.timeline__card--win {
  background: linear-gradient(120deg, rgba(102, 36, 131, 0.45), rgba(214, 11, 82, 0.35)), var(--bg-3);
  border-color: rgba(214, 11, 82, 0.5);
}
.timeline__card h3 {
  font-weight: 800;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.timeline__card p { color: var(--text-dim); font-size: 0.97rem; }

/* ============ Gallery ============ */
.gallery { background: var(--bg-2); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 12px;
}
.gallery__item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: var(--bg-3);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ============ Videos ============ */
.videos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 22px;
}
.video-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.video-card--portrait video {
  aspect-ratio: auto;
  height: 430px;
  object-fit: contain;
}
.video-card__body { padding: 16px 20px 20px; }
.video-card__body h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.video-card__body p { color: var(--text-dim); font-size: 0.92rem; }

/* ============ Sponsorship ============ */
.sponsorship {
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(102, 36, 131, 0.35), transparent 65%),
    radial-gradient(700px 420px at 0% 100%, rgba(214, 11, 82, 0.22), transparent 60%),
    var(--bg);
}
.sponsorship__lead { max-width: 720px; color: var(--text-dim); font-size: 1.08rem; margin-bottom: 40px; }
.sponsorship__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  margin-bottom: 42px;
}
.sp-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.sp-card:hover { transform: translateY(-5px); border-color: rgba(214, 11, 82, 0.55); }
.sp-card__icon {
  font-weight: 900;
  font-style: italic;
  font-size: 1.9rem;
  background: linear-gradient(100deg, #a052c7, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.sp-card h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.sp-card p { color: var(--text-dim); font-size: 0.95rem; }
.sponsorship__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============ Sponsor tiers ============ */
.sponsor-tiers { margin: 50px 0 54px; }
.sponsor-tiers__title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 18px;
}
.tier-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tier-card:hover { transform: translateY(-5px); border-color: rgba(214, 11, 82, 0.55); }
.tier-card--featured { border-color: rgba(214, 11, 82, 0.6); background: linear-gradient(160deg, rgba(102, 36, 131, 0.22), rgba(214, 11, 82, 0.12)); }
.tier-card__badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.tier-card__name {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
  color: var(--text-dim);
}
.tier-card__price {
  font-family: 'AlongSanss', system-ui, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 2rem;
  margin: 6px 0 14px;
}
.tier-card__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  flex: 1;
}
.tier-card__perks li {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}
.tier-card__perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--grad);
}
.tier-card .btn { width: 100%; }

/* ============ Logo preview tool ============ */
.logo-preview {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px);
  margin-bottom: 44px;
}
.logo-preview__title { font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.2rem; margin-bottom: 8px; }
.logo-preview__text { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 20px; max-width: 560px; }
.logo-preview__tabs { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.logo-preview__tab {
  font: inherit;
  font-family: 'AlongSanss', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.logo-preview__tab.is-active { background: var(--grad); color: #fff; border-color: transparent; }
.logo-preview__stage {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.logo-preview__bg { width: 100%; height: 100%; object-fit: cover; }
.logo-preview__zone {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s, background 0.2s;
}
.logo-preview__zone.has-logo { border-style: solid; border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.9); }
.logo-preview__hint {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 4px;
}
.logo-preview__logo { width: 92%; height: 92%; object-fit: contain; }
.logo-preview__logo[hidden] { display: none; }
.logo-preview__controls { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; align-items: center; }
.logo-preview__controls input[type="file"] { display: none; }

/* ============ Merch ============ */
.merch { background: var(--bg-2); }
.merch__lead { max-width: 640px; color: var(--text-dim); font-size: 1.05rem; margin-bottom: 30px; }
.merch__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.merch__filter {
  font: inherit;
  font-family: 'AlongSanss', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.merch__filter.is-active { background: var(--grad); color: #fff; border-color: transparent; }
.merch__filter:hover:not(.is-active) { border-color: rgba(214, 11, 82, 0.5); }
.merch__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 20px;
}
.merch-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.merch-card.is-hidden { display: none; }
.merch-card:hover { transform: translateY(-5px); border-color: rgba(214, 11, 82, 0.4); }
.merch-card__img { aspect-ratio: 1 / 1; background: #000; }
.merch-card__img img { width: 100%; height: 100%; object-fit: cover; }
.merch-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.merch-card__name { font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1rem; }
.merch-card__sizes { color: var(--text-dim); font-size: 0.8rem; margin-bottom: 8px; }
.merch-card__row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.merch-card__price {
  font-family: 'AlongSanss', system-ui, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 1.3rem;
}
.merch__note { color: var(--text-dim); font-size: 0.85rem; margin-top: 26px; text-align: center; }

/* ============ Small button variant ============ */
.btn--small { padding: 10px 20px; font-size: 0.8rem; }

/* ============ Modal ============ */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 6, 11, 0.82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__box {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  padding: 36px 30px 30px;
  text-align: center;
  animation: fadeUp 0.35s ease both;
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}
.modal__kicker { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--magenta); margin-bottom: 6px; }
.modal__item { font-weight: 800; text-transform: uppercase; font-size: 1.15rem; margin-bottom: 18px; }
.modal__title { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.4rem; margin-bottom: 12px; }
.modal__text { color: var(--text-dim); font-size: 0.93rem; margin-bottom: 26px; }
.modal__actions { display: flex; flex-direction: column; gap: 12px; }

/* ============ Contact ============ */
.contact { background: var(--bg-2); }
.contact__inner { text-align: center; max-width: 760px; }
.contact__logo { height: 74px; margin: 0 auto 18px; }
.contact__lead { color: var(--text-dim); margin-bottom: 30px; }
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.contact__phone { font-size: 1.15rem; letter-spacing: 0.02em; text-transform: none; }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 20px calc(30px + env(safe-area-inset-bottom));
  text-align: center;
}
.footer__logo { height: 52px; margin: 0 auto 14px; }
.footer__line { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }
.footer__copy { color: var(--text-dim); font-size: 0.8rem; margin-top: 6px; }

/* ============ Lightbox ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 6, 11, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__close { top: max(18px, env(safe-area-inset-top)); right: 18px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

/* ============ Mobile ============ */
@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0;
    background: rgba(13, 11, 16, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav__links.is-open { max-height: 420px; }
  .nav__links a { padding: 16px; border-top: 1px solid var(--line); }
  .nav__cta { border-radius: 0; }
  .nav__burger { display: flex; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; }
  .about__stats { grid-template-columns: 1fr 1fr; }

  .gallery__grid { grid-auto-rows: 150px; gap: 8px; }
  .gallery__item--wide { grid-column: span 1; }

  .contact__actions { flex-direction: column; }
  .btn--big { width: 100%; }

  .lightbox__nav { width: 40px; height: 40px; font-size: 1.2rem; }

  .merch__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .merch-card__body { padding: 12px 12px 16px; }
  .merch-card__price { font-size: 1.1rem; }
  .tier-grid { grid-template-columns: 1fr; }
  .logo-preview__controls { flex-direction: column; align-items: stretch; }
  .logo-preview__controls .btn { text-align: center; }
  .modal__box { padding: 30px 20px 24px; }
}

@media (max-width: 480px) {
  .merch__grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .hero__badge, .hero__title, .hero__sub, .hero__actions { animation: none; }
}
