/*
 * Brand identity (InGlow Clinics Branding Presentation):
 * Roc Grotesk: wide and uppercase for headlines, normal width for all other text; Newsreader for longer reading.
 * Palette: #FFF9F0 cream · #F9EFD6 sand · #64515D mauve · #4B323C plum · #423742 ink.
 */
@font-face { font-family: "Roc Grotesk Wide"; font-weight: 300; font-display: swap; src: url("/assets/fonts/Roc_Grotesk_Wide_Light.otf") format("opentype"); }
@font-face { font-family: "Roc Grotesk Wide"; font-weight: 400; font-display: swap; src: url("/assets/fonts/Roc_Grotesk_Wide.otf") format("opentype"); }
@font-face { font-family: "Roc Grotesk Wide"; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/Roc_Grotesk_Wide_Medium.otf") format("opentype"); }
@font-face { font-family: "Roc Grotesk Extra Wide"; font-weight: 300; font-display: swap; src: url("/assets/fonts/Roc_Grotesk_ExtraWide_Light.otf") format("opentype"); }
@font-face { font-family: "Roc Grotesk Extra Wide"; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/Roc_Grotesk_ExtraWide.otf") format("opentype"); }
@font-face { font-family: "Roc Grotesk"; font-weight: 300; font-display: swap; src: url("/assets/fonts/Roc_Grotesk_Light.otf") format("opentype"); }
@font-face { font-family: "Roc Grotesk"; font-weight: 400; font-display: swap; src: url("/assets/fonts/Roc_Grotesk_Regular.otf") format("opentype"); }
@font-face { font-family: "Roc Grotesk"; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/Roc_Grotesk_Medium.otf") format("opentype"); }
@font-face { font-family: "Estedad"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/Estedad.ttf") format("truetype"); }
/* The brand's signature script, used only for "the beauty within" (demo version: check the licence before launch) */
@font-face { font-family: "Taken by Vultures Alternates"; font-display: swap; src: url("/assets/fonts/TakenByVultures-Alternates-Demo.otf") format("opentype"); }
@font-face { font-family: "Newsreader"; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/Newsreader.ttf") format("truetype"); }

:root {
  --plum: #4b323c;
  --plum-deep: #423742;
  --mauve: #64515d;
  --mauve-light: #8c7985;
  --mute: #6f6068;
  --ink: #423742;
  --cream: #fff9f0;
  --sand: #f9efd6;
  --line: #ede4cf;
  --error: #a3312a;
  --font-display: "Roc Grotesk Extra Wide", "Roc Grotesk Wide", "Helvetica Neue", Arial, sans-serif;
  /* Wide letters are for headlines only; all other text is Roc Grotesk at normal width */
  --font-wide: "Roc Grotesk Wide", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Roc Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
  --pad: clamp(16px, 2.2vw, 28px);
  --max: 1160px;
}

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

html {
  scroll-padding-top: 80px;
  /* Burgundy behind the page: shows when scrolling past the top or bottom on phones */
  background: var(--plum);
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--plum-deep);
  /* Burgundy page background: iPhone Safari colours the strip behind the clock and notch from it.
     The header and page content have their own cream background. */
  background: var(--plum);
  -webkit-font-smoothing: antialiased;
  /* The page runs under the phone's status bar (viewport-fit=cover); keep content clear of it and of side notches */
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
}

/* On the home page the photo itself runs up behind the clock and notch (wherever the phone lets the page draw there) */
body.is-home {
  padding-top: 0;
}

body.is-home::before {
  display: none;
}

/* Burgundy behind the phone's clock, notch and battery; Safari also takes its top bar colour from it */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--plum);
  z-index: 1000;
}

main {
  flex: 1;
  background: var(--cream);
}

/* The page body is focused after each page change (for screen readers); it needs no focus ring */
main:focus,
main:focus-visible {
  outline: none;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 { font-size: clamp(24px, 3.2vw, 42px); }
h2 { font-size: clamp(17px, 1.9vw, 24px); font-weight: 400; }
h3 { font-size: 15px; font-weight: 400; }

strong { font-weight: 500; }

small {
  display: block;
  font-size: 12px;
  color: var(--mute);
}

.muted { color: var(--mute); }
.center { text-align: center; }
.right { text-align: right; }

.skip {
  position: absolute;
  left: -999px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--cream);
  color: var(--plum);
}

.skip:focus {
  left: 8px;
  top: 8px;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow a { text-decoration: none; }

/* ---------- Top menu ---------- */

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: var(--pad);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--cream);
}

.nav a {
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: underline;
}

.nav__logo { justify-self: start; }

.nav__logo span {
  display: block;
  width: 119px;
  height: 34px;
  background: currentColor;
  -webkit-mask: url("/assets/logo.png") center / contain no-repeat;
  mask: url("/assets/logo.png") center / contain no-repeat;
}

.nav__links {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
}

/* Book Appointment: an outlined pill */
.nav a.nav__book {
  padding: 9px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a.nav__book:hover,
.nav a.nav__book[aria-current="page"] {
  text-decoration: none;
  background: var(--plum);
  border-color: var(--plum);
  color: var(--cream);
}

.is-home .nav a.nav__book:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--plum);
}

