/* ---------- Arden Studio — design tokens + base ---------- */
:root {
  /* Three accent browns the user can switch between */
  --espresso: #1f1610;
  --coffee:   #3a2c20;
  --bronze:   #53402f;
  --caramel:  #8a6a48;
  --tan:      #c1a380;
  --sand:     #d9c4a6;
  --cream:    #f5ede0;
  --paper:    #faf5eb;
  --ink:      #2a1f15;
  --muted:    #8a7765;
  --hairline: rgba(42, 31, 21, 0.12);

  /* Theme — overridden per color-emphasis tweak */
  --bg-dark:    var(--espresso);
  --bg-soft:    var(--paper);
  --bg-cream:   var(--cream);
  --fg-on-dark: var(--paper);
  --fg-on-soft: var(--ink);
  --accent:     var(--tan);

  /* Type */
  --font-serif: 'Cormorant Garamond', 'EB Garamond', 'Times New Roman', serif;
  --font-sans:  'Inter Tight', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', 'Menlo', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg-soft);
  color: var(--fg-on-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography utilities ---------- */
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: var(--font-mono); font-feature-settings: normal; }
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.display {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.italic { font-style: italic; }

/* ---------- Layout ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 720px) {
  .container { padding: 0 24px; }
}

/* ---------- Top bar (nav) ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: linear-gradient(to bottom, rgba(245,237,224,0.92), rgba(245,237,224,0.0));
  backdrop-filter: blur(10px);
  color: var(--ink);
  transition: background 0.4s ease;
}
@media (max-width: 720px) {
  .topbar { padding: 0 20px; }
}
/* CRITICAL: backdrop-filter on .topbar creates a containing block for its
   fixed-positioned children (the .topbar-nav drawer), which made the mobile
   overlay collapse into the 64px topbar instead of covering the viewport.
   Strip it on mobile — the menu is solid var(--bg-dark) when open and the
   topbar background already changes, so the blur effect adds nothing here. */
@media (max-width: 880px) {
  .topbar {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.topbar.on-dark {
  background: linear-gradient(to bottom, rgba(31,22,16,0.85), rgba(31,22,16,0));
  color: var(--paper);
}
/* When mobile menu is open the topbar matches the dark overlay so they read as
   a single, fully opaque dark surface. The burger button stays clickable on top
   because the topbar has a higher z-index than the drawer. */
.topbar.menu-open,
.topbar.menu-open.on-dark {
  background: var(--bg-dark);
  color: var(--paper);
}

.topbar .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.04em;
  z-index: 2;
}
.topbar .brand-mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  color: var(--bg-dark);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
}
.topbar nav,
.topbar .topbar-nav {
  display: flex; align-items: center; gap: 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.topbar nav a,
.topbar .topbar-nav a { opacity: 0.78; transition: opacity 0.2s; }
.topbar nav a:hover,
.topbar .topbar-nav a:hover { opacity: 1; }

/* ---------- Mobile hamburger ---------- */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  z-index: 90;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  color: inherit;
  /* Remove 300ms tap delay and ensure crisp tap response on iOS */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.topbar.menu-open .menu-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.topbar.menu-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
.topbar.menu-open .menu-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-toggle { display: flex; }

  /* Full-viewport overlay menu — fully opaque dark surface so nothing of the
     page underneath bleeds through. Items are centered vertically and
     horizontally. Sized so all 6 nav items + lang toggle fit without scroll
     even on the smallest viewports (iPhone SE / iOS Safari chrome expanded).
     Sits below the topbar's z-80 so the hamburger / X stays clickable on top. */
  .topbar .topbar-nav {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    color: var(--paper);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: calc(76px + env(safe-area-inset-top)) 32px calc(28px + env(safe-area-inset-bottom));
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 28px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    /* Hard cap so nothing scrolls. */
    overflow: hidden;
    z-index: 70;
  }
  /* On dark sections, same fully opaque dark overlay. */
  .topbar.on-dark .topbar-nav {
    background: var(--bg-dark);
    color: var(--paper);
  }
  .topbar .topbar-nav.open {
    opacity: 1;
    pointer-events: auto;
  }
  .topbar .topbar-nav a {
    display: inline-block;
    padding: 8px 8px;
    border: 0;
    color: var(--paper);
    opacity: 0.92;
    transition: opacity 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .topbar .topbar-nav a:hover,
  .topbar .topbar-nav a:active,
  .topbar .topbar-nav a:focus { opacity: 1; }
  .topbar.on-dark .topbar-nav a {
    color: var(--paper);
    border: 0;
  }
  /* Language toggle inside the overlay: light pill on dark background. */
  .topbar .topbar-nav .lang-toggle {
    margin-top: 18px;
    font-family: var(--font-sans);
    font-size: 12px;
    border-color: rgba(245, 237, 224, 0.4);
    color: var(--paper);
  }
  .topbar .topbar-nav .lang-toggle button {
    padding: 6px 14px;
    font-size: 12px;
    color: var(--paper);
  }
  .topbar .topbar-nav .lang-toggle button.active {
    background-color: var(--paper) !important;
    color: var(--ink) !important;
  }
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 3px;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.9;
  gap: 0;
}
.lang-toggle button {
  background: transparent;
  color: inherit;
  border: 0;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
}
.topbar:not(.on-dark) .lang-toggle button.active {
  background-color: var(--ink);
  color: var(--paper);
}
.topbar.on-dark .lang-toggle button.active {
  background-color: var(--paper);
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
}
.btn-primary:hover { background: var(--sand); border-color: var(--sand); }
.btn-ghost-dark { color: var(--paper); }
.btn-ghost-dark:hover { background: var(--paper); color: var(--bg-dark); }
.btn-ghost-light { color: var(--ink); }
.btn-ghost-light:hover { background: var(--ink); color: var(--paper); }
.btn-lg { font-size: 14px; padding: 18px 36px; letter-spacing: 0.12em; }

/* ---------- Sections ---------- */
section { padding: 120px 0; position: relative; }
section.dark { background: var(--bg-dark); color: var(--fg-on-dark); }
section.cream { background: var(--cream); color: var(--ink); }
section.paper { background: var(--paper); color: var(--ink); }

/* ---------- About ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 96px;
}
@media (max-width: 880px) {
  .about-intro { grid-template-columns: 1fr; gap: 36px; margin-bottom: 56px; }
}
.about-intro-left {
  display: flex;
  flex-direction: column;
}
.about-intro-right {
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: flex-start;
}
.about-intro-right .about-etym {
  align-self: stretch;
  max-width: 360px;
}
@media (max-width: 880px) {
  .about-intro-right .about-etym { max-width: none; }
}
.about-etym {
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-soft);
}
.about-etym-word {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 84px);
  letter-spacing: -0.02em;
  line-height: 0.9;
  font-style: italic;
  color: var(--bronze);
}
.about-etym-gloss {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.about-philosophy {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  max-width: 24ch;
}

.about-block {
  padding-top: 56px;
  margin-top: 56px;
  border-top: 1px solid var(--hairline);
}
.about-block:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.about-h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0 0 28px;
}
.about-body {
  font-size: 17px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0;
  opacity: 0.85;
}

.about-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
@media (max-width: 880px) {
  .about-methods { grid-template-columns: 1fr; gap: 36px; }
}
.about-method {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-method-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin: 0;
}
.about-method-body {
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.82;
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  /* Fill column-by-column on desktop: each topic (Pilates, Lagree, general)
     gets its own column with duration on top and price/level below. */
  grid-auto-flow: column;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .about-info-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    /* Mobile: reset to row flow so the topic-grouped data array reads top-to-bottom:
       Pilates row, Lagree row, general row. */
    grid-auto-flow: row;
  }
}
.about-info-cell {
  background: var(--bg-soft);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-info-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}
.about-info-value {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 36px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}

.about-policies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 880px) {
  .about-policies { grid-template-columns: 1fr; gap: 28px; }
}
.about-policy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.about-policy-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}
.about-policy-body {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.85;
}

