/* ============================================================
   Claire Jung Voice — shared stylesheet
   Palette: ice blue / glacier / deep slate-blue ink
   Type: Fraunces (display) + Karla (body)
   ============================================================ */

:root{
  --ice-50:  #F4FAFD;
  --ice-100: #E6F2F9;
  --ice-200: #CDE6F2;
  --glacier: #8FC1DB;
  --deep:    #2E7096;
  --deeper:  #1D4A64;
  --ink:     #24343F;
  --muted:   #5C7280;
  --white:   #FFFFFF;
  --radius:  18px;
  --shadow:  0 10px 30px rgba(46,112,150,.10);
  --maxw:    1080px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation:none !important; transition:none !important; }
}

body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--ice-50);
  line-height:1.65;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:var(--deep); }

/* ---------- type ---------- */
h1,h2,h3{ font-family:var(--font-display); font-weight:600; line-height:1.18; color:var(--ink); letter-spacing:-.01em; }
h1{ font-size:clamp(2.1rem, 5vw, 3.3rem); }
h2{ font-size:clamp(1.6rem, 3.4vw, 2.2rem); }
h3{ font-size:1.22rem; }
.lede{ font-size:1.12rem; color:var(--muted); max-width:46ch; }

.eyebrow{
  font-family:var(--font-body);
  font-size:.78rem; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--deep);
  display:inline-block; margin-bottom:.75rem;
}

/* ---------- layout ---------- */
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
section{ padding:76px 0; }
section.tint{ background:var(--ice-100); }
section.deepband{ background:var(--deeper); color:var(--ice-50); }
section.deepband h2{ color:#fff; }
section.deepband .lede{ color:var(--ice-200); }

.section-head{ max-width:640px; margin-bottom:2.4rem; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:2rem; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.4rem; }
@media (max-width:900px){
  .grid-3,.grid-4{ grid-template-columns:1fr 1fr; }
}
@media (max-width:640px){
  .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; }
  section{ padding:56px 0; }
}