/* Cart: a bag icon, with the number of items in a small badge */
.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav__cart svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linejoin: round;
}

.nav__cart #cart-count {
  position: absolute;
  top: -6px;
  right: -9px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--cream);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0;
  text-align: center;
}

.is-home .nav__cart #cart-count {
  background: var(--cream);
  color: var(--plum);
}

.nav__cart #cart-count:empty {
  display: none;
}

.nav a.nav__cart:hover,
.nav a.nav__cart[aria-current="page"] {
  text-decoration: none;
  opacity: 0.75;
}

.nav__actions {
  align-items: center;
  display: flex;
  justify-self: end;
  gap: clamp(14px, 2vw, 24px);
}

/* On the home page the menu sits over the hero, in cream */
.is-home .nav {
  position: absolute;
  inset: 0 0 auto;
  top: env(safe-area-inset-top, 0px);
  z-index: 2;
  color: var(--cream);
  background: transparent;
  border-bottom: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--cream);
  color: var(--plum);
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(47, 38, 48, 0.25);
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.btn--plum {
  background: var(--plum);
  color: var(--cream);
}

.btn--line {
  background: transparent;
  border-color: var(--plum);
  color: var(--plum);
}

.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--mute);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

/* Every way to book an appointment is a pill: buttons keep their fill, links become outlined pills */
a.btn[href^="/book"],
.booking__confirm,
.ed .booking__confirm {
  border-radius: 999px;
}

a.pill {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

a.pill:hover {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--cream);
}

.is-home main a.pill:hover,
.split-panel__dark a.pill:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--plum);
}

.pill--spaced {
  margin-top: 22px;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(120px + env(safe-area-inset-top, 0px)) var(--pad) var(--pad);
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--mauve) url("/assets/hero.webp") center / cover no-repeat;
}

/* One even tint over the photo so the menu and headline stay readable */
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(47, 38, 48, 0.32);
}

.hero__content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(8px, 2vw, 24px);
}

.hero__copy {
  max-width: 760px;
}

.hero__copy h1 {
  margin: 0 0 20px;
  font-size: clamp(21px, 2.45vw, 38px);
  line-height: 1.18;
}

.hero__copy p:not(.eyebrow) {
  margin: 0 0 28px;
  max-width: 46ch;
  color: rgba(255, 249, 240, 0.9);
}

.hero__more {
  margin-left: 18px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Service gallery ---------- */

.services {
  --tile: clamp(180px, 15vw, 204px);
  --gap: 8px;
  /* Two and a half tiles: the cut-off third shows there is more to scroll */
  width: calc(var(--tile) * 2.5 + var(--gap) * 2);
  flex-shrink: 0;
  min-width: 0;
}

.services__controls {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 10px;
}

.services__controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 249, 240, 0.55);
  border-radius: 50%;
  background: rgba(255, 249, 240, 0.1);
  color: var(--cream);
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.2s ease, opacity 0.2s ease;
}

.services__controls button:hover:not(:disabled) {
  background: rgba(255, 249, 240, 0.22);
}

.services__controls button:disabled {
  opacity: 0.35;
  cursor: default;
}

.services__controls svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services__track {
  display: flex;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 14px;
}

.services__track::-webkit-scrollbar {
  display: none;
}

.services__track li {
  flex: 0 0 var(--tile);
  scroll-snap-align: start;
}

.service {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 16px;
  border: 1px solid rgba(255, 249, 240, 0.55);
  border-radius: 14px;
  background: rgba(255, 249, 240, 0.1);
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.2s ease;
}

.service:hover {
  background: rgba(255, 249, 240, 0.2);
}

/* Every second tile is a little more solid */
.services__track li:nth-child(even) .service {
  background: rgba(255, 249, 240, 0.24);
}

.services__track li:nth-child(even) .service:hover {
  background: rgba(255, 249, 240, 0.34);
}

