:root{
  --font-preset: serif;
  --scale-preset: normal;
  --button-preset: solid;

  /* Bright + positive palette */
  --bg: #f6fbff;          /* sky */
  --bg2: #fff4e8;         /* warm peach */
  --card: #ffffff;
  --text: #102a43;        /* deep navy */
  --muted: #52606d;
  --line: #d9e2ec;

  /* Accents */
  --accent: #ff5d8f;      /* coral-pink */
  --accent2: #ffb703;     /* sunshine */
  --accent3: #06d6a0;     /* mint */

  --shadow: 0 20px 60px rgba(16, 42, 67, 0.12);
  --radius: 20px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background: radial-gradient(1200px 700px at 20% 10%, rgba(255,183,3,0.25), transparent 60%),
              radial-gradient(900px 600px at 85% 20%, rgba(255,93,143,0.22), transparent 55%),
              radial-gradient(900px 700px at 50% 90%, rgba(6,214,160,0.18), transparent 60%),
              linear-gradient(180deg, var(--bg), #ffffff 35%, var(--bg2));
  color:var(--text);
  font-family: ui-serif, "Georgia", "Times New Roman", serif;
  line-height:1.7;
}

/* Subtle paper grain */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.07;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(16,42,67,0.14) 1px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(16,42,67,0.12) 1px, transparent 1px),
    radial-gradient(circle at 40% 90%, rgba(16,42,67,0.10) 1px, transparent 1px);
  background-size: 180px 180px;
}

.container{
  width:min(1060px, 92vw);
  margin:0 auto;
}

.section{
  position:relative;
  padding:88px 0;
}

.section-soft{
  background: linear-gradient(
    180deg,
    var(--bg),
    var(--bg2),
    var(--bg)
  );
}

/* NAV */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217,226,236,0.85);
}

.nav-inner{
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  text-decoration:none;
  color:var(--accent);
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.brand-mark{
  font-size:18px;
  letter-spacing:1px;
}

.nav-links{
  display:flex;
  gap:30px;
}

.nav-links a{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  /* Use theme text color for ALL items so changes are visible across the whole nav.
     We keep a slightly softened look via opacity, then raise it on hover/active. */
  color:var(--text);
  opacity: .72;
  text-decoration:none;
}

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

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius: 12px;
  border:1px solid rgba(217,226,236,0.9);
  background: rgba(255,255,255,0.8);
  cursor:pointer;
  align-items:center;
  justify-content:center;
}

.nav-toggle-bars{
  position:relative;
  width:18px;
  height:2px;
  background: var(--text);
  border-radius: 2px;
  display:block;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background: var(--text);
  border-radius: 2px;
}
.nav-toggle-bars::before{ top:-6px; }
.nav-toggle-bars::after{ top:6px; }

/* Mobile menu panel */
.nav-menu{
  display:none;
  border-bottom: 1px solid rgba(217,226,236,0.85);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
}
.nav-menu.is-open{ display:block; }
.nav-menu .nav-menu-link{
  display:block;
  padding: 14px 18px;
  text-decoration:none;
  color: var(--text);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-top: 1px solid rgba(217,226,236,0.75);
}
.nav-menu .nav-menu-link:hover{ background: rgba(255,255,255,0.65); }
.nav-menu .nav-menu-cta{
  color: var(--accent);
  font-weight: 600;
}

/* HERO */
.hero{
  padding:110px 0 96px;
}

.bg-media{
  position:absolute;
  inset:0;
  overflow:hidden;
}

/* Hero background ~30% more visible */
.bg-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.46;
  filter:saturate(1.03) contrast(.98);
  transform:scale(1.03);
}

.bg-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 50% 28%, rgba(255,183,3,0.30), transparent 60%),
    radial-gradient(760px 460px at 20% 15%, rgba(255,93,143,0.20), transparent 55%),
    linear-gradient(180deg, rgba(246,251,255,0.40), rgba(246,251,255,0.88));
}

.hero-content{
  position:relative;
  text-align:center;
}

.hero-title{
  margin:0;
  font-size:clamp(40px,5vw,68px);
  line-height:1.15;
  font-weight:500;
  letter-spacing:.01em;
}

.accent-italic{
  font-style:italic;
  color:var(--accent);
  font-weight:500;
}

