/* Brand tokens */
:root {
  /* Brand colors */
  --green: #2E5E3F;
  --navy: #1F2A44;
  --sage: #A7A38F;
  --stone: #CFCBC2;
  --white: #FFFFFF;
  --near-black: #1a1a1a;
  --green-hover: #3a7450;
  --green-light: #7fba9a;

  /* Surface colors (semantic) */
  --text-muted: #555;
  --text-on-dark: rgba(255, 255, 255, 0.85);
  --text-on-dark-soft: rgba(255, 255, 255, 0.65);
  --border-on-dark: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font: 'Source Sans 3', 'Inter', system-ui, -apple-system, sans-serif;
  --text-xs:   clamp(0.7rem,  0.85vw + 0.55rem, 0.8rem);
  --text-sm:   clamp(0.85rem, 0.5vw + 0.78rem, 0.95rem);
  --text-base: 1rem;
  --text-md:   clamp(1rem,    0.5vw + 0.93rem, 1.125rem);
  --text-lg:   clamp(1.1rem,  1vw + 0.85rem,   1.25rem);
  --text-xl:   clamp(1.25rem, 1.5vw + 0.9rem,  1.5rem);
  --text-2xl:  clamp(1.5rem,  2vw + 1rem,      2rem);
  --text-3xl:  clamp(1.85rem, 3vw + 1rem,      2.5rem);   /* section titles */
  --text-4xl:  clamp(2.25rem, 6.5vw, 4.5rem);              /* hero title */

  /* Spacing scale (8px base) */
  --space-1:  0.25rem;  /*  4 */
  --space-2:  0.5rem;   /*  8 */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  3rem;     /* 48 */
  --space-8:  4rem;     /* 64 */
  --space-9:  6rem;     /* 96 */

  /* Section rhythm (fluid) */
  --section-y: clamp(4rem, 8vw, 7rem);
  --section-x: clamp(1.25rem, 4vw, 2rem);

  /* Container widths */
  --container:        1100px;
  --container-narrow:  720px;
  --container-prose:   560px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.40);

  /* Motion */
  --duration-fast:   150ms;
  --duration-normal: 250ms;
  --duration-slow:   400ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-index */
  --z-nav:   100;
  --z-modal: 200;

  /* Layout */
  --nav-h: 72px;

  /* Min touch target (WCAG 2.5.5 / iOS HIG) */
  --tap-min: 44px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: var(--nav-h); scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--near-black); background: var(--white); }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* Skip-to-content link for keyboard users */
.skip-link {
  position: absolute;
  top: -200px;
  left: var(--space-4);
  z-index: calc(var(--z-modal) + 10);
  padding: var(--space-3) var(--space-5);
  background: var(--white);
  color: var(--near-black);
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: top var(--duration-fast) var(--ease-out);
  transform: translateY(0);
}
.skip-link:focus {
  top: var(--space-3);
}

/* ── NAV ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--section-x);
  background: transparent;
  backdrop-filter: none;
  transition: background var(--duration-slow), backdrop-filter var(--duration-slow), box-shadow var(--duration-slow);
}
.nav.scrolled {
  background: rgba(31, 42, 68, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-logo { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav-links a {
  color: var(--stone);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--duration-fast);
}
.nav-links a:hover { color: var(--white); }
.nav-links a.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--white);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background var(--duration-fast) var(--ease-out);
}
.nav-links a.btn-nav:hover { background: var(--green-hover); color: var(--white); }
.nav-links a.btn-nav:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── BUTTONS ─────────────────────────────────────────────────────── */
/* Shared base for every button variant — applies via :where() so existing
   markup keeps working without a wrapping .btn class. */
:where(.btn-primary, .btn-outline, .btn-white, .btn-accent) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  user-select: none;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

:where(.btn-primary, .btn-outline, .btn-white, .btn-accent):focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.btn-white:hover { background: var(--stone); border-color: var(--stone); }

