/* ===================================================================
   IRONCLAD — Design tokens & base
   Palette: void black, charcoal, off-white, red. (unchanged)
   Type: Archivo Black (display) / Archivo (body) / JetBrains Mono (data)
=================================================================== */

:root {
  --c-void: #0A0A0B;
  --c-charcoal: #161618;
  --c-charcoal-2: #1E1E21;
  --c-off-white: #EDEDED;
  --c-steel: #3A3A3D;
  --c-steel-soft: #2A2A2D;
  --c-red: #E8222B;
  --c-red-hover: #C91B23;
  --c-red-dim: #8C1217;
  --c-neon: #FF4D4D;          /* red for small text: passes AA on black */

  --text: var(--c-off-white);
  --text-muted: rgba(237, 237, 237, 0.72);
  --text-soft: rgba(237, 237, 237, 0.6);

  --f-display: 'Archivo Black', 'Archivo', sans-serif;
  --f-body: 'Archivo', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 6rem;

  /* Type scale */
  --fs-h1: clamp(2.5rem, 6vw, 4.75rem);
  --fs-h2: clamp(1.75rem, 3.4vw, 2.6rem);
  --fs-h3: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --max-w: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 4px;
  --radius-lg: 8px;

  color-scheme: dark;
}

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

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

body {
  background: var(--c-void);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--c-neon);
  outline-offset: 3px;
  border-radius: var(--radius);
}

::selection { background: var(--c-red); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--c-red); color: #fff; padding: 0.75rem 1.25rem; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* ===================================================================
   Layout primitives
=================================================================== */
/* Sections are full width; padding keeps content in a centred column,
   so a section can carry its own background band. */
.section {
  --pad-x: max(var(--gutter), calc((100% - var(--max-w)) / 2 + var(--gutter)));
  padding: var(--space-xl) var(--pad-x);
}
.section--band { background: var(--c-charcoal); border-block: 1px solid var(--c-steel-soft); }
@media (max-width: 700px) {
  .section { padding-block: 4rem; }
}

.section-head { margin-bottom: var(--space-lg); max-width: 40rem; }
.section-tag {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-neon);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 400;
}

/* Entrance — GSAP path: elements start hidden, script animates them in.
   If GSAP fails to load or motion is reduced, script adds .no-anim and the
   lightweight IntersectionObserver fade below takes over instead. */
.js:not(.no-anim) [data-reveal],
.js:not(.no-anim) [data-stagger] > *,
.js:not(.no-anim) [data-hero] { opacity: 0; }
.js:not(.no-anim) [data-split]:not(.is-split) { visibility: hidden; }
.js:not(.no-anim) .hero__title .line__inner { transform: translateY(110%); }
.js:not(.no-anim) .footer__mark span { transform: translateY(105%); }

.js.no-anim [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.js.no-anim [data-reveal].is-visible { opacity: 1; transform: none; }

/* Word / line masks used by the heading reveals */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w__i { display: inline-block; will-change: transform; }
.hero__title .line { overflow: hidden; padding-block: 0.06em; margin-block: -0.06em; }
.hero__title .line__inner { display: block; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Scroll progress */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 800;
  background: var(--c-red); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
}

/* Buttons — one size, one radius */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn--primary { background: var(--c-red); color: #fff; }
.btn--primary:hover { background: var(--c-red-hover); }
.btn--ghost { border-color: var(--c-steel); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--fs-small); font-weight: 700;
  transition: color 0.2s;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease-out); }
