/* Lashes by Sophia */

/* Self-hosted, latin subset. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --porcelain: #FBF6F4;
  --shell: #F8E6E3;
  --blush: #F4D4D5;
  --ink: #2B1E1C;
  --muted: #6E615D;
  --rose: #B3305C;
  --rose-deep: #93244A;
  --rule: #EADDD8;
  --rule-strong: #D9C6BF;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --header: 4.25rem;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.75rem;
  line-height: 1.15;
}

a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 34rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--porcelain);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

/* Read by screen readers and search engines, not shown. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--rose-deep); }
.btn:active { transform: translateY(1px); }
.btn-small {
  min-height: 2.5rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
}
.btn-light { background: var(--blush); color: var(--ink); }
.btn-light:hover { background: #fff; }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--rule-strong);
  transition: text-decoration-color 0.2s ease;
}
.text-link:hover { text-decoration-color: var(--rose); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 245, 244, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header);
}
/* Sophia's signature, traced from her card and cleaned up. */
.wordmark {
  display: flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
.wordmark-sig {
  display: block;
  height: 3.9rem;
  aspect-ratio: 2182 / 793;
  background: currentColor;
  -webkit-mask: url("/img/jala-signature-bold.svg?v=2") center / contain no-repeat;
  mask: url("/img/jala-signature-bold.svg?v=2") center / contain no-repeat;
}
/* Only there to keep the nav out of search snippets; it doesn't affect layout. */
.header-tools { display: contents; }
.nav { margin-left: auto; }
.nav-list {
  display: flex;
  gap: 1.75rem;
}
.nav-list a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.975rem;
  padding: 0.4rem 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.25s ease;
}
.nav-list a:hover { background-size: 100% 1px; }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .header-inner { gap: 0.75rem; }
  .wordmark-sig { height: 3.2rem; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    background: transparent;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
  }
  .nav-list {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--porcelain);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 30px -24px rgba(43, 30, 28, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .nav-list.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-list li + li { border-top: 1px solid var(--rule); }
  .nav-list a {
    display: block;
    padding: 0.85rem 0;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.65rem;
    background: none;
  }
}

/* Hero */

.hero {
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  min-height: min(calc(100svh - var(--header) - 4rem), 760px);
}
.hero h1 {
  font-size: clamp(3.5rem, 7.6vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  max-width: 9ch;
  margin-bottom: 1.75rem;
}
.hero .lead { color: var(--ink); margin-bottom: 2rem; }
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.hero-eye {
  position: relative;
  margin-right: calc(var(--gutter) * -0.5);
}
.hero-eye::before {
  content: "";
  position: absolute;
  inset: 4% 6% 10%;
  background: radial-gradient(closest-side, rgba(245, 214, 212, 0.35), rgba(245, 214, 212, 0));
  z-index: -1;
}
.hero-eye canvas {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
}
.hero-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 1.6em;
  margin-top: 0.25rem;
}
.hero-caption span {
  display: inline-block;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.hero-caption span.is-out { opacity: 0; transform: translateY(4px); }
.replay {
  margin-left: 0.6rem;
  padding: 0.25rem 0.2rem;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.3em;
  cursor: pointer;
}
.replay:hover { text-decoration-color: var(--rose); }
.hero-eye canvas { cursor: pointer; }

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0.5rem;
  }
  .hero h1 { max-width: 11ch; margin-bottom: 1.25rem; }
  .hero .lead { font-size: 1.125rem; margin-bottom: 1.5rem; }
  .hero-eye { margin-right: 0; order: 2; }
  .hero-copy { order: 1; }
}

/* Set builder */

.sets {
  background: var(--shell);
  padding-block: var(--section);
}
.sets-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas:
    "head head"
    "stage controls";
  gap: 2.5rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.sets-head { grid-area: head; max-width: 44rem; }
.sets-head h2 { margin-bottom: 1rem; }
.sets-head p { color: var(--muted); font-size: 1.125rem; }

