/* Ally 21 single-offer pages (hair colour, nails, hair spa): shared styles.
   Brand: ally21salon.com (Playfair Display + Inter, navy and brass) in the tones of the salon (white marble, ivory leather). */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/playfair-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/playfair-latin-ext.woff2) format("woff2"); unicode-range: U+20B9; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/playfair-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/playfair-italic-latin-ext.woff2) format("woff2"); unicode-range: U+20B9; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --ivory: #f8f7f5; --stone: #efedea; --stone-2: #e4e1dc;
  --navy: #1a202c; --navy-2: #2e3843; --soft: #4a5260;
  --brass: #8a5f14; --brass-2: #c9a253;
  --ok: #1f6b4e; --bad: #b42318;
  --m: clamp(20px, 5vw, 80px);
  --r: 18px; --r-sm: 12px;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font: 400 17px/1.6 var(--text); color: var(--navy); background: var(--ivory); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--navy); color: var(--ivory); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Type ───────────────────────────────────────────── */
.h1 { font: italic 400 clamp(46px, 5.4vw, 88px)/1.02 var(--display); letter-spacing: -.02em; }
.h2 { font: italic 400 clamp(34px, 3.6vw, 56px)/1.08 var(--display); letter-spacing: -.015em; }
.h3 { font: 400 clamp(21px, 1.6vw, 25px)/1.25 var(--display); }
.lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; }
.small { font-size: 15px; color: var(--soft); }
.serif { font-family: var(--display); }

/* ── Frame ──────────────────────────────────────────── */
.wrap { padding-inline: var(--m); }
.sec { padding: clamp(88px, 11vw, 168px) var(--m) 0; }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-bottom: clamp(36px, 4vw, 64px); align-items: end; }
.sec-head .h2 { grid-column: 1 / 7; }
.sec-head p { grid-column: 8 / 13; max-width: 46ch; }
.band { background: var(--stone); padding-bottom: clamp(88px, 11vw, 168px); }
.band + .sec { padding-top: clamp(88px, 11vw, 168px); }
.dark { background: var(--navy); color: var(--ivory); }
.dark .small { color: #b9c0ca; }
@media (max-width: 900px) {
  .sec-head { display: block; }
  .sec-head p { margin-top: 16px; }
}

/* ── Nav ────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 30; }
.ticker { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px var(--m); background: var(--navy); color: var(--ivory); font-size: 14px; line-height: 1.3; }
.ticker b { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; min-width: 12ch; }
.ticker a { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.ticker a:hover { color: var(--brass-2); }
.ended .ticker { display: none; }
@media (max-width: 520px) { .ticker { gap: 8px; font-size: 13px; padding-block: 7px; } .ticker a { display: none; } .ticker b { min-width: 0; } }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px var(--m); background: var(--ivory); transition: background .3s, box-shadow .3s; }
.nav.scrolled { box-shadow: 0 1px 0 rgba(26, 32, 44, .08); }
.nav .logo img { width: 96px; height: auto; aspect-ratio: 250 / 108; object-fit: contain; }
.nav .links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); font-size: 15px; font-weight: 500; }
.nav .links a:not(.btn) { transition: color .2s; }
.nav .links a:not(.btn):hover { color: var(--brass); }
@media (max-width: 760px) { .nav .links a:not(.btn) { display: none; } .nav .logo img { width: 80px; } .nav { padding-block: 12px; } }

/* ── Buttons ────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border-radius: 999px; background: var(--navy); color: var(--ivory); font: 500 16px/1.1 var(--text); text-align: center; transition: transform .25s var(--ease), background .25s; white-space: nowrap; }
.btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn.sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn.light { background: var(--ivory); color: var(--navy); }
.btn.light:hover { background: #fff; }
.btn.wa { background: #e7f6ec; color: #0f5132; }
.btn.wa:hover { background: #d4efdd; }
.btn.line { background: var(--stone); color: var(--navy); }
.btn.line:hover { background: var(--stone-2); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: color .2s; }
.link:hover { color: var(--brass); }
.actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
@media (max-width: 760px) { .actions { flex-direction: column; align-items: stretch; gap: 16px; text-align: center; } }

/* ── Photos ─────────────────────────────────────────── */
.ph { border-radius: var(--r); overflow: hidden; background: var(--stone-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--soft); margin-top: 10px; }

/* ── Rating line (Google) ───────────────────────────── */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 15px; color: var(--soft); }
.rating b { color: var(--navy); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; vertical-align: -2px; color: #e3a008; }
.stars svg { width: 15px; height: 15px; }
.dark .rating, .dark .rating b { color: var(--ivory); }

/* ── Facts list (term + detail) ─────────────────────── */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 14px 28px; font-size: 16px; }
.facts dt { font-family: var(--display); font-size: 18px; color: var(--brass); line-height: 1.45; }
.facts dd { margin: 0; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 12px; } }