.hero-subtitle{
  max-width:760px;
  margin:22px auto 34px;
  color:var(--muted);
  font-size:16px;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 26px;
  border-radius:6px;
  border:1px solid transparent;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
}

.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--text);
  border-color: rgba(16,42,67,0.12);
  box-shadow: 0 16px 34px rgba(16,42,67,0.14);
}

.btn-primary:hover{
  background: linear-gradient(135deg, var(--accent2), var(--accent3));
  box-shadow: 0 20px 44px rgba(16,42,67,0.18);
  transform: translateY(-1px);
}

.arrow{ font-size:14px; letter-spacing:0; text-transform:none; }

/* TYPOGRAPHY */
.section-title{
  margin:10px 0 18px;
  font-size:clamp(34px,3.4vw,52px);
  font-weight:500;
  line-height:1.15;
}

.lead{
  max-width:820px;
  margin:0 auto 12px;
  color:var(--muted);
  font-size:16px;
}

.muted{ color:var(--muted); }

.kicker{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:flex-start;
  margin-bottom:8px;
}

.kicker-icon{
  color:var(--accent);
  font-size:16px;
}

.kicker-text{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
}

.divider{
  width:110px;
  height:1px;
  background:var(--line);
  margin-top:26px;
}

.center{ text-align:center; }
.center-divider{ margin:18px auto 0; }

/* DEFAULT Split layout (used by other sections if needed) */
.split{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:56px;
  align-items:start;
}

.split-media img{
  width:100%;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  display:block;
  opacity:.95;
}

.split-content{
  padding-top:6px;
}

/* ===============================
   ABOUT SECTION – TRUE CENTERED
   =============================== */
#about .split{
  display:flex;                 /* override grid for About */
  flex-direction:column;
  align-items:center;
  gap:48px;
}

#about .split-media{
  width:100%;
  max-width:820px;
  margin:0 auto;
}

#about .split-content{
  width:100%;
  max-width:820px;              /* fill page nicely */
  margin:0 auto;
  text-align:left;
}

#about .kicker{
  justify-content:center;
}

#about .divider{
  margin-left:auto;
  margin-right:auto;
}

/* EXPERIENCE */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:42px;
}

.card{
  background:var(--card);
  border:1px solid rgba(199,119,96,.35);
  border-radius:var(--radius);
  padding:26px 22px;
  box-shadow:0 10px 30px rgba(40,35,25,.06);
  position:relative;
  min-height:330px;
}

.card-icon{
  width:44px;
  height:44px;
  border-radius:999px;
  display:grid;
  place-items:center;
  color:var(--accent);
  border:1px solid rgba(199,119,96,.45);
  background:rgba(255,255,255,.35);
  margin-bottom:18px;
}

.badge{
  position:absolute;
  top:16px;
  right:16px;
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  border:1px solid rgba(215,207,195,.9);
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.35);
}

.card-title{
  margin:0 0 6px;
  font-size:26px;
  font-weight:500;
}

.price{
  margin:0 0 16px;
  font-size:28px;
  color:var(--accent2);
}

.per{
  color:var(--muted);
  font-size:14px;
}

.card-text{
  color:var(--muted);
  margin:0 0 18px;
}

.card-link{
  text-decoration:none;
  color:var(--accent2);
  font-weight:600;
}

.card-link:hover{ color:var(--text); }

#experience .section-header{
  text-align: center;
}

#experience .kicker{
  margin: 0 auto;
  display: block;
}

/* Tier selection */
.tier-card{
  cursor:pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, outline-color 180ms ease;
}

.tier-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 45px rgba(40,35,25,.10);
}

.tier-card.is-selected{
  outline:2px solid rgba(199,119,96,.75);
  box-shadow:0 22px 55px rgba(40,35,25,.12);
}

/* PHILOSOPHY */
.script-line{
  margin-top:18px;
  color:var(--muted);
  font-style:italic;
}

.callout{
  max-width:860px;
  margin:40px auto 0;
  padding:26px;
  background:rgba(199,119,96,.08);
  border-left:3px solid rgba(199,119,96,.75);
  border-radius:14px;
}

.callout-strong{
  margin:10px 0 0;
  color:var(--text);
}

