/* ==========================================================================
   Skin by Soph — styles
   Mobile first. Breakpoints: 640px (tablet), 900px (desktop).
   ========================================================================== */

:root {
  /* Brand palette, taken from Soph's emblem */
  --wine: #6E2A36;           /* buttons, prices, active states */
  --dusty-rose: #A0726D;     /* accents: icons, lash line, italic headings, borders of outline buttons */
  --blush: #F4E6E2;          /* section backgrounds (the emblem's rose wall, lightened) */
  --petal: #E1CAC6;          /* light accent on the dark footer */
  --petal-deep: #BA8B82;     /* link underlines on the dark footer */
  --cream: #FBF6F4;          /* page background */
  --ink: #3B1317;            /* body text, footer (the emblem's darkest wine) */
  --mauve: #875453;          /* secondary text, button hover */
  --line: #E8D3CE;           /* borders */
  --white: #FFFFFF;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 12px;
  --gutter: 20px;
  --max: 1120px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration-color: var(--dusty-rose); text-underline-offset: 3px; }
a:hover { color: var(--mauve); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.6rem, 11vw, 5.25rem); }
h2 { font-size: clamp(2rem, 7vw, 3rem); }
h3 { font-size: 1.6rem; }
h1 em, h2 em { font-style: italic; color: var(--dusty-rose); }

p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Small caps label above headings */
.eyebrow {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mauve);
  margin: 0 0 .9rem;
  font-weight: 500;
}