/* ---------- Method card extensions ---------- */
.method-subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: -6px;
}
.method-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.method-body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  opacity: 0.82;
}
.method-rates {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-top: 8px;
}
.method-rate {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.method-rate-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}
.method-rate-value {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.005em;
  line-height: 1;
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) {
  .method-grid { grid-template-columns: 1fr; gap: 48px; }
}
.method-card {
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.method-card h3 {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1;
}
.method-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.55;
  letter-spacing: 0.16em;
}
.method-card p { margin: 0; font-size: 16px; line-height: 1.65; opacity: 0.82; }
.method-card .attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 12px;
}
.method-card .attr {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  opacity: 0.85;
}

/* ---------- Booking ---------- */
.booking-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
  padding: 36px 32px;
  position: relative;
  width: 100%;
}
/* Founding-member perks list, full-width row under booking widget */
.booking-perks {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 880px) {
  .booking-perks { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
}
.booking-perks li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-top: 1px solid rgba(245,237,224,0.16);
  padding-top: 20px;
}
.booking-perks-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  padding-top: 5px;
  color: var(--accent);
  width: 28px;
  flex-shrink: 0;
}
.booking-perks-text {
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.85;
}
.booking-card .badge {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 5px 10px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
}
/* Older duplicate rules collapsed into the canonical .booking-card block above */

