/* ==========================================================================
   Unlimited Fitness LLC — Design System
   Dark / blue athletic theme
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --ink:        #0a0a0b;
  --ink-1:      #101013;
  --ink-2:      #16161a;
  --line:       rgba(30, 144, 255, .30);
  --line-soft:  rgba(255, 255, 255, .10);

  --accent:     #1e90ff;
  --accent-hi:  #6bb8ff;
  --accent-lo:  #0060f0;

  --frost:      #eef4fb;

  --txt:        #ffffff;
  --txt-dim:    rgba(255, 255, 255, .68);
  --txt-mute:   rgba(255, 255, 255, .48);
  --txt-dark:   #16161a;
  --txt-dark-2: #55565e;

  --shell:      1240px;
  --gut:        clamp(20px, 5vw, 48px);
  --r-sm:       10px;
  --r:          16px;
  --r-lg:       24px;
  --r-pill:     999px;

  --sh-1:       0 4px 18px rgba(0, 0, 0, .35);
  --sh-2:       0 18px 48px rgba(0, 0, 0, .5);
  --sh-accent:  0 10px 30px rgba(30, 144, 255, .28);

  --ease:       cubic-bezier(.22, .61, .36, 1);

  --topbar-h:   38px;
  --head-h:     84px;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--txt);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #000; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 8px;
  transform: translate(-50%, -160%);
  z-index: 999;
  background: var(--accent); color: #000;
  padding: 10px 20px; border-radius: var(--r-pill);
  font-weight: 700; font-size: .85rem;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --- Layout ------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.shell--wide { max-width: 1480px; }

.section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--flush-t { padding-top: 0; }

/* Ambient blue glow used behind feature sections */
.section--glow { overflow: hidden; }
.section--glow::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(58% 62% at 50% 0%,  rgba(30, 144, 255, .30), transparent 62%),
    radial-gradient(40% 50% at 12% 40%, rgba(30, 144, 255, .14), transparent 70%),
    radial-gradient(40% 50% at 88% 55%, rgba(30, 144, 255, .12), transparent 70%);
  pointer-events: none;
}
.section--glow > * { position: relative; z-index: 1; }

/* Faint architectural grid lines, echoing the reference layout */
.section--frame::after {
  content: "";
  position: absolute;
  inset: 12% 6%;
  border: 1px solid rgba(30, 144, 255, .10);
  pointer-events: none;
  z-index: 0;
}

/* --- Type --------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 34px; height: 2px;
  background: linear-gradient(270deg, var(--accent), transparent);
}

.h-xl  { font-size: clamp(2.75rem, 8.5vw, 6rem); }
.h-lg  { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.h-md  { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.h-sm  { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

.g { color: var(--accent); }

.lede {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  color: var(--txt-dim);
  max-width: 62ch;
}
.lede--center { margin-inline: auto; }

.center { text-align: center; }
.stack   > * + * { margin-top: 22px; }
.stack-s > * + * { margin-top: 14px; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #041018;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent; border-radius: var(--r-pill);
  font-size: .86rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover  { transform: translateY(-3px); box-shadow: var(--sh-accent); }
.btn:active { transform: translateY(-1px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--accent);
  border-color: var(--accent);
}
.btn--ghost:hover { --btn-bg: var(--accent); --btn-fg: #041018; }

.btn--light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .38);
}
.btn--light:hover {
  --btn-bg: #fff; --btn-fg: var(--txt-dark);
  box-shadow: 0 10px 30px rgba(255, 255, 255, .18);
}

.btn--sm { padding: 11px 22px; font-size: .74rem; }
.btn--lg { padding: 18px 42px; font-size: .92rem; }

.btn-row {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
}
.btn-row--center { justify-content: center; }

/* Phone shown as a link beside a button */
.tel-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem;
  color: #fff;
  transition: color .2s var(--ease);
}
.tel-link:hover { color: var(--accent); }
.tel-link svg { width: 18px; height: 18px; flex: none; color: var(--accent); }