.btn-accent {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-accent:hover { background: #3a4b6b; border-color: #3a4b6b; transform: translateY(-1px); }
.btn-accent:active { transform: translateY(0); }

/* ── HERO ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 0;
  min-height: max(560px, 100svh);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--navy);
  background-image: url('assets/optimized/hero-plain-1920w.jpg');
  background-image: image-set(
    url('assets/optimized/hero-plain-480w.webp') 480w,
    url('assets/optimized/hero-plain-768w.webp') 768w,
    url('assets/optimized/hero-plain-1024w.webp') 1024w,
    url('assets/optimized/hero-plain-1366w.webp') 1366w,
    url('assets/optimized/hero-plain-2560w.webp') 2560w
  );
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: calc(var(--nav-h) + clamp(2rem, 6vw, 4rem)) clamp(1.25rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 1024px) {
  .hero {
    background-image: url('assets/optimized/hero-plain-1920w.jpg');
    background-image: image-set(
      url('assets/optimized/hero-plain-1366w.webp') 1366w,
      url('assets/optimized/hero-plain-2560w.webp') 2560w
    );
  }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 42, 68, 0.65) 0%, rgba(46, 94, 63, 0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.hero-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  text-wrap: balance;
}
.hero-title span { display: block; }
.hero-title span + span { color: var(--green-light); }
.hero-tagline {
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--text-on-dark);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  max-width: 44ch;
}
.hero-ctas {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── EXPERIENCE SECTION ──────────────────────────────────────────── */
.experience {
  position: relative;
  z-index: 0;
  background-color: var(--stone);
  padding: var(--section-y) var(--section-x);
  overflow: hidden;
}
.experience::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/optimized/pattern-512.webp');
  background-repeat: repeat;
  background-size: 340px;
  opacity: 0.08;
  pointer-events: none;
}
.section-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--space-3);
  text-align: center;
}
.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--near-black);
  margin-bottom: var(--space-7);
  text-align: center;
  text-wrap: balance;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}
.card-featured {
  grid-column: 1 / -1;
  border-top: 3px solid var(--green);
}
.card-featured h3 {
  font-size: var(--text-lg);
}
.card-icon {
  color: var(--green);
  margin-bottom: var(--space-3);
  line-height: 1;
  transition: transform var(--duration-normal) var(--ease-out);
  transform-origin: left center;
}
@media (hover: hover) {
  .card:hover .card-icon { transform: scale(1.15); }
}
.card h3 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}
.card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── ABOUT SECTION ───────────────────────────────────────────────── */
.about {
  background: var(--navy);
  padding: var(--section-y) var(--section-x);
}
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-header { margin-bottom: var(--space-7); width: 100%; }
.about .section-label { color: var(--green-light); }
.about .section-title { color: var(--white); margin-bottom: 0; }
.about-text { flex: 1; }
.about-text p {
  color: var(--stone);
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}
.about-img {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 4 / 3;
}
.about-img picture,
.about-img img {
  width: 100%;
  height: 100%;
  display: block;
}
.about-img img {
  object-fit: cover;
  object-position: right center;
}

/* ── OUR STORY SECTION ───────────────────────────────────────────── */
.our-story {
  background: var(--white);
  padding: var(--section-y) var(--section-x);
}
.our-story .section-inner {
  max-width: var(--container-prose);
  margin: 0 auto;
  text-align: center;
}
.our-story .section-label {
  color: var(--green);
}
.our-story .section-title {
  color: var(--navy);
  margin-bottom: var(--space-7);
}
.story-content {
  text-align: left;
}
.story-content p {
  color: var(--text-muted);
  font-size: var(--text-md);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}