/* ---------- Booking tabs (Schedule / Appointments / Account) ---------- */
.booking-card .booking-tabs {
  display: flex;
  margin-top: 24px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.booking-card .booking-tab {
  flex: 1;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--hairline);
  padding: 18px 16px;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.18s ease, color 0.18s ease;
}
.booking-card .booking-tab:last-child { border-right: 0; }
.booking-card .booking-tab:hover { background: rgba(31, 22, 16, 0.05); }
.booking-card .booking-tab.active {
  background: var(--ink);
  color: var(--paper);
}
.booking-card .booking-tab-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.55;
}
.booking-card .booking-tab.active .booking-tab-num { opacity: 0.7; }
.booking-card .booking-tab-label {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 660px) {
  .booking-card .booking-tab {
    flex-direction: column;
    gap: 4px;
    padding: 14px 8px;
  }
  .booking-card .booking-tab-label { font-size: 10px; letter-spacing: 0.14em; }
}

.booking-card .booking-tab-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.72;
  margin: 24px 0 0;
  max-width: 60ch;
}

/* Stack containing the three widget slots; only one is visible at a time */
.booking-card .booking-widget-stack {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  min-height: 520px;
  position: relative;
}
.booking-card .booking-widget-slot { width: 100%; }
.booking-card .widget-container {
  width: 100%;
  min-height: 480px;
  -webkit-overflow-scrolling: touch;
  overflow: auto;
}
/* Force MindBody Branded Web widget iframes to be responsive */
.booking-card .widget-container .mindbody-widget,
.booking-card .widget-container .mindbody-widget iframe {
  width: 100% !important;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 720px) {
  .booking-card { padding: 24px 16px; }
  .booking-card .widget-container { min-height: 560px; }
  .booking-card .widget-container .mindbody-widget iframe {
    min-height: 560px;
  }
}

/* Footer meta row */
.booking-card .booking-footer-meta {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
  font-size: 12px;
  opacity: 0.55;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

/* ---------- Newsletter ---------- */
.waitlist-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 880px) {
  .waitlist-row { grid-template-columns: 1fr; gap: 36px; }
}
.waitlist-head { display: flex; flex-direction: column; }
.waitlist {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 460px;
}
.waitlist form {
  display: flex;
  gap: 0;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 4px 4px 20px;
  align-items: center;
}
.waitlist input {
  flex: 1;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  padding: 12px 8px;
  outline: none;
}
.waitlist input::placeholder { color: currentColor; opacity: 0.55; }
.waitlist button {
  background: var(--accent);
  color: var(--bg-dark);
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s;
}
.waitlist button:hover { background: var(--sand); }
.waitlist .note { font-size: 12px; opacity: 0.6; letter-spacing: 0.02em; }
.waitlist .success {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
}