.sets-stage {
  grid-area: stage;
  position: sticky;
  top: calc(var(--header) + 1.5rem);
}
.sets-stage canvas {
  display: block;
  width: 100%;
  aspect-ratio: 800 / 580;
  background: var(--porcelain);
  border-radius: 50% 50% 18px 18px / 36% 36% 18px 18px;
}
.map-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

.sets-controls {
  grid-area: controls;
  display: grid;
  gap: 1.5rem;
}
legend {
  padding: 0;
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.options label { position: relative; cursor: pointer; }
.options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.options span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  font-size: 0.975rem;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.options label:hover span { border-color: var(--ink); }
.options input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--porcelain);
}
.options input:focus-visible + span {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.set-summary {
  margin-top: 0.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-strong);
}
.set-summary h3 {
  font-size: 2.05rem;
  margin-bottom: 0.6rem;
}
.set-summary > p {
  color: var(--muted);
  min-height: 4.8em;
}
.set-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0.25rem 2rem;
  margin: 1.25rem 0 1.75rem;
}
.set-facts dt {
  font-size: 0.85rem;
  color: var(--muted);
}
.set-facts dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .sets-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "stage" "controls";
    gap: 1.75rem;
  }
  /* Keep the eye in view while the options scroll underneath it. */
  .sets-stage {
    top: var(--header);
    z-index: 2;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.75rem var(--gutter) 0.5rem;
    background: var(--shell);
  }
  .sets-stage canvas { max-width: 30rem; margin-inline: auto; }
  .map-note { margin-top: 0.4rem; font-size: 0.8rem; }
}
@media (max-width: 520px) {
  .set-facts { grid-template-columns: repeat(2, auto); }
}

/* Brows */

.brows { padding-block: var(--section); }
.brows-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.brows-stage canvas {
  display: block;
  width: 100%;
  aspect-ratio: 840 / 700;
  touch-action: pan-y;
}
.brows-copy h2 { margin-bottom: 1rem; }
.brows-intro {
  color: var(--muted);
  font-size: 1.125rem;
  margin-bottom: 1.75rem;
}
.brow-controls { margin-bottom: 1.1rem; }
.brow-state { min-height: 3.2em; margin-bottom: 0.75rem; }
.brow-hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) {
  .brows-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .brows-copy { order: -1; }
  .brow-state { min-height: 0; }
}

/* Section heads */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head p {
  color: var(--muted);
  max-width: 30rem;
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
}

/* Work */

.work { padding-block: var(--section); }

/* Lookbook: one set at a time, with round close-ups to switch. */
.look {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem) clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.look-stage {
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: 28px;
  overflow: hidden;
  background: var(--shell);
  touch-action: pan-y;
}
.look-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 1.2s ease, visibility 0s 0.6s;
  visibility: hidden;
}
.look-slide.is-on {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity 0.6s ease, transform 1.2s ease;
}
/* 2:1 keeps both eyes in frame even in the widest photos; each photo's crop is set in the HTML. */
.look-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.look-count {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.look-title {
  margin: 0.4rem 0 0.9rem;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.05;
}
.look-desc {
  min-height: 4.8em;
  margin: 0 0 1.4rem;
  color: var(--muted);
}
.look-thumbs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.look-thumb {
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--shell);
  cursor: pointer;
  opacity: 0.55;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: opacity 0.25s, outline-color 0.25s;
}
.look-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.9);
}
.look-thumb:hover,
.look-thumb[aria-pressed="true"] { opacity: 1; outline-color: var(--rose); }
.look-thumb:focus-visible { opacity: 1; outline: 2px solid var(--ink); }

