/* =========================================================
   A Little Touch of Heaven Designs
   Brand: warm cream, mocha, cocoa. Josefin Sans + Jost + Parisienne.
   ========================================================= */

:root {
  /* brand palette (light) */
  --cream:  #FEF2EC;
  --blush:  #FBEDE5;
  --band:   #F7E8DE;
  --tan:    #DFC9AF;
  --mocha:  #9C7964;
  --mocha-d:#82604C;
  --cocoa:  #6F4E37;
  --ink:    #4A362B;
  --muted:  #7A6151;
  --price:  #8A5A3B;

  /* semantic roles */
  --bg: var(--cream);
  --surface: var(--blush);
  --surface-2: var(--band);
  --line: var(--tan);
  --text: var(--ink);
  --text-muted: var(--muted);
  --heading: var(--cocoa);
  --accent: var(--mocha);
  --accent-hover: var(--mocha-d);
  --accent-ink: #FFF8F3;
  --price-c: var(--price);

  /* type */
  --f-display: "Josefin Sans", "Trebuchet MS", sans-serif;
  --f-body: "Jost", "Segoe UI", system-ui, sans-serif;
  --f-script: "Parisienne", "Brush Script MT", cursive;

  --t-hero: clamp(2.6rem, 7.2vw, 5rem);
  --t-xl:   clamp(1.55rem, 3.2vw, 2.15rem);
  --t-lg:   clamp(1.08rem, 1.6vw, 1.22rem);
  --t-base: clamp(1rem, 1.05vw, 1.07rem);
  --t-sm:   .92rem;
  --t-xs:   .78rem;

  /* space */
  --s1: .25rem; --s2: .5rem;  --s3: .75rem; --s4: 1rem;
  --s6: 1.5rem; --s8: 2rem;   --s12: 3rem;  --s16: 4rem;
  --s24: 6rem;
  --pad-sec: clamp(3.5rem, 8vw, 7rem);
  --gut: clamp(1.15rem, 4vw, 2.5rem);
  --maxw: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 3px;
  --shadow: 0 1px 2px rgba(74, 54, 43, .05), 0 12px 32px -14px rgba(74, 54, 43, .18);
}

html[data-theme="dark"] {
  --bg: #241B15;
  --surface: #2D231C;
  --surface-2: #372B22;
  --line: #4E3E33;
  --text: #EFE4DB;
  --text-muted: #BCA595;
  --heading: #F3E5D9;
  --accent: #CFA98D;
  --accent-hover: #E0BFA6;
  --accent-ink: #241B15;
  --price-c: #DDB491;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -14px rgba(0, 0, 0, .55);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.65;
  font-weight: 350;
  transition: background .4s var(--ease), color .4s var(--ease);
}

/* ---------- primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 68ch; }
section { padding-block: var(--pad-sec); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: .01em;
}
h2 { font-size: var(--t-xl); text-transform: uppercase; letter-spacing: .06em; }
h3 { font-size: var(--t-lg); text-transform: uppercase; letter-spacing: .09em; font-weight: 600; }

.eyebrow {
  font-family: var(--f-script);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--s2);
}
.lede { font-size: var(--t-lg); color: var(--text-muted); line-height: 1.6; }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head p { max-width: 60ch; margin-top: var(--s3); color: var(--text-muted); }

.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.6rem;
  font-family: var(--f-display); font-size: var(--t-sm); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:active { transform: translateY(1px); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 66px;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand__name {
  font-family: var(--f-display); font-size: .8rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase; color: var(--heading); line-height: 1.25;
}
.brand__name span { display: block; font-size: .64rem; letter-spacing: .22em; color: var(--text-muted); font-weight: 400; }

.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.7rem); }
.nav a {
  font-size: var(--t-sm); text-decoration: none; color: var(--text-muted);
  letter-spacing: .05em; padding-block: .35rem; position: relative;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--accent); transition: right .3s var(--ease);
}
.nav a:hover { color: var(--heading); }
.nav a:hover::after { right: 0; }
.nav a.is-active { color: var(--heading); }
.nav a.is-active::after { right: 0; }

.hbtns { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--heading); cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
html[data-theme="dark"] .theme-btn .sun { display: none; }
html[data-theme="dark"] .theme-btn .moon { display: block; }
.menu-btn { display: none; }
.header .btn { padding: .65rem 1.15rem; min-height: 42px; font-size: var(--t-xs); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 66px 0 auto; z-index: 99;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: var(--s4) var(--gut) var(--s8);
  display: grid; gap: .25rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease);
}
.drawer[hidden] { display: grid; }
.drawer.is-open { clip-path: inset(0 0 0 0); }
.drawer a {
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: .12em;
  font-size: .95rem; text-decoration: none; color: var(--heading);
  padding: .85rem 0; border-bottom: 1px solid var(--line);
}
.drawer .btn { margin-top: var(--s4); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(2.25rem, 5.5vw, 4.5rem); padding-bottom: 0; }
.hero__center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__logo {
  width: clamp(220px, 36vw, 380px); height: auto;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
html[data-theme="dark"] .hero__logo { filter: brightness(1.35) saturate(.85); }
.hero .eyebrow { max-width: 34ch; }
.hero h1 {
  font-size: var(--t-hero); text-transform: uppercase; letter-spacing: .02em;
  font-weight: 600; margin-bottom: var(--s6); max-width: 22ch;
}
.hero h1 em {
  display: block; font-family: var(--f-script); font-style: normal;
  text-transform: none; letter-spacing: 0; color: var(--accent);
  font-size: 1.04em; line-height: 1.05; font-weight: 400;
}
.hero__lede { max-width: 52ch; margin-bottom: var(--s8); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }
.hero__meta {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: var(--s4);
  border-top: 1px solid var(--line); width: 100%; max-width: 62rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s6);
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- marquee band ---------- */
.band {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  background: var(--surface-2); border-block: 1px solid var(--line);
  overflow: hidden; padding-block: .95rem;
}
.band__track {
  display: flex; gap: 0; width: max-content;
  animation: slide 42s linear infinite;
}
.band__track > div { display: flex; gap: 0; }
.band span {
  font-family: var(--f-display); font-size: var(--t-xs); letter-spacing: .2em;
  text-transform: uppercase; color: var(--heading); white-space: nowrap;
  padding-inline: 1.5rem; position: relative;
}
.band span::after {
  content: "◆"; position: absolute; right: -.42rem; color: var(--accent);
  font-size: .5rem; top: 50%; transform: translateY(-45%);
}
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band__track { animation: none; } }