/* ---------- Summer Promo Popup ---------- */
.promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,6,3,0.88);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: promo-fade-in 0.4s ease;
}
@keyframes promo-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.promo-popup {
  /* VARIANTE B — Estate Bianca */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='520'%3E%3C!-- palm left --%3E%3Cellipse cx='55' cy='540' rx='10' ry='190' fill='%232d4a1e' opacity='.18' transform='rotate(-6 55 540)'/%3E%3Cpath d='M55 340 Q-5 275 -30 235 Q25 280 55 340' fill='%23366128' opacity='.18'/%3E%3Cpath d='M55 340 Q15 305 -15 315 Q20 318 55 340' fill='%23366128' opacity='.15'/%3E%3Cpath d='M55 340 Q105 268 128 230 Q88 278 55 340' fill='%23366128' opacity='.18'/%3E%3Cpath d='M55 340 Q108 308 132 322 Q98 318 55 340' fill='%23366128' opacity='.15'/%3E%3Cpath d='M55 340 Q48 272 44 228 Q52 278 55 340' fill='%23366128' opacity='.16'/%3E%3C!-- palm right --%3E%3Cellipse cx='705' cy='540' rx='10' ry='175' fill='%232d4a1e' opacity='.15' transform='rotate(8 705 540)'/%3E%3Cpath d='M705 355 Q762 282 790 245 Q748 290 705 355' fill='%23366128' opacity='.18'/%3E%3Cpath d='M705 355 Q748 322 776 338 Q738 333 705 355' fill='%23366128' opacity='.15'/%3E%3Cpath d='M705 355 Q652 278 626 240 Q660 286 705 355' fill='%23366128' opacity='.18'/%3E%3Cpath d='M705 355 Q648 320 622 332 Q660 326 705 355' fill='%23366128' opacity='.15'/%3E%3Cpath d='M705 355 Q712 280 716 238 Q706 282 705 355' fill='%23366128' opacity='.16'/%3E%3C/svg%3E") bottom center/100% auto no-repeat,
    linear-gradient(175deg, #ffffff 0%, #f8f5ee 60%, #f0ebe0 100%);
  border: 1px solid rgba(193,163,128,0.35);
  max-width: 760px;
  width: 100%;
  padding: 48px 48px 36px;
  position: relative;
  animation: promo-slide-up 0.4s ease;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes promo-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.promo-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: #1f1610;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
  padding: 0;
}
.promo-close:hover { opacity: 1; }
.promo-dismiss-link {
  display: block;
  width: 100%;
  margin-top: 20px;
  background: none;
  border: none;
  color: #1f1610;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.35;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.2s;
}
.promo-dismiss-link:hover { opacity: 0.7; }

/* Popup light-mode text overrides */
.promo-popup .promo-eyebrow { color: #7a6240; }
.promo-popup .promo-title { color: #c1a380; }
.promo-popup .promo-title em { color: #c1a380; }
.promo-popup .promo-sub { color: #3a2c1e; opacity: 0.7; }
.promo-popup .promo-count-num { color: #1f1610; }
.promo-popup .promo-count-label { color: #7a6240; opacity: 0.8; }
.promo-popup .promo-countdown { border-color: rgba(193,163,128,0.35); }
.promo-popup .promo-card { border-color: rgba(193,163,128,0.35); background: rgba(255,255,255,0.6); }
.promo-popup .promo-card:hover { border-color: rgba(193,163,128,0.7); background: rgba(255,255,255,0.9); }
.promo-popup .promo-card-body h3 { color: #1f1610; }
.promo-popup .promo-card-body p { color: #3a2c1e; }
.promo-popup .healcode-pricing-option-text-link { background: #2d5a20 !important; color: #ffffff !important; border-color: #2d5a20 !important; }
.promo-popup .healcode-pricing-option-text-link:hover { background: #3d7a2c !important; color: #ffffff !important; border-color: #3d7a2c !important; }

/* Banner (sezione fissa) */
.promo-section {
  padding: 80px 0;
  border-top: 1px solid rgba(193,163,128,0.15);
  border-bottom: 1px solid rgba(193,163,128,0.15);
}
.promo-header {
  text-align: center;
  margin-bottom: 56px;
}
.promo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 16px;
}
.promo-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 16px;
  line-height: 1.1;
}
.promo-title em { font-style: italic; color: var(--accent); }
.promo-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-on-dark);
  opacity: 0.6;
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
/* Countdown */
.promo-countdown {
  display: inline-flex;
  gap: 32px;
  padding: 16px 32px;
  border: 1px solid rgba(193,163,128,0.2);
  margin-top: 8px;
}
.promo-count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 44px;
}
.promo-count-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--fg-on-dark);
  line-height: 1;
}
.promo-count-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.6;
}
/* Cards */
.promo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.promo-card {
  border: 1px solid rgba(193,163,128,0.25);
  padding: 36px;
  position: relative;
  transition: border-color 0.2s;
}
.promo-card:hover { border-color: rgba(193,163,128,0.5); }
.promo-card-badge {
  position: absolute;
  top: -1px; left: 28px;
  background: var(--accent);
  color: var(--bg-dark);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.promo-card-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.promo-card-body h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--fg-on-dark);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.promo-card-body p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-on-dark);
  opacity: 0.6;
  line-height: 1.6;
  margin: 0;
}
/* Buy button — popup e banner */
.promo-buy-link {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 13px 0;
  background: transparent;
  border: 1px solid rgba(193,163,128,0.4);
  color: var(--accent) !important;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
  box-sizing: border-box;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(193,163,128,0.2);
}
.promo-buy-link:hover {
  background: var(--accent) !important;
  color: var(--bg-dark) !important;
  border-color: var(--accent);
}
.promo-popup .promo-buy-link {
  background: #2d5a20 !important;
  color: #ffffff !important;
  border-color: #2d5a20 !important;
}
.promo-popup .promo-buy-link:hover {
  background: #3d7a2c !important;
  border-color: #3d7a2c !important;
}

@media (max-width: 640px) {
  .promo-popup { padding: 36px 20px 24px; }
  .promo-cards { grid-template-columns: 1fr; }
  .promo-countdown { gap: 16px; padding: 12px 16px; }
  .promo-count-num { font-size: 26px; }
  .promo-title { font-size: 32px; }
  .promo-card { padding: 28px 20px; }
}

/* ---------- Contact / Map ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  row-gap: 18px;
  column-gap: 24px;
  font-size: 15px;
}
.contact-info dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  padding-top: 4px;
}
.contact-info dd { margin: 0; line-height: 1.55; }
.map-frame {
  position: relative;
  background: var(--bronze);
  border-radius: 4px;
  overflow: hidden;
  min-height: 360px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; min-height: 360px; }

/* ---------- Footer ---------- */
footer.foot {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: 14px 0 7px;
}
footer.foot .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
footer.foot .colofon {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.55;
  text-transform: uppercase;
}
footer.foot .marque {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 9px 0 5px;
  padding: 0;
}
footer.foot .marque img {
  display: block;
}

/* ---------- Instagram strip ---------- */
.ig-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 880px) {
  .ig-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
}
.ig-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.ig-handle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.ig-handle:hover { opacity: 1; }
.ig-lede {
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.78;
  max-width: 36ch;
}

.ig-strip-wrap {
  position: relative;
  width: 100%;
}
.ig-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 48px 24px;
  scroll-padding-left: 48px;
}
.ig-strip::-webkit-scrollbar { display: none; }
@media (max-width: 720px) {
  .ig-strip { padding: 8px 24px 20px; scroll-padding-left: 24px; }
}

