/* ==========================================================================
   Studio Soleil — Discovery landing page (minimal)
   Layout styles. Colour, type and tokens come from vendor/colors_and_type.css
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ss-bg);
  color: var(--ss-ink);
  font-family: var(--ss-sans);
}
img { display: block; }

/* ===== Header ============================================================ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.1rem, 2.6vw, 1.7rem) clamp(1.3rem, 4vw, 2.8rem);
  background: var(--ss-bg);
  border-bottom: 1px solid var(--ss-line);
}
.site-header .wordmark { height: clamp(2.6rem, 5.2vw, 3.6rem); width: auto; }
.site-header .mark { height: clamp(2rem, 3.6vw, 2.6rem); width: auto; border-radius: 6px; }

/* ===== Image grid ======================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--ss-cream);
}
.cell {
  position: relative;
  overflow: hidden;
  background: var(--ss-bg);
}
.cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cell-full { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.cell-half { aspect-ratio: 4 / 5; }

/* Caption overlaid on imagery */
.cell .caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
  background: linear-gradient(to top, rgba(28,25,23,0.28) 0%, rgba(28,25,23,0) 38%, rgba(28,25,23,0) 62%, rgba(28,25,23,0.18) 100%);
}
.cell .caption span {
  text-align: center;
  color: #fff;
  font-size: clamp(0.66rem, 1.15vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
  text-shadow: 0 1px 16px rgba(28,25,23,0.5);
  max-width: 22em;
}
.cell .caption .cap-name { display: block; }
.cell .caption .cap-sub {
  display: block;
  font-size: 0.85em;
  font-weight: 400;
  opacity: 0.82;
}

/* Statement text panel */
.cell-text {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.8rem, 7vw, 5.5rem) 6%;
  aspect-ratio: auto;
}
.cell-text p {
  margin: 0;
  text-align: center;
  font-family: var(--ss-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ss-ink);
  max-width: 16em;
  text-wrap: balance;
}
.cell-text p .accent { color: var(--ss-wine); font-style: italic; }

/* Statement panel — text + its own Book a call button */
.cell-text .statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.2rem);
}
.statement-cta {
  display: inline-block;
  background: var(--ss-wine);
  color: var(--ss-cream);
  text-decoration: none;
  font-family: var(--ss-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.95em 2.2em;
  border-radius: var(--ss-radius-pill);
  transition: background 180ms var(--ss-ease), transform 180ms var(--ss-ease), box-shadow 180ms var(--ss-ease);
}
.statement-cta:hover {
  background: var(--ss-wine-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(124,63,67,0.22);
}

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .cell-full, .cell-half { grid-column: auto; aspect-ratio: 3 / 4; }
}

/* ===== Booking section ================================================== */
.booking {
  background: var(--ss-surface-sunken);
  border-top: 2px solid var(--ss-cream);
  padding: clamp(3rem, 7vw, 5.5rem) 6%;
}
.booking-inner { max-width: 62rem; margin: 0 auto; }
.booking-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
}
.booking-head .portrait {
  width: 5.5rem;
  height: 5.5rem;
  flex: none;
  border-radius: 999px;
  object-fit: cover;
}
.booking-head .copy { flex: 1 1 16rem; min-width: 14rem; }
.eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ss-wine);
  margin-bottom: 0.5rem;
}
.booking-head h2 {
  font-family: var(--ss-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.06;
  color: var(--ss-ink);
  margin: 0;
}
.booking-head p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ss-ink-3);
  margin: 0.85rem 0 0;
  max-width: 36em;
}

/* ===== CTA band ========================================================= */
.cta-band {
  background: var(--ss-wine);
  color: var(--ss-cream);
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 6%;
  border-top: 2px solid var(--ss-cream);
}
.cta-band-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2rem);
}
.cta-band h2 {
  margin: 0;
  font-family: var(--ss-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ss-cream);
  text-wrap: balance;
}
.cta-band-btn {
  display: inline-block;
  background: var(--ss-cream);
  color: var(--ss-wine-deep);
  text-decoration: none;
  font-family: var(--ss-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.95em 2.2em;
  border-radius: var(--ss-radius-pill);
  transition: transform 180ms var(--ss-ease), box-shadow 180ms var(--ss-ease), background 180ms var(--ss-ease);
}
.cta-band-btn:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(40,28,22,0.22);
}