.service__index {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.service h2 {
  margin: 0 0 8px;
  max-width: 84%;
  font-family: var(--font-wide);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.service p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  opacity: 0.85;
}

.service__price {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Page layout ---------- */

.page-head,
.section,
.narrow {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

.page-head {
  padding: clamp(40px, 7vw, 88px) 0 clamp(24px, 4vw, 48px);
  text-align: center;
}

.lead {
  max-width: 60ch;
  margin: 18px auto 0;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--mute);
}

.section {
  padding: clamp(32px, 5vw, 64px) 0;
}

.narrow {
  max-width: 720px;
  padding-bottom: clamp(32px, 5vw, 64px);
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section__head a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section__head small {
  display: inline;
  font-family: var(--font-sans);
  font-size: 12px;
}

.branches,
.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}

s {
  opacity: 0.6;
}

/* ---------- Share cards fan ---------- */

.fan {
  --w: clamp(150px, 22vw, 290px);
  position: relative;
  height: calc(var(--w) * 0.95);
  /* headroom for a card to jump up */
  margin: calc(var(--w) * 0.3) auto 0;
}

.fan__card {
  /* where each card sits in the hand: spread sideways, dipping and tilting towards the ends */
  --spread: translateX(calc(var(--i) * var(--w) * 0.44)) translateY(calc(var(--i) * var(--i) * var(--w) * 0.035));
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--w);
  margin-left: calc(var(--w) / -2);
  padding: 0;
  border: 0;
  border-radius: calc(var(--w) * 0.045);
  background: var(--mauve);
  box-shadow: 0 10px 28px rgba(47, 38, 48, 0.35);
  cursor: pointer;
  overflow: hidden;
  transform-origin: 50% 100%;
  transform: var(--spread) rotate(calc(var(--i) * 9deg));
  transition: transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1), box-shadow 0.3s ease, opacity 0.3s ease;
}

.fan__card img {
  display: block;
  width: 100%;
  aspect-ratio: 900 / 567;
  object-fit: cover;
}

.fan__card:hover,
.fan__card:focus-visible {
  transform: var(--spread) rotate(calc(var(--i) * 9deg)) translateY(-7%);
}

.fan__card:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* The chosen card jumps up, straightens a little and comes to the front */
.fan__card[aria-pressed="true"] {
  z-index: 2;
  transform: var(--spread) rotate(calc(var(--i) * 4deg)) translateY(-30%) scale(1.07);
  box-shadow: 0 22px 44px rgba(47, 38, 48, 0.5);
}

.fan.has-choice .fan__card[aria-pressed="false"] {
  opacity: 0.75;
}

.fan__details {
  margin-top: 28px;
}

.fan__hint {
  margin: 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.75;
}

.fan__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  max-width: 920px;
  margin: 0 auto;
  animation: fan-in 0.35s ease both;
}

@keyframes fan-in {
  from { opacity: 0; transform: translateY(10px); }
}

.fan__panel h3 {
  font-size: clamp(18px, 2vw, 24px);
}

.fan__panel h4 {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.fan__panel ul + h4 {
  margin-top: 22px;
}

.fan__text {
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.fan__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 22px;
}

.fan__buy a {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fan__buy .form__note {
  flex-basis: 100%;
}

/* Front and back of a share card, one over the other, with the card's own rounded corners */
.faces {
  position: relative;
  /* each card is 78% of the width; the stack is offset by the rest */
  aspect-ratio: 1 / 0.66;
  width: 100%;
}

.faces__card {
  position: absolute;
  width: 78%;
  padding: 0;
  border: 0;
  border-radius: 3.7% / 5.9%;
  background: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(47, 38, 48, 0.3);
  transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.3s ease;
}

.faces__card img {
  display: block;
  width: 100%;
  aspect-ratio: 85.6 / 53.98;
}

.faces__card--front {
  top: 0;
  left: 0;
  transform: rotate(-4deg);
}

.faces__card--back {
  right: 0;
  bottom: 0;
  transform: rotate(3deg);
}

/* whichever side is chosen sits on top; the one underneath lifts a little on hover */
.faces[data-top="back"] .faces__card--back,
.faces[data-top="front"] .faces__card--front {
  z-index: 2;
  cursor: default;
  box-shadow: 0 20px 40px rgba(47, 38, 48, 0.4);
}

.faces[data-top="back"] .faces__card--front:hover {
  transform: rotate(-6deg) translate(-2%, -4%);
}

.faces[data-top="front"] .faces__card--back:hover {
  transform: rotate(5deg) translate(2%, 4%);
}

.faces__card:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.faces__hint {
  margin: 14px 0 0;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0.7;
}

.fan__panel > .faces,
.fan__panel > .faces__hint {
  grid-column: 1 / -1;
  width: min(100%, 560px);
  margin-inline: auto;
}

.fan__panel > .faces__hint {
  margin-bottom: 12px;
}

/* ---------- Feature (bestselling package) ---------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: var(--sand);
}

.feature p:not(.eyebrow) {
  margin: 16px 0;
  color: var(--mute);
}

.feature .feature__price {
  font-size: 18px;
  color: var(--plum-deep);
}

/* ---------- Branches ---------- */

.branches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.branch {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.branch p {
  margin: 10px 0 0;
}

.branch .branch__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 18px;
  font-size: 14px;
}

/* ---------- Product page ---------- */

.product__price {
  margin: 12px 0 0;
  font-size: 20px;
}

.product__highlight {
  display: inline-block;
  margin: 14px 0 0;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--sand);
  font-weight: 500;
}

.ticks li {
  position: relative;
  padding: 5px 0 5px 18px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mauve-light);
}

/* ---------- Forms ---------- */