/* ── Drag rows (photos, reviews) ────────────────────── */
.row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); padding: 0 var(--m) 8px; scrollbar-width: none; cursor: grab; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; flex: 0 0 auto; }
.row.dragging { cursor: grabbing; scroll-snap-type: none; }
.row-ctl { display: flex; gap: 10px; }
.row-ctl button { width: 48px; height: 48px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; transition: background .2s, transform .2s; }
.row-ctl button:hover { background: var(--stone-2); }
.row-ctl button:active { transform: scale(.94); }
.row-ctl svg { width: 20px; height: 20px; }

/* ── Reviews ────────────────────────────────────────── */
.reviews-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.score { display: flex; align-items: center; gap: 18px; }
.score .num { font: 400 64px/1 var(--display); }
.score .stars svg { width: 20px; height: 20px; }
.rev { width: min(380px, 82vw); background: #fff; border-radius: var(--r); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.band .rev { background: var(--ivory); }
.rev p { font-size: 16px; line-height: 1.6; }
.rev .who { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 15px; }
.rev .av { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--ivory); display: grid; place-items: center; font-weight: 600; font-size: 15px; flex: none; }
.rev .who small { display: flex; align-items: center; gap: 8px; color: var(--soft); font-size: 14px; }
.rev .who small .stars svg { width: 13px; height: 13px; }
.rev .g { margin-left: auto; width: 20px; height: 20px; flex: none; }

/* ── FAQ ────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.faq .side { grid-column: 1 / 5; }
.faq .side .ph { aspect-ratio: 4 / 5; margin-top: 32px; }
.faq .qs { grid-column: 6 / 13; }
details { border-radius: var(--r-sm); background: var(--stone); margin-bottom: 10px; transition: background .2s; }
details:hover { background: var(--stone-2); }
summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative; font: 400 19px/1.4 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details > div { padding: 0 24px 22px; font-size: 16px; max-width: 64ch; }
details > div p + p { margin-top: 10px; }
@media (max-width: 900px) { .faq { display: block; } .faq .side .ph { display: none; } .faq .qs { margin-top: 28px; } }

/* ── Salons (branch cards) ──────────────────────────── */
.salons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.salon .ph { aspect-ratio: 16 / 10; margin-bottom: 20px; }
.salon h3 { margin-bottom: 6px; }
.salon p { font-size: 16px; }
.salon .actions { margin-top: 18px; gap: 20px; }
@media (max-width: 760px) { .salons { grid-template-columns: minmax(0, 1fr); gap: 48px; } .salon .actions { flex-direction: row; } }

