/* =====================================================================
   Some Good Moves — site stylesheet
   Brand: navy + lavender + cream/beige. Type: Space Grotesk / DM Sans / Space Mono.
   Layout language inspired by clean editorial product sites: big type,
   mono eyebrow labels, bordered numbered cards, generous whitespace,
   scroll-reveal. Responsive: desktop / tablet 768-1024 / mobile <=767.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy: #053b73;
  --navy-deep: #042c56;
  --navy-ink: #06294d;
  --lavender: #b48bd2;
  --lavender-soft: #efe6f6;
  --cream: #feffed;
  --beige: #e3e3dc;
  --pale-blue: #edf6f9;
  --off-white: #f8f8f8;
  --paper: #fbfaf8;
  --ink: #1b1a17;
  --ink-soft: #4a4a45;
  --muted: #8a8a82;
  --line: rgba(5, 59, 115, 0.14);
  --line-soft: rgba(5, 59, 115, 0.08);
  --white: #ffffff;

  --font-head: "Space Grotesk", "Poppins", system-ui, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --wrap-narrow: 880px;
  --radius: 16px;
  --radius-sm: 10px;
  --pad-section: clamp(64px, 9vw, 132px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(5, 59, 115, 0.04);
  --shadow-hover: 0 18px 50px -22px rgba(5, 59, 115, 0.32);
  --shadow-soft: 0 24px 60px -30px rgba(5, 59, 115, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2.5px solid var(--lavender); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.05rem; }
p { text-wrap: pretty; }
strong { font-weight: 700; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lavender);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--lavender); }
.eyebrow.muted { color: var(--muted); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--pad-section); }
.section-sm { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }
.measure { max-width: 60ch; }
.measure-sm { max-width: 46ch; }

.bg-paper { background: var(--paper); }
.bg-pale { background: var(--pale-blue); }
.bg-beige { background: var(--beige); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--cream); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--cream); }
.bg-navy .lead { color: rgba(254, 255, 237, 0.8); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  letter-spacing: -0.01em; line-height: 1;
  padding: 0.95em 1.6em; border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap; cursor: pointer; border: 1.5px solid transparent;
}
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-accent { background: var(--lavender); color: var(--navy-ink); }
.btn-accent:hover { background: #a878c9; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-cream { background: var(--cream); color: var(--navy); }
.btn-cream:hover { background: var(--lavender); color: var(--navy-ink); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--cream); transform: translateY(-2px); }
.btn-outline-cream { background: transparent; color: var(--cream); border-color: rgba(254,255,237,0.35); }
.btn-outline-cream:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); transform: translateY(-2px); }
.btn-lg { font-size: 1.05rem; padding: 1.05em 1.9em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { font-family: var(--font-head); font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 0.4em; border-bottom: 2px solid var(--line); padding-bottom: 3px; transition: border-color 0.2s, gap 0.2s; }
.link-arrow:hover { border-color: var(--lavender); gap: 0.7em; }
.bg-navy .link-arrow { color: var(--cream); border-color: rgba(254,255,237,0.3); }
.bg-navy .link-arrow:hover { border-color: var(--lavender); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink); color: var(--cream);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  text-align: center; padding: 9px 16px;
}
.announce a { color: var(--lavender); border-bottom: 1px solid transparent; }
.announce a:hover { border-color: var(--lavender); }
.announce .dot { color: var(--lavender); margin-inline: 0.7em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6); background: rgba(5,59,115,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img, .brand svg { height: 46px; width: auto; }
.brand .brand-fallback { font-family: var(--font-head); font-weight: 700; color: var(--cream); font-size: 1.15rem; letter-spacing: -0.02em; line-height: 0.95; }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: rgba(254,255,237,0.82);
  position: relative; padding: 6px 0; transition: color 0.2s;
}
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--lavender); transition: width 0.25s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.mobile-book { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); position: relative; transition: background 0.2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--cream); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,30,60,0.7) 0%, rgba(5,40,80,0.62) 45%, rgba(4,28,56,0.86) 100%); }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(96px, 17vh, 200px); max-width: 900px; }
.hero .eyebrow { color: var(--lavender); margin-bottom: 22px; }
.hero h1 { color: var(--cream); margin-bottom: 24px; }
.hero .lead { color: rgba(254,255,237,0.86); max-width: 56ch; margin-bottom: 36px; }
.hero .btn-row { margin-top: 4px; }
.hero-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index:1; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(254,255,237,0.6); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll .line { width: 1px; height: 34px; background: linear-gradient(var(--lavender), transparent); }

/* ---------- Stat band ---------- */
.statband { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: none; }
.stat .num { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--navy); letter-spacing: -0.04em; line-height: 1; }
.stat .lbl { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* ---------- Feature / numbered cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line); }
.card .idx { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: var(--lavender); margin-bottom: 22px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .card-foot { margin-top: auto; padding-top: 22px; }
.card.on-navy { background: var(--navy-deep); border-color: rgba(254,255,237,0.12); }
.card.on-navy h3 { color: var(--cream); }
.card.on-navy p { color: rgba(254,255,237,0.74); }
.card.on-cream { background: var(--cream); border-color: rgba(5,59,115,0.1); }

/* ---------- Split (text + media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-soft); }
.split-media.tall img { aspect-ratio: 4/5; }
.media-tag { position: absolute; left: 18px; bottom: 18px; background: var(--cream); color: var(--navy); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }

/* ---------- Intro offer cards ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.offer { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 44px); position: relative; overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.offer.featured { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.offer.featured h3 { color: var(--cream); }
.offer .tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lavender); }
.offer h3 { margin: 14px 0 10px; }
.offer p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 22px; }
.offer.featured p { color: rgba(254,255,237,0.8); }
.offer .price { font-family: var(--font-head); font-weight: 600; font-size: 2rem; color: var(--navy); letter-spacing: -0.03em; }
.offer.featured .price { color: var(--cream); }
.offer .price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.offer.featured .price small { color: rgba(254,255,237,0.6); }
a.offer { text-decoration: none; color: inherit; }
.offer-link { display: inline-flex; align-items: center; gap: 0.45em; margin-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--cream); border-bottom: 2px solid rgba(254,255,237,0.4); padding-bottom: 2px; transition: gap 0.2s var(--ease), border-color 0.2s var(--ease); }
.offer.featured:hover .offer-link { gap: 0.75em; border-color: var(--lavender); }
.offer-link .arr { transition: transform 0.25s var(--ease); }
.offer.featured:hover .offer-link .arr { transform: translateX(3px); }

/* ---------- Class format cards ---------- */
.format { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(26px,3vw,38px); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); height:100%; display:flex; flex-direction:column; }
.format:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.format .fmt-name { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--navy); letter-spacing: -0.02em; }
.format .fmt-meta { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lavender); margin: 8px 0 16px; }
.format p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Statement block ---------- */
.statement { background: var(--navy); color: var(--cream); text-align: center; }
.statement.lav { background: var(--lavender); color: var(--navy-ink); }
.statement h2 { color: inherit; max-width: 18ch; margin-inline: auto; }
.statement.lav h2 { color: var(--navy-ink); }
.statement .eyebrow { color: var(--cream); opacity: 0.7; margin-bottom: 22px; }
.statement.lav .eyebrow { color: var(--navy-ink); opacity: 0.65; }
.statement .btn-row { justify-content: center; margin-top: 38px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.member { display: flex; flex-direction: column; }
.member-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--beige); box-shadow: var(--shadow-card); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.member:hover .member-photo img { transform: scale(1.04); }
.member-role { position: absolute; top: 12px; left: 12px; background: var(--cream); color: var(--navy); font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.member h3 { font-size: 1.2rem; margin: 18px 0 4px; }
.member .origin { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lavender); margin-bottom: 12px; }
.member p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }

/* Founders feature row */
.founders { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.founders-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-soft); aspect-ratio: 4/5; object-fit: cover; }
.signature { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--lavender); margin-top: 20px; }

/* ---------- FAQ accordion ---------- */
.faq-group { margin-bottom: clamp(36px, 5vw, 60px); }
.faq-group > .eyebrow { display:block; margin-bottom: 8px; }
.faq-group h2 { margin-bottom: 22px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; text-align: left; padding: 24px 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--navy); letter-spacing: -0.01em; }
.faq-q .ico { flex-shrink: 0; width: 26px; height: 26px; position: relative; margin-top: 4px; }
.faq-q .ico::before, .faq-q .ico::after { content: ""; position: absolute; background: var(--lavender); border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq-q .ico::before { top: 12px; left: 3px; width: 20px; height: 2.5px; }
.faq-q .ico::after { left: 12px; top: 3px; width: 2.5px; height: 20px; }
.faq-item[open] .faq-q .ico::after, .faq-item.open .faq-q .ico::after { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 0 26px; color: var(--ink-soft); font-size: 1rem; max-width: 70ch; }
.faq-a-inner p + p { margin-top: 12px; }
.faq-a-inner ul { margin-top: 10px; display: grid; gap: 8px; }
.faq-a-inner li { padding-left: 22px; position: relative; }
.faq-a-inner li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--lavender); }