/* RESERVE */
.reserve .form{
  max-width:860px;
  margin:36px auto 0;
  padding:26px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.35);
  border:1px solid rgba(215,207,195,.75);
  box-shadow:0 10px 30px rgba(40,35,25,.05);
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:18px;
}

.field-wide{ grid-column:1 / -1; }

/* Centered full-row field */
.field-center{
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Limit width of the control itself */
.field-center select{
  max-width: 420px;
  width: 100%;
}

label{
  display:block;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:8px;
}

input, select, textarea{
  width:100%;
  padding:14px;
  border-radius:12px;
  border:1px solid rgba(215,207,195,.95);
  background:rgba(255,255,255,.55);
  font: inherit;
  color:var(--text);
  outline:none;
}

input:focus, select:focus, textarea:focus{
  border-color: rgba(199,119,96,0.75);
  box-shadow: 0 0 0 4px rgba(199,119,96,0.12);
}

.fineprint{
  margin:14px 0 0;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}

/* Footer */
.footer{
  padding:24px 0 34px;
  border-top:1px solid rgba(215,207,195,.7);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  color:var(--muted);
  font-size:13px;
}

.footer-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}

.footer-sep{
  opacity:.7;
}

.footer-links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
}

.footer a{
  color:var(--muted);
  text-decoration:none;
}

.footer a:hover{ color:var(--text); }

/* Legal pages */
.legal-page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.legal-header{
  border-bottom:1px solid rgba(215,207,195,.75);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
}

.legal-header-inner{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.legal-back{
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.legal-back:hover{ color:var(--text); }

.legal-main{
  width:min(980px, 92vw);
  margin:0 auto;
  padding:52px 0 64px;
  flex:1 0 auto;
}

.legal-main h1{
  margin:0 0 10px;
  font-size:clamp(30px,4vw,44px);
  line-height:1.2;
  font-weight:500;
}

.legal-effective{
  margin:0 0 24px;
  color:var(--muted);
  font-size:14px;
}

.legal-card{
  background: var(--card);
  border:1px solid rgba(215,207,195,.75);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.08);
  padding:24px;
  margin-bottom:16px;
}

.legal-card h2{
  margin:0 0 10px;
  font-size:20px;
  line-height:1.3;
  font-weight:500;
}

.legal-card p{
  margin:0 0 10px;
  color:var(--muted);
}

.legal-card p:last-child{ margin-bottom:0; }

.legal-card ul{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}

.legal-card li{ margin-bottom:8px; }
.legal-card li:last-child{ margin-bottom:0; }

/* Optional image rows */
.bg-row{
  margin-top:24px;
}

.bg-row img{
  width:100%;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  display:block;
  opacity:.35;
}

/* Reveal animation */
.reveal{
  opacity:0;
  transform:translateY(26px);
  filter:blur(6px);
  transition: opacity 850ms ease, transform 850ms ease, filter 850ms ease;
  will-change: opacity, transform, filter;
}

.reveal.is-visible{
  opacity:1;
  transform:none;
  filter:none;
}

@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity:1;
    transform:none;
    filter:none;
    transition:none;
  }
}

/* Responsive */
@media(max-width:940px){
  .split{ grid-template-columns:1fr; }
  .cards{ grid-template-columns:1fr; }
}

@media(max-width:680px){
  /* Navbar: switch to hamburger */
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .form-grid{ grid-template-columns:1fr; }

  /* Mobile typography + spacing */
  .section{ padding: 72px 0; }
  .hero{ padding: 96px 0 80px; }
  .hero-title{ font-size: clamp(34px, 7vw, 52px); }
  .hero-subtitle{ max-width: 36rem; margin-left:auto; margin-right:auto; }

  /* About / Philosophy: centered container, left-aligned text */
  .split-content{ max-width: 40rem; margin: 0 auto; text-align:left; }
  .split-media{ order:-1; }
  .lead{ text-align:left; }

  /* Experience tiers: single column cards */
  .cards{ grid-template-columns: 1fr; }
}


/* ======================================
   TRANSITION / INTERSTITIAL SECTIONS
   3 styles: t-svg, t-media, t-quote
   ====================================== */