/* --- Top bar ------------------------------------------------------------ */
.topbar {
  /* Deep brand blue with white text. Every stop clears 4.5:1 against #fff —
     the light end of the accent ramp would not, so it is deliberately excluded. */
  background: linear-gradient(90deg, #0047c4, #0060f0 38%, #0068f5 62%, #0060f0);
  color: #ffffff;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .04em;
  min-height: var(--topbar-h);
  display: flex; align-items: center;
  position: relative; z-index: 60;
}
.topbar .shell {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 8px 26px;
  padding-block: 7px;
}
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 14px; height: 14px; flex: none; }
.topbar .topbar__sep { opacity: .45; }

/* --- Header ------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  /* Logo scale, consumed by .brand below. Overridden when stuck. */
  --logo-h:   124px;
  --logo-top: 6px;
  --logo-ar:  1.693;   /* 721:426, the logo's natural ratio */
}
.header.is-stuck {
  background: rgba(10, 10, 11, .96);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .5);
  --logo-h:   48px;
  --logo-top: calc((var(--head-h) - var(--logo-h)) / 2);
}
.header .shell {
  display: flex; align-items: center; gap: 24px;
  min-height: var(--head-h);
}

/* Oversized emblem at rest, shrinking into the bar on scroll.
   The image is absolutely positioned so it can hang past the header without
   stretching it — the header is sticky and in-flow, so animating its own
   height would push the whole page down as the user scrolls.
   .brand still reserves the logo's width so the nav lays out against it. */
.brand {
  position: relative;
  flex: none; margin-right: auto;
  height: var(--head-h);
  width: calc(var(--logo-h) * var(--logo-ar));
  transition: width .38s var(--ease);
}
.brand img {
  position: absolute;
  top: var(--logo-top); left: 0;
  height: var(--logo-h);
  width: auto; max-width: none;
  transform-origin: left center;
  filter: drop-shadow(0 4px 16px rgba(30, 144, 255, .38));
  transition: height .38s var(--ease), top .38s var(--ease),
              transform .3s var(--ease), filter .38s var(--ease);
}
.brand:hover img { transform: scale(1.03); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: .85rem; font-weight: 600;
  color: var(--txt-dim);
  border-radius: var(--r-sm);
  transition: color .2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active { color: #fff; }
.nav a.is-active::after { transform: scaleX(1); }

.header__cta { flex: none; }

.burger {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  cursor: pointer;
  align-items: center; justify-content: center;
  flex: none;
}
.burger span {
  display: block; position: relative;
  width: 20px; height: 2px; border-radius: 2px;
  background: var(--accent);
  transition: transform .3s var(--ease), background-color .2s var(--ease);
}
.burger span::before,
.burger span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; border-radius: 2px;
  background: var(--accent);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top:  6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  display: none;
  position: fixed; inset: 0;
  z-index: 45;
  background: rgba(6, 6, 7, .97);
  backdrop-filter: blur(8px);
  padding: calc(var(--head-h) + var(--topbar-h) + 24px) var(--gut) 40px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.drawer.is-open { opacity: 1; }
.drawer nav { display: flex; flex-direction: column; gap: 2px; }
.drawer nav a {
  padding: 16px 4px;
  font-size: 1.2rem; font-weight: 700;
  color: var(--txt-dim);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer nav a.is-active,
.drawer nav a:hover { color: var(--accent); }
.drawer nav a::after { content: "\2192"; opacity: .35; font-weight: 400; }
.drawer__foot { margin-top: 32px; display: grid; gap: 14px; }
body.nav-open { overflow: hidden; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: clamp(560px, 86vh, 860px);
  padding: clamp(70px, 10vw, 130px) 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: saturate(.55) contrast(1.12) brightness(.42);
  transform: scale(1.06);
  animation: heroDrift 26s var(--ease) infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.15) translate3d(-1.5%, -1.5%, 0); }
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 10, 11, .96) 4%, rgba(10, 10, 11, .78) 42%, rgba(10, 10, 11, .34) 78%),
    linear-gradient(0deg, var(--ink) 1%, transparent 34%),
    radial-gradient(70% 90% at 88% 30%, rgba(30, 144, 255, .20), transparent 62%);
}
.hero__inner { max-width: 780px; }
.hero h1 { margin-bottom: 18px; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: rgba(255, 255, 255, .82); }
.hero .btn-row { margin-top: 38px; }

