/* ==========================================================================
   WOLF DYNASTY FITNESS — v3 alternate design concept
   Piece 2/7: Full content pass + a disciplined type/spacing system
   Saginaw, MI. Owner-operated powerlifting gym.

   Every font-size / font-weight / letter-spacing used anywhere below is
   pulled from the type scale in :root. Every section's vertical padding
   and every grid/flex gap is pulled from the spacing scale in :root.
   Nothing in this file hand-picks a one-off pixel value for either —
   extend the scale if a new step is genuinely needed, don't eyeball one.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand violet — bold, saturated, #7C3AED family. This is the one
     deliberate departure from the shipped site's muted purple. */
  --violet:        #7C3AED;
  --violet-strong: #6D28D9;
  --violet-deep:   #5B21B6;
  --violet-bright: #A78BFA;
  --violet-tint:   #C4B5FD;
  --violet-glow:   rgba(124, 58, 237, .45);

  /* Neutrals — held close to the real brand tokens on purpose (near-black
     ink + off-white/gray concrete scale), only violet gets to be louder. */
  --ink:       #17161A;
  --ink-deep:  #0C0B0F;
  --ink-2:     #4A4852;
  --concrete-0:#F2F1EE;
  --concrete-1:#E4E2DD;
  --concrete-2:#D2CFC8;
  --concrete-3:#B8B4AB;
  --paper:     #FBFAF8;
  --white:     #FFFFFF;

  /* Type families — fixed pairing for the whole site. Bricolage Grotesque is
     a confident, expressive display face (not condensed/stamped like Rogue,
     not a wall-lettering script) paired with Inter as the clean workhorse. */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-ui:      "Inter", "Segoe UI", system-ui, sans-serif;

  /* Type scale — the only font sizes used anywhere in this file, hero
     headline down to micro captions. Every heading, label, paragraph and
     numeral in the page pulls a step from here rather than a one-off value. */
  --fs-3xs:   .6875rem;                     /* 11px — micro/decorative labels */
  --fs-2xs:   .75rem;                       /* 12px — eyebrow/label rule */
  --fs-xs:    .8125rem;                     /* 13px — captions, form labels, fine print */
  --fs-sm:    .9375rem;                     /* 15px — nav links, meta rows, card copy */
  --fs-base:  1rem;                         /* 16px — body copy default */
  --fs-md:    1.125rem;                     /* 18px — lead paragraphs */
  --fs-lg:    1.375rem;                     /* 22px — card/feature titles */
  --fs-xl:    1.75rem;                      /* 28px — standalone h3 */
  --fs-2xl:   clamp(2rem, 3.4vw, 2.75rem);  /* section h2 */
  --fs-3xl:   clamp(2.5rem, 4.6vw, 3.6rem); /* statement/quote headline */
  --fs-4xl:   clamp(2.6rem, 5.6vw, 4.8rem); /* hero headline */
  --fs-price: clamp(2.75rem, 5.4vw, 3.9rem);/* membership price numerals */

  /* Weight scale — five stops, assigned by role, never picked per-element. */
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-black:    800;

  /* Letter-spacing + case rule: display type tightens as it gets larger
     (Eleiko-style editorial tracking); every uppercase label in the page —
     eyebrows, nav labels, footer headings, form labels — shares the exact
     same positive tracking value. Body copy never gets tracking. */
  --ls-tight:  -.02em;  /* hero + big statement headlines */
  --ls-snug:   -.01em;  /* section h2 / h3 */
  --ls-normal: 0;       /* body copy, always */
  --ls-label:  .12em;   /* the one tracking value for every uppercase label */
  --ls-cite:   .04em;   /* attribution lines under a quote */

  /* Spacing scale — the only values used for section padding, grid/flex
     gaps and stacked-element margins across the page. */
  --space-3xs: 4px;
  --space-2xs: 8px;
  --space-xs:  12px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  32px;
  --space-xl:  48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;
  --space-5xl: 160px;

  /* Section rhythm — one fluid top pad, one fluid bottom pad, reused by
     every section on the page (hero excluded, it's a full-viewport frame). */
  --section-pad-t: clamp(var(--space-4xl), 15vw, var(--space-5xl));
  --section-pad-b: clamp(var(--space-3xl), 11vw, var(--space-4xl));

  /* Motion */
  --ease:      cubic-bezier(.16, 1, .3, 1);
  --dur-fast:  .22s;
  --dur-med:   .4s;
  --dur-slow:  .6s;

  /* Elevation */
  --shadow-float:    0 10px 30px rgba(12, 11, 15, .35);
  --shadow-float-lg: 0 20px 48px rgba(12, 11, 15, .48);
  --shadow-glow:     0 14px 32px var(--violet-glow);

  /* Photography — the one grade applied to every real photograph on the
     page (hero, media-frame cards, banner, detail tiles, photo band).
     Full color, always — a light contrast/saturation lift that reads as
     considered without stylizing the real gym photography or drifting
     toward the shipped site's permanent grayscale filter. */
  --photo-filter: saturate(1.08) contrast(1.06) brightness(1.02);

  /* Layout */
  --container-w: 1280px;
  --edge:        clamp(20px, 5vw, 48px);
  --header-edge: clamp(16px, 4vw, 40px);
  --radius-pill: 999px;
  --radius-md:   20px;
  --radius-sm:   12px;
  --header-offset: 118px; /* anchor scroll offset so the floating nav never covers content */
  --header-h: 108px; /* height of the full-width header scrim — comfortably covers the
                         18px+badge+18px header row at every breakpoint, badge included */
}