.story-content p:last-of-type:not(.story-signature) {
  margin-bottom: var(--space-7);
}
.story-signature {
  color: var(--navy);
  font-size: var(--text-base);
  text-align: center;
  margin-bottom: 0 !important;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--stone);
}
.story-signature strong {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.signature-title {
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-style: italic;
}

/* ── WAITLIST MODAL FORM ─────────────────────────────────────────── */
.waitlist-form {
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.form-field {
  margin-bottom: var(--space-4);
}
.form-field label {
  display: block;
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}
.form-field input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-family: var(--font);
  transition: border-color var(--duration-normal);
}
.form-field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 94, 63, 0.1);
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  flex-shrink: 0;
}
.form-checkbox label {
  font-size: var(--text-sm);
  color: var(--white) !important;
  line-height: 1.4;
  cursor: pointer;
}
.waitlist-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--stone);
  border-color: var(--stone);
}
.waitlist-success {
  text-align: center;
}
.waitlist-success h4 {
  color: var(--green);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.waitlist-success p {
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}
@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* ── EMAIL SIGNUP ────────────────────────────────────────────────── */
.signup {
  background: var(--green);
  padding: var(--section-y) var(--section-x);
  text-align: center;
}
.signup .section-label { color: var(--green-light); }
.signup .section-title { color: var(--white); }
.signup .section-inner > p:not(.section-label) {
  color: var(--text-on-dark);
  font-size: var(--text-base);
  max-width: var(--container-prose);
  margin: 0 auto var(--space-6);
  line-height: 1.65;
}
.signup-perks {
  list-style: none;
  max-width: var(--container-prose);
  margin: 0 auto var(--space-6);
  text-align: left;
  display: inline-block;
}
.signup-perks li {
  color: var(--text-on-dark);
  font-size: var(--text-base);
  line-height: 2;
  padding-left: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
}
.signup-perks li::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='18' viewBox='0 0 24 32' fill='white'%3E%3Cpath d='M3 5h18a2 2 0 0 1 0 4H15l-2 21h-2L9 9H3a2 2 0 0 1 0-4z'/%3E%3C/svg%3E");
  position: absolute;
  left: 0;
  transform: rotate(-25deg) translateY(3px);
}
.signup-social-proof {
  color: var(--text-on-dark-soft);
  font-size: var(--text-sm);
  margin-top: var(--space-5);
  font-style: italic;
}
.signup-form {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--container-prose);
  margin: 0 auto;
}
.signup-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  min-height: var(--tap-min);
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-family: var(--font);
  outline: none;
}
.signup-form input[type="email"]:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.35); }
.signup-success {
  display: none;
  color: var(--white);
  font-size: var(--text-md);
  font-weight: 600;
}
.signup-success.visible { display: block; }
.signup-form.submitted { display: none; }

/* ── MEMBERSHIP PRICING ─────────────────────────────────────────── */
.pricing {
  background: var(--white);
  padding: var(--section-y) var(--section-x);
}
.pricing-group { margin-bottom: var(--space-7); }
.pricing-group-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: var(--space-5);
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: var(--container);
  margin: 0 auto;
}
.pricing-card {
  background: var(--stone);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}
@media (hover: hover) {
  .pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}
.pricing-card h4 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: var(--space-2);
}
.pricing-price {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: var(--space-5);
  line-height: 1.1;
}
.pricing-card-highlight .pricing-price,
.pricing-card-highlight .pricing-price span { color: var(--white); }
.pricing-price span {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-muted);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
}
.pricing-card li {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
}
.pricing-card li::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 24 32' fill='%232E5E3F'%3E%3Cpath d='M3 5h18a2 2 0 0 1 0 4H15l-2 21h-2L9 9H3a2 2 0 0 1 0-4z'/%3E%3C/svg%3E");
  position: absolute;
  left: 0;
  transform: rotate(-25deg) translateY(3px);
}
.pricing-card-highlight {
  background: var(--navy);
  border: 2px solid var(--green);
}
.pricing-card-highlight h4 { color: var(--white); }
.pricing-card-highlight li { color: var(--stone); }
.pricing-card-highlight li::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 24 32' fill='%237fba9a'%3E%3Cpath d='M3 5h18a2 2 0 0 1 0 4H15l-2 21h-2L9 9H3a2 2 0 0 1 0-4z'/%3E%3C/svg%3E");
}
.pricing-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-4);
  font-style: italic;
}
.pricing-cta {
  text-align: center;
  font-size: var(--text-base);
  color: var(--near-black);
  margin-top: var(--space-5);
}
.pricing-cta a {
  color: var(--green);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast);
}
.pricing-cta a:hover { border-color: var(--green); }