.hero__stat {
  position: absolute; right: var(--gut); bottom: clamp(28px, 6vw, 64px);
  z-index: 2;
  text-align: right;
  border-right: 3px solid var(--accent);
  padding-right: 20px;
}
.hero__stat b {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1;
  color: var(--accent);
}
.hero__stat span {
  font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--txt-dim);
}

/* Compact hero for interior pages */
.hero--page {
  min-height: clamp(380px, 52vh, 520px);
  align-items: flex-end;
  padding-bottom: clamp(50px, 6vw, 80px);
}
.hero--page .hero__inner { max-width: 900px; }
.hero--page::before {
  background:
    linear-gradient(180deg, rgba(10, 10, 11, .74) 0%, rgba(10, 10, 11, .52) 40%, var(--ink) 99%),
    radial-gradient(60% 70% at 78% 22%, rgba(30, 144, 255, .22), transparent 64%);
}

/* --- Feature cards ------------------------------------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(22px, 3vw, 34px);
  margin-top: 76px;
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--frost);
  color: var(--txt-dark);
  border-radius: var(--r-lg);
  padding: 62px 30px 34px;
  box-shadow: var(--sh-2);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .58);
}
/* Staggered lift, mirroring the reference's offset card row */
.cards--stagger .card:nth-child(odd)  { transform: translateY(18px); }
.cards--stagger .card:nth-child(odd):hover  { transform: translateY(10px); }
.cards--stagger .card:nth-child(even):hover { transform: translateY(-8px); }

.card__icon {
  position: absolute; top: -34px; left: 50%;
  transform: translateX(-50%);
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--accent-hi), var(--accent) 55%, var(--accent-lo));
  box-shadow: 0 10px 24px rgba(30, 144, 255, .34), 0 0 0 6px var(--ink);
  color: #041018;
}
.card__icon svg { width: 32px; height: 32px; }
.card h3 { font-size: 1.22rem; margin-bottom: 12px; text-align: center; }
.card p  { font-size: .94rem; color: var(--txt-dark-2); line-height: 1.72; text-align: center; }

/* margin-top:auto pins the link to the card floor, so a short card and a long
   card still line their links up across the row. */
.card__link {
  margin-top: auto;
  padding-top: 24px;
  align-self: center;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-lo);
  transition: gap .25s var(--ease), color .2s var(--ease);
}
.card__link svg { width: 15px; height: 15px; }
.card__link:hover { gap: 15px; }
/* accent-lo is too dark to sit on the dark card variant */
.card--dark .card__link { color: var(--accent-hi); }

/* Dark variant used on interior pages */
.card--dark {
  background: linear-gradient(165deg, var(--ink-2), var(--ink-1));
  color: var(--txt);
  border: 1px solid var(--line-soft);
  box-shadow: var(--sh-1);
}
.card--dark p { color: var(--txt-dim); }
.card--dark:hover { border-color: var(--line); }

/* --- Split (text + stacked photos) -------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__body { max-width: 560px; }

/* Overlapping photo cluster with an offset accent frame */
.photo-cluster { position: relative; padding: 26px 26px 60px 0; }
.photo-cluster::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 62%; height: 68%;
  border: 2px solid var(--accent);
  border-radius: var(--r);
  z-index: 0;
}
.photo-cluster img {
  position: relative;
  border-radius: var(--r);
  box-shadow: var(--sh-2);
  filter: saturate(.82) contrast(1.06) brightness(.92);
  transition: transform .4s var(--ease), filter .4s var(--ease);
}
.photo-cluster img:hover { filter: saturate(1) contrast(1.06) brightness(1); transform: scale(1.02); }
.photo-cluster__a { width: 78%; margin-left: auto; z-index: 1; }
.photo-cluster__b {
  width: 52%;
  margin-top: -22%;
  z-index: 2;
  border: 4px solid var(--ink);
}
.photo-cluster__c {
  width: 42%;
  margin: -18% 0 0 auto;
  margin-right: 8%;
  z-index: 3;
  border: 4px solid var(--ink);
}