.link-arrow:hover { color: var(--c-neon); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ===================================================================
   Navbar
=================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 700;
  padding: max(1.1rem, env(safe-area-inset-top)) 0 1.1rem;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s, padding 0.25s, transform 0.45s var(--ease-out);
}
.nav.is-hidden:not(:focus-within) { transform: translateY(-100%); }
.nav.is-scrolled {
  padding-block: max(0.7rem, env(safe-area-inset-top)) 0.7rem;
  background: rgba(10, 10, 11, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
}
.nav__logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--f-display); font-size: 1.1rem; letter-spacing: 0.02em;
}
.nav__logo img { width: 32px; height: 32px; border-radius: var(--radius); }
.nav__logo-text em, .footer__logo em { font-style: normal; color: var(--c-red); }
.nav__links { display: none; align-items: center; gap: 1.75rem; }
.nav__link { position: relative; font-size: var(--fs-small); font-weight: 500; padding-block: 0.25rem; }
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--c-red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta {
  display: none; min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: var(--fs-small);
  background: var(--c-off-white); color: var(--c-void);
}
.nav__cta:hover { background: var(--c-red); color: #fff; }
.nav__burger {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 32px; height: 32px;
}
.nav__burger::before { content: ''; position: absolute; inset: -8px; }
.nav__burger span {
  display: block; height: 2px; background: var(--text);
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 650;
  background: var(--c-void);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-md);
  padding: 5.5rem 1.5rem 2rem;
  overflow-y: auto;
  visibility: hidden; opacity: 0;
  transition: opacity 0.25s, visibility 0.25s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.mobile-menu nav a { font-family: var(--f-display); font-size: 1.6rem; text-transform: uppercase; }
.mobile-menu nav a:hover { color: var(--c-neon); }
@media (max-height: 640px) {
  .mobile-menu { justify-content: flex-start; }
  .mobile-menu nav { gap: 0.4rem; }
  .mobile-menu nav a { font-size: 1.25rem; }
}

/* ===================================================================
   Hero
=================================================================== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: -10% 0 0 0; z-index: 0; will-change: transform; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: 50% 40%;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.62) 0%, rgba(10,10,11,0.78) 60%, var(--c-void) 100%),
    radial-gradient(120% 80% at 70% 30%, transparent 0%, rgba(10,10,11,0.35) 100%);
}
.hero__content {
  position: relative; z-index: 2; width: 100%; max-width: var(--max-w); margin: 0 auto;
  padding: 8rem var(--gutter) var(--space-lg);
}
.hero__eyebrow {
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: var(--space-sm);
}
.hero__title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: var(--fs-h1); line-height: 1; margin-bottom: var(--space-md);
}
.hero__title span { display: block; }
.hero__title-accent { color: var(--c-red); }
.hero__subtitle {
  max-width: 32rem; font-size: 1.125rem; color: var(--text-muted); margin-bottom: var(--space-md);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__ticker {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-sm) 0;
}
.ticker {
  max-width: var(--max-w); margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm) var(--space-md);
}
@media (min-width: 700px) { .ticker { grid-template-columns: repeat(4, 1fr); } }
.ticker__item { display: flex; flex-direction: column; gap: 0.15rem; }
.ticker__num { font-family: var(--f-mono); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.ticker__label {
  font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-soft);
}

/* ===================================================================
   Marquee — drifts with scroll velocity (see script.js)
=================================================================== */
.marquee {
  overflow: hidden; border-block: 1px solid var(--c-steel-soft);
  padding: clamp(1rem, 2.2vw, 1.8rem) 0; background: var(--c-void);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-right: clamp(1.5rem, 3vw, 3rem); flex-shrink: 0; }
.marquee__group span {
  font-family: var(--f-display); text-transform: uppercase; white-space: nowrap; line-height: 1;
  font-size: clamp(2.25rem, 6.5vw, 5.5rem);
  color: transparent; -webkit-text-stroke: 1.5px rgba(237, 237, 237, 0.5);
}
.marquee__group span.is-solid { color: var(--text); -webkit-text-stroke: 0; }
.marquee__group i { width: 0.6rem; height: 0.6rem; background: var(--c-red); flex-shrink: 0; transform: rotate(45deg); }

/* ===================================================================
   About
=================================================================== */
.about__grid { display: grid; gap: var(--space-lg); }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; align-items: start; }
}
.about__media { margin: 0; }
.media-mask { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--c-steel-soft); }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; will-change: transform; }
.about__media figcaption {
  display: flex; align-items: baseline; gap: 0.75rem; margin-top: 0.9rem;
  font-size: var(--fs-small); color: var(--text-soft);
}
.about__media-num { font-family: var(--f-mono); font-weight: 700; color: var(--c-neon); }
.about__title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: var(--fs-h2); line-height: 1.12; margin-bottom: var(--space-sm);
}
.about__text { color: var(--text-muted); max-width: 36rem; margin-bottom: var(--space-lg); }
.about__pillars {
  display: grid; gap: var(--space-md); padding-top: var(--space-md);
  border-top: 1px solid var(--c-steel-soft); margin-bottom: var(--space-lg);
}
@media (min-width: 600px) { .about__pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar__mark {
  display: block; font-family: var(--f-mono); font-size: var(--fs-label);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-neon); margin-bottom: 0.4rem;
}
.pillar p { font-size: var(--fs-small); color: var(--text-soft); }
.about__stats { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-lg); }
.about__stat { display: flex; flex-direction: column; gap: 0.15rem; }
.about__stat-num { font-family: var(--f-mono); font-weight: 700; font-size: 1.75rem; }
.about__stat-label { font-size: var(--fs-label); color: var(--text-soft); max-width: 9rem; line-height: 1.4; }