@media (max-width: 640px) { :root { --header-offset: 96px; } }

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  min-height: 100svh;
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-weight: inherit; }

p { max-width: 70ch; }

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

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

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--edge);
}

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 500;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  transform: translateY(-140%);
  transition: transform var(--dur-fast) var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
}

/* The one uppercase-label pattern in the page: eyebrows, section tags,
   trust-mark chips and badges are all built on this class so the label
   rule (case + tracking + weight) never drifts between sections. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-ui);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid currentColor;
  opacity: .62;
  margin-bottom: var(--space-md);
}

/* The one "intro paragraph" pattern — larger, quieter than body copy,
   measure-constrained for readability. */
.lead {
  font-family: var(--font-ui);
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  line-height: 1.65;
  opacity: .82;
  max-width: 58ch;
}

/* Card-level heading + body copy, reused by every card/tile component
   (feature list, event cards, price cards) so their type never diverges. */
.card-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  line-height: 1.2;
  letter-spacing: var(--ls-snug);
  margin-bottom: var(--space-2xs);
}
.card-body {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  line-height: 1.62;
  opacity: .8;
}
.card-index {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  opacity: .5;
  margin-bottom: var(--space-sm);
  transition: opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

/* Shared button system for content sections (header/hero keep their own
   established nav-cta / hero-btn treatments from piece 1). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  text-align: center;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: var(--white);
  box-shadow: 0 10px 24px var(--violet-glow);
}
.btn--primary:hover, .btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--ink);
  color: var(--white);
}
.btn--outline-light {
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 255, 255, .4);
  color: var(--white);
}
.btn--outline-light:hover, .btn--outline-light:focus-visible {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .7);
}
.btn--block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   4. Site header — corner badge + floating nav pill
   -------------------------------------------------------------------------- */

/* Full-width header scrim — a dedicated backdrop plate that spans the
   entire header row edge to edge, sitting behind both the badge and
   the nav pill/toggle (z-index between the mobile menu and the header
   itself). This is the fix for the round-1 gap: the badge and pill
   each carry their own opaque/blurred background, but the space
   *between and around* them had none, so page content scrolling past
   underneath had nothing to disappear behind — it visually collided
   with the chrome instead (hero meta row touching the badge, a
   headline sliced by the menu pill, footer links overlapping the
   logo). This scrim closes that gap: invisible at the very top of the
   page (scrollY <= 40, where the hero's own bottom-anchored scrim
   already handles legibility and no content has reached the header
   zone yet), then fades in the same instant body.is-scrolled flips —
   in lockstep with the nav-pill's own compaction — so for the entire
   rest of every scroll on every section, the whole header row is a
   real backdrop, not two floating shapes over open air. */
.site-header-scrim {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  max-width: 100vw; /* see .site-header for why this clamp exists */
  z-index: 290;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 11, 15, .92) 0%, rgba(12, 11, 15, .74) 55%, rgba(12, 11, 15, 0) 100%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}
body.is-scrolled .site-header-scrim { opacity: 1; }
/* The mobile takeover already supplies its own full-viewport dark
   gradient (see §5) — suppress the header scrim while it's open so
   the two dark layers never double up at the top of that panel. */
body.menu-open .site-header-scrim { opacity: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  /* Belt-and-suspenders: a fixed, full-width, inset:0 element's
     containing block is the viewport, and should never exceed it —
     but some engines (notably narrow desktop-browser windows with a
     classic, space-reserving scrollbar) size fixed-position "auto"
     width against the scrollbar-inclusive window width rather than
     the scrollbar-exclusive visual viewport, the same historical
     pitfall as bare `100vw`. A hard max-width clamp costs nothing on
     a correctly-behaving mobile browser (100vw already matches) and
     prevents the header from ever clipping past the right edge. */
  max-width: 100vw;
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 18px var(--header-edge);
  pointer-events: none; /* only the children are interactive */
}
.site-header > * { pointer-events: auto; }

/* Corner medallion */
.brand-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, var(--ink-2) 0%, var(--ink) 55%, var(--ink-deep) 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(124, 58, 237, .18);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.brand-badge img {
  width: 58%;
  height: auto;
  /* logo.png is ink-colored on transparent; force it to render white
     so the mark reads clean against the dark medallion fill. */
  filter: brightness(0) invert(1);
}
.brand-badge:hover,
.brand-badge:focus-visible {
  transform: rotate(-10deg) scale(1.06);
  box-shadow: var(--shadow-float-lg), 0 0 0 1px var(--violet-tint) inset;
}

/* Floating nav shell (desktop pill / mobile toggle) */
.nav-shell {
  display: flex;
  align-items: center;
}