/* ── Closing call + footer ──────────────────────────── */
.close { margin-top: clamp(88px, 11vw, 168px); position: relative; overflow: hidden; }
.close .ph { border-radius: 0; height: min(78svh, 720px); }
.close .ph img { filter: brightness(.62); }
.close .txt { position: absolute; inset: auto var(--m) clamp(40px, 6vw, 88px) var(--m); color: #fff; max-width: 640px; }
.close .txt .h2 { margin-bottom: 18px; }
.close .txt p { margin-bottom: 28px; font-size: 18px; }
footer.foot { background: var(--navy); color: #c9cfd8; padding: 56px var(--m) 120px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; font-size: 15px; }
footer.foot .logo img { width: 104px; height: auto; aspect-ratio: 250 / 108; filter: brightness(0) invert(1); margin-bottom: 14px; }
footer.foot b { color: #fff; font-weight: 500; display: block; margin-bottom: 6px; }
footer.foot a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { footer.foot { grid-template-columns: 1fr; padding-bottom: 130px; } }

/* ── Sticky booking bar (phones, after the first screen) ─ */
.bar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--navy); color: var(--ivory); transform: translateY(140%); transition: transform .45s var(--ease); box-shadow: 0 10px 30px rgba(10, 14, 20, .25); }
.bar.on { transform: none; }
.bar .p { line-height: 1.2; font-size: 14px; }
.bar .p b { display: block; font: 400 19px/1.1 var(--display); }
.bar .btn { min-height: 46px; padding: 0 22px; }
@media (max-width: 900px) { .bar { display: flex; } }

/* ── Booking sheet ──────────────────────────────────── */
.sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.sheet.open { display: block; }
.sheet .scrim { position: absolute; inset: 0; background: rgba(12, 16, 22, .55); opacity: 0; transition: opacity .3s; }
.sheet.show .scrim { opacity: 1; }
.sheet .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(520px, 100%); background: var(--ivory); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; transform: translateX(100%); transition: transform .45s var(--ease); padding: 26px clamp(20px, 3vw, 36px) 40px; }
.sheet.show .panel { transform: none; }
@media (max-width: 760px) {
  .sheet .panel { top: auto; width: 100%; max-height: 94svh; border-radius: 22px 22px 0 0; transform: translateY(100%); }
}
@media (prefers-reduced-motion: reduce) { .sheet .panel, .sheet .scrim { transition: none; } }
.sheet-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.sheet-head .h3 { font-size: 28px; font-style: italic; }
.x { width: 44px; height: 44px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; flex: none; }
.x svg { width: 18px; height: 18px; }
.sum { display: flex; justify-content: space-between; gap: 16px; background: var(--stone); border-radius: var(--r-sm); padding: 14px 18px; margin: 16px 0 24px; font-size: 15px; }
.sum b { font: 400 20px/1.2 var(--display); white-space: nowrap; }
.fld { margin-bottom: 22px; border: 0; padding: 0; min-width: 0; }
.fld > legend, .fld > label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.fld .hint { font-weight: 400; color: var(--soft); }
.err { display: none; color: var(--bad); font-size: 14px; margin-top: 8px; }
.fld.bad .err { display: block; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: block; min-width: 0; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.choice span { display: block; height: 100%; border-radius: var(--r-sm); background: #fff; padding: 13px 14px; font-size: 15px; line-height: 1.35; box-shadow: inset 0 0 0 1.5px var(--stone-2); transition: box-shadow .2s, background .2s; cursor: pointer; }
.choice span small { display: block; color: var(--soft); font-size: 13px; }
.choice input:checked + span { box-shadow: inset 0 0 0 2px var(--navy); background: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.choices.dates { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; padding-bottom: 2px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.choices.dates .choice { flex: none; scroll-snap-align: start; }
.choices.dates .choice span { width: 76px; text-align: center; padding: 10px 6px; }
.choices.dates b { display: block; font: 400 22px/1.15 var(--display); }
.choices.times { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.choices.times .choice span { text-align: center; padding: 11px 4px; }
.choice input:disabled + span { opacity: .35; cursor: not-allowed; }
.inp { width: 100%; min-height: 54px; border-radius: var(--r-sm); border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--stone-2); padding: 0 16px; font: 400 17px var(--text); color: var(--navy); }
.inp:focus { outline: none; box-shadow: inset 0 0 0 2px var(--navy); }
.tel { display: flex; align-items: center; gap: 0; }
.tel span { min-height: 54px; display: grid; place-items: center; padding: 0 14px; background: var(--stone); border-radius: var(--r-sm) 0 0 var(--r-sm); font-weight: 500; }
.tel .inp { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 14px; color: var(--soft); margin-top: 12px; text-align: center; }
.form-err { display: none; background: #fdecea; color: var(--bad); border-radius: var(--r-sm); padding: 12px 16px; font-size: 15px; margin-top: 12px; }
.form-err.on { display: block; }
.form-err a { text-decoration: underline; }
.done { text-align: center; padding-top: 8px; }
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: #e7f6ec; color: var(--ok); display: grid; place-items: center; margin: 4px auto 18px; }
.done .tick svg { width: 30px; height: 30px; }
.done .h3 { font-size: 28px; font-style: italic; margin-bottom: 10px; }
.done .recap { list-style: none; padding: 0; text-align: left; background: var(--stone); border-radius: var(--r-sm); padding: 6px 18px; margin: 20px 0; }
.done .recap li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 15px; }
.done .stack { display: grid; gap: 10px; }

/* ── Motion: entrances (only when motion is welcome; content is never hidden without script) ── */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-rise].in { opacity: 1; transform: none; }
  .js [data-zoom] img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
  .js [data-zoom].in img { transform: scale(1); }
  .drift img { animation: drift 18s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09); } }
}