/* ===================================================================
   Programs — ruled list rather than a card grid
=================================================================== */
.programs__list { border-top: 1px solid var(--c-steel); }
.program {
  display: grid; gap: 0.5rem;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--c-steel-soft);
  transition: background-color 0.2s;
}
.program__index { font-family: var(--f-mono); font-size: var(--fs-label); color: var(--text-soft); }
.program h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; line-height: 1.2; }
.program p { color: var(--text-muted); font-size: var(--fs-small); max-width: 34rem; }
.program .link-arrow { margin-top: 0.25rem; }
@media (min-width: 900px) {
  .program {
    grid-template-columns: 3.5rem 1fr 1.6fr auto;
    align-items: center; gap: var(--space-md);
    padding: 1.6rem 0.75rem;
  }
  .program .link-arrow { margin: 0; }
  .program:hover { background: var(--c-charcoal); }
  .program h3 { transition: transform 0.5s var(--ease-out); }
  .program__index { transition: color 0.3s; }
  .program:hover h3 { transform: translateX(10px); }
  .program:hover .program__index { color: var(--c-neon); }
}

/* ===================================================================
   Why — open columns, no cards
=================================================================== */
.why__grid { display: grid; gap: var(--space-lg) var(--space-lg); }
@media (min-width: 700px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { padding-top: var(--space-sm); border-top: 2px solid var(--c-red); }
.why-item h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.why-item p { font-size: var(--fs-small); color: var(--text-muted); max-width: 22rem; }

/* ===================================================================
   Trainers
=================================================================== */
.trainers__grid { display: grid; gap: var(--space-md); }
@media (min-width: 560px) { .trainers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trainers__grid { grid-template-columns: repeat(4, 1fr); } }
.trainer-card__photo {
  aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: var(--space-sm);
  border-radius: var(--radius-lg); border: 1px solid var(--c-steel-soft);
}
.trainer-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.4); transition: filter 0.4s, transform 0.8s var(--ease-out);
}
@media (hover: hover) { .trainer-card:hover .trainer-card__photo img { transform: scale(1.05); } }
.trainer-card:hover .trainer-card__photo img { filter: none; }
.trainer-card h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: var(--fs-h3); }
.trainer-card__role {
  display: block; margin: 0.25rem 0 0.5rem; font-size: var(--fs-label);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-neon);
}
.trainer-card p { font-size: var(--fs-small); color: var(--text-muted); }