@media (max-width: 800px) {
  .look { grid-template-columns: minmax(0, 1fr); }
  .look-stage { border-radius: 20px; }
  .look-copy { order: 2; }
  .look-thumbs { order: 1; gap: 0.6rem; justify-content: space-between; }
  .look-thumb { width: clamp(2.75rem, 13vw, 4rem); height: clamp(2.75rem, 13vw, 4rem); }
  .look-desc { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .look-slide, .look-slide.is-on { transform: none; transition: none; }
}

/* Prices: service cards */

.prices {
  padding-block: var(--section);
  border-top: 1px solid var(--rule);
}
.price-group + .price-group { margin-top: clamp(2.75rem, 5vw, 4rem); }
.price-group h3 {
  font-size: 2.1rem;
  margin-bottom: 1.1rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.service {
  --lift: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFDFC;
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(var(--lift));
  box-shadow: 0 1px 2px rgba(43, 30, 28, 0.04);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease;
}
@media (hover: hover) {
  .service:hover {
    --lift: -8px;
    border-color: var(--rule-strong);
    box-shadow: 0 26px 44px -26px rgba(43, 30, 28, 0.42), 0 3px 8px rgba(43, 30, 28, 0.05);
  }
}
.service:has(.service-open:focus-visible) {
  --lift: -8px;
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}
.service.is-origin { visibility: hidden; }

.swatch {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 3;
  background: var(--shell);
}
.service-plus {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 0.75rem 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 0.75rem no-repeat,
    rgba(255, 253, 252, 0.9);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease;
}
@media (hover: hover) {
  .service:hover .service-plus { transform: rotate(90deg); }
}
.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.15rem 1.05rem;
}
.service-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.4rem;
  text-wrap: balance;
}
.service-open {
  all: unset;
  cursor: pointer;
}
.service-open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.service-desc {
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.45;
  margin-bottom: 0;
}
.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.9rem;
}
.service-time {
  color: var(--muted);
  font-size: 0.875rem;
}
.service-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}

/* Phones: each group becomes a swipeable row. */
@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 18rem);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.25rem var(--gutter) 0.75rem;
    scrollbar-width: none;
  }
  .service-grid::-webkit-scrollbar { display: none; }
  .service { scroll-snap-align: start; }
}

/* Expanded service */

html.modal-open { overflow: hidden; }
html { scrollbar-gutter: stable; }

.service-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(0.75rem, 4vw, 2.5rem);
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.service-dialog[open] { display: grid; }
.service-dialog::backdrop {
  background: rgba(43, 30, 28, 0.46);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: sd-fade 0.4s ease both;
}
.service-dialog.is-closing::backdrop { animation: sd-fade 0.35s ease reverse both; }
@keyframes sd-fade { from { opacity: 0; } to { opacity: 1; } }

.sd-panel {
  position: relative;
  margin: auto;
  width: min(1000px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
  background: var(--porcelain);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(20, 12, 10, 0.6);
  transform-origin: 50% 50%;
}
.sd-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--shell);
}
.sd-stage canvas {
  display: block;
  width: 100%;
  aspect-ratio: var(--sd-aspect, 800 / 580);
  touch-action: pan-y;
}
.sd-demo {
  margin: -0.25rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.sd-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
}
.sd-photo figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.sd-body {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 3rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}
.sd-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.02;
  margin-bottom: 0.9rem;
  padding-right: 2.5rem;
}
.sd-meta {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--rule);
}
.sd-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.sd-time { color: var(--muted); }
.sd-detail > p { font-size: 1.075rem; }
.sd-detail ul { display: grid; gap: 0.55rem; margin-top: 1.2rem; }
.sd-detail li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}
.sd-detail li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.62em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--rose);
}
.sd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: auto;
  padding-top: 2rem;
}
.sd-back {
  border: 0;
  background: none;
  padding: 0.4rem 0;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.3em;
}
.sd-back:hover { text-decoration-color: var(--rose); }
.sd-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: rgba(255, 253, 252, 0.9);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sd-close:hover { transform: rotate(90deg); }
.sd-close svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
}

@media (max-width: 760px) {
  .sd-panel { grid-template-columns: 1fr; border-radius: 22px; }
  .sd-visual { padding: 1rem 1rem 0.75rem; }
  .sd-photo { display: none; }
  .sd-body { padding: 1.5rem 1.25rem 1.5rem; }
  .sd-title { padding-right: 0; }
  .sd-actions .btn { flex: 1; }
}

