/* JD Therapy styles (v3.1: wine-led moody boutique direction).
   Brand values (colours, fonts) come from brand.css, generated from config.json.
   This file uses var(--…) only for brand colours. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-wine);
  background: var(--color-ivory);
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, .h3, .h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.55em;
  color: var(--color-wine);
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 300; letter-spacing: -0.005em; }
h1 em { font-style: italic; color: var(--color-mulberry); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 400; }
h3, .h3 { font-size: 1.65rem; font-weight: 500; }
h4, .h4 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 1.1em; }
a { color: var(--color-caramel); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--color-mulberry); }
strong { font-weight: 500; }
:focus-visible { outline: 3px solid var(--color-caramel); outline-offset: 3px; border-radius: 3px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 880px) { .container { padding: 0 2.5rem; } }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: 0.95rem; }
.nowrap { white-space: nowrap; }
.faq + p { margin-top: 1.5rem; }
.narrow > h2.h3:not(:first-child) { margin-top: 2.2rem; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--color-wine); color: var(--color-ivory);
  padding: 0.75rem 1.25rem; font-weight: 500; text-decoration: none; border-radius: 6px;
}
.skip-link:focus { top: 1rem; color: var(--color-ivory); }

/* Placeholders (preview only) */
mark.ph {
  background: #F6D77A; color: var(--color-wine);
  border: 1px dashed var(--color-wine);
  padding: 0.05em 0.4em; border-radius: 3px;
  font-family: var(--font-body); font-size: 0.82em; font-weight: 500; font-style: normal;
  letter-spacing: 0; text-transform: none; line-height: 1.5;
}

/* Subtle movement */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Header */
.site-header {
  background: rgba(251, 248, 243, 0.96);
  border-bottom: 1px solid var(--color-stone);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 1rem; }
.brand { text-decoration: none; color: var(--color-wine); }
.brand:hover { color: var(--color-mulberry); }
.wordmark {
  font-family: var(--font-heading); font-size: 1.75rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
}
.logo-img { max-height: 56px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent; color: var(--color-wine);
  border: 1px solid var(--color-wine); border-radius: 999px;
  padding: 0.5rem 1.05rem; font: inherit; font-size: 1rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--color-ivory); border-bottom: 1px solid var(--color-stone);
  padding: 0.5rem 1.5rem 1.75rem; box-shadow: 0 24px 40px rgba(51, 12, 15, 0.12);
}
.site-nav ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.site-nav li a {
  display: block; padding: 0.8rem 0; color: var(--color-wine); text-decoration: none;
  border-bottom: 1px solid var(--color-stone); font-size: 1.1rem;
}
.site-nav a[aria-current="page"] { color: var(--color-caramel); }
.site-nav li a:hover { color: var(--color-caramel); }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; position: static; align-items: center; gap: 2rem; padding: 0; border: 0; background: none; box-shadow: none; }
  .site-nav ul { display: flex; gap: 1.6rem; margin: 0; }
  .site-nav li a { border: 0; padding: 0.3rem 0; font-size: 0.98rem; letter-spacing: 0.02em; border-bottom: 1px solid transparent; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--color-caramel); color: var(--color-wine); }
  .site-nav li a:hover { border-bottom-color: var(--color-caramel); color: var(--color-wine); }
}

/* Buttons */
.btn {
  display: inline-block; padding: 0.9rem 1.7rem; border-radius: 999px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500; letter-spacing: 0.03em;
  text-decoration: none; border: 1px solid transparent; transition: background 0.25s, color 0.25s, border-color 0.25s;
  text-align: center;
}
.btn-primary { background: var(--color-wine); color: var(--color-ivory); border-color: var(--color-wine); }
.btn-primary:hover { background: var(--color-caramel); border-color: var(--color-caramel); color: var(--color-ivory); }
.btn-outline { border-color: var(--color-wine); color: var(--color-wine); background: transparent; }
.btn-outline:hover { background: var(--color-wine); color: var(--color-ivory); }
.header-cta { padding: 0.65rem 1.4rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-top: 1.8rem; }
.btn-row.center { justify-content: center; }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--color-caramel); font-weight: 500; margin-bottom: 1rem;
}

