/* ==========================================================================
   Calm Collective Club — Design System
   Palette: brand olive + stone neutrals (from current site & CC Club dossier)
   Layout language: editorial gallery bands (alternating full-bleed canvases,
   hairline rules, thin display serif) with soft rounded features and pill
   buttons.
   ========================================================================== */

:root {
  /* Colors */
  --paper: #f6f4ef;        /* main canvas — warm stone off-white */
  --chalk: #fdfcf9;        /* light panels, reversed text */
  --stone: #eae4d8;        /* warm sand band */
  --sage: #e0e3d5;         /* pale green band */
  --sage-deep: #b9bdac;    /* secondary green tone */
  --olive: #586040;        /* brand olive — headings, buttons, borders */
  --olive-soft: #8a9068;   /* display accent, echoes the dossier headings */
  --olive-deep: #3c4229;   /* dark editorial band */
  --ink: #2c3125;          /* body text */
  --hairline: rgba(88, 96, 64, 0.28);
  --hairline-light: rgba(253, 252, 249, 0.35);

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Shape — rounded features */
  --radius-card: 20px;
  --radius-img: 24px;
  --radius-pill: 999px;

  /* Rhythm */
  --band-pad: clamp(88px, 11vw, 144px);
  --gutter: clamp(20px, 5vw, 64px);
  --content-max: 1240px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-decoration: none; }
p { margin: 0 0 1.2em; max-width: 62ch; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--olive); color: var(--chalk); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--olive); color: var(--chalk); padding: 10px 22px;
  border-radius: 0 0 12px 0; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 400; margin: 0 0 0.45em; color: var(--olive); }

.display, h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.9rem, 6.5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}
.display-md, h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.08;
}
.display-sm, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
}

/* Italic serif lead-in — the dossier’s “A letter from / Who / Our” motif */
.eyebrow-serif {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--olive-soft);
  margin-bottom: 0.2em;
}

/* Small tracked uppercase label */
.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; }
.muted { color: rgba(44, 49, 37, 0.72); }

/* ---------- Bands (alternating full-bleed canvases) ---------- */
.band { padding: var(--band-pad) 0; }
.band--paper { background: var(--paper); }
.band--chalk { background: var(--chalk); }
.band--stone { background: var(--stone); }
.band--sage  { background: var(--sage); }
.band--olive {
  background: var(--olive-deep);
  color: var(--chalk);
}
.band--olive h2, .band--olive h3, .band--olive .display-md { color: var(--chalk); }
.band--olive .eyebrow-serif { color: var(--sage-deep); }
.band--olive p { color: rgba(253, 252, 249, 0.88); }
.band--flush { padding: 0; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 860px; }

/* Hairline divider */
.rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

/* ---------- Buttons (pill, tracked uppercase) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--olive);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn:hover { transform: translateY(-1px); }
/* Filled buttons are frosted-translucent: green stays translucent green,
   cream stays translucent cream */