/* Remove Behold-specific helpers — we render tiles ourselves now */
.ig-behold { display: none; }

.ig-tile-live {
  background: var(--bg-dark);
}
.ig-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.ig-tile-live:hover .ig-tile-img {
  transform: scale(1.04);
}
.ig-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31,22,16,0.55) 0%, rgba(31,22,16,0.0) 45%);
  pointer-events: none;
}
.ig-tile-live .ig-tile-tag,
.ig-tile-live .ig-tile-icon {
  z-index: 1;
  color: var(--paper);
}
.ig-tile-live .ig-tile-num { display: none; }

.ig-tile {
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 320px);
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  display: block;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s;
  color: var(--paper);
  box-shadow: 0 8px 24px -16px rgba(31,22,16,0.4);
}
.ig-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -20px rgba(31,22,16,0.6);
}
.ig-tile-num {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.7;
  font-weight: 500;
}
.ig-tile-tag {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  font-weight: 500;
  max-width: calc(100% - 60px);
}
.ig-tile-icon {
  position: absolute;
  bottom: 14px; right: 14px;
  opacity: 0.75;
}
/* Light tiles need dark text */
.ig-tile:nth-child(4),
.ig-tile:nth-child(7) {
  color: var(--ink);
}

.ig-strip-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 64px;
  pointer-events: none;
  z-index: 1;
  display: none; /* hidden when Behold grid is used */
}
.ig-strip-wrap:has(.ig-strip) .ig-strip-fade { display: block; }
.ig-strip-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--cream), transparent);
}
.ig-strip-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--cream), transparent);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 72px;
  align-items: start;
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}
.section-head .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.55;
  padding-top: 14px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(40px, 5.6vw, 84px);
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
}
.section-head .lede {
  font-size: 17px;
  line-height: 1.55;
  opacity: 0.78;
  max-width: 46ch;
}