/* Hero */
.hero { padding: 3.5rem 0 4.5rem; }
.hero .lead { font-family: var(--font-heading); font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.35; color: var(--color-mulberry); margin-bottom: 0.8em; }
.hero-text p:not(.lead):not(.eyebrow):not(.btn-row) { max-width: 34em; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero { padding: 5.5rem 0 6.5rem; } .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 5rem; } }

.page-hero { padding: 4rem 0 3rem; }
@media (min-width: 900px) { .page-hero { padding: 5.5rem 0 3.5rem; } }
.page-hero .lead { font-size: 1.25rem; max-width: 40em; margin: 0; }
.page-hero h1 + .lead { margin-top: 0.2rem; }

/* Photo placeholders: soft, light, natural */
.photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.55), transparent 60%),
    linear-gradient(160deg, var(--color-stone), var(--color-greige));
  color: var(--color-wine); border-radius: 240px 240px 14px 14px;
  font-family: var(--font-heading); font-size: 1.45rem; font-style: italic; letter-spacing: 0.04em;
}
.photo-portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 440px; justify-self: center; }
@media (max-width: 899px) { .hero .photo-portrait { max-width: 360px; aspect-ratio: 1 / 1; } }
.photo-landscape { aspect-ratio: 5 / 4; width: 100%; border-radius: 14px; }

/* Sections */
.section { padding: 4.5rem 0; }
@media (min-width: 900px) { .section { padding: 6.5rem 0; } }
.section-tight-top { padding-top: 1rem; }
@media (min-width: 900px) { .section-tight-top { padding-top: 1.5rem; } }
.section-cream { background: var(--color-cream); }
.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head.center, .center .section-head { margin-left: auto; margin-right: auto; }
.section-intro { font-size: 1.15rem; }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } .split-photo { align-items: center; } }

.cards { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--color-ivory); padding: 2.2rem 2rem; border-radius: 14px;
  border: 1px solid var(--color-stone);
  display: flex; flex-direction: column;
}
.section:not(.section-cream) .card { background: #fff; }
.card p:last-child { margin-bottom: 0; }
.card-link .text-link { margin-top: auto; align-self: flex-start; }
.card-num { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-caramel); letter-spacing: 0.12em; margin-bottom: 0.6rem; }
.fee { font-family: var(--font-heading); font-size: 3rem; line-height: 1; color: var(--color-wine); margin: 0.15em 0 0.45em; }
.fee span { font-family: var(--font-body); font-size: 1rem; color: var(--color-caramel); }

.principles { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem 3.5rem; }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principles li { border-top: 1px solid var(--color-greige); padding-top: 1.5rem; }
.principles h3 { font-size: 1.5rem; }

.steps-row { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; }
@media (min-width: 760px) { .steps-row { grid-template-columns: repeat(3, 1fr); } }
.steps-row h3 { font-size: 1.4rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--color-caramel);
  font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-caramel); margin-bottom: 1rem;
}

.tick-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tick-list li { position: relative; padding: 0.75rem 0 0.75rem 1.9rem; border-bottom: 1px solid var(--color-stone); }
.section-cream .tick-list li { border-color: var(--color-greige); }
.tick-list li::before {
  content: ""; position: absolute; left: 0.15rem; top: 1.45rem; width: 0.55rem; height: 0.55rem;
  border-radius: 50%; background: var(--color-caramel);
}

