/* Option B — Douceur des Pieds
   Warm spa editorial: cream, sage, terracotta. Cormorant Garamond display / Karla UI. */

:root {
  --cream: #f6efe1;
  --cream-deep: #efe5d1;
  --sand: #e8dcc4;
  --sage: #3d5c49;
  --sage-soft: #6b8f76;
  --terra: #a4552f;
  --terra-deep: #8a4526;
  --ink: #33413a;
  --ink-soft: #64705f;
  --line: rgba(61, 92, 73, .16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Karla", Arial, sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: .05;
  pointer-events: none;
  z-index: 10;
}

::selection { background: var(--sand); color: var(--terra-deep); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px 14px; z-index: 30; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 82px;
  padding: 0 max(24px, calc((100% - 1280px) / 2));
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}

.site-header.scrolled { border-bottom-color: var(--line); }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--sage);
  margin-right: auto;
}

.brand-mark { width: 30px; height: 36px; flex: none; }

.brand-word {
  font: 600 1.5rem/1 var(--serif);
  letter-spacing: -.02em;
}

.brand-word small {
  font-size: .58em;
  font-style: italic;
  font-weight: 500;
  margin: 0 .12em;
  color: var(--terra);
}

#site-nav { display: flex; gap: 30px; }

#site-nav a {
  color: var(--ink);
  text-decoration: none;
  font: 700 .78rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
}

#site-nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%;
  bottom: 0;
  height: 2px;
  background: var(--terra);
  transition: left .3s cubic-bezier(.7, 0, .2, 1), right .3s cubic-bezier(.7, 0, .2, 1);
}

#site-nav a:hover::after { left: 0; right: 0; }

.header-cta {
  color: var(--sage);
  text-decoration: none;
  font: 700 .92rem/1 var(--sans);
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.header-cta:hover { background: var(--sage); border-color: var(--sage); color: var(--cream); }

.menu {
  display: none;
  border: 0;
  background: none;
  font: 700 .8rem/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 0 10px 10px;
  cursor: pointer;
}

/* ---------- Shared type ---------- */

.eyebrow {
  margin: 0 0 20px;
  color: var(--terra);
  font: 700 .74rem/1.2 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
}

.eyebrow.light { color: #f0cfae; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

/* ---------- Hero ---------- */

.hero {
  width: min(1100px, calc(100% - 48px));
  margin: auto;
  padding: clamp(64px, 9vh, 110px) 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kicker {
  margin: 0 0 30px;
  font: italic 500 clamp(1.05rem, 2vw, 1.35rem)/1.4 var(--serif);
  color: var(--terra);
  letter-spacing: .02em;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: .98;
  color: var(--sage);
  max-width: 16ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--terra);
  font-weight: 400;
}

.cta-row { margin-top: 42px; }

.button {
  display: inline-block;
  background: var(--sage);
  color: var(--cream);
  padding: 18px 34px;
  border-radius: 999px;
  text-decoration: none;
  font: 700 .82rem/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform .25s cubic-bezier(.7, 0, .2, 1), box-shadow .25s ease, background .25s ease;
}

.button:hover {
  background: var(--terra);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(138, 69, 38, .3);
}

/* Hero scene */

.scene { width: min(1100px, 100%); margin-top: clamp(48px, 7vh, 84px); }

.scene-inner {
  position: relative;
  height: clamp(240px, 36vw, 400px);
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #f2e8d5 0%, var(--cream-deep) 70%, var(--sand) 100%);
  overflow: hidden;
}

.scene-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: .12;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.scene-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 88%;
  filter: saturate(.92);
}

.scene-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(246, 239, 225, .32) 0%, transparent 32%),
    linear-gradient(0deg, rgba(164, 85, 47, .28) 0%, transparent 45%);
}

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--cream-deep);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 38s linear infinite;
  font: italic 500 clamp(1.4rem, 2.6vw, 2rem)/1 var(--serif);
  color: var(--sage);
}

@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------- Promise ---------- */

.promise {
  text-align: center;
  padding: clamp(100px, 14vw, 170px) 24px;
}

.promise h2 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.02;
  color: var(--sage);
  margin: 0 auto;
  max-width: 18ch;
}

.promise h2 em { font-style: italic; color: var(--terra); font-weight: 400; }

.promise-copy {
  margin: 30px auto 0;
  max-width: 44ch;
  font: 400 1.12rem/1.7 var(--sans);
  color: var(--ink-soft);
}

.divider { width: 120px; height: 20px; margin-top: 44px; }

/* ---------- Contact ---------- */

.contact { padding: 0 24px clamp(70px, 9vw, 120px); }

.contact-panel {
  position: relative;
  width: min(1100px, 100%);
  margin: auto;
  text-align: center;
  padding: clamp(80px, 11vw, 140px) 32px clamp(70px, 9vw, 110px);
  border-radius: 400px 400px 26px 26px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(240, 207, 174, .3) 0%, transparent 55%),
    linear-gradient(175deg, var(--terra) 0%, var(--terra-deep) 90%);
  color: #fdf7ec;
  overflow: hidden;
  box-shadow: 0 34px 80px -36px rgba(138, 69, 38, .6);
}

.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: .12;
  mix-blend-mode: overlay;
  pointer-events: none;
  border-radius: inherit;
}

.contact h2 {
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 1;
  color: #fdf7ec;
}

.contact h2 em { font-style: italic; color: #f5d9b6; font-weight: 400; }

.phone-display {
  position: relative;
  display: inline-block;
  margin-top: 44px;
  font: 500 clamp(2.4rem, 6.5vw, 5.6rem)/1 var(--serif);
  letter-spacing: .01em;
  color: #fdf7ec;
  text-decoration: none;
  padding-bottom: 12px;
}

.phone-display::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: #f5d9b6;
  transition: right .4s cubic-bezier(.7, 0, .2, 1);
}

.phone-display:hover::after { right: 0; }

.contact-sub {
  margin: 34px 0 0;
  font: 700 .76rem/1.4 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #f0cfae;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 26px max(24px, calc((100% - 1280px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 400 .82rem/1.5 var(--sans);
  color: var(--ink-soft);
}

footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--terra); }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2, .6, .2, 1), transform .8s cubic-bezier(.2, .6, .2, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .site-header { gap: 16px; }
  .header-cta { display: none; }
  .menu { display: block; }

  #site-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
  }

  #site-nav.open { display: flex; }
  #site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  #site-nav a:last-child { border-bottom: 0; }

  .hero { padding-top: 56px; }
  .phone-display { overflow-wrap: anywhere; }

  footer { display: block; }
  footer span { display: block; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .button, .phone-display::after, #site-nav a::after { transition: none; }
}