.form {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field small,
.field .muted {
  letter-spacing: 0;
  text-transform: none;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9cdb4;
  border-radius: 10px;
  background: #fff;
  color: var(--plum-deep);
  font: inherit;
  font-size: 16px; /* stops iOS zooming into fields */
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 0;
}

textarea {
  resize: vertical;
}

.form .btn {
  justify-self: start;
}

.form__note {
  margin: 0;
  font-size: 13px;
  color: var(--mute);
}

.form__error {
  margin: 0;
  color: var(--error);
  font-weight: 500;
}

.form__error:empty,
.form__note:empty {
  display: none;
}

/* ---------- Book Appointment (same steps as the app) ---------- */

.step {
  margin-bottom: 36px;
}

.step h2,
#details h2 {
  margin-bottom: 14px;
  font-size: 15px;
}

.step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step__note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--mute);
}

.step .field {
  margin-top: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip,
.slot,
.doctor,
.week__date,
.weeknav button {
  border: 1px solid #d9cdb4;
  background: #fff;
  color: var(--plum-deep);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.chip {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.chip:hover,
.slot:hover:not(:disabled),
.doctor:hover {
  border-color: var(--mauve-light);
}

.chip[aria-pressed="true"],
.slot[aria-pressed="true"],
.week__date[aria-pressed="true"] {
  border-color: var(--plum);
  background: var(--plum);
  color: var(--cream);
  font-weight: 600;
}

.doctors {
  display: grid;
  gap: 10px;
}

.doctor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  text-align: left;
}

.doctor[aria-checked="true"] {
  border-color: var(--plum);
  box-shadow: 0 0 0 1px var(--plum);
}

.doctor__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--plum);
  font-weight: 600;
}

.doctor__text {
  display: grid;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--mute);
}

.doctor__text strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--plum-deep);
}

.doctor__time {
  font-size: 13px;
  font-weight: 600;
  color: var(--plum);
  white-space: nowrap;
}

.weeknav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 11px;
}

.weeknav span {
  min-width: 9.5em;
  text-align: center;
  white-space: nowrap;
}

.step__head h2 {
  white-space: nowrap;
}

.weeknav button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.week__day {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--mute);
}

.week__date {
  width: 44px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  border-color: transparent;
  background: transparent;
  font-size: 15px;
}

