/* Allure home: hero, ratings, treatments, the salon, the team, reviews, visit. */

.section { padding-block: clamp(64px, 9vw, 120px); }
.section__head { margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--centre { text-align: center; }
.section__head--centre .section__lede { margin-inline: auto; }
.section__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.375rem, 1.6rem + 3vw, 3.75rem); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
.section__title em { color: var(--accent); }
.section__lede { max-width: 52ch; margin-top: 14px; color: var(--ink-2); font-size: 1.125rem; text-wrap: pretty; }

/* ------------------------------------------------------------------ Hero */
/* Full bleed: the photo fills the first screen under the header; a plum fade on the start side and along the
   bottom carries the cream heading. The text block lines up with the page container. */
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: min(calc(100svh - var(--header-h)), 860px); overflow: hidden; color: #fbf4f1; background: #2d1626; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { z-index: -2; }
.hero__bg img { object-fit: cover; object-position: 50% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(45 22 38 / 0.82) 0%, rgb(45 22 38 / 0.58) 34%, rgb(45 22 38 / 0.12) 62%, rgb(45 22 38 / 0) 80%), linear-gradient(0deg, rgb(45 22 38 / 0.5) 0%, rgb(45 22 38 / 0) 45%); }
.hero__inner { padding-block: clamp(56px, 9vw, 112px); }
.hero__title { max-width: 10ch; font-family: var(--serif); font-weight: 500; font-size: clamp(2.75rem, 1.6rem + 4.2vw, 5.5rem); line-height: 0.98; letter-spacing: -0.015em; text-wrap: balance; text-shadow: 0 2px 24px rgb(45 22 38 / 0.35); }
.hero__title em { color: #f3cfcf; }
.hero__lede { max-width: 36ch; margin-top: 22px; font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); color: rgb(251 244 241 / 0.92); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (prefers-reduced-motion: no-preference) {
  .hero__bg img { animation: hero-settle 1.6s var(--ease) both; }
}
@keyframes hero-settle { from { transform: scale(1.06); } }
/* Under 62rem the booking bar is always on screen, so the hero leaves room for it. */
@media (max-width: 61.99rem) {
  .hero { min-height: calc(100svh - var(--header-h) - 76px); }
}
@media (max-width: 47.99rem) {
  .hero::after { background: linear-gradient(0deg, rgb(45 22 38 / 0.9) 0%, rgb(45 22 38 / 0.7) 38%, rgb(45 22 38 / 0.1) 68%, rgb(45 22 38 / 0) 100%); }
  .hero__inner { padding-block: 40px 28px; }
  .hero__actions { display: grid; margin-top: 24px; }
  .hero__actions .btn { width: 100%; }
}

/* ------------------------------------------------------------------ Ratings */
.ratings { border-block: 1px solid var(--line); background: var(--surface); }
.ratings__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; padding-block: 18px; }
.rating { display: flex; align-items: center; gap: 10px; }
.rating__num { font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1; }
.rating__src { color: var(--ink-2); }
.ratings__rule { width: 1px; height: 32px; background: var(--line); }
@media (max-width: 47.99rem) {
  .ratings__inner { flex-direction: column; gap: 6px; }
  .ratings__rule { display: none; }
}

/* ------------------------------------------------------------------ Treatments: the menu */
/* Editorial and quiet: on the start side the heading and one tall arch, held while the list scrolls past and
   crossfading to the group being read; on the end side the groups, each a large italic name over a calm list
   (names in the serif, prices on the end), separated by space and one hairline per group, never per row. */
