:root {
  --bg: #fdf5f2;
  --bg-alt: #faeee6;
  --surface: #ffffff;
  --surface-2: #f8e9e1;
  --border: #f0d7c9;
  --text: #3a2a26;
  --text-dim: #93796d;
  --accent: #c98a7d;
  --accent-2: #d9b48a;
  --grad: linear-gradient(120deg, var(--accent), var(--accent-2));
  --radius: 30px;
  --max-w: 1120px;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Cormorant Garamond", var(--font-body);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }

p { margin: 0 0 1em; color: var(--text-dim); }

a { color: inherit; text-decoration: none; }

.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55rem 38rem at 12% -8%, rgba(201, 138, 125, .15), transparent 60%),
    radial-gradient(48rem 34rem at 108% 8%, rgba(217, 180, 138, .13), transparent 60%),
    var(--bg);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(253, 245, 242, .82);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.15rem;
  white-space: nowrap;
}

.brand em { font-style: normal; color: var(--accent-2); }
.brand-mark { width: 28px; height: 28px; flex-shrink: 0; }

.tabs {
  display: flex;
  gap: 1.9rem;
  margin: 0 auto;
}

.tab-link {
  position: relative;
  padding: .3rem 0;
  color: var(--text-dim);
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .02em;
  transition: color .2s ease;
}

.tab-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.tab-link:hover { color: var(--text); }
.tab-link.is-active { color: var(--text); }
.tab-link.is-active::after { transform: scaleX(1); }

.nav-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.65rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad);
  color: #2e1f1a;
  box-shadow: 0 10px 26px -10px rgba(217, 180, 138, .55);
}
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(217, 180, 138, .65); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent-2); }

.btn-sm { padding: .6rem 1.25rem; font-size: .82rem; }

/* Sections */
.section { position: relative; padding: 7.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 500;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 42rem; }
.section-lede { font-size: 1.08rem; max-width: 36rem; margin-bottom: 3.25rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero — the photo leads, with the copy laid over it. On wide screens it is
   a full-height panel bleeding off the right edge; on phones it goes edge to
   edge. The source is a 2:3 portrait, so stretching it across a wide band
   would crop far too tight on her face. */
.hero {
  position: relative;
  padding: 0;
  min-height: min(92vh, 54rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  z-index: 0;
  /* Fade the photo's own left edge to transparent rather than painting a
     solid wash over it — a flat colour can't match the tinted .bg-field
     behind, which leaves a visible vertical seam. */
  -webkit-mask-image: linear-gradient(95deg, transparent 0%, rgba(0,0,0,.18) 14%, rgba(0,0,0,.62) 30%, rgba(0,0,0,.93) 45%, #000 58%);
  mask-image: linear-gradient(95deg, transparent 0%, rgba(0,0,0,.18) 14%, rgba(0,0,0,.62) 30%, rgba(0,0,0,.93) 45%, #000 58%);
}
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 32%;
}

/* Very light blush veil across the hero, purely to keep the headline crisp
   where it grazes the image. Sits outside .hero-media so the mask above
   doesn't erase it exactly where it's needed. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    95deg,
    rgba(253, 245, 242, .62) 0%,
    rgba(253, 245, 242, .42) 34%,
    rgba(253, 245, 242, .14) 52%,
    rgba(253, 245, 242, 0) 66%
  );
}

.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 34rem; padding: 7rem 0 5rem; }
.hero-title { font-size: clamp(2.5rem, 5.2vw, 3.9rem); max-width: 44rem; }
.hero-sub { font-size: 1.12rem; max-width: 32rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2.1rem 0 0; }

@media (max-width: 900px) {
  /* Don't overlay the copy on a narrow screen — there is nowhere to put it
     that isn't across her face. Stack instead: photo band first, text under it.
     The photo still leads the page, and both stay fully legible. */
  .hero {
    display: block;
    min-height: 0;
  }
  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    /* svh, not vh: iOS counts vh behind the URL/toolbar chrome. */
    height: 56vh;
    /* The desktop left-edge feather would erase the left of a full-width frame. */
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-media img { object-position: 50% 35%; }
  .hero-scrim { display: none; }
  .hero-copy { max-width: none; padding: 2.75rem 0 1rem; }
}

@supports (height: 100svh) {
  @media (max-width: 900px) {
    .hero-media { height: 56svh; }
  }
}

.portrait-card { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -28px rgba(47, 43, 36, .38); border: 1px solid var(--border); }
.portrait-card img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Stats band sitting directly beneath the hero photo */
.stat-band { background: var(--bg); padding: 2.75rem 0; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  max-width: 42rem;
}
.stat dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: .4rem; }
.stat dd { margin: 0; font-weight: 500; font-family: var(--font-head); font-size: 1.05rem; color: var(--text); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(217, 180, 138, .4); box-shadow: 0 16px 30px -20px rgba(47, 43, 36, .25); }
.card h3 { font-size: 1.12rem; }
.card p { margin-bottom: 0; font-size: .95rem; }

.card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  margin-bottom: 1.2rem;
  background: rgba(201, 138, 125, .14);
  color: var(--accent);
}
.card-icon svg { width: 22px; height: 22px; }