/* ===== Footer =========================================================== */
.site-footer {
  background: var(--ss-wine);
  color: var(--ss-cream);
  text-align: center;
  padding: clamp(3rem, 7vw, 4.6rem) 6%;
  border-top: 2px solid var(--ss-cream);
}
.site-footer img { height: clamp(2.6rem, 6vw, 4rem); width: auto; display: inline-block; }
.site-footer .contact {
  margin-top: 2rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 230, 225, 0.6);
}

/* ===== Sticky CTA ======================================================= */
.sticky-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 2.4rem);
  bottom: clamp(1rem, 3vw, 2.4rem);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.85em;
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 18px;
  box-shadow: 0 6px 30px rgba(40,28,22,0.16), 0 2px 8px rgba(40,28,22,0.07);
  padding: 0.7em 1.3em 0.7em 0.72em;
  text-decoration: none;
  font-family: var(--ss-sans);
  text-align: left;
  /* Hidden until revealed on scroll */
  opacity: 0;
  visibility: hidden;
  transform: translateY(140%);
  transition: transform 520ms var(--ss-ease), opacity 360ms var(--ss-ease),
              box-shadow 180ms var(--ss-ease), border-color 180ms var(--ss-ease);
}
.sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sticky-cta:hover {
  box-shadow: 0 16px 46px rgba(124,63,67,0.26), 0 4px 12px rgba(40,28,22,0.12);
  border-color: var(--ss-wine-soft);
}
/* Periodic attention nudge — a gentle bob + wine glow */
.sticky-cta.is-nudging { animation: ctaNudge 820ms var(--ss-ease); }
@keyframes ctaNudge {
  0%, 100% { transform: translateY(0); box-shadow: 0 6px 30px rgba(40,28,22,0.16), 0 2px 8px rgba(40,28,22,0.07); }
  30%      { transform: translateY(-7px); box-shadow: 0 20px 50px rgba(124,63,67,0.30), 0 4px 12px rgba(40,28,22,0.12); }
  60%      { transform: translateY(0); }
}
.sticky-cta.is-nudging .arrow { animation: ctaArrow 820ms var(--ss-ease); }
@keyframes ctaArrow {
  0%, 100% { transform: translateX(0); }
  40%      { transform: translateX(4px); }
}
.sticky-cta .avatar {
  position: relative;
  width: 2.4em; height: 2.4em; flex: none;
  border-radius: 999px;
  background: var(--ss-wine);
  color: var(--ss-cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ss-display); font-weight: 500; font-size: 1.05em;
}
.sticky-cta .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; }
/* Soft pulsing ring to catch the eye once revealed */
.sticky-cta.is-visible .avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(124,63,67,0.5);
  animation: ctaRing 2.6s var(--ss-ease) infinite;
  pointer-events: none;
}
@keyframes ctaRing {
  0%   { box-shadow: 0 0 0 0 rgba(124,63,67,0.45); }
  70%  { box-shadow: 0 0 0 11px rgba(124,63,67,0); }
  100% { box-shadow: 0 0 0 0 rgba(124,63,67,0); }
}
.sticky-cta .arrow { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: opacity 360ms var(--ss-ease); transform: none; }
  .sticky-cta.is-nudging { animation: none; }
  .sticky-cta.is-visible .avatar::after { animation: none; }
}
.sticky-cta .lines { display: flex; flex-direction: column; gap: 0.16em; line-height: 1.2; }
.sticky-cta .lines .kicker {
  font-size: 0.66em; font-weight: 700; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--ss-wine);
}
.sticky-cta .lines .name {
  font-family: var(--ss-display); font-weight: 500; font-size: 1.06em; color: var(--ss-ink);
}
.sticky-cta .lines .action {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.74em; font-weight: 600; color: var(--ss-ink-3); margin-top: 0.1em;
}
.sticky-cta .lines .action .arrow { color: var(--ss-wine); }

