/* ============================================================
   onefitness — design system
   ============================================================ */
:root {
  --ink: #161c27;
  --ink-soft: #4a5261;
  --ink-mute: #7b8291;
  --line: rgba(22, 28, 39, 0.10);
  --sand: #e9e3dc;
  --sand-deep: #ded5cb;
  --paper: #f4f2ef;
  --paper-2: #eceae6;
  --white: #ffffff;
  --accent: #1b2333;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;
  --r-pill: 999px;

  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec-y: clamp(64px, 9vw, 130px);

  --shadow-s: 0 6px 20px rgba(22, 28, 39, .07);
  --shadow-m: 0 18px 48px rgba(22, 28, 39, .10);
  --shadow-l: 0 32px 80px rgba(22, 28, 39, .14);

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

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(15px, 1.05vw, 16px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }

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

.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: absolute; left: 50%; top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: var(--r-pill);
}
.skip-link:focus { top: 12px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sec-y); }

/* ── Type ─────────────────────────────────────────────── */
.h2 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.h2 em, .hero-title em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.lead {
  margin-top: 18px;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.1vw, 16px);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 32px; }

.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--shadow-s); }
.btn-dark:hover { background: #0e131d; box-shadow: var(--shadow-m); }

.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.btn-light:hover { box-shadow: var(--shadow-m); }

.btn-ghost {
  background: transparent;
  border-color: rgba(22, 28, 39, .25);
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
  flex: none;
}
.dot::after {
  content: ""; position: absolute; inset: 4px;
  border-radius: 50%; background: currentColor;
}

.pill {
  display: inline-block;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* decorative sunburst */
.burst {
  position: absolute;
  width: 84px; height: 84px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, var(--ink) 0deg 4deg, transparent 4deg 9deg);
  -webkit-mask: radial-gradient(circle, #000 66%, transparent 67%);
          mask: radial-gradient(circle, #000 66%, transparent 67%);
  opacity: .85;
  pointer-events: none;
}

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding-block: 14px;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-stuck {
  background: rgba(244, 242, 239, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--ink);
}
.brand-mark svg { width: 22px; height: 22px; fill: #fff; }
.brand-word {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
}
.nav a {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-block: 6px;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--ink);
  transition: width .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.nav .nav-cta { display: none; }

.header-btn { margin-left: 4px; flex: none; }

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  cursor: pointer;
  padding: 0;
  flex: none;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px; height: 1.8px;
  margin: -0.9px 0 0 -9px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .32s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0;
  background: rgba(16, 20, 28, .38);
  backdrop-filter: blur(2px);
  z-index: 85;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(56px, 8vw, 110px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -140px 0 auto 0;
  height: min(1020px, 128%);
  background:
    radial-gradient(120% 90% at 78% 22%, rgba(255,255,255,.9) 0%, transparent 60%),
    linear-gradient(200deg, var(--sand) 0%, var(--sand-deep) 42%, #dfe3e8 78%, var(--paper) 100%);
  z-index: -1;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-conic-gradient(from 0deg at 18% 82%, rgba(255,255,255,.35) 0deg 3deg, transparent 3deg 7deg);
  -webkit-mask: radial-gradient(circle at 18% 82%, #000 0%, transparent 42%);
          mask: radial-gradient(circle at 18% 82%, #000 0%, transparent 42%);
  opacity: .55;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.hero-title {
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.0;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero-sub {
  margin-top: 22px;
  max-width: 42ch;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  flex-wrap: wrap;
}
.community {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: clamp(16px, 2.5vw, 28px);
  border-left: 1px solid rgba(22, 28, 39, .18);
}
.community-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.socials { display: flex; gap: 14px; }
.socials a {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  color: var(--ink);
  opacity: .78;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { opacity: 1; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

.stats {
  margin-top: clamp(38px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
  max-width: 460px;
}
.stat dt {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat dd {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-soft);
  max-width: 22ch;
}

/* hero visual */
.hero-visual { position: relative; }
.burst-hero { top: -2%; left: -5%; z-index: 2; width: clamp(52px, 6.5vw, 88px); height: clamp(52px, 6.5vw, 88px); opacity: .7; }

.hero-photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  box-shadow: var(--shadow-l);
  background: #cfd5dc;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,26,36,.05) 0%, transparent 34%, rgba(20,26,36,.18) 100%);
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-m);
  padding: 14px 16px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.fc-title { font-size: 12px; font-weight: 700; letter-spacing: -0.01em; }
.fc-sub { font-size: 10px; color: var(--ink-mute); }
.fc-foot { margin-top: 8px; font-size: 10px; color: var(--ink-mute); line-height: 1.35; }

.float-overview {
  top: 8%;
  right: -6%;
  width: min(196px, 46%);
}
.bars {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 5px;
  height: 56px;
}
.bars i {
  display: block;
  height: var(--h);
  border-radius: 4px;
  background: linear-gradient(180deg, #37415a, #161c27);
  animation: grow .9s var(--ease) both;
}
@keyframes grow { from { height: 6%; opacity: .3; } to { height: var(--h); opacity: 1; } }
.bar-days {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  font-size: 9px;
  color: var(--ink-mute);
  text-align: center;
}

.float-members {
  left: -5%;
  bottom: 16%;
  width: min(210px, 56%);
  animation-delay: 1.4s;
}
.members { margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  background:
    linear-gradient(140deg, hsl(calc(200 + var(--i) * 34) 42% 62%), hsl(calc(180 + var(--i) * 30) 38% 42%));
  box-shadow: 0 2px 6px rgba(22, 28, 39, .18);
}
.avatar:first-of-type { margin-left: 0; }
.members-more { font-size: 10.5px; font-weight: 600; color: var(--ink-soft); }

/* ── Why it works ─────────────────────────────────────── */
.why { padding-top: clamp(20px, 3vw, 44px); }
.why-card {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(18px, 2.6vw, 34px);
  background: linear-gradient(140deg, #ffffff 0%, var(--paper-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(16px, 2.2vw, 26px);
  box-shadow: var(--shadow-m);
}
.why-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: clamp(240px, 32vw, 380px);
  background: #d9dde2;
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; }

.why-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(6px, 1.4vw, 18px);
}
.why-lead {
  color: var(--ink-soft);
  font-size: clamp(14px, 1.2vw, 17px);
  max-width: 56ch;
}

.why-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
  margin-top: 6px;
}
.tile {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.tile-art {
  position: relative;
  height: clamp(86px, 10vw, 120px);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.tile-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  /* the supplied cut-outs sit on white — multiply drops it into the tinted panel */
  mix-blend-mode: multiply;
  transition: transform .45s var(--ease);
}
.tile:hover .tile-art img { transform: scale(1.06); }
/* the heart cut-out ships on light grey — lift it to white so multiply blends cleanly */
.tile-art-2 img { filter: brightness(1.09) saturate(1.04); }
.tile-art-1 { background: radial-gradient(75% 75% at 42% 32%, #fdf3ef, #efdcd4); }
.tile-art-2 { background: radial-gradient(75% 75% at 45% 32%, #fdeeec, #f3cec8); }
.tile-art-3 { background: radial-gradient(75% 75% at 42% 32%, #f7f5f2, #e2ddd6); }
.tile-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}
.tile-featured { background: var(--ink); color: #fff; border-color: transparent; }
.tile-featured .tile-label { color: #fff; }
.tile-arrow {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font-size: 12px;
}

/* ── Meals ────────────────────────────────────────────── */
.meals-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.diet-switch {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.diet {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 20px 14px 14px;
  cursor: pointer;
  text-align: left;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              transform .3s var(--ease), box-shadow .3s var(--ease);
}
.diet:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.diet-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--paper-2);
  flex: none;
}
.diet-icon svg { width: 20px; height: 20px; fill: var(--ink); }
.diet-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 700;
}
.diet-text small {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-mute);
  margin-top: 2px;
}
.diet.active { background: var(--ink); color: #fff; border-color: transparent; box-shadow: var(--shadow-m); }
.diet.active .diet-icon { background: rgba(255, 255, 255, .14); }
.diet.active .diet-icon svg { fill: #fff; }
.diet.active .diet-text small { color: rgba(255, 255, 255, .72); }

.signature { margin-top: 34px; display: flex; flex-direction: column; }
.sig-name {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1;
}
.sig-role { font-size: 11px; color: var(--ink-mute); letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }

.meals-visual { position: relative; }
.meals-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: var(--shadow-l);
  background: #ddd8d2;
}
.meals-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .35s var(--ease), transform .8s var(--ease);
}
.meals-photo img.is-swapping { opacity: 0; transform: scale(1.04); }

.float-calories {
  top: 8%;
  right: clamp(-10px, -1.5vw, 0px);
  width: min(240px, 62%);
  animation-delay: .8s;
}
.cal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cal-value { font-size: 11px; color: var(--ink-mute); }
.cal-value strong { font-size: 15px; color: var(--ink); }
.cal-bar {
  margin-top: 10px;
  height: 6px;
  border-radius: var(--r-pill);
  background: rgba(22, 28, 39, .10);
  overflow: hidden;
}
.cal-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #37415a, #161c27);
  transition: width .9s var(--ease);
}

/* ── Programs ─────────────────────────────────────────── */
.programs {
  background: linear-gradient(180deg, var(--paper-2) 0%, #e6e3de 100%);
  position: relative;
}
.programs-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(16px, 4vw, 60px);
  align-items: end;
}
.programs-head .lead { margin-top: 0; }

.program-grid {
  margin-top: clamp(30px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.program {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.15;
  background: #cfcbc5;
  box-shadow: var(--shadow-s);
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.program img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .7s var(--ease);
}
.program:hover img { transform: scale(1.06); }
.program::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(240,238,235,.30) 0%, rgba(24,29,38,.30) 100%);
}
.ghost {
  position: absolute;
  inset-inline: 0;
  top: 44%;
  transform: translateY(-50%);
  text-align: center;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
  mix-blend-mode: overlay;
  pointer-events: none;
  user-select: none;
}
.program-label {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-pill);
  padding: 11px 18px;
  font-size: 12.5px;
  font-weight: 700;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.program-label:hover { background: var(--ink); color: #fff; }

.programs-foot { margin-top: clamp(28px, 4vw, 46px); display: flex; justify-content: center; }

/* ── Events ───────────────────────────────────────────── */
.events { padding-top: 0; background: #f7f6f4; }
.marquee {
  overflow: hidden;
  padding-block: clamp(28px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  width: max-content;
  animation: slide 26s linear infinite;
}
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  font-size: clamp(38px, 7vw, 82px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}
.burst-sm {
  position: static;
  width: clamp(28px, 4vw, 52px);
  height: clamp(28px, 4vw, 52px);
  flex: none;
  opacity: .5;
}

.event-list { border-top: 1px solid var(--line); }
.event {
  display: grid;
  grid-template-columns: 54px minmax(0, 1.25fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding-block: clamp(20px, 2.6vw, 34px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}
.event:hover { background: rgba(255, 255, 255, .7); }
.event-no { font-size: 12px; font-weight: 700; color: var(--ink-mute); }
.event-name {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.event-meta { font-size: 12.5px; color: var(--ink-soft); }
.event-meta span { display: block; color: var(--ink-mute); }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { background: #f7f6f4; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px 20px;
  box-shadow: var(--shadow-s);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding-block: 16px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-mute);
  transition: transform .3s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { padding-bottom: 18px; color: var(--ink-soft); font-size: 14px; max-width: 62ch; }

/* ── CTA ──────────────────────────────────────────────── */
.cta { background: #f7f6f4; padding-top: clamp(20px, 3vw, 40px); }
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(150deg, var(--sand) 0%, #dfe3e8 100%);
  border-radius: var(--r-xl);
  padding: clamp(34px, 6vw, 76px) clamp(20px, 5vw, 64px);
  box-shadow: var(--shadow-m);
}
.burst-cta { top: -18px; right: -18px; width: 120px; height: 120px; opacity: .18; }
.cta-card .lead { margin-inline: auto; }
.cta-form {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-form input {
  flex: 1 1 300px;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 15px 22px;
  font-size: 14px;
}
.cta-form input::placeholder { color: var(--ink-mute); }
.form-note { margin-top: 14px; font-size: 13px; font-weight: 600; min-height: 20px; }
.form-note.error { color: #b33b33; }
.form-note.ok { color: #2c6b46; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { background: #f7f6f4; padding-top: clamp(30px, 4vw, 56px); overflow: hidden; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: clamp(20px, 3vw, 36px);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: clamp(12px, 2vw, 26px); }
.footer-nav a {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft);
}
.footer-nav a:hover { color: var(--ink); }
.footer-legal { font-size: 12px; color: var(--ink-mute); }

.footer-word {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 22px);
  padding-inline: var(--gutter);
  line-height: .8;
  color: var(--ink);
  translate: 0 12%;
}
.footer-mark {
  width: clamp(48px, 11vw, 150px);
  height: clamp(48px, 11vw, 150px);
  display: grid; place-items: center;
  border-radius: clamp(12px, 2.4vw, 32px);
  background: var(--ink);
  flex: none;
}
.footer-mark svg { width: 62%; height: 62%; fill: #fff; }
.footer-text {
  font-size: clamp(44px, 12.6vw, 176px);
  font-weight: 800;
  letter-spacing: -0.055em;
}

/* ── Reveal on scroll ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .burst-hero { left: 2%; }
  .float-overview { right: 0; }
  .float-members { left: 0; }

  .why-card { grid-template-columns: 1fr; }
  .why-photo { min-height: 0; aspect-ratio: 16 / 9; }

  .meals-grid { grid-template-columns: 1fr; }
  .meals-visual { max-width: 620px; }

  .programs-head { grid-template-columns: 1fr; align-items: start; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 96px 24px 32px;
    background: var(--paper);
    box-shadow: var(--shadow-l);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    transform: translateY(-102%);
    transition: transform .42s var(--ease);
    visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a {
    font-size: 15px;
    letter-spacing: .02em;
    text-transform: none;
    font-weight: 700;
    color: var(--ink);
    padding-block: 15px;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .nav .nav-cta {
    display: block;
    margin-top: 20px;
    border-bottom: 0;
    text-align: center;
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-pill);
    padding: 15px 20px;
  }
  .header-btn { display: none; }
  .nav-toggle { display: block; margin-left: auto; }

  .event {
    grid-template-columns: 40px minmax(0, 1fr);
    row-gap: 10px;
    align-items: start;
  }
  .event-name { grid-column: 2; }
  .event-meta { grid-column: 2; }
  .event .btn-ghost { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 80px; }
  .hero-actions { gap: 18px; }
  .community { padding-left: 0; border-left: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

  .why-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tile { padding: 10px; }
  .tile-label { font-size: 10.5px; }

  .float-overview { width: min(168px, 50%); padding: 12px; }
  .float-members { width: min(180px, 58%); bottom: 10%; }
  .float-calories { width: min(210px, 70%); }
}

@media (max-width: 560px) {
  .program-grid { grid-template-columns: 1fr; }
  .program { aspect-ratio: 4 / 3; }
  .hero-photo { aspect-ratio: 4 / 5; }
  .diet { width: 100%; }
  .cta-form input { flex: 1 1 100%; max-width: none; }
  .cta-form .btn { width: 100%; }
  .footer-top { justify-content: flex-start; }
  .why-tiles { grid-template-columns: 1fr; }
  .tile { flex-direction: row; align-items: center; }
  .tile-art { flex: none; width: 92px; height: 78px; }
  .tile-label { flex: 1; font-size: 12px; }
}

@media (max-width: 380px) {
  .float-overview { display: none; }
}

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

@media print {
  .site-header, .nav-toggle, .marquee, .cta-form { display: none !important; }
  body { background: #fff; }
}

/* ============================================================
   Sub-pages (about, contact)
   ============================================================ */
.h3 {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ── Page hero ────────────────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(34px, 6vw, 84px) clamp(40px, 6vw, 88px);
}
.page-hero-bg {
  position: absolute;
  inset: -160px 0 auto 0;
  height: min(720px, 150%);
  background:
    radial-gradient(110% 80% at 80% 10%, rgba(255,255,255,.92) 0%, transparent 62%),
    linear-gradient(200deg, var(--sand) 0%, var(--sand-deep) 48%, #dfe3e8 82%, var(--paper) 100%);
  z-index: -1;
}
.page-hero-inner { position: relative; max-width: 940px; }
.burst-page {
  top: 4%;
  right: 2%;
  width: clamp(54px, 8vw, 104px);
  height: clamp(54px, 8vw, 104px);
  opacity: .22;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--ink); }
.page-title {
  margin-top: 16px;
  font-size: clamp(34px, 5.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 17ch;
}
.page-title em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.page-lead {
  margin-top: 20px;
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.2vw, 17px);
}

.section-head { max-width: 700px; margin-bottom: clamp(26px, 4vw, 46px); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { width: 100%; }

/* ── About: story ─────────────────────────────────────── */
.story { padding-top: clamp(30px, 4vw, 60px); }
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.story-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-l);
  background: #d7d3ce;
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-copy .pill { margin-bottom: 18px; }
.story-copy .h2 { max-width: 16ch; }
.story-copy .lead + .lead { margin-top: 14px; }

.mini-stats {
  margin-top: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 28px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
}
.mini-stats dt {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.mini-stats dd { margin-top: 6px; font-size: 12px; color: var(--ink-soft); }

/* ── About: values ────────────────────────────────────── */
.values-section { background: linear-gradient(180deg, var(--paper-2) 0%, #e6e3de 100%); }
.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.value {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.value-no {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-mute);
}
.value-title { margin-top: 14px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.value p { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }

/* ── About: coaches ───────────────────────────────────── */
.coaches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.coach {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(12px, 1.4vw, 16px);
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.coach:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.coach-photo {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3.6;
  background: #d7d3ce;
}
.coach-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.coach:hover .coach-photo img { transform: scale(1.05); }
.coach-name { margin-top: 16px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.coach-role {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.coach-note { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); }

/* ── About: method steps ──────────────────────────────── */
.method-section { background: #f7f6f4; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  counter-reset: step;
}
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--ink); }
.step-no { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--ink-mute); }
.step-title { margin-top: 10px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.step p { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }

.cta-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact: layout ──────────────────────────────────── */
.contact-section { padding-top: clamp(30px, 4vw, 56px); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3.2vw, 44px);
  box-shadow: var(--shadow-m);
}
.form-intro { margin-top: 8px; font-size: 13px; color: var(--ink-mute); }
.contact-form-card form { margin-top: 24px; display: grid; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12.5px; font-weight: 700; }
.field .opt { font-weight: 500; color: var(--ink-mute); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  font-size: 14px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
                    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus,
.field select:focus,
.field textarea:focus { background: #fff; border-color: var(--ink); outline: none; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #b33b33; background: #fdf6f5; }
.field-error { font-size: 12px; font-weight: 600; color: #b33b33; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.form-submit { justify-self: start; }

/* ── Contact: info column ─────────────────────────────── */
.contact-info { display: grid; gap: clamp(14px, 2vw, 20px); }
.info-card {
  background: linear-gradient(150deg, #ffffff 0%, var(--paper-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: var(--shadow-s);
}
.info-list { margin-top: 18px; display: grid; gap: 16px; }
.info-list li { display: flex; align-items: flex-start; gap: 14px; }
.info-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--ink);
  flex: none;
}
.info-icon svg { width: 19px; height: 19px; fill: #fff; }
.info-body { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.info-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.info-body a:hover { text-decoration: underline; }

.hours { margin-top: 18px; display: grid; gap: 10px; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours li span:last-child { color: var(--ink-soft); white-space: nowrap; }
.hours-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-mute); }

.socials-lg { margin-top: 18px; gap: 10px; }
.socials-lg a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  opacity: 1;
}
.socials-lg a:hover { background: var(--ink); color: #fff; }
.socials-lg svg { width: 19px; height: 19px; }

/* ── Contact: visit ───────────────────────────────────── */
.visit-section { background: #f7f6f4; }
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
}
.visit-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  box-shadow: var(--shadow-l);
  background: #d7d3ce;
}
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
.visit-copy .pill { margin-bottom: 18px; }
.visit-list { margin-top: 20px; display: grid; gap: 10px; }
.visit-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink-soft);
}
.visit-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.visit-copy .btn { margin-top: 26px; }

/* ── Sub-page responsive ──────────────────────────────── */
@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { aspect-ratio: 16 / 10; max-width: 620px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coaches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-photo { aspect-ratio: 16 / 10; max-width: 620px; }
}

@media (max-width: 640px) {
  .values { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .coaches { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { justify-self: stretch; width: 100%; }
  .mini-stats { grid-template-columns: 1fr; gap: 14px; }
  .mini-stats .stat { display: flex; align-items: baseline; gap: 12px; }
  .mini-stats dd { margin-top: 0; }
  .page-title { max-width: none; }
  .cta-actions .btn { width: 100%; }
}