/* ── BAY PRICING ────────────────────────────────────────────────── */
.bay-pricing {
  position: relative;
  z-index: 0;
  background-color: var(--stone);
  padding: var(--section-y) var(--section-x);
  overflow: hidden;
}
.bay-pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/optimized/pattern-512.webp');
  background-repeat: repeat;
  background-size: 340px;
  opacity: 0.08;
  pointer-events: none;
}
.bp-group { margin-bottom: var(--space-7); }
.bp-group-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: var(--space-5);
}
.bp-table-wrap {
  max-width: var(--container-narrow);
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
}
.bp-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.bp-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
}
.bp-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.bp-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.bp-table td {
  background: var(--white);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--stone);
  color: var(--near-black);
}
.bp-table td[rowspan] { vertical-align: middle; }
.bp-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: var(--container);
  margin: 0 auto;
}
.bp-package {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}
@media (hover: hover) {
  .bp-package:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}
.bp-package h4 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: var(--space-3);
}
.bp-package-prices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.bp-package-prices span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.bp-package-prices strong {
  color: var(--near-black);
  font-size: var(--text-md);
  margin-left: var(--space-1);
}
.bp-package ul {
  list-style: none;
  padding: 0;
}
.bp-package li {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
}
.bp-package li::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 24 32' fill='%232E5E3F'%3E%3Cpath d='M3 5h18a2 2 0 0 1 0 4H15l-2 21h-2L9 9H3a2 2 0 0 1 0-4z'/%3E%3C/svg%3E");
  position: absolute;
  left: 0;
  transform: rotate(-25deg) translateY(3px);
}