/* ---------- pricing ---------- */
#pricing { background: var(--surface); border-block: 1px solid var(--line); }
.price-cols { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: 1fr; }
.price-group { break-inside: avoid; margin-bottom: var(--s8); }
.price-group h3 {
  font-size: .82rem; letter-spacing: .18em; color: var(--accent);
  padding-bottom: .5rem; border-bottom: 1px solid var(--line); margin-bottom: .6rem;
}
.price-group dl { display: grid; gap: .1rem; }
.price-row {
  display: flex; align-items: baseline; gap: .5rem;
  padding-block: .34rem; font-size: var(--t-sm);
}
.price-row dt { color: var(--text); }
.price-row .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.price-row dd {
  font-variant-numeric: tabular-nums lining-nums; color: var(--price-c);
  font-weight: 500; white-space: nowrap;
}
.price-note {
  margin-top: var(--s6); padding: var(--s4) var(--s6);
  background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--radius); font-size: var(--t-sm); color: var(--text-muted);
}

/* ---------- steps ---------- */
.steps { display: grid; gap: clamp(1.5rem, 3vw, 2rem); grid-template-columns: 1fr; counter-reset: st; }
.step { padding-top: var(--s4); border-top: 2px solid var(--line); }
.step__n {
  font-family: var(--f-display); font-size: 2.4rem; font-weight: 300;
  line-height: 1; color: var(--accent); font-variant-numeric: lining-nums;
  margin-bottom: var(--s3); display: block;
}
.step h3 { margin-bottom: var(--s2); }
.step p { font-size: var(--t-sm); color: var(--text-muted); }

/* ---------- care / split ---------- */
#care { background: var(--surface-2); border-block: 1px solid var(--line); }
.care-grid { display: grid; gap: clamp(1.5rem, 3vw, 2rem); grid-template-columns: 1fr; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
}
.card h3 { margin-bottom: var(--s4); }
.card ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 1.2rem; font-size: var(--t-sm); color: var(--text); }
.card li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 1px;
  background: var(--accent);
}
.card .life {
  margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line);
  font-family: var(--f-display); font-size: var(--t-xs); letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
}

/* ---------- faq ---------- */
.faq { display: grid; max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0;
  position: relative; font-family: var(--f-display); font-weight: 600;
  color: var(--heading); font-size: var(--t-lg); letter-spacing: .02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 1.55rem;
  width: 11px; height: 11px; border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent); transform: rotate(45deg);
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { padding-bottom: 1.3rem; max-width: 62ch; color: var(--text-muted); font-size: var(--t-sm); }
.faq summary:hover { color: var(--accent); }

/* ---------- about ---------- */
.about { display: flex; justify-content: center; text-align: center; }
.about > div { max-width: 62ch; }
.about .eyebrow, .about h2 { text-align: center; }
.about__lede { color: var(--text-muted); margin-bottom: var(--s4); }
.about__tags {
  margin-top: var(--s8); padding-top: var(--s4); border-top: 1px solid var(--line);
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  line-height: 1.9;
}
.sprig {
  width: clamp(150px, 22vw, 220px); height: auto; margin: 0 auto var(--s6);
  opacity: .55;
}
html[data-theme="dark"] .sprig { filter: brightness(1.4); opacity: .5; }
.quote {
  font-family: var(--f-script); font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1.4; color: var(--accent); margin-block: var(--s8);
}

/* ---------- contact ---------- */
#contact { background: var(--surface); border-block: 1px solid var(--line); }
.contact-grid { display: grid; gap: clamp(1.5rem, 3vw, 2rem); grid-template-columns: 1fr; }
.ctile {
  display: flex; flex-direction: column; gap: .5rem; text-decoration: none;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 2.4vw, 1.8rem); transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.ctile:hover { border-color: var(--accent); transform: translateY(-2px); }
.ctile svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: var(--s2); }
.ctile strong {
  font-family: var(--f-display); font-size: var(--t-sm); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--heading);
}
.ctile span { font-size: var(--t-sm); color: var(--text-muted); }
.ctile .go { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-top: auto; padding-top: var(--s3); }

/* ---------- footer ---------- */
.footer { padding-block: var(--s12) var(--s8); }
.footer__in { display: grid; gap: var(--s8); grid-template-columns: 1fr; }
.footer h4 {
  font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500; margin-bottom: var(--s3);
}
.footer ul { display: grid; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.footer a { font-size: var(--t-sm); text-decoration: none; color: var(--text); }
.footer a:hover { color: var(--accent); }
.footer__bar {
  margin-top: var(--s12); padding-top: var(--s4); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); justify-content: space-between;
  font-size: var(--t-xs); color: var(--text-muted); letter-spacing: .06em;
}

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header .btn--primary { display: none; }
}
@media (min-width: 620px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .care-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 861px) {
  .drawer { display: none !important; }
  .price-cols { grid-template-columns: repeat(2, 1fr); }
  .footer__in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