/* ===================================================================
   Results — before/after
=================================================================== */
.transform__layout { display: grid; gap: var(--space-lg); }
@media (min-width: 950px) { .transform__layout { grid-template-columns: 1fr 17rem; align-items: center; } }
.transform__compare {
  --pos: 55%;
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--c-steel-soft);
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;         /* vertical scroll still works on phones */
  cursor: ew-resize;
}
@media (min-width: 600px) { .transform__compare { aspect-ratio: 4 / 3; } }
.transform__compare img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
}
.transform__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.transform__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--c-red); }
.transform__handle {
  position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px;
  margin: -22px 0 0 -22px; border-radius: 50%;
  background: var(--c-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.transform__handle svg { width: 20px; height: 20px; }
.transform__badge {
  position: absolute; top: 0.75rem; padding: 0.25rem 0.6rem;
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em;
  background: rgba(10, 10, 11, 0.8); border-radius: var(--radius);
}
.transform__badge--before { left: 0.75rem; }
.transform__badge--after { right: 0.75rem; }
.transform__stats { display: grid; gap: var(--space-md); }
@media (max-width: 949px) { .transform__stats { grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); } }
@media (max-width: 480px) { .transform__stats { grid-template-columns: 1fr; } }
.transform__stat { border-left: 2px solid var(--c-red); padding-left: var(--space-sm); }
.transform__stat-num { display: block; font-family: var(--f-mono); font-weight: 700; font-size: 1.9rem; line-height: 1.2; }
.transform__stat-label { font-size: var(--fs-small); color: var(--text-soft); }

/* ===================================================================
   Membership
=================================================================== */
.membership__grid { display: grid; gap: var(--space-md); }
@media (min-width: 900px) { .membership__grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--c-void); border: 1px solid var(--c-steel-soft);
  border-radius: var(--radius-lg); padding: var(--space-md);
}
.plan-card--popular { border-color: var(--c-red); }
.plan-card__badge {
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-neon);
  position: absolute; top: var(--space-md); right: var(--space-md);
}
.plan-card__name { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.35rem; }
.plan-card__desc { font-size: var(--fs-small); color: var(--text-soft); margin: 0.25rem 0 var(--space-md); }
.plan-card__price { font-family: var(--f-mono); font-size: 0.95rem; color: var(--text-soft); margin-bottom: var(--space-md); }
.plan-card__price span { font-size: 2.4rem; font-weight: 700; color: var(--text); }
.plan-card__features { display: grid; gap: 0.6rem; margin-bottom: var(--space-md); flex-grow: 1; align-content: start; }
.plan-card__features li { position: relative; padding-left: 1.4rem; font-size: var(--fs-small); color: var(--text-muted); }
.plan-card__features li::before {
  content: ''; position: absolute; left: 0; top: 0.4em; width: 0.7rem; height: 0.4rem;
  border-left: 2px solid var(--c-neon); border-bottom: 2px solid var(--c-neon);
  transform: rotate(-45deg);
}

/* ===================================================================
   Testimonials — static grid, no auto-rotation
=================================================================== */
.testi__grid { display: grid; gap: var(--space-md); }
@media (min-width: 800px) { .testi__grid { grid-template-columns: repeat(2, 1fr); } }
.testi-card {
  display: flex; flex-direction: column; gap: var(--space-sm);
  padding: var(--space-md); border-top: 1px solid var(--c-steel);
}
.testi-card__stars { color: var(--c-neon); letter-spacing: 0.15em; font-size: var(--fs-small); }
.testi-card blockquote { font-size: 1.125rem; line-height: 1.55; font-weight: 500; flex-grow: 1; }
.testi-card__author { display: flex; align-items: center; gap: 0.75rem; }
.testi-card__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-card__author div { display: flex; flex-direction: column; line-height: 1.4; }
.testi-card__name { font-weight: 700; font-size: var(--fs-small); }
.testi-card__since { font-size: var(--fs-label); color: var(--text-soft); }

/* ===================================================================
   Gallery + lightbox
=================================================================== */
.gallery__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: var(--space-xs);
}
@media (min-width: 700px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; } }
.gallery__item { overflow: hidden; border-radius: var(--radius); }
.gallery__item--tall { grid-row: span 2; }
@media (min-width: 700px) { .gallery__item--wide { grid-column: span 2; } }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.5) brightness(0.88); transition: filter 0.4s, transform 0.8s var(--ease-out);
}
@media (hover: hover) { .gallery__item:hover img { transform: scale(1.06); } }
.gallery__item:hover img { filter: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 9000; background: rgba(5, 5, 6, 0.95);
  display: flex; align-items: center; justify-content: center; padding: 4rem var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 85vh; max-height: 85dvh; width: auto; border-radius: var(--radius); }
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 255, 255, 0.1);
}
.lightbox__close:hover { background: var(--c-red); }
.lightbox__close svg { width: 18px; height: 18px; }

/* ===================================================================
   FAQ — native <details>
=================================================================== */
.faq__list { max-width: 48rem; border-top: 1px solid var(--c-steel); }
.faq-item { border-bottom: 1px solid var(--c-steel-soft); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  padding: 1.25rem 0;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem); line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex-shrink: 0; width: 0.6rem; height: 0.6rem;
  border-right: 2px solid var(--c-neon); border-bottom: 2px solid var(--c-neon);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding-bottom: 1.25rem; color: var(--text-muted); max-width: 38rem; }