@media (max-width: 480px) {
  .sticky-cta .lines .kicker { display: none; }
}

/* ===== Scheduler ======================================================== */
.ss-sch { width: 100%; font-size: 16px; font-family: var(--ss-sans); color: var(--ss-ink); }
.ss-sch .sch-card {
  display: flex;
  flex-wrap: wrap;
  background: var(--ss-surface);
  border: 1px solid var(--ss-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--ss-shadow-1);
}
.ss-sch .sch-rail {
  flex: 1 1 17em;
  min-width: 14.5em;
  background: var(--ss-wine);
  color: var(--ss-cream);
  padding: 2.1em 1.8em;
  display: flex;
  flex-direction: column;
  gap: 1.35em;
}
.ss-sch .sch-rail .rail-head { display: flex; align-items: center; gap: 0.8em; }
.ss-sch .sch-rail .rail-av {
  width: 2.6em; height: 2.6em; border-radius: 999px;
  background: var(--ss-cream); color: var(--ss-wine-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.95em; flex: none; overflow: hidden;
}
.ss-sch .sch-rail .rail-av img { width: 100%; height: 100%; object-fit: cover; }
.ss-sch .sch-rail .rail-title { font-family: var(--ss-display); font-weight: 500; font-size: 1.22em; line-height: 1.05; }
.ss-sch .sch-rail .rail-sub { font-size: 0.74em; color: rgba(242,230,225,0.78); margin-top: 0.2em; }
.ss-sch .sch-rail .rail-meta {
  display: flex; align-items: center; gap: 0.55em;
  font-size: 0.68em; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(242,230,225,0.78);
}
.ss-sch .sch-rail .rail-meta .dot { opacity: 0.45; }
.ss-sch .sch-rail .rail-blurb { font-size: 0.85em; line-height: 1.55; color: rgba(242,230,225,0.78); margin: 0; }
.ss-sch .sch-rail .rail-div { height: 1px; background: rgba(242,230,225,0.22); margin: 0.1em 0; }
.ss-sch .sch-rail .rail-steps { display: flex; flex-direction: column; gap: 0.95em; }
.ss-sch .sch-rail .rail-step { display: flex; align-items: center; gap: 0.7em; }
.ss-sch .sch-rail .rail-step .num {
  width: 1.65em; height: 1.65em; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68em; font-weight: 600; flex: none;
  border: 1px solid rgba(242,230,225,0.4);
  color: rgba(242,230,225,0.78);
}
.ss-sch .sch-rail .rail-step.is-active .num,
.ss-sch .sch-rail .rail-step.is-done .num {
  background: var(--ss-cream); color: var(--ss-wine-deep); border-color: var(--ss-cream);
}
.ss-sch .sch-rail .rail-step .label { font-size: 0.82em; font-weight: 500; color: rgba(242,230,225,0.78); }
.ss-sch .sch-rail .rail-step.is-active .label,
.ss-sch .sch-rail .rail-step.is-done .label { color: var(--ss-cream); }
.ss-sch .sch-rail .rail-step.is-active .label { font-weight: 600; }
.ss-sch .sch-rail .rail-selected { margin-top: auto; padding-top: 0.6em; }
.ss-sch .sch-rail .rail-selected .eyebrow-sm {
  font-size: 0.6em; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ss-cream); margin-bottom: 0.4em; opacity: 0.85;
}
.ss-sch .sch-rail .rail-selected .when { font-family: var(--ss-display); font-weight: 500; font-size: 1.08em; line-height: 1.15; }
.ss-sch .sch-rail .rail-selected .tz { font-size: 0.82em; color: rgba(242,230,225,0.78); margin-top: 0.15em; }