.nav-pill {
  display: flex;
  align-items: center;
  background: rgba(15, 14, 19, .68);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 26px;
  box-shadow: var(--shadow-float);
  transition: padding var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
body.is-scrolled .nav-pill {
  padding: 4px 4px 4px 22px;
  background: rgba(15, 14, 19, .86);
  box-shadow: var(--shadow-float-lg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-right: 26px;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 12px 1px;
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--concrete-1);
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 2px;
  background: var(--violet-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: var(--white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px var(--violet-glow);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px; /* touch target floor */
  background: rgba(15, 14, 19, .7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-pill);
  padding: 12px 20px 12px 16px;
  color: var(--white);
  box-shadow: var(--shadow-float);
}
.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
  flex: none;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform var(--dur-med) var(--ease), width var(--dur-med) var(--ease), top var(--dur-med) var(--ease), bottom var(--dur-med) var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; width: 20px; }
.nav-toggle-bars span:nth-child(2) { bottom: 0; width: 13px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 6px; width: 20px; transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  bottom: 6px; width: 20px; transform: rotate(-45deg);
}
.nav-toggle-text {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  font-family: var(--font-ui);
}

@media (max-width: 900px) {
  .nav-pill { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   5. Mobile menu — full-viewport panel that slides up from the bottom edge
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  max-width: 100vw; /* see .site-header for why this clamp exists */
  z-index: 200;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(124, 58, 237, .35), transparent 60%),
    linear-gradient(165deg, var(--ink-deep) 0%, var(--ink) 55%, var(--violet-deep) 130%);
  transform: translateY(100%);
  transition: transform var(--dur-slow) var(--ease);
  overflow-y: auto;
  visibility: hidden;
}
.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}
body.menu-open { overflow: hidden; }

.mobile-menu-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 100px var(--edge) var(--space-2xl);
}

.mobile-menu-links {
  margin-top: clamp(28px, 9vh, 60px);
  display: flex;
  flex-direction: column;
}
.mobile-menu-links li {
  border-top: 1px solid rgba(255, 255, 255, .14);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.mobile-menu-links li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.mobile-menu.is-open .mobile-menu-links li {
  opacity: 1;
  transform: none;
}
.mobile-menu.is-open .mobile-menu-links li:nth-child(1) { transition-delay: .12s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(2) { transition-delay: .18s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(3) { transition-delay: .24s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(4) { transition-delay: .3s; }

.mobile-menu-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 2px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(2rem, 10vw, 3.2rem);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: var(--ls-snug);
}
.mobile-menu-links a span.arrow {
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--violet-tint);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.mobile-menu-links a:hover span.arrow,
.mobile-menu-links a:focus-visible span.arrow {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-trust {
  margin-top: var(--space-lg);
  font-family: var(--font-ui);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--violet-tint);
}

.mobile-menu-cta {
  align-self: flex-start;
  margin-top: var(--space-lg);
  background: var(--white);
  color: var(--ink);
  font-weight: var(--fw-black);
  font-size: var(--fs-base);
  padding: 17px 30px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-float);
  transition: transform var(--dur-fast) var(--ease);
}
.mobile-menu-cta:hover,
.mobile-menu-cta:focus-visible { transform: translateY(-2px); }

.mobile-menu-utility {
  margin-top: auto;
  padding-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: var(--fs-sm);
  color: var(--concrete-1);
}
.mobile-menu-utility address { font-style: normal; line-height: 1.7; font-variant-numeric: tabular-nums; }
.mobile-menu-utility a {
  text-underline-offset: 3px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
}
.mobile-menu-utility a:hover { text-decoration-color: currentColor; }
.mobile-menu-social {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

/* --------------------------------------------------------------------------
   6. Section base
   Shared frame for every content section below the hero: one padding
   rhythm, one background-variant set, one heading scale, one label rule.
   Component blocks further down (Pack, Den, Membership, …) only add
   layout — they inherit type from here rather than restating it.
   -------------------------------------------------------------------------- */
.section {
  padding: var(--section-pad-t) var(--edge) var(--section-pad-b);
}
.section--dark {
  background: var(--ink);
  color: var(--concrete-0);
}
.section--light {
  background: var(--paper);
  color: var(--ink);
}
.section--dim {
  background: var(--concrete-1);
  color: var(--ink);
}
.section--accent {
  background: linear-gradient(150deg, var(--violet-deep) 0%, var(--ink-deep) 78%);
  color: var(--white);
}

.section h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-2xl);
  line-height: 1.1;
  letter-spacing: var(--ls-snug);
}
/* Every h3 in the page is a .card-title (feature/event/price cards) — no
   bare-h3 default is declared here so that class never has to fight a
   tag-selector for specificity. If a standalone h3 is ever needed outside
   a card, give it .card-title too rather than reintroducing this rule. */

/* Centered intro used above symmetric grids (Membership, Community). */
.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}
.section-head .eyebrow { margin-inline: auto; }
.section-head h2 { margin-bottom: var(--space-md); }
.section-head .lead { margin-inline: auto; }

/* Left-aligned copy column used inside asymmetric two-column sections
   (Pack, Den, Story, Contact). */
.section-copy h2 { margin-bottom: var(--space-md); }
.section-copy .lead { margin-bottom: var(--space-lg); }