.info-list { margin: 0 0 1.5rem; }
.info-list dt { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 500; margin-top: 1.5rem; }
.info-list dt:first-child { margin-top: 0; }
.info-list dd { margin: 0.25rem 0 0; padding-bottom: 1.4rem; border-bottom: 1px solid var(--color-stone); }
.info-list.compact dt { font-size: 1.2rem; margin-top: 0.9rem; }
.info-list.compact dd { padding-bottom: 0.8rem; }

.steps { padding-left: 1.4rem; margin: 0 0 1.5rem; }
.steps li { padding: 0.45rem 0 0.45rem 0.5rem; }
.steps li::marker { font-family: var(--font-heading); font-size: 1.25em; color: var(--color-caramel); }

.about-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.35fr; gap: 5.5rem; align-items: start; } .about-grid .photo-placeholder { position: sticky; top: 120px; } }
.prose { max-width: 40em; }
.prose h2, .prose .h3 { margin-top: 2rem; }
.lead-serif { font-family: var(--font-heading); font-size: 1.95rem; line-height: 1.3; color: var(--color-mulberry); }
.reg { font-size: 1.05rem; }

.invite { background: var(--color-stone); padding: 5rem 0; }
@media (min-width: 900px) { .invite { padding: 6.5rem 0; } }

.notice { border-radius: 12px; padding: 1.1rem 1.4rem; margin: 1.5rem 0 0; }
.notice p { margin: 0; font-size: 1rem; }
.notice-crisis { background: var(--color-cream); border-left: 3px solid var(--color-mulberry); }

.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 4.5rem; align-items: start; } }
.contact-aside { background: var(--color-cream); border-radius: 14px; padding: 2rem; }
.embed-slot {
  border: 1.5px dashed var(--color-caramel); border-radius: 14px; background: #fff;
  padding: 3rem 1.5rem; text-align: center; margin-bottom: 1.5rem; min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.embed-label { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 0.5rem; }
.privacy-note { font-size: 0.98rem; background: var(--color-cream); padding: 1.5rem; border-radius: 12px; }
.privacy-note p { margin: 0; }

.faq details { border-bottom: 1px solid var(--color-greige); }
.faq details:first-child { border-top: 1px solid var(--color-greige); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-family: var(--font-heading); font-size: 1.45rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.4rem; top: 0.95rem; font-size: 1.6rem; color: var(--color-caramel); font-family: var(--font-body); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 0.8rem; max-width: 40em; }

/* Footer: the one deep wine anchor */
.site-footer { background: var(--color-wine); color: var(--color-ivory); padding: 4.5rem 0 2.25rem; font-size: 1rem; }
.site-footer a:not(.btn) { color: var(--color-ivory); }
.site-footer a:not(.btn):hover { color: var(--color-greige); }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 2.75rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-brand { margin: 0 0 0.6rem; color: var(--color-greige); }
.footer-tagline { color: var(--color-greige); margin-bottom: 0.4rem; }
.footer-heading { font-size: 1.35rem; color: var(--color-greige); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: 0.25rem 0; }
.footer-notice { border-top: 1px solid var(--color-mulberry); border-bottom: 1px solid var(--color-mulberry); padding: 1.2rem 0; }
.footer-notice p { margin: 0; }
.footer-aoc { margin-top: 1.5rem; font-size: 0.95rem; color: var(--color-greige); }
.footer-legal { font-size: 0.9rem; color: var(--color-greige); margin: 0; }

/* ===== v3.1: deep wine surfaces ===== */
body { background: var(--color-cream); }
.section-cream { background: var(--color-stone); }
.section:not(.section-cream) .card { background: var(--color-ivory); }
.section-cream .card { background: var(--color-cream); border-color: var(--color-greige); }
h2 { color: var(--color-wine); }
.section-head h2::after, .page-hero h1::after {
  content: ""; display: block; width: 64px; height: 1px; background: var(--color-toffee); margin-top: 0.55em;
}
.section-head.center h2::after, .center .section-head h2::after { margin-left: auto; margin-right: auto; }

/* Dark bands: hero, inner page headers, approach, closing invitation */
.hero, .page-hero { background: var(--color-wine); }
.section-wine { background: var(--color-mulberry); }
.invite { background: linear-gradient(180deg, var(--color-mulberry), var(--color-wine)); }
.hero, .page-hero, .section-wine, .invite { color: var(--color-cream); position: relative; }
.hero::after, .page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-toffee), transparent);
}
:is(.hero, .page-hero, .section-wine, .invite) :is(h1, h2, h3, h4, .h3, .h4) { color: var(--color-ivory); }
:is(.hero, .page-hero, .section-wine, .invite) h1 em { color: var(--color-toffee-light); }
:is(.hero, .page-hero, .section-wine, .invite) .lead,
:is(.hero, .page-hero, .section-wine, .invite) .lead-serif { color: var(--color-stone); }
:is(.hero, .page-hero, .section-wine, .invite) .eyebrow { color: var(--color-toffee-light); }
:is(.hero, .page-hero, .section-wine, .invite) a:not(.btn) { color: var(--color-ivory); }
:is(.hero, .page-hero, .section-wine, .invite) a:not(.btn):hover { color: var(--color-toffee-light); }
:is(.hero, .page-hero, .section-wine, .invite) .principles li { border-top-color: var(--color-toffee); }
:is(.hero, .page-hero, .section-wine, .invite) :focus-visible { outline-color: var(--color-toffee-light); }
:is(.hero, .page-hero, .section-wine, .invite) .btn-primary { background: var(--color-cream); color: var(--color-wine); border-color: var(--color-cream); }
:is(.hero, .page-hero, .section-wine, .invite) .btn-primary:hover { background: var(--color-toffee-light); border-color: var(--color-toffee-light); color: var(--color-wine); }
:is(.hero, .page-hero, .section-wine, .invite) .btn-outline { border-color: var(--color-cream); color: var(--color-cream); }
:is(.hero, .page-hero, .section-wine, .invite) .btn-outline:hover { background: var(--color-cream); color: var(--color-wine); }
:is(.hero, .page-hero, .section-wine, .invite) mark.ph { color: var(--color-wine); }