.ss-sch .sch-body { flex: 2 1 23em; min-width: 18em; padding: 2.1em 2.1em 2.3em; display: flex; flex-direction: column; }
.ss-sch .sch-eyebrow { font-size: 0.68em; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ss-wine); margin-bottom: 0.65em; }
.ss-sch h3 { font-family: var(--ss-display); font-weight: 500; font-size: 1.7em; line-height: 1.1; color: var(--ss-ink); margin: 0 0 0.5em; }
.ss-sch .sch-lead { font-size: 0.88em; line-height: 1.5; color: var(--ss-ink-3); margin: 0 0 1.5em; max-width: 30em; }

.ss-sch .days { display: flex; flex-direction: column; gap: 1.05em; }
.ss-sch .day { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.7em 0.9em; }
.ss-sch .day .date { flex: 0 0 6.2em; font-size: 0.78em; font-weight: 600; color: var(--ss-ink-2); }
.ss-sch .day .slots { display: flex; flex-wrap: wrap; gap: 0.5em; flex: 1; }
.ss-sch .day .full { font-size: 0.78em; color: var(--ss-ink-5); font-style: italic; padding: 0.55em 0; }
.ss-sch .slot {
  background: var(--ss-surface); color: var(--ss-ink-2);
  border: 1px solid var(--ss-line-strong); border-radius: 6px;
  padding: 0.6em 1.05em; font-family: var(--ss-sans); font-size: 0.82em; font-weight: 600;
  white-space: nowrap; cursor: pointer;
  transition: border-color 140ms var(--ss-ease), color 140ms var(--ss-ease);
}
.ss-sch .slot:hover { border-color: var(--ss-wine); color: var(--ss-wine); }
.ss-sch .slot.is-selected { background: var(--ss-wine); color: var(--ss-cream); border-color: var(--ss-wine); }

.ss-sch .sch-note { margin-top: 1.7em; font-size: 0.73em; color: var(--ss-ink-5); }

.ss-sch .back-link {
  align-self: flex-start; background: none; border: 0; cursor: pointer;
  font-family: var(--ss-sans); font-size: 0.78em; font-weight: 500; color: var(--ss-ink-4);
  padding: 0; margin-bottom: 1.1em;
}
.ss-sch .back-link:hover { color: var(--ss-wine); }
.ss-sch .time-recap { background: var(--ss-cream); border-radius: 8px; padding: 0.8em 1em; margin-bottom: 1.4em; }
.ss-sch .time-recap .eyebrow-sm { font-size: 0.6em; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ss-wine); margin-bottom: 0.3em; }
.ss-sch .time-recap .val { font-size: 0.9em; font-weight: 600; color: var(--ss-ink-2); }

.ss-sch .fields { display: flex; flex-direction: column; gap: 1.05em; }
.ss-sch label.field { display: block; }
.ss-sch label.field .lbl { display: block; font-size: 0.66em; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ss-ink-3); margin-bottom: 0.45em; }
.ss-sch input[type="text"], .ss-sch input[type="email"], .ss-sch input[type="tel"] {
  width: 100%; border: 1px solid var(--ss-line-strong); border-radius: 6px;
  padding: 0.78em 0.9em; font-family: var(--ss-sans); font-size: 0.9em; color: var(--ss-ink);
  background: var(--ss-bg); outline: none;
  transition: border-color 140ms var(--ss-ease), box-shadow 140ms var(--ss-ease);
}
.ss-sch input::placeholder { color: var(--ss-ink-5); }
.ss-sch input:focus { border-color: var(--ss-wine); box-shadow: 0 0 0 3px rgba(124,63,67,0.12); }
.ss-sch input.has-error { border-color: var(--ss-overdue); }
.ss-sch .err { font-size: 0.7em; color: var(--ss-overdue); margin-top: 0.35em; }
.ss-sch .hint { font-size: 0.72em; color: var(--ss-ink-5); margin-top: 0.35em; }