/* Single framed photo */
.framed { position: relative; padding: 22px 0 22px 22px; }
.framed::before {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 55%; height: 72%;
  border: 2px solid var(--accent);
  border-radius: var(--r);
}
.framed img {
  position: relative;
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--sh-2);
  filter: saturate(.85) contrast(1.06) brightness(.9);
}

/* --- Mosaic gallery ----------------------------------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 168px;
  gap: 16px;
}
.mosaic .shot:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic .shot:nth-child(4) { grid-column: span 2; }

.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--ink-2);
  cursor: zoom-in;
}
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.08) brightness(.82);
  transition: transform .6s var(--ease), filter .45s var(--ease);
}
.shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 11, .55));
  opacity: .9;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.shot:hover img { transform: scale(1.07); filter: saturate(1) contrast(1.05) brightness(1); }
.shot:hover::after { opacity: .35; }
.shot:hover { border-color: var(--accent); }

/* Even grid for equipment / merch / tanning galleries */
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.grid-gallery .shot { aspect-ratio: 4 / 3; }
.grid-gallery .shot--tall { aspect-ratio: 3 / 4; }
.grid-gallery .shot--wide { aspect-ratio: 16 / 9; grid-column: span 2; }

/* --- Stat strip --------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
}
.stat {
  background: var(--ink-1);
  padding: 34px 26px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800; line-height: 1.1;
  color: var(--accent);
}
.stat span {
  font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--txt-mute);
}

/* --- Quote band --------------------------------------------------------- */
.band {
  position: relative;
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--ink-1);
  border-block: 1px solid var(--line);
  overflow: hidden;
  text-align: center;
}
.band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(52% 100% at 50% 50%, rgba(30, 144, 255, .16), transparent 70%);
}
.band > * { position: relative; }
.band__quote {
  font-size: clamp(1.6rem, 4vw, 2.9rem);
  font-weight: 800; line-height: 1.22;
  letter-spacing: -.02em;
  max-width: 20ch;
  margin-inline: auto;
}

/* --- Testimonials ------------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 2.6vw, 28px);
}
.quote {
  position: relative;
  background: linear-gradient(165deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 44px 30px 30px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.quote:hover { transform: translateY(-6px); border-color: var(--line); }
.quote::before {
  content: "\201C";
  position: absolute; top: 6px; left: 24px;
  font-size: 5rem; line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--accent);
  opacity: .34;
}
.quote p {
  position: relative;
  font-size: .96rem;
  color: var(--txt-dim);
  line-height: 1.78;
}
.quote__by {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.quote__av {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--accent-hi), var(--accent));
  color: #041018;
  font-weight: 800; font-size: .95rem;
}
/* The name + stars column beside the avatar */
.quote__by > span:not(.quote__av) { display: block; min-width: 0; }
.quote__by cite {
  font-style: normal; font-weight: 700; font-size: .95rem;
}

/* --- Info / contact ----------------------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 2.6vw, 28px);
}
.info {
  background: linear-gradient(165deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.info:hover { border-color: var(--line); transform: translateY(-4px); }
.info__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(30, 144, 255, .12);
  border: 1px solid var(--line);
  color: var(--accent);
  margin-bottom: 20px;
}
.info__icon svg { width: 24px; height: 24px; }
.info h3 {
  font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.info p, .info a { color: var(--txt-dim); font-size: .98rem; line-height: 1.7; }
.info a:hover { color: var(--accent); }

/* --- Form --------------------------------------------------------------- */
.form-wrap {
  background: linear-gradient(165deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
}
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--txt-mute);
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  color: #fff;
  font: inherit; font-size: .95rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, .28); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(30, 144, 255, .06);
}
.form__note { font-size: .82rem; color: var(--txt-mute); }