/* ── Bento: a grid of real work around the offer (hair colour hero) ── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 12px; height: min(80svh, 780px); min-height: 560px; }
.bento > * { border-radius: var(--r); overflow: hidden; position: relative; background: var(--stone-2); }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento > figure:hover img { transform: scale(1.05); }
.bento figcaption { position: absolute; left: 12px; bottom: 12px; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(248, 247, 245, .92); color: var(--navy); font-size: 13px; font-weight: 500; }
.bento .t1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento .t2 { grid-column: 3 / 5; grid-row: 1 / 2; background: var(--navy); color: var(--ivory); padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; }
.bento .t2 b { font: 400 clamp(56px, 5.4vw, 92px)/.9 var(--display); letter-spacing: -.03em; }
.bento .t2 span { font-size: 15px; color: #c9cfd8; }
.bento .t3 { grid-column: 3 / 4; grid-row: 2 / 3; }
.bento .t4 { grid-column: 4 / 5; grid-row: 2 / 4; }
.bento .t5 { grid-column: 1 / 2; grid-row: 3 / 4; }
.bento .t6 { grid-column: 2 / 4; grid-row: 3 / 4; background: #fff; padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.bento .t6 .lg { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bento .t6 .lg img { width: 30%; height: 40px; object-fit: contain; }
.bento .t6 p { font-size: 14px; color: var(--soft); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: auto; min-height: 0; gap: 8px; }
  .bento > * { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1; }
  .bento .t1 { grid-column: 1 / 3 !important; aspect-ratio: 4 / 3.4; }
  .bento .t2 { aspect-ratio: auto; min-height: 150px; padding: 18px; }
  .bento .t2 b { font-size: 46px; }
  .bento .t6 { grid-column: 1 / 3 !important; aspect-ratio: auto; }
  .bento .t4 { aspect-ratio: auto; }
  .bento .t1 figcaption { display: none; }
}

/* ── Orbit: real sets circling the price (nails hero) ── */
.orbit { position: relative; width: min(100%, 72svh, 640px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; overflow: hidden; border-radius: 50%; }
.orbit .ring { position: absolute; inset: 0; }
.orbit .sat { position: absolute; left: 50%; top: 50%; width: 20cqi; height: 20cqi; margin: -10cqi 0 0 -10cqi; transform: rotate(var(--a)) translateY(-38.5cqi) rotate(calc(-1 * var(--a))); }
.orbit .sat > span { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 5px solid var(--stone); background: var(--stone-2); }
.orbit .sat img { width: 100%; height: 100%; object-fit: cover; }
.orbit .core { position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden; background: var(--stone-2); }
.orbit .core img { width: 100%; height: 100%; object-fit: cover; }
.orbit .seal { position: absolute; right: 27%; bottom: 25%; width: 19%; aspect-ratio: 1; border-radius: 50%; background: var(--navy); color: var(--ivory); display: grid; place-items: center; text-align: center; transform: rotate(-8deg); }
.orbit .seal b { display: block; font: 400 clamp(20px, 2.2vw, 30px)/1 var(--display); }
.orbit .seal small { font-size: 12px; letter-spacing: .02em; }
@media (prefers-reduced-motion: no-preference) {
  .orbit .ring { animation: spin 90s linear infinite; will-change: transform; }
  .orbit .sat > span { animation: spin 90s linear infinite reverse; }
  .orbit:hover .ring, .orbit:hover .sat > span { animation-play-state: paused; }
  @keyframes spin { to { transform: rotate(360deg); } }
}

/* ── "Some of our work by our experts": a masonry wall, loaded as you scroll ── */
.wall-work { columns: 4 240px; column-gap: 14px; padding-inline: var(--m); content-visibility: auto; contain-intrinsic-size: auto 1600px; }
.wall-work figure { break-inside: avoid; margin: 0 0 14px; border-radius: var(--r); overflow: hidden; position: relative; background: var(--stone-2); }
.wall-work img { width: 100%; transition: transform 1s var(--ease); }
.wall-work figure:hover img { transform: scale(1.04); }
.wall-work figcaption { position: absolute; left: 10px; bottom: 10px; margin: 0; padding: 5px 11px; border-radius: 999px; background: rgba(248, 247, 245, .92); color: var(--navy); font-size: 13px; font-weight: 500; }
.wall-work.more figure:nth-child(n+13) { display: none; }
.more-btn { display: flex; justify-content: center; margin-top: 18px; }
@media (max-width: 760px) { .wall-work { columns: 2; column-gap: 8px; } .wall-work figure { margin-bottom: 8px; } .wall-work.more figure:nth-child(n+9) { display: none; } }

/* ── Slow crossfade (spa window) ── */
.fade { position: relative; }
.fade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.8s ease; }
.fade img:first-child { position: relative; }
.fade img:not(:first-child) { opacity: 0; }
.fade.go img { opacity: 0; }
.fade.go img.on { opacity: 1; }

