/* ============================================================
   MAISON NINE — Design System
   Crème #F6F1EC | Encre #262322 | Terracotta #AD7D76
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --creme: #F6F1EC;
  --encre: #262322;
  --terracotta: #AD7D76;
  --terracotta-light: #C49890;
  --terracotta-dark: #8E6460;
  --creme-dark: #EDE6DE;
  --encre-light: #3D3937;
  --border: rgba(38, 35, 34, 0.12);
  --border-light: rgba(38, 35, 34, 0.07);
  --radius: 3px;
  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--creme);
  color: var(--encre);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; font-weight: 500; font-family: 'DM Sans', sans-serif; }

p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--encre-light);
  max-width: 60ch;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Layout ── */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 100px 0;
  scroll-margin-top: 72px;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--creme);
  border-color: var(--terracotta);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
}

.btn-dark {
  background: var(--encre);
  color: var(--creme);
  border-color: var(--encre);
}
.btn-dark:hover {
  background: var(--encre-light);
  border-color: var(--encre-light);
}

.btn-outline {
  background: transparent;
  color: var(--encre);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--encre);
}

.btn-ghost {
  background: transparent;
  color: var(--creme);
  border-color: rgba(246, 241, 236, 0.4);
}
.btn-ghost:hover {
  border-color: var(--creme);
}

/* ── Eyebrow label ── */

.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

/* ── Section title block ── */

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1rem;
  max-width: 52ch;
}

/* ============================================================
   POPUP
   ============================================================ */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38, 35, 34, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.popup-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.popup {
  background: var(--creme);
  max-width: 480px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-header {
  padding: 16px 36px 12px;
}

.popup .popup-header h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  line-height: 1.25;
  white-space: nowrap;
}

.popup .popup-header p {
  font-size: 0.8125rem;
  margin-bottom: 0;
}

.popup-body {
  padding: 0 36px 36px;
}

.popup-overlay.visible .popup {
  transform: translateY(0);
}

.popup-close {
  position: sticky;
  top: 10px;
  float: right;
  margin: 10px 10px -30px 0;
  background: var(--creme);
  border: none;
  cursor: pointer;
  color: var(--encre);
  opacity: 0.55;
  font-size: 1.25rem;
  line-height: 1;
  padding: 6px;
  z-index: 10;
  border-radius: 50%;
  transition: opacity var(--transition);
}
.popup-close:hover { opacity: 1; }

.popup-eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.popup h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1.15;
}

.popup p {
  font-size: 0.875rem;
  margin-bottom: 28px;
  max-width: none;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-form input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--encre);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}

.popup-form input[type="email"]:focus {
  border-color: var(--terracotta);
}

.popup-form input[type="email"]::placeholder {
  color: rgba(38, 35, 34, 0.35);
}

.popup-form .btn {
  width: 100%;
  justify-content: center;
}

.popup-skip {
  text-align: center;
  margin-top: 16px;
  font-size: 0.75rem;
  color: rgba(38, 35, 34, 0.45);
  cursor: pointer;
  transition: color var(--transition);
}
.popup-skip:hover { color: var(--encre); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */

.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--terracotta);
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-bar p {
  margin: 0;
  max-width: none;
}