.week__date:hover:not(:disabled),
.week__date.is-today:not([aria-pressed="true"]) {
  background: var(--sand);
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot {
  min-height: 46px;
  padding: 6px;
  border-radius: 12px;
  font-size: 12px;
}

.chip:disabled,
.slot:disabled,
.week__date:disabled,
.weeknav button:disabled {
  border-color: transparent;
  background: rgba(47, 38, 48, 0.04);
  color: rgba(111, 96, 104, 0.55);
  cursor: default;
}

.week__date:disabled {
  background: transparent;
}

.slot.is-taken {
  text-decoration: line-through;
}

.feature p:not([class]) {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

/* ---------- Staff inbox ---------- */

.table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}

tr:last-child td {
  border-bottom: 0;
}

td select {
  width: auto;
  padding: 6px 10px;
  font-size: 14px;
}

/* ==========================================================================
   Editorial pages: Services, Packages, product pages, About, Contact, Book,
   Cart, Checkout, Refund policy, Staff. Laid out after the brand presentation:
   plum bands with INGLOW / CLINICS in the corners, sand pages, hairline rules,
   roman numerals, framed photographs and split plum / sand panels.
   (Home and Share Cards keep their own layout above.)
   ========================================================================== */

.ed {
  --ed-pad: clamp(20px, 5vw, 72px);
  --rule: rgba(66, 55, 66, 0.22);
  background: var(--sand);
  color: var(--ink, #423742);
}

.ed a {
  text-underline-offset: 4px;
}

.label {
  margin: 0 0 18px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.label a {
  text-decoration: none;
}

.numeral {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.numeral--big {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1;
}

.serif {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

.serif--large {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.5;
}

.price {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arrow-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}

.arrow-link::after {
  content: "  →";
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ed .btn {
  padding: 17px 30px;
}

.ed .btn:not([href^="/book"]):not(.booking__confirm) {
  border-radius: 2px;
}

/* ---------- Masthead: the plum band that opens each page ---------- */

.mast,
.confirm {
  position: relative;
  padding: clamp(64px, 9vw, 120px) var(--pad) clamp(52px, 7vw, 92px);
  background: var(--plum);
  color: var(--cream);
  text-align: center;
}

.mast__corners {
  position: absolute;
  inset: 22px var(--pad) auto;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.8;
}

.mast__eyebrow {
  margin: 0 0 18px;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.8;
}

.mast h1,
.confirm h1 {
  font-weight: 400;
}

.mast__caption {
  margin: 18px 0 0;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- Band: a label column and a content column ---------- */

.band {
  display: grid;
  grid-template-columns: minmax(200px, 0.85fr) 2fr;
  gap: clamp(28px, 5vw, 88px);
  padding: clamp(48px, 7vw, 96px) var(--ed-pad);
  border-top: 1px solid var(--rule);
}

.band:first-child {
  border-top: 0;
}

.band--cream {
  background: var(--cream);
}

.band__label {
  align-self: start;
  position: sticky;
  top: calc(24px + env(safe-area-inset-top, 0px));
}

.band__label h2 {
  font-size: clamp(16px, 1.6vw, 21px);
}

.band__blurb {
  margin: 14px 0 0;
  max-width: 30ch;
}

.band__note {
  display: inline-block;
  margin: 14px 0 0;
  padding: 7px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.statement {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.35;
}

.statement--caps {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Services ---------- */

.index {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.index a {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: padding 0.25s ease;
}

.index a:hover {
  padding-left: 10px;
}

.index .numeral {
  font-size: 20px;
}

.index__count {
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.treatments {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2 240px;
  column-gap: 48px;
  border-top: 1px solid var(--rule);
}

.treatments li {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  break-inside: avoid;
}

/* ---------- Closing band ---------- */

.cta-band {
  padding: clamp(64px, 9vw, 120px) var(--pad);
  background: var(--plum);
  color: var(--cream);
  text-align: center;
}

.cta-band p {
  max-width: 46ch;
  margin: 18px auto 30px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
}

.cta-band h2 + .btn {
  margin-top: 30px;
}

/* ---------- Spreads: framed photograph beside text ---------- */

.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 104px);
  padding: clamp(48px, 7vw, 104px) var(--ed-pad);
  border-top: 1px solid var(--rule);
}

.spread:first-child {
  border-top: 0;
}

.spread--flip .frame {
  order: 2;
}

.spread__text h2 {
  font-size: clamp(18px, 2vw, 26px);
}

.spread__text h2 a {
  text-decoration: none;
}

.spread__text .serif {
  max-width: 48ch;
  margin: 20px 0 0;
}

/* A photograph set in a cream mount, like the brand's printed frames */
.frame {
  display: block;
  padding: clamp(8px, 1.1vw, 14px);
  background: var(--cream);
  box-shadow: 0 1px 0 var(--rule);
}

.frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--line);
}

#design {
  transition: opacity 0.25s ease;
}

#design.is-changing {
  opacity: 0.35;
}

/* Packages: the picture on its own, uncropped */
.frame--plain {
  padding: 0;
  background: none;
  box-shadow: none;
}

.frame--plain img {
  /* the posters are tall: keep each one within the screen's height */
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(82vh, 760px);
  margin: 0 auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: none;
}

.frame--portrait img {
  aspect-ratio: 4 / 5;
  object-position: 38% center;
}

.pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.pairs h3 {
  font-family: var(--font-wide);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.pairs p {
  margin: 8px 0 0;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}

.columns > div {
  padding-right: clamp(20px, 4vw, 48px);
}

.columns > div + div {
  padding: 0 0 0 clamp(20px, 4vw, 48px);
  border-left: 1px solid var(--rule);
}

.columns p:not(.label) {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* About: the photograph across the full width, shown whole */
.banner {
  display: block;
  width: 100%;
  height: auto;
}

.about-intro {
  padding: clamp(48px, 7vw, 100px) var(--ed-pad);
}

.about-intro .statement {
  max-width: 62ch;
}

.pairs--row {
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
}

.columns--first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ---------- Product page ---------- */

.buy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(40px, 6vw, 88px) var(--ed-pad);
}

.buy__media {
  position: sticky;
  top: calc(24px + env(safe-area-inset-top, 0px));
}

.buy__panel h1 {
  font-size: clamp(22px, 2.6vw, 34px);
}

.buy__panel > .serif {
  margin: 24px 0 0;
}

.buy__form {
  margin: 34px 0 0;
}

.buy__form fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.buy__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.buy__row .btn {
  flex: 1;
}

/* Choices as ruled rows rather than a dropdown */
.rows {
  border-top: 1px solid var(--rule);
}

.row-option {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.15s ease;
}

.row-option:hover {
  background: rgba(255, 249, 240, 0.6);
}

.row-option:has(input:checked) {
  background: var(--plum);
  color: var(--cream);
}

.row-option input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--plum);
}

.row-option__aside {
  justify-self: end;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: right;
  white-space: nowrap;
}

/* Branch addresses at checkout are long enough to wrap */
#checkout .row-option__aside {
  max-width: 55%;
  white-space: normal;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 2px;
}

.stepper button {
  width: 46px;
  height: 52px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
}

.stepper button:disabled {
  opacity: 0.35;
  cursor: default;
}

.stepper input {
  width: 44px;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  -moz-appearance: textfield;
}

.stepper input::-webkit-inner-spin-button,
.stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.stepper--small button {
  width: 34px;
  height: 34px;
}

.stepper--small span {
  min-width: 22px;
  text-align: center;
}

.detail {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}

.detail h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
  font-family: var(--font-wide);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.detail .numeral {
  font-size: 18px;
  letter-spacing: 0;
}

.detail p {
  margin: 0;
}

/* ---------- Forms on editorial pages: ruled lines, not boxes ---------- */

.ed .form {
  gap: 22px;
  margin: 0;
}

.ed .field input,
.ed .field select,
.ed .field textarea {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(66, 55, 66, 0.4);
  border-radius: 0;
  background: transparent;
}

.ed .field input:focus-visible,
.ed .field select:focus-visible,
.ed .field textarea:focus-visible {
  outline: 0;
  border-bottom-color: var(--plum);
  box-shadow: 0 1px 0 var(--plum);
}

.ed fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.ed .form .btn {
  justify-self: stretch;
}

/* Checkout: the one way to pay */
.pay-kashier {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--plum);
  background: rgba(255, 249, 240, 0.6);
}

.pay-kashier strong {
  font-weight: 500;
}

.pay-kashier span {
  font-size: 13px;
  color: var(--mute);
}

/* ---------- Plum ticket: order and booking summaries ---------- */

.ticket {
  align-self: start;
  position: sticky;
  top: calc(24px + env(safe-area-inset-top, 0px));
  padding: clamp(24px, 3vw, 40px);
  background: var(--plum);
  color: var(--cream);
}

.ticket ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticket li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 249, 240, 0.2);
}