.btn-solid {
  background: rgba(88, 96, 64, 0.72);
  color: var(--chalk);
  border-color: rgba(88, 96, 64, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-solid:hover { background: rgba(60, 66, 41, 0.85); border-color: rgba(60, 66, 41, 0.4); }
.btn-ghost { background: transparent; color: var(--olive); }
.btn-ghost:hover { background: rgba(88, 96, 64, 0.72); color: var(--chalk); border-color: rgba(88, 96, 64, 0.35); }
.btn-light { border-color: rgba(253, 252, 249, 0.75); color: var(--chalk); background: transparent; }
.btn-light:hover { background: rgba(253, 252, 249, 0.35); color: var(--chalk); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-light-solid {
  background: rgba(253, 252, 249, 0.55);
  color: var(--olive-deep);
  border-color: rgba(253, 252, 249, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-light-solid:hover { background: rgba(253, 252, 249, 0.78); border-color: rgba(253, 252, 249, 0.85); }

/* Hairline underline link — quiet editorial affordance */
.link-line {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--olive);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}
.link-line:hover { opacity: 0.6; }
.band--olive .link-line { color: var(--chalk); border-color: var(--hairline-light); }

/* Pill chip — outlined activation list (dossier motif) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.chip {
  border: 1px solid var(--olive);
  border-radius: var(--radius-pill);
  padding: 12px 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  background: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 12px 0;
}
/* The pill geometry is always there — invisible until the frosted background
   fades in on scroll, so nothing jumps */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1400px;
  border-radius: var(--radius-pill);
  width: min(1360px, calc(100% - 28px));
  padding: 10px clamp(18px, 3vw, 34px);
  background: rgba(246, 244, 239, 0);
  border: 1px solid rgba(88, 96, 64, 0);
  box-shadow: 0 10px 34px rgba(60, 66, 41, 0);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled .container, .site-header.solid .container {
  background: rgba(246, 244, 239, 0.65);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-color: rgba(88, 96, 64, 0.16);
  box-shadow: 0 10px 34px rgba(60, 66, 41, 0.10);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto !important; transition: height 0.3s ease, filter 0.35s ease; }
.site-header.scrolled .brand img { height: 38px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  white-space: nowrap;
}

/* On-image header (before scroll on hero pages) — logo always stays brand olive */
.header-on-image:not(.scrolled) .nav-list a,
.header-on-image:not(.scrolled) .brand-name { color: var(--chalk); }
.header-on-image:not(.scrolled) .nav-toggle span { background: var(--chalk); }
/* Logo: cream over hero photography, brand olive whenever the header sits on
   a cream surface (scrolled, solid pages, open menu overlay) */
.header-on-image:not(.scrolled) .brand img {
  filter: brightness(0) invert(1) sepia(0.08);
}
body.menu-open .header-on-image:not(.scrolled) .brand img { filter: none; }
.header-on-image:not(.scrolled) .btn-nav { border-color: var(--chalk); color: var(--chalk); }
.header-on-image:not(.scrolled) .btn-nav:hover { background: var(--chalk); color: var(--olive-deep); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity 0.2s ease, color 0.35s ease;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { opacity: 0.55; }
.btn-nav { padding: 12px 26px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: var(--olive); transition: transform 0.3s ease, opacity 0.3s ease; }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--paper);
  display: none;
  align-items: center;
  padding-top: 80px;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); width: 100%; max-width: 560px; }
.mobile-menu li { border-bottom: 1px solid var(--hairline); }
.mobile-menu a {
  display: block;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  color: var(--olive);
}
.mobile-menu li.mobile-cta { border-bottom: 0; }
.mobile-menu .mobile-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.mobile-menu .mobile-cta .btn {
  flex: none;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 12.5px;
  padding: 15px 30px;
}
.mobile-menu .mobile-cta .btn-solid { color: var(--chalk); }
.mobile-menu .mobile-cta .btn-ghost { color: var(--olive); }
body.menu-open { overflow: hidden; }
/* With the menu overlay open, the header sits on paper — use solid colours */
body.menu-open .header-on-image:not(.scrolled) .nav-list a,
body.menu-open .header-on-image:not(.scrolled) .brand-name { color: var(--ink); }
body.menu-open .header-on-image:not(.scrolled) .nav-toggle span { background: var(--olive); }
body.menu-open .header-on-image:not(.scrolled) .btn-nav { border-color: var(--olive); color: var(--olive); }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-list, .site-nav .btn-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--chalk);
  overflow: hidden;
}
.hero picture, .hero img.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44, 49, 37, 0.34) 0%, rgba(44, 49, 37, 0.06) 40%, rgba(44, 49, 37, 0.6) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(56px, 9vh, 110px); }
.hero .label { color: var(--stone); }
.hero h1 { color: var(--chalk); max-width: 13ch; }
.hero .lead { color: rgba(253, 252, 249, 0.92); max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Short hero for inner pages */
.hero--inner { min-height: 62vh; }

/* Text-only hero (no image) */
.hero-plain { padding: calc(96px + var(--band-pad) * 0.55) 0 calc(var(--band-pad) * 0.6); }

/* ---------- Imagery ---------- */
.img-round { border-radius: var(--radius-img); overflow: hidden; }
.img-round img { width: 100%; height: 100%; object-fit: cover; }
.img-arch { border-radius: 999px 999px var(--radius-img) var(--radius-img); overflow: hidden; }
.img-arch img { width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }

/* ---------- Layout patterns ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.split--text-right { direction: rtl; }
.split--text-right > * { direction: ltr; }
.split .split-media { min-height: 100%; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--text-right { direction: ltr; }
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: var(--chalk);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(60, 66, 41, 0.12); }
.card-media { aspect-ratio: 4 / 5; overflow: hidden; }
.card-media--wide { aspect-ratio: 5 / 4; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; }
.card-body .card-cta { margin-top: auto; padding-top: 16px; }

/* Soft editorial card (no image) */
.panel {
  background: var(--chalk);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: clamp(28px, 4vw, 48px);
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { width: clamp(220px, 26vw, 360px); aspect-ratio: 4 / 5; flex: none; }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-img); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ---------- Partner logos ---------- */
.partner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
}
.partner-row img {
  height: clamp(52px, 7.5vw, 84px);
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.partner-row a:hover img { opacity: 1; transform: translateY(-2px); }
/* legacy wrapper — logos sit directly on the band, no plinth */
.partner-row .logo-dark-bg { display: inline-flex; align-items: center; }

/* ---------- Quote ---------- */
.quote { text-align: center; }
.quote blockquote {
  margin: 0 auto 18px;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.25;
  color: var(--olive);
}
.quote cite { font-style: normal; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive-soft); }