/* ── Marquee: a slow, endless strip of real work between sections ── */
.marquee { overflow: hidden; padding-block: clamp(64px, 8vw, 120px) 0; }
.marquee .track { display: flex; gap: 14px; width: max-content; }
.marquee figure { width: clamp(180px, 18vw, 260px); flex: none; }
.marquee .ph { aspect-ratio: 4 / 5; }
.marquee figure:nth-child(even) { margin-top: 36px; }
@media (prefers-reduced-motion: no-preference) {
  .marquee .track { animation: slide 70s linear infinite; }
  .marquee:hover .track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } }

/* ── Cards that lead with a photo ── */
.pcard { border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.pcard .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.pcard .ph img { transition: transform 1.2s var(--ease); }
.pcard:hover .ph img { transform: scale(1.05); }
.pcard .body { padding: clamp(22px, 2.4vw, 34px); }
.care > .pcard, .feel > .pcard { padding: 0 !important; }

/* ── Photo with numbers laid over it ── */
.stat-photo { position: relative; border-radius: var(--r); overflow: hidden; min-height: 460px; }
.stat-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stat-photo .nums { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-photo .nums div { background: rgba(248, 247, 245, .94); border-radius: var(--r-sm); padding: 14px 14px 12px; color: var(--navy); }
.stat-photo .nums b { display: block; font: 400 clamp(28px, 2.6vw, 40px)/1 var(--display); }
.stat-photo .nums span { font-size: 13px; color: var(--soft); }
@media (max-width: 760px) { .stat-photo { min-height: 420px; } .stat-photo .nums { grid-template-columns: 1fr 1fr; } }

/* ── Photos keep their own proportions: nothing outside the hero grid is cropped ── */
.pcard .ph, .faq .side .ph, .salon .ph, .svc .pic .ph, .steps .pic .ph, .how .pic .ph, .ritual .pic .ph, .room .pics .ph { aspect-ratio: auto !important; height: auto !important; }
.pcard .ph img, .faq .side .ph img, .salon .ph img, .svc .pic .ph img, .steps .pic .ph img, .how .pic .ph img, .ritual .pic .ph img, .room .pics .ph img { height: auto !important; object-fit: fill; }
/* cards: photo beside the words on wide screens, above them on phones */
.care > .pcard { flex-direction: row; align-items: stretch; }
.care > .pcard .ph { flex: 0 0 40%; align-self: flex-start; }
@media (max-width: 760px) { .care > .pcard { flex-direction: column; } .care > .pcard .ph { flex: none; } }
/* marquee: fixed height, each photo at its natural width */
.marquee figure { width: auto; }
.marquee .ph { aspect-ratio: auto; height: clamp(240px, 24vw, 340px); }
.marquee .ph img { width: auto; height: 100%; }
/* stats sit on a whole photo, not a crop */
.stat-photo { min-height: 0; }
.stat-photo > img { position: static; height: auto; }
/* closing photo: the whole picture beside the call to book */
.close { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; background: #1a202c; }
.close .ph { height: auto !important; border-radius: 0; background: none; display: flex; justify-content: center; padding: clamp(24px, 4vw, 56px) 0 clamp(24px, 4vw, 56px) var(--m); }
.close .ph img { width: auto; max-width: 100%; height: auto; max-height: 82svh; filter: none; border-radius: var(--r); }
.close .txt { position: static; inset: auto; padding: clamp(32px, 5vw, 80px) var(--m); }
body.night .close { background: #13212a; }
@media (max-width: 760px) { .close { grid-template-columns: 1fr; } .close .ph { padding: 24px var(--m) 0; } .close .ph img { max-height: 70svh; } }
/* tall photos never run past the screen: they shrink in width instead of being cropped */
.salon .ph, .svc .pic .ph, .steps .pic .ph, .how .pic .ph, .ritual .pic .ph, .faq .side .ph { background: none; border-radius: 0; overflow: visible; }
.salon .ph img, .svc .pic .ph img, .steps .pic .ph img, .how .pic .ph img, .ritual .pic .ph img, .faq .side .ph img { width: auto !important; max-width: 100%; border-radius: var(--r); }
.svc .pic .ph img, .steps .pic .ph img, .how .pic .ph img, .ritual .pic .ph img, .faq .side .ph img { max-height: calc(100svh - 170px); }
.salons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .salons { grid-template-columns: minmax(0, 1fr); } }
.salon .ph img { height: 380px; max-width: 100%; object-fit: contain; object-position: left center; }
@media (max-width: 1100px) { .salon .ph img { width: 100% !important; height: auto; } }
.team, .techs { align-items: start !important; }