.ticket li span:last-child {
  text-align: right;
  white-space: nowrap;
  opacity: 0.85;
}

.ticket small {
  color: inherit;
  opacity: 0.7;
}

.ticket__total {
  display: flex;
  justify-content: space-between;
  margin: 22px 0 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticket > .btn {
  display: block;
  margin-top: 26px;
  text-align: center;
}

.ticket .field input {
  border-bottom-color: rgba(255, 249, 240, 0.45);
  color: var(--cream);
}

.ticket .field input::placeholder {
  color: rgba(255, 249, 240, 0.5);
}

.ticket .field input:focus-visible {
  border-bottom-color: var(--cream);
  box-shadow: 0 1px 0 var(--cream);
}

.ticket .form__note {
  color: rgba(255, 249, 240, 0.75);
}

.ticket .form__error {
  color: #f3c2b8;
}

/* ---------- Cart and checkout ---------- */

.ledger {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(40px, 6vw, 88px) var(--ed-pad);
}

.lines {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.lines li {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  align-items: center;
  gap: 8px 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.lines .numeral {
  grid-row: span 2;
  font-size: 22px;
}

.lines__title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.lines__title small {
  margin-top: 4px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.lines__price {
  min-width: 96px;
  text-align: right;
}

.lines .link {
  grid-column: 2;
  justify-self: start;
}

.empty {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) var(--pad);
  text-align: center;
}

.empty .links {
  justify-content: center;
  gap: 24px;
}

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

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-panel__dark,
.split-panel__light {
  padding: clamp(48px, 7vw, 100px) var(--ed-pad);
}

.split-panel__dark {
  background: var(--plum);
  color: var(--cream);
}

.split-panel__dark .label:not(:first-child) {
  margin-top: 48px;
}

.branch-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.branch-entry {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}

.split-panel__dark .branch-entry {
  border-top-color: rgba(255, 249, 240, 0.2);
}

.branch-entry .numeral {
  font-size: 24px;
  line-height: 1;
}

.branch-entry h3 {
  font-family: var(--font-wide);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.branch-entry p {
  margin: 8px 0 0;
}

.branch-entry__hours {
  font-size: 12px;
  opacity: 0.75;
}

.branch-entry .links {
  margin-top: 14px;
}

/* ---------- Book appointment ---------- */

.booking {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(40px, 6vw, 88px) var(--ed-pad);
}

.booking__steps .step {
  margin: 0;
  padding: 30px 0;
  border-top: 1px solid var(--rule);
}

.booking__steps .step:first-child {
  padding-top: 0;
  border-top: 0;
}

.ed .chip,
.ed .slot,
.ed .doctor,
.ed .weeknav button {
  border-color: var(--rule);
  background: transparent;
}

.ed .chip,
.ed .slot {
  border-radius: 2px;
}

.ed .doctor {
  border-radius: 2px;
}

.ed .doctor__avatar {
  background: var(--cream);
}

.ed .doctor[aria-checked="true"],
.ed .chip[aria-pressed="true"],
.ed .slot[aria-pressed="true"],
.ed .week__date[aria-pressed="true"] {
  border-color: var(--plum);
  background: var(--plum);
  color: var(--cream);
  box-shadow: none;
}

.ed .doctor[aria-checked="true"] .doctor__text,
.ed .doctor[aria-checked="true"] .doctor__text strong,
.ed .doctor[aria-checked="true"] .doctor__time {
  color: var(--cream);
}

.ed .week__date {
  border-radius: 2px;
}

.ed .week__date:hover:not(:disabled),
.ed .week__date.is-today:not([aria-pressed="true"]) {
  background: var(--cream);
}

.booking__side .label:not(:first-child) {
  margin-top: 30px;
}

.booking__side #details {
  margin-top: 30px;
}

.booking__confirm {
  width: 100%;
}

/* ---------- Booking coming soon: the steps faded behind a WhatsApp notice ---------- */

.soon {
  position: relative;
  /* room for the notice even when the faded steps behind it are short */
  min-height: 860px;
}

.soon__preview {
  opacity: 0.28;
  filter: grayscale(0.4);
  pointer-events: none;
  user-select: none;
}

.soon__notice {
  position: absolute;
  z-index: 3;
  top: clamp(28px, 5vw, 64px);
  left: 50%;
  width: min(100% - 2 * var(--pad), 720px);
  transform: translateX(-50%);
  padding: clamp(28px, 4vw, 48px);
  background: var(--plum);
  color: var(--cream);
  text-align: center;
  box-shadow: 0 24px 60px rgba(47, 38, 48, 0.3);
}

.soon__notice h2 {
  font-size: clamp(18px, 2.2vw, 26px);
}

.soon__sub {
  margin: 14px 0 0;
  font-family: var(--font-serif);
  font-size: 19px;
  opacity: 0.9;
}

.soon__branches {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.soon__branches li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 8px 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 249, 240, 0.2);
}

.soon__branches .numeral {
  align-self: start;
  font-size: 22px;
  line-height: 1.1;
}

.soon__branches h3 {
  font-family: var(--font-wide);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.soon__branches p {
  margin: 6px 0 0;
}

.soon__hours {
  font-size: 12px;
  opacity: 0.75;
}

.soon__call {
  font-size: 13px;
}

.soon__call a {
  letter-spacing: 0.06em;
  text-underline-offset: 4px;
}

.soon__wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--plum);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.soon__wa:hover {
  opacity: 0.85;
}

.soon__wa svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .soon {
    min-height: 1180px;
  }

  .soon__branches li {
    grid-template-columns: 34px 1fr;
  }

  .soon__wa {
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }
}

/* ---------- Refund policy ---------- */

.clauses {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--ed-pad);
  list-style: none;
}