/* Honeypot. Off-screen rather than display:none — some bots skip hidden
   fields, and screen readers still announce the "leave this field empty"
   label if focus ever lands here. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

/* Submit result. Hidden until main.js adds .is-shown. */
.form__msg {
  display: none;
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: .9rem;
}
.form__msg.is-shown { display: block; }
.form__msg a { color: inherit; text-decoration: underline; }
.form__msg--ok {
  background: rgba(30, 144, 255, .10);
  border: 1px solid var(--line);
  color: var(--accent-hi);
}
.form__msg--err {
  background: rgba(255, 86, 86, .10);
  border: 1px solid rgba(255, 86, 86, .38);
  color: #ff9d9d;
}

/* --- Map ---------------------------------------------------------------- */
.map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
  box-shadow: var(--sh-2);
}
.map iframe {
  width: 100%; height: clamp(300px, 42vw, 460px); border: 0;
  filter: grayscale(1) invert(.92) contrast(.86) hue-rotate(180deg);
  transition: filter .4s var(--ease);
}
.map:hover iframe { filter: grayscale(.4) invert(.9) contrast(.9) hue-rotate(180deg); }

/* --- Hours band --------------------------------------------------------- */
.hours-band {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0;
  overflow: hidden;
  isolation: isolate;
  border-block: 1px solid var(--line);
}
.hours-band__bg { position: absolute; inset: 0; z-index: -2; }
.hours-band__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.4) contrast(1.1) brightness(.3);
}
.hours-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, .94), rgba(10, 10, 11, .6)),
    radial-gradient(60% 100% at 82% 50%, rgba(30, 144, 255, .2), transparent 65%);
}
.hours-band__inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 32px;
}

/* --- Footer ------------------------------------------------------------- */
.footer {
  background: var(--ink-1);
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 7vw, 84px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 52px;
}
.footer__logo img {
  height: 62px; width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 12px rgba(30, 144, 255, .3));
}
.footer h4 {
  font-size: .76rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
.footer p, .footer li, .footer a { font-size: .93rem; color: var(--txt-dim); line-height: 1.85; }
.footer a:hover { color: var(--accent); }
.footer li + li { margin-top: 2px; }
.footer address { font-style: normal; }

.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  color: var(--txt-dim);
  transition: all .25s var(--ease);
}
.social a:hover {
  background: var(--accent); border-color: var(--accent);
  color: #041018; transform: translateY(-3px);
}
.social svg { width: 18px; height: 18px; }

.footer__bar {
  border-top: 1px solid var(--line-soft);
  padding: 24px 0 30px;
  display: flex; flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center; justify-content: space-between;
}
.footer__bar p { font-size: .84rem; color: var(--txt-mute); }

/* --- Placeholder notice -------------------------------------------------
   Deliberately amber, i.e. off-brand, so sample copy can never be mistaken
   for finished content. Remove this block when real copy lands. */