/* Statement / quote sections (Creed, Testimonial) share this block. */
.statement {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.statement-mark {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  color: var(--violet-tint);
  opacity: .55;
  margin-bottom: var(--space-sm);
}
.statement h2 {
  font-size: var(--fs-3xl);
  line-height: 1.16;
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-md);
}
.statement cite {
  display: block;
  font-style: normal;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-cite);
  text-transform: uppercase;
  opacity: .68;
}
.section--accent .statement-mark,
.section--dark .statement-mark { color: var(--violet-tint); }

/* --------------------------------------------------------------------------
   Photography system
   One grade, four crop ratios, two frame scales — reused everywhere a real
   photo appears instead of being improvised per section.

   Grade    --photo-filter (root), applied to every photographic <img> on
            the page — full color always, the same light lift whether the
            section is light, dark or accent.
   Ratios   full-bleed, no frame (hero + the Mural signature moment — the
            two full-viewport real-photo backdrops on the page) · cinematic
            wide 16:7 (community banner) · portrait 4:5 (Pack, Den, Story —
            the "look at this room" photos) · square 1:1 (Den detail inset +
            the community photo band — the "get in close" photos).
   Frames   .media-frame (large cards, --radius-md) and .media-frame--sm
            (compact insets, --radius-sm) — every contained photo uses one
            of these two, never a one-off radius. Both share the same
            float shadow, a hairline violet-tinted edge and a soft inset
            vignette so a card reads as "framed," not just cropped.
   Captions .photo-caption — one quiet, sentence-case caption style reused
            under every captioned photo. No numbering, ever.
   -------------------------------------------------------------------------- */
.media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(124, 58, 237, .14);
}
.media-frame--sm { border-radius: var(--radius-sm); }
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
  transition: transform var(--dur-slow) var(--ease);
}
.media-frame:hover img,
.media-frame:focus-within img { transform: scale(1.035); }
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 70px 8px rgba(6, 5, 8, .3);
  pointer-events: none;
}

.photo-caption {
  margin-top: var(--space-sm);
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
}
.section--dark .photo-caption,
.section--accent .photo-caption { color: var(--concrete-1); opacity: .8; }

/* Trust-mark chip row (used in Pack). Built on the same label rule as
   .eyebrow, just laid out inline as a row instead of a single pill. */
.trust-marks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.trust-marks li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(124, 58, 237, .08);
  color: var(--ink-2);
}
.section--dark .trust-marks li,
.section--accent .trust-marks li {
  background: rgba(255, 255, 255, .08);
  color: var(--concrete-1);
}
.trust-marks li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
  flex: none;
}
.section--dark .trust-marks li::before,
.section--accent .trust-marks li::before { background: var(--violet-bright); }

/* --------------------------------------------------------------------------
   6b. Hero — "Loaded Bar"
   Full-color, full-bleed photography (WolfDynasty-04282.jpg, real gym
   photography — no grayscale filter, ever) with a cinematic bottom/corner
   scrim for legibility, content pinned low-left the way Eleiko pins its
   real-athlete category heroes. A "bar path" scroll cue (a traveling dot
   on a vertical rail, the way lifters study bar path on video) stands in
   for a generic chevron. This is deliberately NOT a pinned ink panel
   with a photo column scrolling past it, and NOT a static UGC mosaic —
   both explicitly ruled out for v3.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background: var(--ink-deep); /* shows briefly before the photo paints */
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% 30%;
  filter: var(--photo-filter);
  animation: heroPhotoDrift 26s ease-in-out infinite alternate;
}
@keyframes heroPhotoDrift {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(6, 5, 8, .95) 0%, rgba(6, 5, 8, .74) 20%, rgba(6, 5, 8, .18) 48%, transparent 64%),
    radial-gradient(58% 60% at 16% 94%, rgba(6, 5, 8, .72), transparent 72%),
    radial-gradient(46% 46% at 90% 4%, rgba(124, 58, 237, .3), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding: clamp(120px, 18vh, 190px) var(--edge) clamp(56px, 7vw, 84px);
}

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.hero-eyebrow-text {
  font-family: var(--font-ui);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--violet-tint);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-4xl);
  line-height: 1.05;
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-md);
  animation: heroRise .7s var(--ease) .55s both;
}
.hero-headline-accent {
  display: block;
  color: var(--violet-bright);
}

.hero-sub {
  font-family: var(--font-ui);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  max-width: 52ch;
  color: var(--concrete-1);
  margin-bottom: var(--space-xl);
  animation: heroRise .7s var(--ease) .68s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  animation: heroRise .7s var(--ease) .8s both;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 17px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.hero-btn--primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: var(--white);
  box-shadow: 0 10px 26px var(--violet-glow);
}
.hero-btn--primary:hover,
.hero-btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.hero-btn--ghost {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .35);
  color: var(--white);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-btn--ghost:hover,