.ss-sch .btn-primary {
  align-self: flex-start; background: var(--ss-wine); color: var(--ss-cream);
  border: 0; border-radius: 6px; padding: 0.95em 1.6em;
  font-family: var(--ss-sans); font-size: 0.86em; font-weight: 600; letter-spacing: 0.03em;
  cursor: pointer; transition: background 140ms var(--ss-ease);
}
.ss-sch .btn-primary:hover { background: var(--ss-wine-deep); }
.ss-sch .btn-text { background: none; border: 0; cursor: pointer; font-family: var(--ss-sans); font-size: 0.82em; font-weight: 500; color: var(--ss-ink-4); padding: 0; }
.ss-sch .btn-text:hover { color: var(--ss-ink-2); }
.ss-sch .confirm-note { font-size: 0.73em; color: var(--ss-ink-5); margin-top: 0.85em; }

.ss-sch .done-check {
  width: 2.7em; height: 2.7em; border-radius: 999px;
  background: var(--ss-wine); color: var(--ss-cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3em; font-weight: 600; margin-bottom: 0.9em;
}
.ss-sch .done p { font-size: 0.92em; line-height: 1.55; color: var(--ss-ink-2); margin: 0 0 0.5em; max-width: 30em; }
.ss-sch .done p b { color: var(--ss-ink); }
.ss-sch .done .sub { font-size: 0.84em; color: var(--ss-ink-4); margin: 0 0 1.3em; }
.ss-sch .cal-row {
  display: flex; align-items: center; gap: 0.9em; flex-wrap: wrap;
  padding-bottom: 1.5em; border-bottom: 1px solid var(--ss-line);
}
.ss-sch .cal-row .cal-label { font-size: 0.66em; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ss-ink-4); }
.ss-sch .cal-row .cal-links { display: flex; gap: 0.5em; }
.ss-sch .cal-row a { font-size: 0.78em; font-weight: 500; color: var(--ss-ink-2); text-decoration: none; border: 1px solid var(--ss-line); border-radius: 6px; padding: 0.4em 0.75em; }
.ss-sch .cal-row a:hover { border-color: var(--ss-line-strong); }

.ss-sch .prep { margin-top: 1.6em; }
.ss-sch .prep-head { display: flex; align-items: center; gap: 0.7em; margin-bottom: 0.4em; }
.ss-sch .prep-head .ttl { font-size: 0.66em; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ss-ink-3); }
.ss-sch .prep-head .badge { font-size: 0.6em; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ss-paid); background: var(--ss-paid-bg); padding: 0.25em 0.6em; border-radius: 999px; }
.ss-sch .prep > p { font-size: 0.84em; line-height: 1.5; color: var(--ss-ink-4); margin: 0 0 1.35em; max-width: 30em; }
.ss-sch .prep-group { margin-bottom: 1.25em; }
.ss-sch .prep-group .g-label { font-size: 0.66em; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ss-ink-3); margin-bottom: 0.55em; }
.ss-sch .chips { display: flex; flex-wrap: wrap; gap: 0.5em; }
.ss-sch .chip {
  background: var(--ss-bg); color: var(--ss-ink-3);
  border: 1px solid var(--ss-line); border-radius: 6px;
  padding: 0.55em 0.95em; font-family: var(--ss-sans); font-size: 0.8em; font-weight: 500;
  white-space: nowrap; cursor: pointer; transition: all 140ms var(--ss-ease);
}
.ss-sch .chip:hover { border-color: var(--ss-line-strong); }
.ss-sch .chip.is-on { background: var(--ss-wine); color: var(--ss-cream); border-color: var(--ss-wine); }
.ss-sch .prep input[type="text"] { max-width: 18em; }
.ss-sch .prep-actions { display: flex; align-items: center; gap: 1.1em; margin-top: 1.6em; }
.ss-sch .prep-done { margin-top: 1.6em; background: var(--ss-surface-sunken); border-radius: 8px; padding: 1.1em 1.2em; }
.ss-sch .prep-done .t { font-size: 0.9em; font-weight: 600; color: var(--ss-ink-2); margin-bottom: 0.2em; }
.ss-sch .prep-done .d { font-size: 0.84em; line-height: 1.5; color: var(--ss-ink-4); }

.is-hidden { display: none !important; }
