/* Beauty & Skin by Lex — palette and type follow the brand guide. */
:root {
  --porcelain: #F8F3F0;
  --rosewater: #EBD3CC;
  --mauve: #B9848F;
  --champagne: #C2A272;
  --plum: #3A2530;

  --bg: var(--porcelain);
  --band: #F2E7E2;
  --surface: #FFFCFA;
  --fg: var(--plum);
  --muted: #7A6169;
  --line: #E6D6CF;
  --accent: #9E6B78;
  --gold: #A98754;
  --btn-bg: var(--plum);
  --btn-fg: var(--porcelain);

  --display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1E1418; --band: #251920; --surface: #2A1D22; --fg: #F3E6E1; --muted: #BFA6AD;
    --line: #3E2C33; --accent: #D7A3AE; --gold: #D2B07C; --btn-bg: #F3E6E1; --btn-fg: #3A2530;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 300 16px/1.7 var(--body);
}
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 300; }
h1 i, .brand i { color: var(--accent); font-weight: 300; }
h2 { font-size: clamp(34px, 5vw, 48px); font-weight: 300; }
h3 { font-size: 26px; }
p { margin: 0; max-width: 62ch; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); }
.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.placeholder { font-style: italic; color: var(--accent); }

.inner {
  max-width: 1080px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
section { padding-block: clamp(64px, 10vw, 112px); }
.band { background: var(--band); }
.stack { display: grid; gap: 18px; align-content: start; }
.stack-lg { display: grid; gap: 48px; }
.section-head { display: grid; gap: 14px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.two > * { min-width: 0; }

/* Draft banner + nav */
.draft {
  background: var(--plum); color: var(--porcelain); text-align: center;
  font-size: 13px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
}
@media (prefers-color-scheme: dark) { .draft { background: #4A3139; } }
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { font-family: var(--display); font-size: 26px; font-weight: 400; text-decoration: none; white-space: nowrap; }
.brand small { font-family: var(--body); font-size: 9px; font-weight: 500; letter-spacing: .4em; text-transform: uppercase; margin-left: 6px; vertical-align: middle; }
.nav nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 400; }
.nav nav a:not(.btn) { text-decoration: none; }
.nav nav a:not(.btn):hover { color: var(--accent); }
@media (max-width: 640px) { .nav nav a:not(.btn) { display: none; } }

.btn {
  display: inline-block; background: var(--btn-bg); color: var(--btn-fg); border: 0; cursor: pointer;
  font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  padding: 17px 28px; border-radius: 999px; transition: transform .2s ease, opacity .2s ease;
}
.btn:hover { opacity: .9; }
.btn.small { padding: 11px 18px; font-size: 11px; }
.link { font-size: 14px; font-weight: 500; text-underline-offset: 5px; text-decoration-color: var(--champagne); }

/* Hero */
.hero { padding-block: clamp(56px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.lead { font-size: 18px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-art { display: grid; place-items: center; }
/* Soft pebble: the brand mark. Always rosewater with plum type, in both themes. */
.pebble {
  width: min(380px, 80vw); aspect-ratio: 13 / 10; max-width: 100%;
  background: var(--rosewater); color: var(--plum);
  border-radius: 58% 42% 50% 50% / 52% 48% 52% 48%;
  display: grid; place-items: center; align-content: center; gap: 12px; text-align: center;
}
.pebble .w { font: 300 clamp(30px, 4vw, 46px)/1 var(--display); white-space: nowrap; }
.pebble .w i { color: #9E6B78; }
.pebble .s { font-size: 10px; font-weight: 500; letter-spacing: .5em; text-transform: uppercase; padding-left: .5em; }
@media (prefers-reduced-motion: no-preference) {
  /* One breath every 8s: swell and reshape on the inhale, settle on the exhale. */
  .pebble { animation: breathe 8s ease-in-out infinite; will-change: transform, border-radius; }
  @keyframes breathe {
    0%, 100% { transform: scale(1);    border-radius: 58% 42% 50% 50% / 52% 48% 52% 48%; }
    50%      { transform: scale(1.06); border-radius: 42% 58% 38% 62% / 60% 40% 60% 40%; }
  }
}
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; } .pebble { width: min(300px, 78vw); } }

/* About */
.photo {
  aspect-ratio: 4 / 5; max-width: 420px; width: 100%; border-radius: 4px;
  background: var(--rosewater); border: 1px dashed var(--mauve); color: var(--plum);
  display: grid; place-items: center; text-align: center; font-family: var(--display); font-size: 24px;
}
.photo small { font-family: var(--body); font-size: 12px; }

/* Menu */
.menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 48px; }
.item { display: grid; gap: 14px; align-content: start; border-top: 1px solid var(--champagne); padding-top: 22px; }
.item ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.item li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px dotted var(--line); padding-bottom: 8px; font-weight: 400; }
.item li span { font-size: 12px; color: var(--muted); font-weight: 300; }
.item p { font-size: 14px; }

/* Book at school */
.book-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: start; }
.book-head > * { min-width: 0; }
.how { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { text-align: center; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 10px 0; border-radius: 999px; }
.day.off { color: var(--muted); opacity: .6; }
.day.on { background: var(--rosewater); color: var(--plum); }
.how-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-weight: 400; }
.how-steps strong { font-weight: 600; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 48px; align-items: start; }
.price-group { display: grid; gap: 14px; border-top: 1px solid var(--champagne); padding-top: 22px; min-width: 0; }
.price-group h3.sub { font-size: 22px; margin-top: 18px; }
.price-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.price-group li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 400; border-bottom: 1px dotted var(--line); padding-bottom: 8px; }
.price-group li span { min-width: 0; }
.price-group li span em { font-style: normal; font-size: 12px; color: var(--muted); }
.price-group li b { margin-left: auto; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-group ul.cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 300 40px/1 var(--display); color: var(--accent); }
.steps p { color: var(--muted); font-size: 15px; }

/* Form */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 0; }
input[type="text"], input[type="email"] {
  font: 400 16px/1.4 var(--body); color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 4px; padding: 13px 14px; width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus { border-color: var(--accent); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 8px; }
.checks label { font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; display: flex; align-items: center; gap: 8px; }
.checks input { accent-color: var(--accent); width: 18px; height: 18px; }
.form .btn { justify-self: start; }
.form-msg { font-size: 14px; color: var(--accent); }

/* FAQ */
.faq { display: grid; max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 20px; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 24px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--body); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px; }
.foot-grid { display: grid; gap: 12px; }
.foot a { text-underline-offset: 4px; }