.clauses li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.clauses li:first-child {
  border-top: 0;
}

.clauses p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

/* ---------- Thank-you and not-found pages ---------- */

.confirm {
  padding-block: clamp(90px, 12vw, 160px);
}

.confirm p:not([class]) {
  max-width: 50ch;
  margin: 18px auto 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.confirm strong {
  font-family: var(--font-sans);
  font-size: 0.85em;
  letter-spacing: 0.08em;
}

.confirm__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 36px 0 0;
}

.confirm .btn:not([href^="/book"]) {
  border-radius: 2px;
}

.confirm .btn--line {
  border-color: var(--cream);
  color: var(--cream);
}

.confirm__sign {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 56px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.8;
}

.confirm__sign i {
  width: min(160px, 26vw);
  height: 1px;
  background: currentColor;
}

/* ---------- Share Cards: the Glow, Shared campaign ---------- */

.glow__intro {
  padding: clamp(64px, 9vw, 120px) var(--pad);
  background: var(--plum);
  color: var(--cream);
  text-align: center;
}

.glow__intro h2 {
  font-size: clamp(26px, 3.4vw, 46px);
}

.glow__alt {
  margin: 16px 0 0;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.85;
}

.glow__alt--ar {
  margin-top: 8px;
  font-family: "Estedad", var(--font-sans);
  font-size: 18px;
  letter-spacing: 0;
}