/* ---------- Embed (Arketa) ---------- */
.embed-frame { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(8px, 1.5vw, 20px); box-shadow: var(--shadow-card); min-height: 60vh; }
.embed-frame iframe { width: 100%; border: 0; display: block; min-height: 70vh; }
.embed-note { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-top: 18px; text-align: center; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--navy); letter-spacing: -0.01em; }
.form-row .req { color: #d23b3b; }
.form input, .form textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--lavender); box-shadow: 0 0 0 3px rgba(180,139,210,0.22); }
.form-honey { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-submit { margin-top: 6px; justify-self: start; }
.form-status { font-size: 0.92rem; min-height: 1.2em; margin: 0; color: var(--ink-soft); }
.form-status.is-error { color: #c0392b; }
.form[aria-busy="true"] .form-submit { opacity: 0.6; pointer-events: none; }
.form-success {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-card);
}
.form-success .check {
  width: 48px; height: 48px; border-radius: 50%; background: var(--lavender-soft);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.form-success .check svg { width: 24px; height: 24px; stroke: var(--lavender); fill: none; stroke-width: 2.5; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--ink-soft); }
@media (max-width: 767px) { .form-submit { width: 100%; justify-self: stretch; justify-content: center; } }

/* ---------- Info / contact grid ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,24px); }
.info-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(24px,3vw,34px); }
.info-card .eyebrow { margin-bottom: 14px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.info-card p, .info-card a { color: var(--ink-soft); font-size: 0.98rem; }
.info-card a.link-arrow { color: var(--navy); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(254,255,237,0.78); padding-top: clamp(56px, 7vw, 90px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px,5vw,64px); }
.footer-brand img, .footer-brand svg { height: 56px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.95rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lavender); margin-bottom: 18px; font-weight: 700; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: rgba(254,255,237,0.78); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }
.footer-col address { font-style: normal; font-size: 0.95rem; line-height: 1.7; }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-socials a { width: 40px; height: 40px; border: 1px solid rgba(254,255,237,0.22); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s; }
.footer-socials a:hover { background: var(--lavender); border-color: var(--lavender); }
.footer-socials svg { width: 18px; height: 18px; fill: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(254,255,237,0.14); padding: 24px 0 34px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(254,255,237,0.55); }
.footer-bottom .mono { font-family: var(--font-mono); letter-spacing: 0.06em; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--navy); color: var(--cream); padding-block: clamp(64px, 9vw, 120px); position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; right:-10%; top:-40%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(180,139,210,0.28), transparent 70%); z-index:0; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--cream); max-width: 16ch; }
.page-hero .eyebrow { color: var(--lavender); margin-bottom: 20px; }
.page-hero .lead { color: rgba(254,255,237,0.82); margin-top: 22px; max-width: 56ch; }
.breadcrumbs { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(254,255,237,0.55); margin-bottom: 22px; }
.breadcrumbs a:hover { color: var(--lavender); }
.breadcrumbs span { margin-inline: 8px; opacity: 0.5; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* =====================================================================
   Responsive — Tablet (768 to 1024)
   ===================================================================== */
@media (max-width: 1024px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.74rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1024px) and (min-width: 768px) {
  /* keep 7-item nav tidy on tablet */
  .brand img, .brand svg { height: 40px; }
}
@media (max-width: 900px) and (min-width: 768px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.66rem; letter-spacing: 0.02em; }
  .nav { gap: 14px; }
}

/* =====================================================================
   Responsive — Mobile (<=767)
   ===================================================================== */
@media (max-width: 767px) {
  body { font-size: 16px; }
  :root { --pad-section: clamp(52px, 12vw, 72px); }

  /* Mobile nav: slide-in panel */
  .nav-toggle { display: inline-flex; }
  .nav-links, .nav-cta .book-desktop { display: none; }
  .nav-links {
    position: fixed; inset: 76px 0 0; background: var(--navy);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 4px; padding: 28px clamp(20px,6vw,40px); transform: translateX(100%);
    transition: transform 0.35s var(--ease); overflow-y: auto; z-index: 99;
  }
  body.menu-open .nav-links { display: flex; transform: translateX(0); }
  /* While the menu is open, pin the header to the very top and drop its
     backdrop-filter. The filter otherwise makes the header a containing block
     for the fixed panel, which collapsed the menu when scrolled and let it
     overlap the logo. Pinning also guarantees the panel starts below the logo. */
  body.menu-open .site-header { position: fixed; top: 0; left: 0; right: 0; background: var(--navy); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .nav-links a { font-size: 1.5rem; text-transform: none; letter-spacing: -0.01em; font-weight: 600; padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(254,255,237,0.12); color: var(--cream); }
  .nav-links a::after { display: none; }
  .mobile-book { display: block; width: 100%; align-self: stretch; margin-top: 24px; }
  .nav-links .mobile-book a.btn { display: flex; width: 100%; box-sizing: border-box; justify-content: center; color: var(--navy); font-size: 1rem; text-transform: none; letter-spacing: 0; border-bottom: none; padding: 0.95em 1.6em; }
  body.menu-open { overflow: hidden; }

  h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero-inner { padding-block: clamp(72px, 14vh, 110px); }
  .hero .btn-row .btn { flex: 1; justify-content: center; }
  .hero-scroll { display: none; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid var(--line-soft); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .stat:first-child, .stat:nth-child(2) { border-top: none; }

  .grid-2, .grid-3, .grid-4, .offer-grid, .info-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 28px; }
  .member-photo { aspect-ratio: 1/1; }

  .split, .founders { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-media { order: 0; }
  .split-media.tall img { aspect-ratio: 3 / 2; }
  .founders-photo { max-width: 260px; margin-inline: auto; }

  .statement .btn-row { flex-direction: column; }
  .statement .btn-row .btn { width: 100%; justify-content: center; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
  .btn { font-size: 0.92rem; }
}