/* ===================================================================
   Contact
=================================================================== */
.contact__grid { display: grid; gap: var(--space-lg); }
@media (min-width: 950px) { .contact__grid { grid-template-columns: 1.3fr 0.7fr; gap: 5rem; } }
.contact__form { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-row { display: grid; gap: var(--space-sm); }
@media (min-width: 550px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { position: relative; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 1.5rem 1rem 0.55rem;
  background: var(--c-charcoal); border: 1px solid var(--c-steel);
  border-radius: var(--radius); transition: border-color 0.2s;
}
.form-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FF4D4D' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.form-field select option { background: var(--c-charcoal); color: var(--text); }
.form-field textarea { resize: vertical; min-height: 7rem; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--c-neon); }
.form-field.has-error input, .form-field.has-error select { border-color: var(--c-neon); }
.form-field label {
  position: absolute; left: 1rem; top: 1.05rem; font-size: 0.95rem; color: var(--text-soft);
  pointer-events: none; transition: top 0.15s, font-size 0.15s;
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label,
.form-field select:focus + label,
.form-field select.has-value + label {
  top: 0.4rem; font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-neon);
}
.form-error { display: none; margin-top: 0.3rem; font-size: var(--fs-label); color: var(--c-neon); }
.form-field.has-error .form-error { display: block; }
.form-status { min-height: 1.4em; font-size: var(--fs-small); color: var(--text-muted); }

.contact__details { display: grid; gap: var(--space-sm); }
.contact__details li {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding-bottom: var(--space-sm); border-bottom: 1px solid var(--c-steel-soft);
}
.contact__details-label {
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-neon);
}
.contact__details a:hover { color: var(--c-neon); }

/* ===================================================================
   Footer
=================================================================== */
.footer {
  --pad-x: max(var(--gutter), calc((100% - var(--max-w)) / 2 + var(--gutter)));
  padding: var(--space-xl) var(--pad-x) var(--space-md);
  border-top: 1px solid var(--c-steel-soft);
}
.footer__top { display: grid; gap: var(--space-lg); padding-bottom: var(--space-lg); }
@media (min-width: 800px) { .footer__top { grid-template-columns: 1fr 1fr; align-items: end; } }
.footer__logo { font-family: var(--f-display); font-size: 1.4rem; }
.footer__brand p { margin-top: 0.6rem; max-width: 20rem; font-size: var(--fs-small); color: var(--text-soft); }
.footer__newsletter h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: var(--fs-h3); margin-bottom: var(--space-sm); }
.footer__form {
  display: flex; align-items: center; max-width: 24rem;
  border-bottom: 1.5px solid var(--c-steel); transition: border-color 0.2s;
}
.footer__form:focus-within { border-color: var(--c-neon); }
.footer__form input { flex: 1; min-width: 0; padding: 0.7rem 0; font-size: 0.95rem; }
.footer__form button {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--c-neon);
}
.footer__form button svg { width: 18px; height: 18px; }
.footer__status { margin-top: 0.5rem; min-height: 1.3em; font-size: var(--fs-label); color: var(--text-muted); }
.footer__links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md) var(--space-sm);
  padding: var(--space-lg) 0; border-top: 1px solid var(--c-steel-soft);
}
.footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col h3 {
  font-family: var(--f-mono); font-weight: 400; font-size: var(--fs-label); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c-neon); margin-bottom: 0.2rem;
}
.footer__col a { font-size: var(--fs-small); color: var(--text-muted); transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__mark {
  display: flex; justify-content: space-between; overflow: hidden;
  font-family: var(--f-display); text-transform: uppercase; line-height: 0.82;
  font-size: clamp(2.5rem, 14vw, 11.5rem); padding: var(--space-md) 0 0.06em; user-select: none;
}
.footer__mark span {
  display: block; color: transparent; -webkit-text-stroke: 1px rgba(237, 237, 237, 0.2);
  transition: color 0.35s, -webkit-text-stroke-color 0.35s;
}
@media (hover: hover) { .footer__mark span:hover { color: var(--c-red); -webkit-text-stroke-color: var(--c-red); } }
.footer__bottom {
  display: flex; flex-direction: column; gap: 0.4rem; padding-top: var(--space-md);
  border-top: 1px solid var(--c-steel-soft); font-size: var(--fs-label); color: var(--text-soft);
}
@media (min-width: 700px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

/* Back to top */
.to-top {
  position: fixed; z-index: 600; width: 44px; height: 44px; border-radius: 50%;
  right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center;
  background: var(--c-charcoal); border: 1px solid var(--c-steel);
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s, border-color 0.2s;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { border-color: var(--c-neon); }