.glow__intro blockquote {
  max-width: 34ch;
  margin: 44px auto 0;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.45;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.tiers__card {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  border-radius: 3.7% / 5.9%;
  background: none;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(47, 38, 48, 0.25);
  transition: transform 0.3s ease;
}

.tiers__card:hover {
  transform: translateY(-4px);
}

.tiers__card img {
  display: block;
  width: 100%;
  aspect-ratio: 85.6 / 53.98;
}

.tiers .numeral {
  font-size: 20px;
}

.tiers h3 {
  margin-top: 6px;
  font-family: var(--font-wide);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.tiers p {
  margin: 8px 0 0;
}

.tiers__value {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.ritual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ritual h3 {
  font-family: var(--font-wide);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.ritual p {
  margin: 10px 0 0;
}

.fan__for {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
}

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

  .ritual {
    grid-template-columns: 1fr;
  }
}

/* Editorial pages run straight into the footer */
body:has(main > .ed, main > .confirm) .footer {
  margin-top: 0;
}

/* ---------- Staff ---------- */

.staff {
  padding: clamp(32px, 5vw, 64px) var(--ed-pad);
}

.staff .table {
  border-radius: 2px;
}

/* ---------- Editorial pages on smaller screens ---------- */

@media (max-width: 900px) {
  .band,
  .spread,
  .buy,
  .ledger,
  .booking,
  .split-panel,
  .columns {
    grid-template-columns: 1fr;
  }

  .band__label,
  .buy__media,
  .ticket {
    position: static;
  }

  .spread--flip .frame {
    order: 0;
  }

  .columns > div + div {
    margin-top: 32px;
    padding: 32px 0 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .pairs--row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .pairs {
    grid-template-columns: 1fr;
  }

  .index a {
    grid-template-columns: 40px 1fr;
  }

  .index__count {
    display: none;
  }

  .lines li {
    grid-template-columns: 34px 1fr auto;
  }

  .lines__price {
    grid-column: 3;
    min-width: 0;
  }

  .lines .stepper {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .lines .link {
    grid-column: 3;
    justify-self: end;
  }

  .clauses li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mast__corners {
    inset-block-start: 16px;
  }
}

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

.footer {
  margin-top: clamp(32px, 6vw, 72px);
  padding: clamp(32px, 5vw, 56px) var(--pad) 24px;
  background: var(--plum);
  color: var(--cream);
  font-size: 14px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer h2 {
  margin-bottom: 12px;
  font-family: var(--font-wide);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  opacity: 0.7;
}

.footer a {
  text-decoration: none;
}

.footer__cols a {
  display: block;
  padding: 4px 0;
}

.footer a:hover {
  text-decoration: underline;
}

/* Brand sign-off: tagline over the INGLOW ——— CLINICS rule */
.footer__sign {
  margin: 44px auto 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.footer__sign p {
  margin: 0 0 14px;
  font-family: "Taken by Vultures Alternates", var(--font-serif);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}

.footer__sign div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 9px;
}

.footer__sign i {
  width: min(180px, 30vw);
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  width: min(100%, var(--max));
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 249, 240, 0.2);
  font-size: 11px;
  opacity: 0.8;
}

/* ---------- Home page: cream text on plum throughout ---------- */

.is-home main {
  background: var(--plum);
  color: var(--cream);
}

.is-home main .section__head {
  border-bottom-color: rgba(255, 249, 240, 0.25);
}

.is-home main .muted,
.is-home main .feature p:not(.eyebrow),
.is-home main .feature .feature__price {
  color: rgba(255, 249, 240, 0.82);
}

.is-home main .branch {
  border-color: rgba(255, 249, 240, 0.3);
  background: transparent;
}

.is-home main .feature img {
  background: var(--mauve);
}

.is-home main .product__highlight {
  background: rgba(255, 249, 240, 0.14);
}

.is-home main .form__note {
  color: rgba(255, 249, 240, 0.82);
}

/* Buttons flip to cream so they still stand out on plum */
.is-home main .btn--plum {
  background: var(--cream);
  color: var(--plum);
}

.is-home .footer {
  margin-top: 0;
  border-top: 1px solid rgba(255, 249, 240, 0.2);
}

/* ---------- Responsive ---------- */

/* The Menu button is for phones and tablets only. */
.nav__menu {
  display: none;
}

@media (max-width: 960px) {
  .nav {
    position: relative;
    grid-template-columns: 1fr auto;
    /* On phones the pale cream reads as white: use the page's deeper cream */
    background: var(--sand);
  }

  /* Menu: plain words in the menu's own capitals, with a small arrow. */
  .nav__menu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
  }

  .nav__menu::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease, margin 0.2s ease;
  }

  .nav.is-open .nav__menu::after {
    margin-top: 3px;
    transform: rotate(-135deg);
  }

  /* The dropdown: a cream panel under the bar, one page per line. */
  .nav__links {
    position: absolute;
    top: 100%;
    left: var(--pad);
    right: var(--pad);
    z-index: 5;
    display: grid;
    gap: 0;
    padding: 6px 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--cream);
    color: var(--plum);
    box-shadow: 0 20px 40px -20px rgba(47, 38, 48, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .nav.is-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav__links a {
    padding: 16px 0;
    border-top: 1px solid var(--line);
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .nav__links a:first-child {
    border-top: 0;
  }

  /* On a phone the bar keeps to one line: "Book" alone, and slimmer pills. */
  .nav a.nav__book {
    padding: 8px 14px;
  }

  /* Contact is in the footer on small screens. */
  .nav__links a.nav__wide {
    display: none;
  }

  .hero {
    padding-top: calc(150px + env(safe-area-inset-top, 0px));
  }

  .nav {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .nav__logo span {
    width: 98px;
    height: 28px;
  }

  .nav__actions {
    gap: 12px;
  }

  .hero__copy .btn {
    display: block;
    width: fit-content;
  }

  .hero__more {
    display: inline-block;
    margin: 18px 0 0;
  }

  /* Tall screens crop the photo to a narrow strip: keep the face in it */
  .hero__media {
    background-position: 36% center;
  }

  .hero__content {
    flex-direction: column;
    align-items: stretch;
  }

  .services {
    width: auto;
  }
}

@media (max-width: 720px) {
  .fan {
    --w: 35vw;
  }

  .fan__panel,
  .feature {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fan__panel {
    animation: none;
  }

  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Small phones: "Book Appointment" becomes "Book" so the bar fits on one line. */
@media (max-width: 480px) {
  .nav__long {
    display: none;
  }

  .nav__actions {
    gap: 10px;
  }

  /* A section title and its button share a line only when both fit. */
  .section__head {
    flex-wrap: wrap;
    row-gap: 12px;
  }
}