.announcement-bar strong {
  font-weight: 500;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.nav.scrolled {
  background: rgba(246, 241, 236, 0.95);
  backdrop-filter: blur(12px);
  border-color: var(--border-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 22px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 18px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre);
  opacity: 0.8;
  transition: opacity var(--transition);
  position: relative;
}

.nav-links a:hover { opacity: 1; }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--terracotta);
  transition: right var(--transition);
}
.nav-links a:hover::after { right: 0; }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 200px;
  background: var(--creme);
  border: 1px solid var(--border);
  padding: 16px 0 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--transition), transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
}
.nav-dropdown-menu a:hover { opacity: 1; }
.nav-dropdown-menu a::after { display: none; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo nav : inversion sur hero sombre */
.nav.nav-hero:not(.scrolled) .nav-logo-img {
  filter: brightness(0) invert(1);
}
.nav.nav-hero:not(.scrolled) .nav-hamburger span { background: var(--creme); }

/* Nav hero (transparent on dark hero) */
.nav.nav-hero .nav-links a,
.nav.nav-hero .nav-cta .btn-outline {
  color: var(--creme);
  border-color: rgba(246, 241, 236, 0.35);
}
/* Dropdown items are on a crème bg — always encre regardless of nav state */
.nav.nav-hero .nav-dropdown-menu a {
  color: var(--encre);
}
.nav.nav-hero.scrolled .nav-links a,
.nav.nav-hero.scrolled .nav-cta .btn-outline {
  color: var(--encre);
}
.nav.nav-hero:not(.scrolled) .nav-hamburger span { background: var(--creme); }

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--encre);
  transition: all var(--transition);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--creme);
  z-index: 999;
  padding: 32px;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border-light);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 14px 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-light);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20px;
  background-image: url('../images/Studio Goal.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  animation: heroKenBurns 12s ease-out forwards;
  filter: blur(12px);
}

@keyframes heroKenBurns {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(38, 35, 34, 0.85) 0%,
    rgba(38, 35, 34, 0.3) 50%,
    rgba(38, 35, 34, 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--creme);
  white-space: nowrap;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 700ms 300ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 {
  color: var(--creme);
  max-width: 12ch;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 800ms 450ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(246, 241, 236, 0.7);
  margin-bottom: 36px;
  max-width: 38ch;
  font-weight: 300;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 700ms 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 700ms 750ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(246, 241, 236, 0.5);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 700ms 1000ms ease forwards;
}

.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(246, 241, 236, 0.35);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BOOKING
   ============================================================ */

.booking {
  background: var(--encre);
  padding: 80px 0;
}

.booking .section-header h2 {
  color: var(--creme);
}

.booking .section-header p {
  max-width: none;
  color: rgba(246, 241, 236, 0.6);
}

.booking .eyebrow {
  color: var(--terracotta);
}

.booking-placeholder {
  background: rgba(246, 241, 236, 0.04);
  border: 1px solid rgba(246, 241, 236, 0.1);
  border-radius: var(--radius);
  padding: 80px 40px;
  text-align: center;
  color: rgba(246, 241, 236, 0.35);
}

.booking-placeholder-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  opacity: 0.3;
}

.booking-placeholder h4 {
  color: rgba(246, 241, 236, 0.5);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  margin-bottom: 8px;
}

.booking-placeholder p {
  font-size: 0.8125rem;
  color: rgba(246, 241, 236, 0.25);
  max-width: none;
  margin: 0 auto;
}

/* ============================================================
   WHY MAISON NINE
   ============================================================ */

.why {
  background: var(--creme);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center;
}

.why-image-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(246, 241, 236, 0.92);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-left: 2px solid var(--terracotta);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-feature {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 20px;
  align-items: start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.why-feature:nth-child(1) { transition-delay: 0ms; }
.why-feature:nth-child(2) { transition-delay: 80ms; }
.why-feature:nth-child(3) { transition-delay: 160ms; }
.why-feature:nth-child(4) { transition-delay: 240ms; }
.why-feature:nth-child(5) { transition-delay: 320ms; }

.why-feature.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-feature:first-child {
  border-top: 1px solid var(--border-light);
}

.why-feature-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--terracotta);
  padding-top: 2px;
}

.why-feature h4 {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.why-feature p {
  font-size: 0.8125rem;
  max-width: none;
  color: rgba(38, 35, 34, 0.6);
  line-height: 1.65;
}

/* ============================================================
   COFFEE CORNER
   ============================================================ */

.coffee {
  background: var(--terracotta);
  padding: 0;
  overflow: hidden;
}

.coffee-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.coffee-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.coffee-content {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--terracotta);
}

.coffee-content .eyebrow {
  color: rgba(246, 241, 236, 0.6);
}

.coffee-content h2 {
  color: var(--creme);
  margin-bottom: 20px;
}

.coffee-content p {
  color: rgba(246, 241, 236, 0.75);
  max-width: none;
  margin-bottom: 36px;
}