.treatments__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.treatments__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.treatments__aside .section__head { margin-bottom: 32px; }
.treatments__frame { position: relative; width: 100%; max-width: 380px; aspect-ratio: 3 / 4; background: var(--blush); box-shadow: var(--shadow); }
.treatments__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.7s ease, transform 1.2s var(--ease); }
.treatments__img.is-on { opacity: 1; transform: none; }
.treatments__book { margin-top: 32px; }
.menu { display: grid; }
.menu__group { padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.menu__group:first-child { padding-top: 0; border-top: 0; }
.menu__head { display: flex; align-items: center; gap: 18px; }
.menu__thumb { display: none; }
.menu__title { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2.75rem, 1.9rem + 3.2vw, 4.75rem); line-height: 1; letter-spacing: -0.01em; transition: color 0.4s; }
.menu__group.is-on .menu__title { color: var(--accent); }
.menu__items { display: grid; gap: 4px; margin-top: 22px; }
.menu__item { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block: 8px; }
.menu__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); line-height: 1.2; transition: transform 0.35s var(--ease); }
.menu__item:hover .menu__name { transform: translateX(6px); }
.menu__price { flex: none; font-variant-numeric: lining-nums tabular-nums; }
.menu__heading { display: grid; gap: 10px; }
.menu__note { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
/* The time sits after the name in the sans, small and muted, so the serif names still read as the list. */
.menu__time { margin-inline-start: 10px; font-family: var(--sans); font-size: 0.875rem; font-weight: 400; letter-spacing: 0.02em; color: var(--ink-2); white-space: nowrap; }
.menu__foot { grid-column: 2; margin-top: 8px; font-size: 0.875rem; color: var(--ink-2); }
@media (max-width: 47.99rem) { .menu__time { display: block; margin: 2px 0 0; } }
@media (max-width: 61.99rem) {
  .treatments__inner { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .treatments__aside { position: static; }
  .treatments__frame { display: none; }
  .treatments__book { order: 2; }
  .menu__thumb { display: block; flex: none; width: 72px; aspect-ratio: 3 / 4; }
  .menu__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .treatments__inner > .menu, .menu__foot { order: 1; }
  .menu__foot { grid-column: auto; margin-bottom: 24px; }
  .treatments__aside { display: contents; }
  .treatments__aside .section__head { order: 0; }
}

/* ------------------------------------------------------------------ The salon */
/* Text beside three photos set like a small Instagram grid: an arch, a rounded square, a circle. */
.salon { background: var(--surface); border-block: 1px solid var(--line); }
.salon__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.salon__lede { max-width: 44ch; color: var(--ink-2); font-size: 1.125rem; }
.salon__words { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.salon__words li { padding: 6px 16px; border-radius: 999px; background: var(--blush); font-family: var(--serif); font-style: italic; font-size: 1.25rem; }
.salon__photos { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; gap: 16px; align-items: end; }
.salon__photo { overflow: hidden; }
.salon__photo img { width: 100%; height: 100%; object-fit: cover; }
.salon__photo--a { grid-row: 1 / 3; aspect-ratio: 4 / 5.6; }
.salon__photo--b { aspect-ratio: 4 / 5; border-radius: var(--r-card); }
.salon__photo--c { width: 78%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 8px var(--surface); }
@media (max-width: 61.99rem) {
  .salon__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ The team */
.team__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); max-width: 880px; margin-inline: auto; }
.member { display: grid; justify-items: center; gap: 6px; text-align: center; }
.member__photo { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 4; margin-bottom: 10px; background: linear-gradient(160deg, var(--blush), var(--cream)); border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
.member__photo span { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-2); }
.member__name .tbc { font-size: 1rem; }
@media (max-width: 47.99rem) {
  .team__list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding: 4px var(--pad) 8px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .team__list::-webkit-scrollbar { display: none; }
  .member { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ------------------------------------------------------------------ Reviews: a ribbon of quotes */
.reviews { overflow: hidden; }
.reviews__score { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 32px; margin-top: 16px; color: var(--ink-2); }
.reviews__pair { display: inline-flex; align-items: center; gap: 10px; }
.reviews__num { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; color: var(--ink); }
.ribbons { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(4px, 1vw, 12px); }
/* The row is pinned to the screen's width (minmax(0, 1fr) above; a plain grid item grows to its track's full
   length), so the fade sits at both edges and stays the same width on every screen. */
.ribbon { --fade: clamp(28px, 7vw, 120px); position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); }
.ribbon__track { display: flex; width: max-content; }
.ribbon__list { display: flex; align-items: center; }
.ribbon__item { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-inline-end: clamp(20px, 3vw, 40px); }
.ribbon__quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2.25rem, 1.5rem + 3vw, 4.25rem); line-height: 1.1; white-space: nowrap;; padding-block: 0.1em 0.2em; }
/* The row clips its sides (overflow and the edge fade), and with a tight line height the serif's descenders
   (g, y, p) and the italic's tops reach past the line box: the padding above keeps them inside the row. */
.ribbon__src { flex: none; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); writing-mode: initial; }
.ribbon__spark { flex: none; width: 28px; height: 28px; color: var(--accent); }
/* The second row: smaller, upright, muted, so the two read as one composition rather than two lists. */
.ribbon--b .ribbon__quote { font-style: normal; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem); color: var(--ink-2); }
.ribbon--b .ribbon__spark { width: 20px; height: 20px; opacity: 0.6; }
@media (prefers-reduced-motion: no-preference) {
  /* Slow: a quote takes about half a minute to cross the screen. The rows run in opposite directions. */
  .ribbon--a .ribbon__track { animation: ribbon 140s linear infinite; }
  .ribbon--b .ribbon__track { animation: ribbon 170s linear infinite reverse; }
  .ribbons:hover .ribbon__track, .ribbons:focus-within .ribbon__track, .ribbons.is-paused .ribbon__track { animation-play-state: paused; }
}
@keyframes ribbon { to { transform: translateX(calc(-50% * var(--dir, 1))); } }
.reviews__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 36px; }
.ribbon__toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 0.9375rem; }
.ribbon__toggle:hover { color: var(--ink); background: var(--cream); }
.ribbon__play, .ribbon__toggle[aria-pressed="true"] .ribbon__pause { display: none; }
.ribbon__toggle[aria-pressed="true"] .ribbon__play { display: block; }
/* Still, under reduced motion (and without the moving copy): the quotes stacked and centred. */
@media (prefers-reduced-motion: reduce) {
  .ribbon { mask-image: none; }
  .ribbon__track { width: auto; justify-content: center; padding-inline: var(--pad); }
  .ribbon__list { flex-direction: column; gap: 28px; text-align: center; }
  .ribbons { gap: 28px; }
  .ribbon__list--copy, .ribbon__toggle, .ribbon__spark { display: none; }
  .ribbon__item { flex-direction: column; gap: 8px; padding: 0; }
  .ribbon__quote { white-space: normal; font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem); text-wrap: balance; }
}

/* ------------------------------------------------------------------ Visit */
.visit__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.visit__map { position: relative; overflow: hidden; border-radius: 999px 999px var(--r-card) var(--r-card); box-shadow: var(--shadow); }
.visit__map img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; }
.visit__map figcaption { position: absolute; inset: auto 12px 12px auto; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink-2); font-size: 0.75rem; }
.visit__facts { display: grid; gap: 16px; }
.visit__facts dt { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.visit__facts dt .icon { color: var(--accent); }
.visit__facts dd { margin-top: 2px; font-size: 1.125rem; overflow-wrap: anywhere; }
.visit__facts dt .open-now { margin-inline-start: 4px; letter-spacing: 0.02em; }
.hours { display: grid; gap: 2px; max-width: 320px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; }
.hours li span:first-child { color: var(--ink-2); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* Tablet: still side by side (there is room), the map a touch narrower, the two buttons stacked. */
@media (max-width: 61.99rem) {
  .visit__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .visit__actions { display: grid; }
}
@media (max-width: 47.99rem) {
  .visit__inner { grid-template-columns: minmax(0, 1fr); }
  .visit__card { order: -1; }
  .visit__map img { aspect-ratio: 4 / 4.4; }
}