.hero-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .6);
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-xl);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
  color: var(--concrete-1);
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: var(--space-md);
  max-width: 640px;
  animation: heroRise .7s var(--ease) .92s both;
}
.hero-meta a:hover,
.hero-meta a:focus-visible {
  color: var(--white);
  text-underline-offset: 3px;
  text-decoration: underline;
  text-decoration-color: var(--violet-tint);
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-scrollcue {
  position: absolute;
  right: var(--edge);
  bottom: 42px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--concrete-1);
  opacity: .85;
  transition: opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.hero-scrollcue:hover,
.hero-scrollcue:focus-visible { opacity: 1; color: var(--white); }
.hero-scrollcue-track {
  position: relative;
  width: 2px;
  height: 46px;
  background: rgba(255, 255, 255, .28);
  border-radius: 2px;
  overflow: hidden;
}
.hero-scrollcue-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--violet-bright);
  animation: barPath 1.9s ease-in-out infinite;
}
@keyframes barPath {
  0%   { transform: translateY(-8px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}
.hero-scrollcue-label {
  writing-mode: vertical-rl;
  font-family: var(--font-ui);
  font-size: var(--fs-3xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; }
  .hero-scrollcue-dot { animation: none; opacity: 1; top: 20px; }
}

@media (max-width: 900px) {
  .hero-scrollcue { display: none; }
}

@media (max-width: 560px) {
  .hero-content { padding-top: clamp(130px, 27vh, 190px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-btn { justify-content: center; }
  .hero-meta { flex-direction: column; gap: var(--space-2xs); }
}

/* --------------------------------------------------------------------------
   7. The Pack — community band
   Asymmetric two-column: real member/community photo (WolfDynasty-04280.jpg)
   beside copy + a row of real trust marks pulled straight from the floor
   (USA Powerlifting, the equipment brands, the chalk PR boards) — Eleiko's
   credential-badge instinct, recalibrated to a gym's actual credentials.

   Grid convention used everywhere in this file from here down: every
   `1fr` track is written `minmax(0,1fr)`, never bare `1fr`. A bare `1fr`
   track's minimum size defaults to its content's min-content size, so a
   single long word, an unbroken phone number, or a form control INSIDE
   the track can force it (and the whole grid) wider than the container —
   the classic "CSS grid overflows its parent" bug. `minmax(0,1fr)` is
   the standard fix: it lets the track actually shrink to the space
   available and wrap/clip its content instead of pushing the layout
   past the viewport edge, with zero visual difference the rest of the
   time.
   -------------------------------------------------------------------------- */
.pack-grid {
  display: grid;
  grid-template-columns: minmax(240px, 400px) minmax(0,1fr);
  gap: var(--space-2xl);
  align-items: center;
}
.pack-media .media-frame { aspect-ratio: 4 / 5; }
.pack-media img { object-position: 4% 46%; }

@media (max-width: 900px) {
  .pack-grid { grid-template-columns: minmax(0,1fr); }
  .pack-media { max-width: 360px; margin-inline: auto; }
}

/* --------------------------------------------------------------------------
   8. The Den — facility feature grid
   -------------------------------------------------------------------------- */
.den-grid {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0,1fr);
  gap: var(--space-2xl);
  align-items: stretch;
}
.den-media { display: flex; flex-direction: column; }
.den-media .media-frame { flex: 1; aspect-ratio: 4 / 5; }
.den-head { max-width: 640px; margin-bottom: var(--space-2xl); }

/* Detail inset — the Eleiko-style macro/engineering-detail crop, run
   below the primary Den photo rather than overlapping it so the
   approved two-column rhythm above is untouched. Compact frame scale
   (--radius-sm via .media-frame--sm), same grade and vignette as every
   other photo on the page. */
.den-detail {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, .16);
  max-width: 720px;
}
.den-detail-media { flex: none; width: clamp(120px, 15vw, 180px); aspect-ratio: 1 / 1; }
.den-detail .photo-caption { margin-top: 0; }

@media (max-width: 560px) {
  .den-detail { gap: var(--space-md); }
  .den-detail-media { width: 92px; }
}

.feature-list {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: var(--space-xl) var(--space-lg);
  align-content: start;
}
.feature-list li {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: var(--space-md);
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.section--light .feature-list li,
.section--dim .feature-list li { border-top-color: var(--concrete-2); }
.feature-list .card-index { color: var(--violet-tint); }
.section--light .feature-list .card-index,
.section--dim .feature-list .card-index { color: var(--violet-strong); opacity: .7; }
.feature-list li:hover { transform: translateX(6px); border-top-color: var(--violet-tint); }
.feature-list li:hover .card-index { opacity: 1; }

@media (max-width: 900px) {
  .den-grid { grid-template-columns: minmax(0,1fr); }
  .den-media { max-width: 520px; margin-inline: auto; }
  .den-media .media-frame { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .feature-list { grid-template-columns: minmax(0,1fr); }
}

/* --------------------------------------------------------------------------
   8b. The Mural — signature visual moment (Piece 6/7, revised)
   One confident, singular real photograph does the work here — no
   synthetic mark composited over the paint. WolfDynasty-04295.jpg is
   a candid shot of the actual hand-painted crown + "Dynasty" script
   mural on The Den's black wall, with a member walking the floor past
   it, backlit by the hexagon light fixture. That real photography is
   framed as the unambiguous hero (see .mural-photo object-position):
   the painted wall art sits in clear view on the left/upper part of
   the frame, untouched by any overlay.
     1. Placement — the creed quote lives in the photo's own dark
        negative space (the clear floor/shadow to the lower-right,
        away from both the mural and the walking figure) in a narrow
        editorial column, not centered on top of the wall art — see
        .mural-copy. A left-to-right + bottom scrim (.mural-scrim)
        does the legibility work here, the way Eleiko grades a scrim
        under lower-left hero copy, rather than darkening the whole
        frame evenly.
     2. Light — a cursor-linked glow still drifts across the dark
        photo on fine-pointer devices, like carrying a light through
        the room (main.js §8). With no duplicate mark left to compete
        with, it now reads as illuminating the real mural, not
        replacing it.
   Uses the same --photo-filter, --ease and --dur-* tokens as every
   other section — nothing here is a one-off value.
   -------------------------------------------------------------------------- */
.mural {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 76vh, 820px);
  padding-bottom: var(--space-4xl);
  color: var(--white);
  background: var(--ink-deep); /* shows briefly before the photo loads */
}

.mural-media { position: absolute; inset: 0; z-index: -2; }
.mural-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* x biases toward the mural graphic (left third of the frame) on any
     viewport narrow enough to crop horizontally; y keeps the crown
     fully in view on wide/short viewports that crop vertically
     instead, while still giving up enough of the floor at the bottom
     for .mural-copy to sit on real shadow, clear of the walking
     figure (see .mural-copy below). */
  object-position: 25% 20%;
  filter: var(--photo-filter);
}
/* Left→right darkening keeps the mural + walker (left/center of frame)
   closer to true exposure while the quote's column (right side) sits
   on the darkest part of the photo; the bottom pass grounds the whole
   section the way every other scrim on the page does. */
.mural-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 5, 8, .1) 0%, rgba(6, 5, 8, .28) 46%, rgba(6, 5, 8, .66) 72%, rgba(6, 5, 8, .86) 100%),
    linear-gradient(0deg, rgba(6, 5, 8, .84) 0%, rgba(6, 5, 8, .32) 42%, transparent 70%);
}