/* ---------- HERO base ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero .countdown {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}
.hero .countdown .cell {
  display: flex; flex-direction: column; gap: 4px;
}
.hero .countdown .num {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: 0;
  opacity: 1;
  font-weight: 300;
  line-height: 1;
  text-transform: none;
}

/* === HERO A — Centered Stage (dark) === */
.hero.hero-a {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  text-align: center;
  padding-top: 96px;
}
.hero.hero-a .stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.hero.hero-a .monogram-wrap {
  width: 168px; height: 168px;
}
.hero.hero-a h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
}
.hero.hero-a h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero.hero-a .sub {
  font-size: 16px;
  letter-spacing: 0.04em;
  max-width: 48ch;
  opacity: 0.8;
  line-height: 1.55;
}
.hero.hero-a .cta-row { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }

/* === HERO B — Editorial Split (cream/dark hybrid) === */
.hero.hero-b {
  background: var(--cream);
  color: var(--ink);
  padding-top: 96px;
}
.hero.hero-b .grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 96px);
}
@media (max-width: 880px) {
  .hero.hero-b .grid { grid-template-columns: 1fr; }
}
.hero.hero-b .left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 0;
}
.hero.hero-b .left h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(64px, 8.5vw, 148px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0;
}
.hero.hero-b .left h1 .em {
  font-style: italic;
  color: var(--bronze);
  display: block;
}
.hero.hero-b .left .sub { font-size: 17px; max-width: 44ch; opacity: 0.78; line-height: 1.55; }
.hero.hero-b .left .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero.hero-b .right {
  position: relative;
  height: clamp(420px, 76vh, 720px);
  border-radius: 4px;
  background: linear-gradient(135deg, var(--bronze) 0%, var(--espresso) 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero.hero-b .right .monogram-wrap { width: 60%; max-width: 320px; }
.hero.hero-b .right .label {
  position: absolute;
  top: 24px; left: 24px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}
.hero.hero-b .right .label.r { left: auto; right: 24px; }
.hero.hero-b .right .label.b { top: auto; bottom: 24px; }

/* === HERO C — Marquee Motion === */
.hero.hero-c {
  background: var(--paper);
  color: var(--ink);
  padding-top: 96px;
}
.hero.hero-c .marquee {
  white-space: nowrap;
  overflow: hidden;
  margin: 8px 0 0;
}
.hero.hero-c .marquee .row {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-serif);
  font-size: clamp(120px, 20vw, 280px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 300;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.hero.hero-c .marquee .row em {
  font-style: italic;
  color: var(--bronze);
  opacity: 0.7;
}
.hero.hero-c .marquee .dot {
  display: inline-block;
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 50%;
  vertical-align: middle;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero.hero-c .center-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
  padding: 32px 0;
}
@media (max-width: 880px) {
  .hero.hero-c .center-row { grid-template-columns: 1fr; gap: 24px; }
}
.hero.hero-c .center-row .left,
.hero.hero-c .center-row .right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.78;
  max-width: 32ch;
}
.hero.hero-c .center-row .right { align-items: flex-end; text-align: right; max-width: 36ch; justify-self: end; }
.hero.hero-c .center-row .monogram-wrap { width: 200px; height: 200px; }
.hero.hero-c .center-row .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Logo animations ---------- */
.monogram-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.monogram-wrap svg { width: 100%; height: 100%; display: block; }
.monogram-wrap .stroke { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.monogram-wrap .ring { fill: none; stroke: var(--accent); stroke-width: 6; }

/* draw-in */
.draw-in .stroke, .draw-in .ring {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawIn 2.4s cubic-bezier(.7,.1,.2,1) 0.2s forwards;
}
.draw-in .ring { animation-delay: 0s; animation-duration: 1.6s; }
.draw-in .s2  { animation-delay: 0.8s; }
@keyframes drawIn {
  to { stroke-dashoffset: 0; }
}

/* fade-in helper */
.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) forwards; }
.fade-up.d1 { animation-delay: .25s; }
.fade-up.d2 { animation-delay: .5s; }
.fade-up.d3 { animation-delay: .8s; }
.fade-up.d4 { animation-delay: 1.1s; }
.fade-up.d5 { animation-delay: 1.4s; }
.fade-up.d6 { animation-delay: 1.7s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Stretch helper */
.stretch { letter-spacing: -0.02em; }

/* Misc */
.divider {
  height: 1px;
  background: currentColor;
  opacity: 0.16;
  margin: 0;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.opening-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  width: max-content;
}
.opening-pill .pulse {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}
.opening-pill .pulse::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.4; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.6;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint .line {
  width: 1px; height: 36px; background: currentColor;
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
  50%      { transform: scaleY(1); opacity: 1; }
}