/* ============================================================
   COACHES PREVIEW (homepage teaser)
   ============================================================ */

.coaches-preview {
  background: var(--creme-dark);
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.coach-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.coach-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(20%);
}

.coach-card:hover .coach-card-img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.coach-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(38,35,34,0.85) 0%, transparent 100%);
  color: var(--creme);
}

.coach-card-info h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--creme);
}

.coach-card-info span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.coaches-preview-footer {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--encre);
  color: var(--creme);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(246, 241, 236, 0.1);
  margin-bottom: 40px;
}

.footer-brand p {
  color: rgba(246, 241, 236, 0.45);
  font-size: 0.8125rem;
  margin-top: 20px;
  max-width: 32ch;
  line-height: 1.7;
}

.footer-logo {
  height: 24px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(94%) sepia(7%) saturate(400%) hue-rotate(335deg) brightness(99%) contrast(90%);
}

.footer-col h5 {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(246, 241, 236, 0.4);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.8125rem;
  color: rgba(246, 241, 236, 0.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--creme); }

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(246, 241, 236, 0.15);
  border-radius: 2px;
  color: rgba(246, 241, 236, 0.6);
  transition: all var(--transition);
}

.footer-social-link:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.footer-social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(246, 241, 236, 0.3);
  max-width: none;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(246, 241, 236, 0.35);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--creme); }

/* ============================================================
   COACHES PAGE
   ============================================================ */

.page-hero {
  padding: 160px 0 80px;
  background: var(--encre);
  text-align: center;
}

.page-hero h1 {
  color: var(--creme);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(246, 241, 236, 0.55);
  margin: 0 auto;
  font-size: 1rem;
}

.coaches-full {
  padding: 80px 0 120px;
}

.coaches-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 48px;
}

.coach-profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.coach-profile.visible {
  opacity: 1;
  transform: translateY(0);
}

.coach-profile-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(10%);
}

.coach-profile-info {
  padding-top: 8px;
}

.coach-profile-info .eyebrow {
  margin-bottom: 8px;
}

.coach-profile-info h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.coach-profile-info p {
  font-size: 0.875rem;
  max-width: none;
  margin-bottom: 20px;
}

.coach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.coach-tag {
  padding: 4px 12px;
  border: 1px solid var(--border);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--encre-light);
  border-radius: 1px;
}

/* ============================================================
   SHOP PAGE
   ============================================================ */

.shop-section {
  padding: 80px 0 120px;
}

.shop-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.shop-filter-btn {
  padding: 8px 18px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
  border-radius: 1px;
}

.shop-filter-btn.active,
.shop-filter-btn:hover {
  background: var(--encre);
  color: var(--creme);
  border-color: var(--encre);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.product-card {
  background: white;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--creme-dark);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-img {
  transform: scale(1.04);
}

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--terracotta);
  color: var(--creme);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.product-card-info {
  padding: 20px 20px 24px;
  border: 1px solid var(--border-light);
  border-top: none;
}

.product-card-info h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.product-card-info .product-sub {
  font-size: 0.75rem;
  color: rgba(38, 35, 34, 0.45);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 0.9375rem;
  font-weight: 500;
}

.product-add {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 1px;
}

.product-add:hover {
  background: var(--encre);
  border-color: var(--encre);
  color: var(--creme);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section {
  padding: 80px 0 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  padding-top: 8px;
}

.contact-info-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-info-item:first-child {
  border-top: 1px solid var(--border-light);
}

.contact-info-item .eyebrow {
  margin-bottom: 10px;
}

.contact-info-item a {
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.contact-info-item a:hover { color: var(--terracotta); }

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(38, 35, 34, 0.6);
  transition: color var(--transition);
}
.contact-social:hover { color: var(--terracotta); }

.contact-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Map with folding effect */
.map-wrap {
  position: relative;
  perspective: 1200px;
}

.map-fold {
  position: relative;
  transform-style: preserve-3d;
  animation: mapUnfold 1.2s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes mapUnfold {
  from {
    transform: rotateX(25deg) scale(0.95);
    opacity: 0;
  }
  to {
    transform: rotateX(0deg) scale(1);
    opacity: 1;
  }
}

.map-crease {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(38,35,34,0.08), transparent);
  z-index: 1;
  pointer-events: none;
}

.map-crease-v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(38,35,34,0.08), transparent);
  z-index: 1;
  pointer-events: none;
}