/* Cursor-linked "moonlight" — see main.js §8. Positioned/sized here;
   main.js only ever writes a translate() transform and toggles
   .is-active. Screen-blends against the photo so it reads as light
   rather than a flat colored disc. */
.mural-glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 181, 253, .35), rgba(124, 58, 237, .12) 45%, transparent 72%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
  pointer-events: none;
  will-change: transform;
}
.mural-glow.is-active { opacity: 1; }

.mural-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Narrow, right-pushed editorial column — Eleiko's "never stretch the
   text block to full width" measure discipline (reference-brief §3),
   used here to double as the device that keeps the quote physically
   off the mural: the column sits in the photo's real negative space
   instead of centered on top of the wall art. */
.mural-copy {
  max-width: 420px;
  margin-left: auto;
}

/* The creed quote reuses .statement's type family verbatim (see §6,
   approved as part of the Typography piece) — its measure, alignment
   and size step down here to fit the narrow column above instead of
   the wide centered treatment .statement uses in the Testimonial
   section; --fs-2xl is the existing section-heading token (reused,
   not a one-off size) rather than the full --fs-3xl statement size,
   which would force this 420px column into an unreadably tall stack. */
.mural .statement {
  max-width: none;
  margin-inline: 0;
  text-align: left;
  margin-bottom: 0;
}
.mural .statement h2 {
  color: var(--white);
  font-size: var(--fs-2xl);
  line-height: 1.2;
}
.mural .statement cite { color: var(--violet-tint); opacity: .85; }

.mural-caption {
  margin-top: var(--space-lg);
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-cite);
  text-transform: uppercase;
  color: var(--concrete-1);
  opacity: .68;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

@media (max-width: 640px) {
  .mural { padding-bottom: var(--space-2xl); }
  /* Section is taller than it is wide here, so cover-fit crops left/
     right instead of top/bottom — x now does the framing work (keeps
     the crown + script mural in view), y is close to a no-op. */
  .mural-photo { object-position: 15% 50%; }
  .mural-scrim {
    background:
      linear-gradient(0deg, rgba(6, 5, 8, .9) 0%, rgba(6, 5, 8, .38) 46%, rgba(6, 5, 8, .12) 100%);
  }
  .mural-copy { max-width: none; margin-left: 0; }
  .mural-glow { display: none; }
}

/* --------------------------------------------------------------------------
   9. Membership — three real tiers, priced with tabular numerals
   -------------------------------------------------------------------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--space-lg);
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--concrete-2);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-float);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.price-card:hover,
.price-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float-lg);
  border-color: var(--violet-tint);
}
.price-card--popular {
  background: linear-gradient(160deg, var(--violet-deep), var(--ink-deep) 92%);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-float-lg);
}
.price-card--popular:hover,
.price-card--popular:focus-within {
  border-color: transparent;
  box-shadow: 0 26px 56px rgba(91, 33, 182, .5);
}

.price-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.price-card-head .card-title { margin-bottom: 0; }

.price-badge {
  flex: none;
  font-family: var(--font-ui);
  font-size: var(--fs-3xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--violet-bright);
  color: var(--ink-deep);
  white-space: nowrap;
}

/* The confident numeral treatment: real display-face scale, tabular
   figures so the digits never jitter in width, tight negative tracking
   the same way the section headlines tighten at large sizes. */