/* ---------- nav ---------- */
header.site{
  position:sticky; top:0; z-index:50;
  background:rgba(244,250,253,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--ice-200);
}
.nav{
  max-width:var(--maxw); margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.brand{
  font-family:var(--font-display); font-weight:600; font-size:1.15rem;
  color:var(--ink); text-decoration:none; letter-spacing:.01em;
  display:flex; align-items:baseline; gap:.5rem;
}
.brand small{ font-family:var(--font-body); font-weight:700; font-size:.66rem; letter-spacing:.18em; color:var(--deep); text-transform:uppercase; }
nav.links{ display:flex; align-items:center; gap:1.35rem; }
nav.links a{
  text-decoration:none; color:var(--ink); font-weight:500; font-size:.95rem;
  padding:4px 0; border-bottom:2px solid transparent;
}
nav.links a:hover{ color:var(--deep); }
nav.links a[aria-current="page"]{ color:var(--deep); border-bottom-color:var(--glacier); }
nav.links a.btn[aria-current="page"]{ color:#fff; border-bottom:none; }
nav.links a.btn{ border-bottom:none; }
.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; border-radius:2px; }
@media (max-width:820px){
  .nav-toggle{ display:block; }
  nav.links{
    display:none; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:flex-start; gap:0;
    background:var(--white); border-bottom:1px solid var(--ice-200);
    padding:8px 24px 16px;
  }
  nav.links.open{ display:flex; }
  nav.links a{ padding:10px 0; width:100%; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-block; text-decoration:none; font-weight:700; font-size:.95rem;
  padding:13px 26px; border-radius:999px; border:2px solid var(--deep);
  transition:background .18s ease, color .18s ease, transform .18s ease;
}
.btn.primary{ background:var(--deep); color:#fff; }
.btn.primary:hover{ background:var(--deeper); border-color:var(--deeper); transform:translateY(-1px); }
.btn.ghost{ background:transparent; color:var(--deep); }
.btn.ghost:hover{ background:var(--ice-100); }
.btn.light{ background:#fff; color:var(--deeper); border-color:#fff; }
.btn.light:hover{ background:var(--ice-100); border-color:var(--ice-100); }
.btn:focus-visible, a:focus-visible, button:focus-visible{
  outline:3px solid var(--glacier); outline-offset:3px;
}
.cta-row{ display:flex; gap:.8rem; flex-wrap:wrap; margin-top:1.6rem; }

/* ---------- hero ---------- */
.hero{ position:relative; overflow:hidden; padding:84px 0 96px; }
.hero .wrap{ display:grid; grid-template-columns:1.15fr .85fr; gap:3rem; align-items:center; }
@media (max-width:860px){ .hero .wrap{ grid-template-columns:1fr; } .hero{ padding:56px 0 72px; } }
.hero .tagline{
  font-weight:500; color:var(--muted); font-size:.95rem; margin-top:1rem;
}
.hero .tagline b{ color:var(--deep); font-weight:700; }

/* breath wave — signature element */
.wave{
  position:absolute; left:0; right:0; pointer-events:none; width:100%;
  color:var(--glacier);
}
.wave.hero-wave{ bottom:-8px; height:110px; opacity:.55; }
.wave svg{ width:200%; height:100%; display:block; animation:drift 26s linear infinite; }
@keyframes drift{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

.wave-divider{ height:70px; overflow:hidden; color:var(--ice-200); background:transparent; }
.wave-divider svg{ width:200%; height:100%; display:block; animation:drift 34s linear infinite; }

/* portrait placeholder */
.portrait{
  border-radius:26px; aspect-ratio:4/5; position:relative;
  background:linear-gradient(160deg, var(--ice-200), var(--glacier));
  box-shadow:var(--shadow);
  display:flex; align-items:flex-end; justify-content:center; overflow:hidden;
}
.portrait img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; z-index:2;
}
.portrait .label{
  background:rgba(255,255,255,.85); color:var(--deeper);
  font-size:.8rem; font-weight:700; letter-spacing:.06em;
  padding:8px 14px; border-radius:999px; margin-bottom:16px; z-index:3;
}
.portrait::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), transparent 55%);
}

/* ---------- cards ---------- */
.card{
  background:var(--white); border:1px solid var(--ice-200);
  border-radius:var(--radius); padding:1.7rem;
  box-shadow:0 4px 18px rgba(46,112,150,.06);
}
.card h3{ margin-bottom:.5rem; }
.card p{ color:var(--muted); font-size:.98rem; }
.card .more{ display:inline-block; margin-top:.9rem; font-weight:700; font-size:.9rem; text-decoration:none; }
.card .more:hover{ text-decoration:underline; }

ul.check{ list-style:none; margin-top:.6rem; }
ul.check li{
  padding-left:1.5rem; position:relative; margin:.42rem 0; color:var(--ink); font-size:.98rem;
}
ul.check li::before{
  content:""; position:absolute; left:0; top:.5em; width:9px; height:9px;
  border-radius:50%; background:var(--glacier);
}

/* ---------- pricing ---------- */
.price-card{ text-align:left; display:flex; flex-direction:column; }
.price-card .amount{
  font-family:var(--font-display); font-size:2.3rem; font-weight:600; color:var(--deeper);
  margin:.2rem 0 .1rem;
}
.price-card .per{ color:var(--muted); font-size:.85rem; margin-bottom:.8rem; }
.price-card.featured{ border:2px solid var(--deep); position:relative; }
.price-card.featured::after{
  content:"Most popular"; position:absolute; top:-13px; right:18px;
  background:var(--deep); color:#fff; font-size:.7rem; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase; padding:4px 12px; border-radius:999px;
}
.price-note{ color:var(--muted); font-size:.9rem; margin-top:1.2rem; }

/* ---------- reviews ---------- */
.review{ position:relative; }
.review p.quote{ color:var(--ink); font-size:1rem; }
.review p.quote::before{ content:"“"; font-family:var(--font-display); font-size:2rem; color:var(--glacier); display:block; line-height:.6; margin-bottom:.5rem; }
.review .who{ margin-top:1rem; font-weight:700; font-size:.88rem; color:var(--deep); }

/* ---------- media placeholder (video / lesson photos) ---------- */
.media-ph{
  border-radius:var(--radius); aspect-ratio:16/9;
  background:linear-gradient(140deg, var(--ice-100), var(--ice-200));
  border:1px dashed var(--glacier);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.7rem;
  color:var(--deeper); font-weight:700;
}
.media-ph .play{
  width:60px; height:60px; border-radius:50%; background:var(--white);
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow);
}
.media-ph .play::after{
  content:""; border-left:18px solid var(--deep);
  border-top:11px solid transparent; border-bottom:11px solid transparent; margin-left:5px;
}
.media-ph small{ font-weight:500; color:var(--muted); }

/* ---------- FAQ ---------- */
details.faq{
  background:var(--white); border:1px solid var(--ice-200); border-radius:14px;
  padding:1rem 1.3rem; margin-bottom:.8rem;
}
details.faq summary{
  cursor:pointer; font-weight:700; font-size:1rem; list-style:none;
  display:flex; justify-content:space-between; align-items:center; gap:1rem;
}
details.faq summary::-webkit-details-marker{ display:none; }
details.faq summary::after{ content:"+"; font-size:1.3rem; color:var(--deep); font-weight:500; }
details.faq[open] summary::after{ content:"–"; }
details.faq p{ margin-top:.7rem; color:var(--muted); font-size:.97rem; }