.lede { font-size: 1.15rem; color: var(--mauve); max-width: 36rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px;
  padding: .75rem 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: var(--white);
  font: 500 1rem/1.2 var(--sans);
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--mauve); border-color: var(--mauve); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--dusty-rose); }
.btn--ghost:hover { background: var(--blush); color: var(--ink); border-color: var(--dusty-rose); }
.btn--lg { min-height: 58px; padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 244, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.logo em { color: var(--dusty-rose); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.logo--footer { flex-direction: column; align-items: flex-start; gap: 12px; }
.logo--footer .logo-mark { width: 96px; height: 96px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 999px;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a:not(.btn) {
  display: block; padding: 14px 0;
  font-family: var(--serif); font-size: 1.5rem;
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.site-nav a[aria-current="page"]:not(.btn) { color: var(--wine); font-style: italic; }
.site-nav .btn { margin-top: 20px; width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: block; position: static; padding: 0; border: 0; background: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 28px; }
  .site-nav li a:not(.btn) {
    padding: 6px 0; border: 0;
    font-family: var(--sans); font-size: .95rem; letter-spacing: .03em;
  }
  .site-nav li a:not(.btn):hover { text-decoration: underline; }
  .site-nav .btn { margin: 0; width: auto; min-height: 42px; padding: .55rem 1.4rem; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--blush { background: var(--blush); }
.section-head { margin-bottom: 36px; max-width: 40rem; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

@media (min-width: 900px) { .section { padding: 104px 0; } }

/* Flower divider between sections */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 8px var(--gutter);
}
.divider::before, .divider::after {
  content: ""; height: 1px; width: min(28vw, 180px); background: var(--line);
}
.divider svg { width: 18px; height: 18px; flex: none; color: var(--dusty-rose); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 72px;
  text-align: center;
}
.hero .wrap, .page-hero .wrap, .soon .wrap { position: relative; z-index: 1; }
.hero-emblem {
  display: block; width: 190px; height: 190px; margin: 0 auto 22px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(59, 19, 23, .22);
}
.hero h1 { margin-bottom: .1em; }
.hero h1 .line { display: block; }
.hero .lede { margin: 18px auto 30px; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* Signature: the lash line that sits under the headline */
.lash-line {
  display: block; width: min(78vw, 420px); height: auto;
  margin: 6px auto 0; color: var(--dusty-rose);
}
.lash-line path { fill: none; stroke: currentColor; stroke-linecap: round; }
.lash-line .lid { stroke-width: 2.2; }
.lash-line .lash { stroke-width: 1.4; }

@media (prefers-reduced-motion: no-preference) {
  .lash-line .lid { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 1.4s .2s ease-out forwards; }
  .lash-line .lash { opacity: 0; animation: lash-in .5s ease-out forwards; animation-delay: calc(1.1s + var(--i) * 45ms); }
  .hero .lede, .hero-actions { opacity: 0; animation: rise .8s 1.2s ease-out forwards; }
  .hero-emblem { animation: rise .9s ease-out both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes lash-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.flower { position: absolute; pointer-events: none; height: auto; }
.flower--tl { top: -34px; left: -38px; width: 150px; transform: rotate(-12deg); }
.flower--br { bottom: -56px; right: -48px; width: 150px; transform: rotate(18deg); }
.flower--sm { width: 84px; }
.flower--tr { top: 28px; right: 18px; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 120px; }
  .hero-emblem { width: 260px; height: 260px; margin-bottom: 28px; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .flower--tl { width: 240px; top: -40px; left: -30px; }
  .flower--br { width: 280px; bottom: -60px; right: -20px; }
  .flower--tr { top: 60px; right: 12%; }
}

.page-hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.page-hero h1 { font-size: clamp(2.4rem, 10vw, 4.25rem); }
@media (min-width: 900px) { .page-hero { padding: 88px 0 56px; } }

/* ---------- Cards / services grid ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid { gap: 24px; }
}
@media (min-width: 640px) and (max-width: 899px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.card h3 { margin-bottom: .3em; }
.card p { color: var(--mauve); margin: 0; }
.card .icon { width: 56px; height: 36px; color: var(--dusty-rose); margin-bottom: 18px; }
.card .icon path, .card .icon circle { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.center { text-align: center; }
.after-grid { margin-top: 36px; text-align: center; }

/* ---------- Service menu (Services page) ---------- */
.menu { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.menu-item h3 { margin: 0; font-size: 1.75rem; }
.menu-item .price { font-family: var(--serif); font-size: 1.75rem; color: var(--wine); align-self: start; }
.menu-item p { grid-column: 1 / -1; margin: 4px 0 0; color: var(--mauve); max-width: 38rem; }
.menu-item .meta {
  grid-column: 1 / -1; margin-top: 8px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tag {
  display: inline-block; padding: 3px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; color: var(--mauve); background: var(--white);
}

.menu-group + .menu-group { margin-top: 56px; }
.menu-group > h2 { font-size: clamp(1.75rem, 6vw, 2.25rem); }

.card-price { margin-top: 14px !important; font-family: var(--serif); font-size: 1.5rem; color: var(--wine) !important; }
.grid-note { text-align: center; color: var(--mauve); margin: 28px auto 0; max-width: 34rem; }

/* Mobile service + policies (Services page) */
.mobile { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .mobile { grid-template-columns: 1fr 1fr; gap: 64px; } }
.fees { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fees th, .fees td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.fees tr:last-child td { border-bottom: 0; }
.fees th { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--mauve); }
.fees td:last-child, .fees th:last-child { text-align: right; }
.fees td:last-child { font-family: var(--serif); font-size: 1.3rem; color: var(--wine); }
.policies { list-style: none; margin: 0; padding: 0; max-width: 44rem; }
.policies li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; }
.policies svg { width: 14px; height: 14px; flex: none; margin-top: 7px; color: var(--dusty-rose); }

/* ---------- Coming soon / waitlist ---------- */
.soon { position: relative; overflow: hidden; }
.soon-card {
  position: relative; z-index: 1;
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 24px;
}
.soon-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}

.waitlist { display: flex; flex-direction: column; gap: 10px; max-width: 460px; margin: 0 auto; text-align: left; }
.waitlist label { font-size: .95rem; font-weight: 500; }
.field {
  width: 100%; min-height: 50px;
  padding: .75rem 1.25rem;
  border: 1px solid var(--dusty-rose);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem var(--sans);
}
.field::placeholder { color: #8F6663; }
.field:focus-visible { outline-offset: 2px; }
.waitlist-row { display: flex; flex-direction: column; gap: 10px; }
.form-note { font-size: .9rem; color: var(--mauve); margin: 4px 0 0; }
.hp { display: none; }
@media (min-width: 640px) {
  .waitlist-row { flex-direction: row; }
  .waitlist-row .field { flex: 1; }
}

/* ---------- Photos ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.photo-grid img, .photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--blush); border: 1px solid var(--line); }
@media (min-width: 900px) { .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* Real work: before/after pair + studio shot */
.work { display: grid; gap: 16px; align-items: start; max-width: 980px; margin: 0 auto; }
@media (min-width: 900px) { .work { grid-template-columns: 3fr 2fr; gap: 24px; } }
.pair { margin: 0; display: grid; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.pair-shot { position: relative; }
.pair-shot img { width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; border-radius: 8px; }
.pair figcaption, .studio-shot figcaption { padding: 4px 6px 2px; font-size: .95rem; color: var(--mauve); }
.pair figcaption strong { color: var(--ink); font-weight: 500; }
.studio-shot { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.studio-shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.portrait--emblem { aspect-ratio: 1 / 1 !important; border-radius: 50% !important; border: 0 !important; max-width: 420px; margin: 0 auto; }

/* ---------- About ---------- */
.about { display: grid; gap: 36px; align-items: start; }
.about .portrait { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 6fr; gap: 64px; } }

.cert-list { list-style: none; padding: 0; margin: 0; }
.cert-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.cert-list li:first-child { border-top: 1px solid var(--line); }
.cert-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--dusty-rose); }
.cert-list strong { display: block; font-weight: 500; }
.cert-list span { color: var(--mauve); font-size: .95rem; }

.pull {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.25;
  color: var(--ink); margin: 0 0 1.2em;
  padding-left: 18px; border-left: 2px solid var(--dusty-rose);
}

/* ---------- Gallery ---------- */
.filters {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 2px 2px 12px; margin: 0 0 20px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; min-height: 42px; padding: .5rem 1.2rem;
  border: 1px solid var(--dusty-rose); border-radius: 999px;
  background: var(--white); color: var(--ink);
  font: 400 .95rem var(--sans); cursor: pointer;
}
.filter[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--white); }

.ba-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .ba-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .ba-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.ba { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.ba[hidden] { display: none; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba-pair div { position: relative; }
.ba-pair img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; width: 100%; background: var(--blush); }
.ba-label {
  position: absolute; left: 8px; bottom: 8px;
  background: rgba(251, 246, 244, .92); color: var(--ink);
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 10px; border-radius: 999px;
}
.ba figcaption { padding: 12px 6px 4px; font-size: .95rem; color: var(--mauve); }
.ba figcaption strong { color: var(--ink); font-weight: 500; }

/* ---------- Aftercare & FAQ ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--dusty-rose);
  min-width: 1.2ch;
}
.steps h3 { font-size: 1.35rem; margin: 0; }
.steps p { margin: 0; color: var(--mauve); }

.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; min-height: 48px;
  font-family: var(--serif); font-size: 1.4rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 1.5px solid var(--wine); border-bottom: 1.5px solid var(--wine);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .answer { padding: 0 0 22px; color: var(--mauve); max-width: 42rem; }

/* ---------- Book ---------- */
.book-panel {
  position: relative; overflow: hidden;
  text-align: center;
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 22px;
}
.book-panel .btn { position: relative; z-index: 1; }
.book-notes { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 900px) { .book-notes { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--blush); padding: 56px 0 32px; }
.site-footer a { color: var(--blush); text-decoration-color: var(--petal-deep); }
.site-footer a:hover { color: var(--white); }
.site-footer .logo { color: var(--white); }
.site-footer .logo em { color: var(--petal); }
.footer-grid { display: grid; gap: 32px; }
.footer-grid h2 {
  font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--petal); margin: 0 0 12px; font-weight: 500;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 4px 0; }
.footer-grid address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(251, 234, 240, .2); margin-top: 40px; padding-top: 20px; font-size: .9rem; color: var(--petal); }
.site-footer :focus-visible { outline-color: var(--white); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