.price-figure {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-price);
  line-height: 1;
  letter-spacing: var(--ls-tight);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-2xs);
}
.price-currency {
  font-size: .4em;
  font-weight: var(--fw-bold);
  margin-top: .22em;
}
.price-period {
  align-self: flex-end;
  margin-bottom: .32em;
  margin-left: 4px;
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0;
  opacity: .6;
}
.price-fee-note {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  opacity: .62;
  margin-bottom: var(--space-md);
  font-variant-numeric: tabular-nums;
}

.price-pitch {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  line-height: 1.6;
  opacity: .88;
  margin-bottom: var(--space-lg);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  flex: 1;
}
.price-features li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  line-height: 1.5;
}
.price-features li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0;
  font-weight: var(--fw-bold);
  color: var(--violet-strong);
}
.price-card--popular .price-features li::before { color: var(--violet-tint); }

.price-cta { margin-top: auto; }

.membership-note {
  margin-top: var(--space-2xl);
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  line-height: 1.65;
  opacity: .68;
  font-variant-numeric: tabular-nums;
}
.membership-note a {
  text-underline-offset: 3px;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: minmax(0,1fr); max-width: 460px; margin-inline: auto; }
  /* A single-column card is narrower than the side-by-side badge+title
     row assumes — "Month to Month" next to "MOST POPULAR" was being
     squeezed into a cramped 3-line wrap. Stack the badge above the
     title instead so the title always gets the card's full width. */
  .price-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
  .price-badge { order: -1; }
}

/* --------------------------------------------------------------------------
   10. Community — events band
   A wide banner (WolfDynasty-04298.jpg — the doorway shot the brief calls
   a "strong section-break" image) leads into the three real events.
   -------------------------------------------------------------------------- */
.community-banner {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  margin-bottom: var(--space-2xl);
}
.community-banner img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); }
.community-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 5, 8, .88) 0%, rgba(6, 5, 8, .35) 45%, transparent 75%);
}
.community-banner-copy {
  position: absolute;
  left: var(--space-lg);
  right: var(--space-lg);
  bottom: var(--space-lg);
  z-index: 1;
  color: var(--white);
}
.community-banner-copy .eyebrow { border-color: rgba(255,255,255,.6); margin-bottom: var(--space-sm); }
.community-banner-copy h2 { max-width: 20ch; }

.event-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--space-lg);
}
.event-card {
  background: var(--paper);
  border: 1px solid var(--concrete-2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
}
.event-card--feature {
  background: linear-gradient(150deg, var(--violet), var(--violet-deep));
  border-color: transparent;
  color: var(--white);
}
.event-card--feature:hover {
  box-shadow: 0 20px 44px rgba(124, 58, 237, .38);
}
.event-card--feature .card-index { color: var(--violet-tint); opacity: .8; }
.event-card--feature .card-body { opacity: .9; }

@media (max-width: 900px) {
  .event-list { grid-template-columns: minmax(0,1fr); }
  .community-banner { aspect-ratio: 4 / 3; }
}

/* Photo band — "get in close" square crops, the community/team band of
   real candid floor photos. Each tile is a real link out to Instagram,
   so this is the one place on the page a photo doubles as a link; the
   hover/focus treatment (scale + violet scrim + label) is the state
   that pattern needs and nowhere else on the page currently does. */
.photo-band { margin-top: var(--space-2xl); }
.photo-band-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  margin-bottom: var(--space-lg);
}
.photo-band-link {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  text-underline-offset: 3px;
  text-decoration: underline;
  text-decoration-color: var(--concrete-3);
  transition: color var(--dur-fast) var(--ease), text-decoration-color var(--dur-fast) var(--ease);
}
.photo-band-link:hover,
.photo-band-link:focus-visible {
  color: var(--violet-strong);
  text-decoration-color: currentColor;
}

.photo-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: var(--space-sm);
}

.photo-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-float);
}
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
  transition: transform var(--dur-med) var(--ease);
}
.photo-tile--den img { object-position: 36% 42%; }
.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(91, 33, 182, .82) 0%, rgba(23, 22, 26, .2) 55%, transparent 72%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.photo-tile-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: var(--fs-3xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.photo-tile:hover img,
.photo-tile:focus-visible img { transform: scale(1.08); }
.photo-tile:hover::after,
.photo-tile:focus-visible::after,
.photo-tile:hover .photo-tile-label,
.photo-tile:focus-visible .photo-tile-label {
  opacity: 1;
  transform: none;
}
.photo-tile:focus-visible { outline-offset: 4px; }

@media (max-width: 640px) {
  .photo-band-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* --------------------------------------------------------------------------
   11. Our Story — owner bio
   -------------------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px, 400px);
  gap: var(--space-2xl);
  align-items: center;
}
.story-media { order: 2; }
.story-media .media-frame { aspect-ratio: 4 / 5; }
.story-media img { object-position: 18% 38%; }
.story-copy { order: 1; }
.story-copy p {
  font-family: var(--font-ui);
  font-size: var(--fs-md);
  line-height: 1.72;
  margin-bottom: var(--space-md);
  max-width: 62ch;
}
.story-signoff {
  margin-top: var(--space-md);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  letter-spacing: var(--ls-snug);
  color: var(--violet-strong);
}