/* ---------- forms ---------- */
form.contact{ display:grid; gap:1.1rem; max-width:640px; }
form.contact label{ font-weight:700; font-size:.9rem; display:block; margin-bottom:.35rem; }
form.contact input, form.contact select, form.contact textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--ice-200); border-radius:12px;
  font-family:var(--font-body); font-size:.98rem; color:var(--ink); background:var(--white);
}
form.contact input:focus, form.contact select:focus, form.contact textarea:focus{
  outline:none; border-color:var(--glacier); box-shadow:0 0 0 3px rgba(143,193,219,.35);
}
form.contact textarea{ min-height:130px; resize:vertical; }
form.contact button{
  justify-self:start; cursor:pointer; font-family:var(--font-body);
}
.form-note{ color:var(--muted); font-size:.88rem; }

/* ---------- footer ---------- */
footer.site{
  background:var(--deeper); color:var(--ice-200); padding:56px 0 40px; margin-top:0;
}
footer.site .wrap{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:2rem; }
@media (max-width:720px){ footer.site .wrap{ grid-template-columns:1fr; } }
footer.site .brand{ color:#fff; }
footer.site .brand small{ color:var(--glacier); }
footer.site h4{ font-size:.82rem; text-transform:uppercase; letter-spacing:.14em; color:var(--glacier); margin-bottom:.8rem; }
footer.site a{ color:var(--ice-100); text-decoration:none; display:block; padding:3px 0; font-size:.95rem; }
footer.site a:hover{ color:#fff; text-decoration:underline; }
footer.site .fine{ grid-column:1/-1; border-top:1px solid rgba(255,255,255,.15); margin-top:1.6rem; padding-top:1.2rem; font-size:.82rem; color:var(--glacier); }

/* ---------- music-note cursor trail ---------- */
.note-trail{
  position:fixed; left:0; top:0; z-index:9999;
  pointer-events:none; user-select:none;
  font-size:var(--note-size, 18px);
  color:var(--note-color, var(--glacier));
  opacity:.9;
  will-change:transform, opacity;
  animation:note-float 1.1s ease-out forwards;
}
@keyframes note-float{
  0%  { transform:translate(-50%,-50%) translateY(0) rotate(var(--note-rot,0deg)) scale(.6); opacity:.95; }
  70% { opacity:.55; }
  100%{ transform:translate(-50%,-50%) translateY(-46px) translateX(var(--note-drift,0px)) rotate(var(--note-rot,0deg)) scale(1.05); opacity:0; }
}
@media (prefers-reduced-motion: reduce), (hover: none){
  .note-trail{ display:none; }
}

/* ---------- book now block + divider ---------- */
.booknow{
  background:var(--ice-100); border-radius:14px; padding:1.5rem;
  text-align:center;
}
.or-divider{
  display:flex; align-items:center; gap:1rem;
  margin:1.6rem 0 1.4rem; color:var(--muted); font-size:.85rem;
}
.or-divider::before, .or-divider::after{
  content:""; flex:1; height:1px; background:var(--ice-200);
}

/* ---------- empty state ---------- */
.empty-state{
  text-align:center; max-width:520px; margin:0 auto;
  padding:2.2rem 1.6rem;
  border:1px dashed var(--glacier); border-radius:var(--radius);
  background:var(--white);
}
.empty-state p{ color:var(--muted); margin-bottom:1.2rem; }

/* ---------- rating control (review form) ---------- */
fieldset.rating{ border:0; padding:0; }
fieldset.rating legend{ font-weight:700; font-size:.9rem; margin-bottom:.5rem; }
.rating-row{ display:flex; gap:.5rem; flex-wrap:wrap; }
.rating-row input{ position:absolute; opacity:0; width:1px; height:1px; }
.rating-row label{
  cursor:pointer; border:1.5px solid var(--ice-200); border-radius:999px;
  padding:8px 14px; font-size:.9rem; font-weight:700; color:var(--muted);
  background:var(--white); transition:border-color .15s ease, color .15s ease, background .15s ease;
  margin-bottom:0;
}
.rating-row label:hover{ border-color:var(--glacier); }
.rating-row input:checked + label{
  border-color:var(--deep); color:var(--deeper); background:var(--ice-100);
}
.rating-row input:focus-visible + label{ outline:3px solid var(--glacier); outline-offset:2px; }

/* ---------- consent checkboxes ---------- */
.consent{ display:flex; gap:.7rem; align-items:flex-start; }
.consent input[type="checkbox"]{ width:18px; height:18px; margin-top:3px; flex:0 0 auto; accent-color:var(--deep); }
.consent label{ font-weight:400 !important; font-size:.95rem; margin-bottom:0 !important; }
form.contact .credit-note{ color:var(--muted); font-size:.86rem; margin-top:.3rem; }

/* ---------- reveal on scroll (subtle) ---------- */
.js .reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.js .reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .js .reveal{ opacity:1; transform:none; } }