.section-note {
  margin-top: 2.25rem;
  font-size: .85rem;
  font-style: italic;
  color: var(--text-dim);
  opacity: .8;
}

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center; }
.about-photo .portrait-card { aspect-ratio: 3 / 4; }
.about-caption { margin-top: .85rem; font-size: .82rem; letter-spacing: .04em; color: var(--text-dim); text-align: center; }
.about-copy p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 20rem; margin: 0 auto; }
}

/* Price list */
.price-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}
.price-col h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--border);
}
.price-group-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent-2);
  margin: 1.75rem 0 .9rem;
}
.price-group-label:first-of-type { margin-top: 0; }
.price-item { margin-bottom: 1.2rem; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-head);
  font-size: 1.04rem;
  color: var(--text);
}
.price-row .amount { color: var(--accent-2); font-weight: 600; white-space: nowrap; }
.price-item p { font-size: .88rem; margin: .3rem 0 0; }
.price-sub {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--text-dim);
  margin-top: .3rem;
  padding-left: .1rem;
}

@media (max-width: 900px) {
  .price-columns { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Process */
.process-intro-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.process-photo .portrait-card { aspect-ratio: 5 / 4; }

@media (max-width: 900px) {
  .process-intro-grid { grid-template-columns: 1fr; }
}

/* Scheduler avatar */
.scheduler-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: .5rem;
  border: 1px solid var(--border);
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.timeline-step {
  position: relative;
  padding: 1.85rem 1.6rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.timeline-index {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .2rem .7rem;
  margin-bottom: 1.1rem;
}
.timeline-step h3 { font-size: 1.08rem; }
.timeline-step p { font-size: .92rem; margin-bottom: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.field { margin-bottom: 1.15rem; display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .84rem; font-weight: 500; color: var(--text-dim); }
.field input, .field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .8rem .95rem;
  color: var(--text);
  font: inherit;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(217, 180, 138, .18);
}

.form-status { min-height: 1.2em; font-size: .88rem; margin: .75rem 0 0; }
.form-status[data-state="ok"] { color: var(--accent); }
.form-status[data-state="error"] { color: #b3564a; }

.scheduler-card { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.scheduler-card .btn { margin-top: .5rem; }
.scheduler-note { font-size: .88rem; margin-top: .75rem; margin-bottom: 0; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .85rem;
  color: var(--text-dim);
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .tabs, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Reflow into a wrapped panel below the brand/toggle row when open — no
     absolute positioning, so it can't drift out of sync with tab count or
     font-size changes. */
  .nav.is-open .nav-inner { flex-wrap: wrap; }
  .nav.is-open .brand { order: 1; }
  .nav.is-open .nav-toggle { order: 2; }
  .nav.is-open .tabs {
    order: 3;
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem 0;
  }
  .nav.is-open .nav-cta {
    order: 4;
    flex: 1 1 100%;
    display: inline-flex;
    margin: 0 1.5rem 1.5rem;
  }
  .timeline { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: .9rem; }
}

/* --- Visual polish: grain, glow, shimmer, hover motion --- */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .045;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Slow drift on the hero photo as the pointer moves across it. */
.hero-media { transition: transform .5s cubic-bezier(.2,.7,.3,1); will-change: transform; }
.hero-media img { transform: scale(1.06); }

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
  background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 50%), rgba(201, 138, 125, .18), transparent 72%);
}

.grad-text {
  background-size: 200% auto;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.portrait-card { position: relative; }
.portrait-card img { transition: transform .8s cubic-bezier(.16,.7,.2,1); }
.portrait-card:hover img { transform: scale(1.055); }
.portrait-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .2));
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.portrait-card:hover::after { opacity: 1; }

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg);
  transition: left .65s ease;
}
.btn-primary:hover::before { left: 130%; }

.card, .timeline-step {
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card::before, .timeline-step::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(220px circle at 50% 0%, rgba(201, 138, 125, .1), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.card:hover::before, .timeline-step:hover::before { opacity: 1; }
.timeline-step:hover { transform: translateY(-4px); border-color: rgba(201, 138, 125, .4); }

@media (prefers-reduced-motion: reduce) {
  .grad-text { animation: none; }
  .portrait-card img { transition: none; }
}