/* About */

.about {
  background: var(--ink);
  color: var(--porcelain);
  padding-block: var(--section);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 0 0;
}
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy .lead { margin-bottom: 1.25rem; }
.about-copy p:not(.lead) {
  color: rgba(251, 245, 244, 0.78);
  max-width: 34rem;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 26rem; }
}

/* Appointment steps */

.visit { padding-block: var(--section); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem clamp(1.25rem, 3vw, 2.5rem);
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 4rem;
  line-height: 1;
  color: var(--rose);
  margin-bottom: 1.25rem;
}
.steps h3 { margin-bottom: 0.5rem; }
.steps p { color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* FAQ */

.faq {
  padding-block: 0 var(--section);
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2rem 3rem;
  align-items: start;
}
.faq-list details {
  border-top: 1px solid var(--rule-strong);
}
.faq-list details:last-child { border-bottom: 1px solid var(--rule-strong); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat;
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  color: var(--muted);
  max-width: 40rem;
  padding-bottom: 1.4rem;
}
@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* Booking */

.book {
  background: var(--ink);
  color: var(--porcelain);
  padding-block: var(--section);
}
.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.book-intro h2 { margin-bottom: 1.5rem; }
.book-intro .lead { margin-bottom: 1.25rem; }
.book-intro p:not(.lead) { color: rgba(251, 245, 244, 0.75); max-width: 30rem; }

.book-contact {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(251, 245, 244, 0.18);
  border-radius: 24px;
}
.book-label {
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
}
.book-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.75rem;
}
.book-actions .btn { padding-inline: 1rem; }
.btn-icon {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-right: 0.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-outline {
  background: transparent;
  color: var(--porcelain);
  box-shadow: inset 0 0 0 1px rgba(251, 245, 244, 0.4);
}
.btn-outline:hover {
  background: rgba(251, 245, 244, 0.08);
  box-shadow: inset 0 0 0 1px var(--porcelain);
}
.book :focus-visible { outline-color: var(--blush); }
.book-picked {
  margin: 1.25rem 0 0;
  color: var(--blush);
  font-size: 0.95rem;
}
.book-picked[hidden] { display: none; }
.book-alt {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(251, 245, 244, 0.14);
  color: rgba(251, 245, 244, 0.75);
}
/* With no phone number set, Instagram is the only way in. */
.book-contact > .book-alt:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.book .text-link { color: var(--porcelain); text-decoration-color: rgba(251, 245, 244, 0.4); }

@media (max-width: 860px) {
  .book-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .book-actions { grid-template-columns: 1fr; }
}
/* Text and call need a phone, and the number isn't on the page to copy, so computers get WhatsApp only. */
@media (hover: hover) and (pointer: fine) {
  .book-actions [data-contact="sms"], .book-actions [data-contact="tel"] { display: none; }
  .book-actions { grid-template-columns: minmax(0, 18rem); }
}

/* Footer: her logo on a watercolour wash, like her card */

.site-footer {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 2.5rem;
}
.brand-card {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.75rem, 5vw, 4rem);
  border-radius: 28px;
  background:
    linear-gradient(rgba(251, 246, 244, 0.22), rgba(251, 246, 244, 0.22)),
    url("/img/wash.webp") center / cover,
    var(--shell);
}
.brand-logo {
  width: 100%;
  max-width: 42rem;
  height: auto;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.05;
  margin-bottom: 0.6rem;
  letter-spacing: normal; /* it's an h2 now, which would otherwise tighten it */
}
.brand-line { max-width: 24rem; }
.brand-social { margin-bottom: 1.5rem; }
.brand-social a {
  font-weight: 600;
  text-underline-offset: 0.3em;
  text-decoration-color: rgba(43, 30, 28, 0.35);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-links a {
  font-weight: 500;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--rule-strong);
}
.footer-small {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}
@media (max-width: 760px) {
  .brand-card { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