.map-frame {
  width: 100%;
  height: 440px;
  border: none;
  display: block;
  filter: sepia(15%) contrast(1.05);
  border: 1px solid var(--border-light);
}

.map-label {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--creme);
  border: 1px solid var(--border);
  padding: 10px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(38, 35, 34, 0.5);
}

.form-group input,
.form-group textarea {
  padding: 13px 16px;
  border: 1px solid var(--border);
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--encre);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
}

/* ============================================================
   CONTACT PAGE — blocks & map
   ============================================================ */

.contact-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-block:first-child { border-top: 1px solid var(--border-light); }
.contact-block .eyebrow { margin-bottom: 10px; }

.contact-link {
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.contact-link:hover { color: var(--terracotta); }

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: rgba(38, 35, 34, 0.6);
  transition: color var(--transition);
}
.contact-social:hover { color: var(--terracotta); }
.contact-social svg { fill: currentColor; flex-shrink: 0; }

.map-wrapper {
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 480px;
  display: block;
  border: 1px solid var(--border-light);
  filter: sepia(12%) contrast(1.04);
}

/* Badge marker — sits over the Google Maps default pin */
.map-badge-marker {
  position: absolute;
  /* Google embed centres pin slightly above iframe vertical midpoint due to info popup */
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(38,35,34,0.35));
}
.map-badge-marker img {
  width: 80px;
  height: 80px;
}

.map-caption {
  margin-top: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(38, 35, 34, 0.4);
  text-align: center;
}

/* ============================================================
   CGV PAGE
   ============================================================ */

.cgv-section {
  padding: 80px 0 120px;
}

.cgv-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}

.cgv-toc {
  position: sticky;
  top: 100px;
  padding: 24px;
  background: var(--creme-dark);
  border: 1px solid var(--border-light);
}

.cgv-toc-title {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(38,35,34,0.4);
  margin-bottom: 16px;
  max-width: none;
}

.cgv-toc ol {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: none;
}

.cgv-toc ol li a {
  font-size: 0.75rem;
  color: rgba(38,35,34,0.55);
  line-height: 1.5;
  transition: color var(--transition);
}
.cgv-toc ol li a:hover { color: var(--terracotta); }

.cgv-body { min-width: 0; }

.cgv-body article {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}
.cgv-body article:first-child { padding-top: 0; }

.cgv-body h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.cgv-body p {
  margin-bottom: 14px;
  max-width: none;
  font-size: 0.9375rem;
  color: rgba(38,35,34,0.75);
  line-height: 1.8;
}
.cgv-body p:last-child { margin-bottom: 0; }

.cgv-body a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cgv-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.cgv-body ul li {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(38,35,34,0.75);
  margin-bottom: 4px;
}

/* ============================================================
   UTILITIES
   ============================================================ */

.text-center { text-align: center; }
.mt-48 { margin-top: 48px; }
.divider {
  width: 40px;
  height: 1px;
  background: var(--terracotta);
  margin: 24px 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { gap: 48px; }
  .coaches-full-grid { gap: 48px 32px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .container { padding: 0 20px; }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }

  .hero-content { padding: 0 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }

  .coffee-inner { grid-template-columns: 1fr; }
  .coffee-content { padding: 48px 20px; }

  .coaches-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .coaches-full-grid { grid-template-columns: 1fr; }
  .coach-profile { grid-template-columns: 160px 1fr; }

  .shop-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }
  .cgv-inner { grid-template-columns: 1fr; }
  .cgv-toc { position: static; }

  .page-hero { padding: 120px 0 60px; }
}

@media (max-width: 480px) {
  .coaches-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .coach-profile { grid-template-columns: 1fr; }
  .coach-profile-img { aspect-ratio: 4/3; }
  .popup { padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}