@media (max-width: 900px) {
  .story-grid { grid-template-columns: minmax(0,1fr); }
  .story-media { order: 1; max-width: 360px; margin-inline: auto; }
  .story-copy { order: 2; }
}

/* --------------------------------------------------------------------------
   12. Contact — info + real form fields
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0,1fr);
  gap: var(--space-2xl);
  align-items: start;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.contact-detail-list dt {
  font-family: var(--font-ui);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: var(--space-3xs);
}
.contact-detail-list dd {
  font-family: var(--font-ui);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.contact-detail-list dd small {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  opacity: .62;
  margin-top: var(--space-3xs);
}
.contact-detail-list a { transition: color var(--dur-fast) var(--ease); }
.contact-detail-list a:hover { color: var(--violet-strong); }

.contact-social {
  display: flex;
  gap: var(--space-md);
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}
.contact-social a { text-underline-offset: 3px; text-decoration: underline; text-decoration-color: var(--concrete-2); }
.contact-social a:hover { text-decoration-color: currentColor; color: var(--violet-strong); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--concrete-2);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-float);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  margin-bottom: var(--space-md);
}
.form-field label {
  font-family: var(--font-ui);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink-2);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--concrete-2);
  background: var(--concrete-0);
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: var(--white);
}

.form-success {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, .08);
  border: 1px solid var(--violet-tint);
  color: var(--violet-deep);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  display: none;
}
.form-success.is-visible { display: block; }
.contact-form.is-submitted form { display: none; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: minmax(0,1fr); gap: 0; }
  .contact-form { padding: var(--space-lg); }
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--concrete-1);
  padding-top: var(--space-3xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-logo {
  width: min(220px, 60%);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--concrete-0);
  max-width: 26ch;
}

.footer-col h3 {
  font-family: var(--font-ui);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--violet-tint);
  margin-bottom: var(--space-md);
}

.footer-col ul,
.footer-col address {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-style: normal;
  font-size: var(--fs-sm);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.footer-col a { transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--white); }

.footer-col p { margin-top: var(--space-2xs); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: space-between;
  /* padding-block only — this is also a `.container`, and a plain
     `padding` shorthand here would zero out its inherited left/right
     edge inset (a real bug this pass caught: the copyright line was
     running flush to both screen edges with no gutter at all, at
     every viewport width, not just mobile). */
  padding-block: var(--space-lg) var(--space-xl);
  font-size: var(--fs-xs);
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    row-gap: var(--space-xl);
  }
}

@media (max-width: 560px) {
  .brand-badge { width: 50px; height: 50px; }
  .nav-toggle { padding: 10px 16px 10px 13px; }
  .footer-top { grid-template-columns: minmax(0,1fr); }
}

/* --------------------------------------------------------------------------
   15. Motion — scroll reveals, magnetic CTAs, scroll-linked hero cue
   Progressive enhancement: every [data-reveal] rule below is scoped
   under html.js (the class main.js adds on load), so a page that never
   runs JS renders fully visible — nothing is left waiting on a script
   that isn't there. Distances/timings are pulled from the existing
   spacing and motion scales in :root rather than one-off values, same
   discipline as the rest of this file.
   -------------------------------------------------------------------------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--space-lg));
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
html.js [data-reveal="media"] {
  transform: translateY(var(--space-md)) scale(1.03);
}
html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Hero scroll cue — real scroll-linked mode (main.js §1). The idle CSS
   loop (barPath, declared with the hero above) hands off to a direct
   scroll-position-driven transform the moment the user starts
   scrolling — the dot's descent tracks actual progress through the
   hero rather than looping on its own, and the whole cue fades as the
   hero nears its handoff to the next section. A short linear
   transition smooths the per-frame updates without adding lag to the
   idle loop it replaces. */
.hero-scrollcue.is-linked .hero-scrollcue-dot {
  animation: none;
  transition: transform .12s linear;
}

/* --------------------------------------------------------------------------
   16. Touch targets + hover-state parity (coarse pointers)
   Two different problems, both scoped to (pointer: coarse) so a mouse —
   including a desktop window resized down narrow — never sees a change:
     1. Several utility/footer/meta links are deliberately styled as plain
        inline text, not buttons (an editorial choice, not an oversight),
        so their *visible* size should stay put. Their *tappable* box
        still needs to clear a real touch target, so coarse pointers get
        extra padding here instead of a redesign. No negative margins —
        padding is additive to the existing flex/grid gap, so a stacked
        list (footer columns, contact details) only ever gains breathing
        room between rows, never overlapping hit areas between two links.
     2. The photo-band tiles reveal their "View on Instagram" scrim/label
        on :hover, which never fires on touch — a sighted mouse user gets
        the affordance, a touch user gets nothing until after they've
        already committed to the tap. Coarse pointers get that state on
        by default instead.
   -------------------------------------------------------------------------- */
@media (pointer: coarse) {
  .hero-meta a,
  .contact-detail-list dd a,
  .contact-social a,
  .mobile-menu-utility a,
  .mobile-menu-social a,
  .footer-col a,
  .membership-note a,
  .photo-band-link {
    display: inline-block;
    padding-block: 12px;
  }

  .photo-tile::after,
  .photo-tile .photo-tile-label {
    opacity: 1;
    transform: none;
  }
}