/* Photo placeholders on wine */
.hero .photo-placeholder {
  background:
    radial-gradient(circle at 30% 20%, rgba(217,169,124,0.35), transparent 60%),
    linear-gradient(160deg, var(--color-mulberry), var(--color-caramel));
  color: var(--color-ivory); outline: 1px solid var(--color-toffee); outline-offset: 10px;
}
.photo-placeholder { box-shadow: 0 30px 60px rgba(51, 12, 15, 0.18); }

/* Header and footer hairlines */
.site-header { background: rgba(245, 240, 235, 0.96); border-bottom-color: var(--color-greige); }
.site-nav.is-open { background: var(--color-cream); }
.site-footer { border-top: 1px solid var(--color-toffee); }

/* Logo image */
.logo-img { height: 44px; max-height: none; width: auto; }
@media (min-width: 880px) { .logo-img { height: 54px; } }
.footer-brand .logo-img { height: 64px; }

/* Brand photos (v3.2) */
.photo { display: block; overflow: hidden; box-shadow: 0 30px 60px rgba(51,12,15,0.18); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo.photo-portrait { border-radius: 240px 240px 14px 14px; }
.hero .photo { outline: 1px solid var(--color-toffee); outline-offset: 10px; }
.photo-wide { aspect-ratio: 4 / 3; width: 100%; border-radius: 14px; }
.page-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.hours-list{list-style:none;margin:0;padding:0}.hours-list li{margin:0 0 .25em}

/* Splose embedded enquiry form */
.splose-form-wrap{position:relative;width:100%;height:2000px;border-radius:14px;overflow:hidden;background:#fff;border:1px solid var(--stone, #E6DED6)}
.splose-form-wrap iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
@media (max-width:640px){.splose-form-wrap{height:2900px}}