/* ---------- Reviews ---------- */
.review-card { display: flex; flex-direction: column; gap: 10px; }
.review-stars { color: var(--olive); letter-spacing: 4px; font-size: 15px; }
.review-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  flex: 1;
}
.review-author { margin: 0; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive-soft); font-weight: 600; }
.review-author .review-when { text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(44, 49, 37, 0.5); margin-left: 6px; }
.reviews-meta { font-size: 14px; color: var(--olive); letter-spacing: 0.04em; }
.footer-legal .hq-link { color: rgba(253,252,249,0.45); font-size: 12px; margin-left: 10px; }
.footer-legal .hq-link:hover { color: var(--chalk); }

/* ---------- Forms ---------- */
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--chalk);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 15px 20px;
  width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: rgba(44, 49, 37, 0.45); }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; max-width: 520px; }
.newsletter-form input { flex: 1 1 260px; border-radius: var(--radius-pill); padding: 15px 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; color: var(--olive); }
.form-note { font-size: 13px; color: rgba(44, 49, 37, 0.6); }

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--olive);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4em; font-weight: 300; transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; }

/* ---------- Schedule embed ---------- */
.embed-shell {
  background: var(--chalk);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.embed-shell iframe { display: block; width: 100%; border: 0; min-height: 860px; }

/* ---------- Shop ---------- */
.price { font-size: 15px; font-weight: 600; letter-spacing: 0.06em; color: var(--olive); }

/* ---------- WhatsApp / community ---------- */
.wa-icon { width: 20px; height: 20px; flex: none; }

/* ---------- Instagram mosaic ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.insta-grid a { border-radius: var(--radius-img); overflow: hidden; display: block; aspect-ratio: 1; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.insta-grid a:hover img { transform: scale(1.05); }
@media (max-width: 820px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--olive-deep);
  color: rgba(253, 252, 249, 0.85);
  padding: clamp(64px, 8vw, 100px) 0 40px;
  font-size: 14.5px;
}
.site-footer a { color: var(--chalk); }
.site-footer a:hover { opacity: 0.7; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 56px;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 64px; width: auto !important; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 18px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--sage-deep); }
.footer-col h4,
.footer-col .footer-h {
  margin-top: 0;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-legal {
  border-top: 1px solid var(--hairline-light);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(253, 252, 249, 0.6);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }
.mb-16 { margin-bottom: 16px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; } .mb-64 { margin-bottom: 64px; }
.stack-16 > * + * { margin-top: 16px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