.transition-section{
  padding: 64px 0;
  background: linear-gradient(180deg, var(--bg), var(--bg2), var(--bg));
  border-top: 1px solid rgba(215,207,195,0.35);
  border-bottom: 1px solid rgba(215,207,195,0.35);
}

.transition-inner{
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

/* Inspiring kinetic text */
.transition-text{
  margin: 18px auto 0;
  max-width: 52rem;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* Kinetic (per-letter) reveal */
.kinetic{
  display: inline-block;
  text-wrap: balance;
}

.kinetic .word{ display:inline-block; white-space:nowrap; margin-right: 0.35em; }
.kinetic .char{
  display:inline-block;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  filter: blur(1px);
}

/* Direction variants (applied before reveal) */
.kinetic[data-kinetic="left"] .char{ transform: translate3d(-10px, 0, 0); }
.kinetic[data-kinetic="top"] .char{ transform: translate3d(0, -10px, 0); }

.is-visible .kinetic .char{
  animation: charIn 520ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(var(--i) * 16ms);
}

@keyframes charIn{
  to{
    opacity: 1;
    transform: translate3d(0,0,0);
    filter: blur(0);
  }
}

/* One keyword gets a subtle loop */
.kw-beat{
  display:inline-block;
}
.kw-beat.kw-live{
  animation: beatPulse 1.8s ease-in-out infinite;
}
@keyframes beatPulse{
  0%, 100%{ transform: scale(1); }
  40%{ transform: scale(1.06); }
  55%{ transform: scale(0.995); }
}

@media (prefers-reduced-motion: reduce){
  .kinetic .char{ opacity: 1; transform: none; filter:none; }
  .is-visible .kinetic .char{ animation: none; }
  .kw-beat.kw-live{ animation: none; }
}

/* Shared subtle presence */
.transition-section .parallax{
  will-change: transform;
}

/* --- Style 1: Animated SVG --- */
.t-svg .transition-svg-wrap{
  width: min(720px, 90vw);
  opacity: 0.75;
  color: var(--accent2);
  filter: saturate(0.95);
}

.transition-svg{
  width: 100%;
  height: auto;
  display:block;
}

.t-svg-compact{
  padding: 46px 0;
}
.t-svg-compact .transition-svg-wrap{
  width: min(560px, 88vw);
  opacity: 0.65;
}

/* --- Style 2: Media (GIF/PNG/JPG) --- */
.t-media .transition-media{
  width: 180px;
  max-width: 60vw;
  opacity: 0.75;
  filter: saturate(0.9) contrast(0.98);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(40,35,25,0.08);
  animation: floatFade 6s ease-in-out infinite;
}

/* --- Style 3: Quote-breath --- */
.t-quote .transition-quote{
  width: min(760px, 92vw);
  padding: 18px 14px;
  color: var(--muted);
}

.t-quote .quote-mark{
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.45;
  margin-bottom: 6px;
}

.t-quote .quote-text{
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.t-quote .quote-line{
  width: 120px;
  height: 1px;
  background: rgba(215,207,195,0.9);
  margin: 18px auto 0;
  position: relative;
  overflow: hidden;
}
.t-quote .quote-line::after{
  content:"";
  position:absolute;
  inset:0;
  transform: translateX(-120px);
  background: linear-gradient(90deg, transparent, rgba(199,119,96,0.35), transparent);
  animation: shimmer 3.6s ease-in-out infinite;
}

/* Gentle luxury motion */
@keyframes floatFade{
  0%{ transform: translateY(0); opacity: 0.55; }
  50%{ transform: translateY(-10px); opacity: 0.85; }
  100%{ transform: translateY(0); opacity: 0.55; }
}

@keyframes shimmer{
  0%{ transform: translateX(-140px); }
  50%{ transform: translateX(140px); }
  100%{ transform: translateX(140px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .t-media .transition-media{ animation: none; }
  .t-quote .quote-line::after{ animation: none; }
  .transition-section .parallax{ transform:none !important; }
}


/* ======================================
   Reserve Calendar (Week + 1-hour slots)
   ====================================== */

.calendar-wrap{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(215,207,195,0.7);
}

.calendar-head{
  text-align:center;
  margin-bottom: 14px;
}

.calendar-title{
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.calendar-subtitle{
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.calendar-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin: 14px 0 14px;
}

.cal-btn{
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(215,207,195,0.9);
  border-radius: 10px;
  padding: 10px 12px;
  cursor:pointer;
  font: inherit;
  color: var(--text);
}

.cal-btn:hover{
  border-color: rgba(199,119,96,0.55);
  box-shadow: 0 10px 20px rgba(40,35,25,0.06);
}

.cal-range{
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

#reserve .section-header{
  text-align: center;
}

#reserve .kicker{
  margin: 0 auto;
  display: block;
}


/* Grid */
.calendar-grid{
  border: 1px solid rgba(215,207,195,0.75);
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,0.30);
}

.cal-row{
  display:grid;
  grid-template-columns: 90px repeat(7, 1fr);
}

.cal-head{
  background: rgba(246,242,234,0.85);
  border-bottom: 1px solid rgba(215,207,195,0.7);
}

.cal-cell{
  padding: 10px 10px;
  border-right: 1px solid rgba(215,207,195,0.55);
  border-bottom: 1px solid rgba(215,207,195,0.55);
  min-height: 46px;
}

.cal-row .cal-cell:last-child{ border-right: none; }

.cal-time{
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Day headers */
.cal-day{
  text-align:center;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.cal-day small{
  display:block;
  color: var(--muted);
  letter-spacing: 0;
  text-transform:none;
  margin-top: 4px;
  font-size: 12px;
}

/* Slot buttons */
.slot{
  width:100%;
  height:100%;
  border-radius: 10px;
  border: 1px solid rgba(199,119,96,0.28);
  background: rgba(255,255,255,0.45);
  cursor:pointer;
  font: inherit;
  color: var(--text);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.slot:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(40,35,25,0.08);
}

.slot.booked{
  cursor:not-allowed;
  background: rgba(120,117,109,0.20);
  border-color: rgba(120,117,109,0.20);
  color: rgba(59,58,54,0.55);
  box-shadow:none;
  transform:none;
}

.slot.selected{
  background: rgba(199,119,96,0.18);
  border-color: rgba(199,119,96,0.65);
  box-shadow: 0 14px 26px rgba(40,35,25,0.10);
}

.calendar-selection{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.sel-label{ letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.sel-value{ color: var(--text); }

.cal-clear{
  background: transparent;
  border: 1px solid rgba(215,207,195,0.9);
  border-radius: 999px;
  padding: 6px 10px;
  cursor:pointer;
  color: var(--muted);
}

.cal-clear:hover{
  border-color: rgba(199,119,96,0.55);
  color: var(--text);
}

/* Responsive: allow horizontal scroll */
@media (max-width: 820px){
  .calendar-grid{
    overflow:auto;
  }
  .cal-row{
    min-width: 880px;
  }
}

/* ======================================
   Reserve Slot Picker (Dropdown version)
   ====================================== */

.slot-picker{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0 6px;
}

.slot-hint{
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 680px){
  .slot-picker{ grid-template-columns: 1fr; }
}

/* Make date input visually consistent with your selects */
input[type="date"]{
  appearance: none;
  -webkit-appearance: none;
}

/* Flash messages */
.flash{
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 93, 143, 0.12);
  border: 1px solid rgba(255, 93, 143, 0.22);
  color: var(--text);
}
.flash-item{ margin: 4px 0; }



/* =========================================================
   TRANSITION STOCK ANIMATIONS (MIT-inspired box-breathing)
   Purpose: make transition sections feel alive and intentional
   ========================================================= */

.transition-section{
  overflow: hidden;
}

.transition-section .transition-inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Scroll-trigger: set initial state, animate when .in-view is added */
.transition-section .transition-inner > *{
  transition: transform 700ms cubic-bezier(.2,.8,.2,1), opacity 700ms cubic-bezier(.2,.8,.2,1);
}

.transition-section:not(.in-view) .transition-inner > *{
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

.transition-section.in-view .transition-inner > *{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stock animation container */
.transition-stock{
  position: absolute;
  right: clamp(14px, 4vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
  pointer-events: none;
  opacity: 0.95;
}

@media (max-width: 900px){
  .transition-stock{
    position: static;
    transform: none;
    margin-top: 14px;
  }
}

.stock-caption{
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.9;
}

/* Box breathing animation (MIT-inspired) */
.breathe-box{
  width: 72px;
  height: 72px;
  position: relative;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 18px 46px rgba(0,0,0,0.10);
}

.breathe-box .bb{
  position: absolute;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0.55;
  border-radius: 999px;
}

/* Lines */
.bb--top{ left: 12px; right: 12px; top: 10px; height: 3px; transform-origin: left center; }
.bb--right{ top: 12px; bottom: 12px; right: 10px; width: 3px; transform-origin: center top; }
.bb--bottom{ left: 12px; right: 12px; bottom: 10px; height: 3px; transform-origin: right center; }
.bb--left{ top: 12px; bottom: 12px; left: 10px; width: 3px; transform-origin: center bottom; }

/* Animated dot traveling around */
.bb-dot{
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.06), 0 0 22px rgba(0,0,0,0.18);
  top: 10px;
  left: 12px;
  animation: bb-travel 16s linear infinite;
}

@keyframes bb-travel{
  0%   { top: 10px; left: 12px; }
  24.9%{ top: 10px; left: calc(100% - 12px - 10px); }          /* top edge */
  25%  { top: 12px; left: calc(100% - 10px - 10px); }
  49.9%{ top: calc(100% - 12px - 10px); left: calc(100% - 10px - 10px); } /* right edge */
  50%  { top: calc(100% - 10px - 10px); left: calc(100% - 12px - 10px); }
  74.9%{ top: calc(100% - 10px - 10px); left: 12px; }          /* bottom edge */
  75%  { top: calc(100% - 12px - 10px); left: 10px; }
  99.9%{ top: 10px; left: 10px; }                               /* left edge */
  100% { top: 10px; left: 12px; }
}

/* Subtle breathing pulse */
.breathe-box{
  animation: bb-pulse 4s ease-in-out infinite;
}
@keyframes bb-pulse{
  0%,100%{ transform: scale(1); filter: saturate(1); }
  50%{ transform: scale(1.04); filter: saturate(1.08); }
}

/* Variants - tune vibe per transition */
.transition-stock--wave .breathe-box{
  background: rgba(255,255,255,0.02);
}
.transition-stock--wave .bb-dot{
  background: var(--accent2);
}
.transition-stock--glow .breathe-box{
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
}
.transition-stock--glow .bb-dot{
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(255,255,255,0.05), 0 0 32px rgba(0,0,0,0.16);
}
.transition-stock--breathe .bb-dot{
  background: var(--accent);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .transition-section .transition-inner > *{ transition: none !important; }
  .bb-dot, .breathe-box{ animation: none !important; }
}






/* Admin theme presets (safe tokens) */
body{
  font-family: var(--font-family, ui-serif, Georgia, Cambria, "Times New Roman", Times, serif);
  font-size: var(--base-font-size, 16px);
}

.kicker.center{
  justify-content: center;
  text-align: center;
}

/* Button style presets (applied via body classes) */
body.button-outline .btn-primary{
  background: transparent !important;
  color: var(--accent) !important;
  border: 1px solid var(--accent) !important;
}
body.button-outline .btn-primary:hover{
  background: rgba(0,0,0,0.04) !important;
}

body.button-soft .btn-primary{
  background: rgba(0,0,0,0.06) !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
}
body.button-soft .btn-primary:hover{
  background: rgba(0,0,0,0.10) !important;
}

/* Admin preview banner */
.admin-preview-banner{
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--accent);
  color: #0b1220;
  font-weight: 600;
  text-align: center;
}
.admin-preview-banner a{
  color: #0b1220;
  text-decoration: underline;
}


/* ==========================
   Mobile sticky reserve bar
   Shows only on small screens
   ========================== */
.mobile-reserve-bar[hidden]{ display:none !important; }

@media (max-width: 680px){
  .mobile-reserve-bar{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 0 12px;
    background: rgba(255,255,255,0.90);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(217,226,236,0.9);
    box-shadow: 0 -18px 40px rgba(16,42,67,0.10);
  }

  .mobile-reserve-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
  }

  .mobile-reserve-meta{
    min-width: 0;
  }

  .mobile-reserve-kicker{
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .mobile-reserve-plan{
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 44vw;
  }

  .mobile-reserve-actions{
    display:flex;
    align-items:center;
    gap: 10px;
    flex-shrink: 0;
  }

  .mobile-reserve-btn{
    padding: 12px 16px;
    min-height: 44px;
  }

  .mobile-reserve-close{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(217,226,236,0.9);
    background: rgba(255,255,255,0.85);
    cursor: pointer;
    color: var(--muted);
  }

  /* Give room so the footer/reserve button isn't hidden behind bar */
  #reserve{ scroll-margin-top: 90px; }
  body{ padding-bottom: 86px; }
}
/* ------------------------------
   Lovable-inspired layout helpers
   ------------------------------ */

.nav-inner.container{ height:64px; }

.brand-mark{
  font-size:18px;
  letter-spacing:.08em;
  font-weight:500;
  color:var(--text);
}

.nav-cta{ opacity:1 !important; }

.hero--center .hero-content{
  text-align:center;
  padding-top:88px;
}

.hero--center .hero-title{ max-width:980px; margin-left:auto; margin-right:auto; }
.hero--center .hero-subtitle{ max-width:720px; margin-left:auto; margin-right:auto; }

.hero-scroll{
  position:absolute;
  bottom:26px;
  left:50%;
  transform:translateX(-50%);
  opacity:.8;
}

.hero-scroll-line{
  display:block;
  width:1px;
  height:34px;
  background: rgba(82,96,109,0.40);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse{
  0%,100%{ transform:translateY(0); opacity:.55; }
  50%{ transform:translateY(8px); opacity:1; }
}

.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.15));
}

.narrow{ max-width: 760px; }

.section-divider{
  width: 84px;
  height: 1px;
  margin: 18px auto 28px;
  background: linear-gradient(90deg, transparent, rgba(16,42,67,0.24), transparent);
}

.ornament{
  padding: 52px 0;
  display:flex;
  justify-content:center;
  overflow:hidden;
}

.ornament-inner{
  display:flex;
  align-items:center;
  gap:12px;
  position: relative;
}

.orn-line{
  width: 72px;
  height: 1px;
  background: color-mix(in srgb, var(--text) 18%, transparent);
  position: relative;
  overflow: hidden;
}

.orn-dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 22%, transparent);
  position: relative;
}

.orn-dot--lg{
  width: 10px;
  height: 10px;
  background: color-mix(in srgb, var(--text) 30%, transparent);
}

/* Optional subtle shimmer/pulse for ornaments (enabled by body.orn-animate) */
body.orn-animate .orn-line::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg,
    transparent,
    color-mix(in srgb, var(--accent) 55%, transparent),
    transparent
  );
  transform: translateX(-120%);
  opacity: 0.55;
  animation: orn-shimmer 4.6s ease-in-out infinite;
}

body.orn-animate .orn-dot--lg{
  animation: orn-pulse 3.8s ease-in-out infinite;
}

@keyframes orn-shimmer{
  0%, 55% { transform: translateX(-120%); }
  70% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

@keyframes orn-pulse{
  0%, 60%, 100% { transform: scale(1); opacity: 1; }
  78% { transform: scale(1.08); opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce){
  body.orn-animate .orn-line::after,
  body.orn-animate .orn-dot--lg{ animation: none !important; }
}

/* Buttons: outline variant used by Lovable layout */
.btn-outline{
  background: transparent;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: none;
}

.btn-outline:hover{
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-block{ width:100%; }

/* Cards grid helpers */
.mt-lg{ margin-top: 44px; }

.cards.cards-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px){
  .cards.cards-3{ grid-template-columns: 1fr; }
  .ornament{ padding: 42px 0; }
}

.card-center{ text-align:center; }

.price-row{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin: 10px 0 18px;
}

.price{
  font-size: 30px;
  color: var(--accent);
  margin:0;
}

.price-unit{
  font-size: 12px;
  color: var(--muted);
  letter-spacing:.06em;
}

.card-featured{
  background: color-mix(in srgb, var(--bg2) 55%, white);
  border-color: color-mix(in srgb, var(--accent2) 45%, transparent) !important;
}

.card-badge{
  position:absolute;
  top:-12px;
  left:50%;
  transform:translateX(-50%);
  background: var(--accent);
  color:#fff;
  padding:6px 12px;
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  border-radius:999px;
}