/* ── FIND US ─────────────────────────────────────────────────────── */
.find-us {
  position: relative;
  z-index: 0;
  padding: var(--section-y) var(--section-x);
  background-color: var(--navy);
  background-image: url('assets/optimized/findus-1920.jpg');
  background-image: image-set(
    url('assets/optimized/findus-1280.webp') type('image/webp')
  );
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}
@media (min-width: 1024px) {
  .find-us {
    background-image: url('assets/optimized/findus-1920.jpg');
    background-image: image-set(
      url('assets/optimized/findus-1920.webp') type('image/webp')
    );
  }
}
.find-us::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 22, 0.72);
}
.find-us .section-inner { position: relative; z-index: 1; }
.find-us .section-label { color: var(--green-light); }
.find-us .section-title { color: var(--white); margin-bottom: var(--space-6); }
.find-us-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--space-6) var(--space-7);
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-6);
  text-align: left;
}
.find-us-info-row { display: flex; flex-direction: column; gap: var(--space-2); }
.find-us-info dt {
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.find-us-info dd {
  color: var(--stone);
  font-size: var(--text-base);
  line-height: 1.6;
}
.find-us-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.find-us-hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}
.find-us-hours li span:first-child { color: var(--white); font-weight: 500; }
.find-us-opening {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: var(--space-6);
}
.find-us-social {
  display: flex;
  list-style: none;
  padding: 0;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-6) 0 0;
}
.find-us-social a {
  color: var(--stone);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.find-us-social a:hover { color: var(--white); }
.find-us-address {
  color: var(--stone);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.find-us-address:hover { color: var(--white); border-color: var(--white); }

/* ── COMING SOON MODAL ──────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(10, 14, 22, 0.7);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.modal h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
}
.modal p {
  color: var(--stone);
  font-size: var(--text-base);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}
.modal-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}
.modal-actions .btn-outline {
  border-color: rgba(255,255,255,0.3);
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  background: var(--navy);
  padding: var(--space-7) var(--section-x);
  border-top: 1px solid var(--border-on-dark);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-logo { height: 80px; width: auto; }
.footer-address {
  font-style: normal;
  font-size: var(--text-xs);
  color: var(--sage);
  line-height: 1.6;
}
.footer-address a {
  color: var(--green-light);
  transition: color var(--duration-fast);
}
.footer-address a:hover { color: var(--white); }
.footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
}
.footer-links a {
  color: var(--sage);
  font-size: var(--text-sm);
  transition: color var(--duration-fast);
}
.footer-links a:hover { color: var(--white); }
.footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.footer-social a {
  color: var(--sage);
  display: flex;
  align-items: center;
  transition: color var(--duration-fast);
}
.footer-social a:hover { color: var(--white); }
.footer-copy {
  width: 100%;
  text-align: center;
  color: var(--sage);
  font-size: var(--text-xs);
  margin-top: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-on-dark);
}

/* ── RESERVE PAGE ────────────────────────────────────────────────── */
.reserve-banner {
  background: var(--near-black);
  color: var(--stone);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}
.reserve-banner + .nav { top: 40px; }
.reserve-main {
  min-height: max(560px, 100svh);
  background: var(--navy);
  padding: calc(var(--nav-h) + 40px + var(--space-7)) var(--section-x) var(--space-7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.reserve-content { max-width: var(--container-prose); }
.reserve-logo { height: 64px; margin: 0 auto 2.5rem; }
.reserve-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.reserve-content p {
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.reserve-email {
  color: var(--green-light);
  font-weight: 600;
}
.reserve-back {
  display: inline-block;
  margin-top: 2rem;
  color: var(--stone);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.reserve-back:hover { color: var(--white); border-color: var(--white); }

/* ── SCROLL ANIMATIONS ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveals for grouped cards (replaces inline transition-delay styles) */
.cards .card.fade-up:nth-child(2) { transition-delay: 0.1s; }
.cards .card.fade-up:nth-child(3) { transition-delay: 0.2s; }
.cards .card.fade-up:nth-child(4) { transition-delay: 0.3s; }
.cards .card.fade-up:nth-child(5) { transition-delay: 0.4s; }
.pricing-cards .pricing-card.fade-up:nth-child(2) { transition-delay: 0.15s; }
.pricing-cards .pricing-card.fade-up:nth-child(3) { transition-delay: 0.3s; }
.bp-packages .bp-package.fade-up:nth-child(2) { transition-delay: 0.15s; }
.bp-packages .bp-package.fade-up:nth-child(3) { transition-delay: 0.3s; }
.signup-perks li::before {
  opacity: 0;
  transform: rotate(-25deg) translateY(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.signup-perks.animate-tees li::before {
  opacity: 1;
  transform: rotate(-25deg) translateY(3px);
}
.signup-perks.animate-tees li:nth-child(1)::before { transition-delay: 0.3s; }
.signup-perks.animate-tees li:nth-child(2)::before { transition-delay: 0.5s; }
.signup-perks.animate-tees li:nth-child(3)::before { transition-delay: 0.7s; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */

/* Tablet & smaller: collapse nav into mobile menu */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-3) var(--section-x) var(--space-5);
    gap: 0;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    border-top: 1px solid var(--border-on-dark);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border-on-dark); }
  .nav-links li:last-child { border-bottom: none; margin-top: var(--space-3); }
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: var(--tap-min);
    padding: var(--space-3) 0;
    font-size: var(--text-base);
  }
  .nav-links a.btn-nav {
    justify-content: center;
    border-radius: var(--radius-sm);
    text-align: center;
    padding: var(--space-3) var(--space-5);
  }
  .nav-toggle {
    display: flex;
    min-width: var(--tap-min);
    min-height: var(--tap-min);
    align-items: center;
    justify-content: center;
  }
  .nav-toggle span { margin-inline: auto; }
}

/* Tablet portrait & smaller */
@media (max-width: 768px) {
  .cards { grid-template-columns: 1fr; }
  .about-inner { flex-direction: column; gap: var(--space-6); }
  .about-img { width: 100%; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  .reserve-banner + .nav { top: 40px; }
  .reserve-main { padding-top: calc(var(--nav-h) + 40px + var(--space-6)); }
}

/* Phone */
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-accent,
  .hero-ctas .btn-outline { width: 100%; }
  .signup-form { flex-direction: column; }
  .signup-form input[type="email"] { min-width: 0; width: 100%; }
  .signup-form .btn-white { width: 100%; }
}

/* Touch-target floor for small icon-only links */
.find-us-social a,
.footer-social a {
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  justify-content: center;
}

/* Pricing/footer link tap targets on touch devices */
@media (hover: none) {
  .footer-links a,
  .pricing-cta a,
  .find-us-address {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap-min);
  }
}

/* Honor reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .signup-perks li::before { opacity: 1; transform: rotate(-25deg) translateY(3px); }
}

/* Global focus-visible for keyboard users */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