.notice {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(245, 179, 1, .09);
  border: 1px solid rgba(245, 179, 1, .45);
  border-left-width: 4px;
  border-radius: var(--r);
  padding: 22px 26px;
}
.notice svg { width: 24px; height: 24px; flex: none; color: #ffc94d; margin-top: 2px; }
.notice h3 {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: #ffc94d; margin-bottom: 8px;
}
.notice p { font-size: .93rem; color: var(--txt-dim); }

/* --- Pricing plans ------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 2.6vw, 28px);
  align-items: start;
}
.plan {
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--line); }
.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--sh-accent);
}
.plan__tag {
  align-self: flex-start;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: #041018; background: var(--accent);
  padding: 5px 12px; border-radius: var(--r-pill);
  margin-bottom: 16px;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 10px; }
.plan__price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 14px 0 20px;
}
.plan__price b { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.plan__price span { font-size: .85rem; color: var(--txt-mute); }
.plan ul { margin-bottom: 26px; }
.plan li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .93rem; color: var(--txt-dim);
  padding: 7px 0;
}
.plan li svg { width: 17px; height: 17px; flex: none; color: var(--accent); margin-top: 4px; }
.plan .btn { margin-top: auto; }

/* --- Class schedule ------------------------------------------------------ */
.sched-wrap {
  overflow-x: auto;                    /* table scrolls, page never does */
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.sched { width: 100%; border-collapse: collapse; min-width: 620px; }
.sched th, .sched td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: .92rem;
}
.sched thead th {
  background: rgba(30, 144, 255, .10);
  color: var(--accent);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
}
.sched tbody tr:last-child td { border-bottom: 0; }
.sched tbody tr:hover { background: rgba(255, 255, 255, .03); }
.sched td:first-child { color: #fff; font-weight: 600; white-space: nowrap; }
.sched td:last-child  { color: var(--txt-mute); }

/* --- Google reviews badge ------------------------------------------------ */
.gbadge {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 22px;
  background: linear-gradient(165deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  text-align: left;
}
.gbadge__g {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  background: #fff; border-radius: 50%;
}
.gbadge__g svg { width: 27px; height: 27px; }
.gbadge b { display: block; font-size: 1.05rem; }
.gbadge span { font-size: .9rem; color: var(--txt-dim); }
.gbadge .btn { margin-left: auto; }
@media (max-width: 620px) {
  .gbadge { justify-content: flex-start; }
  .gbadge .btn { margin-left: 0; }
}

/* --- Lightbox ----------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(5, 5, 6, .95);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.lightbox.is-open { display: flex; }
.lightbox.is-visible { opacity: 1; }
.lightbox img {
  max-width: 100%; max-height: 86vh;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--accent); border-color: var(--accent); color: #041018; }
.lightbox__close { top: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px); font-size: 1.5rem; line-height: 1; }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav--prev { left: clamp(10px, 2.4vw, 32px); }
.lightbox__nav--next { right: clamp(10px, 2.4vw, 32px); }

/* --- Scroll reveal ------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }

/* --- Responsive --------------------------------------------------------- */
/* The full-size emblem reserves ~210px of the header row, so the nav collapses
   earlier than usual. Dropping Equipment took the nav from 7 items to 6
   (~638px -> ~535px), which is why this sits at 1180px rather than 1240px. */
@media (max-width: 1240px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
  /* :not([hidden]) so the closed drawer stays hidden — a bare `display:block`
     would out-specify the UA's [hidden] rule and leave it open on load. */
  .drawer:not([hidden]) { display: block; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --head-h: 72px; }
  .header { --logo-h: 96px; }
  .header.is-stuck { --logo-h: 44px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__body { max-width: none; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .mosaic .shot:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .mosaic .shot:nth-child(4) { grid-column: span 2; }
  .grid-gallery .shot--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .cards--stagger .card:nth-child(odd) { transform: none; }
  .cards--stagger .card:nth-child(odd):hover { transform: translateY(-8px); }
  .hero__stat { position: static; margin-top: 44px; text-align: left; border-right: 0; border-left: 3px solid var(--accent); padding: 0 0 0 18px; }
  .photo-cluster { padding-bottom: 30px; }
}

@media (max-width: 620px) {
  .header { --logo-h: 74px; }
  .header.is-stuck { --logo-h: 38px; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .topbar { font-size: .7rem; }
  .topbar .topbar__sep { display: none; }
  .mosaic { grid-auto-rows: 128px; }
  .btn { width: 100%; }
  .btn-row { gap: 12px; }
  .tel-link { width: 100%; justify-content: center; }
  .hours-band__inner { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .topbar, .drawer, .lightbox, .burger { display: none !important; }
  body { background: #fff; color: #000; }
}
