/* DAELITE v18 draft · shared stylesheet
   Calm editorial system taken from the WordPress staging draft (daelite.outrankco.website):
   warm off-white pages, beige bands, Cormorant Garamond headings, Inter body, bronze accents,
   thin rules, square-cornered images, one near-black band. v10 brings back v7's home hero and
   Before & After carousel, restyled to these tokens. Every photo is shown sharp, once.
   Mobile-first. Type floor 15px. Body 17px mobile, 18px from 48em.
   All motion is decorative and switched off under prefers-reduced-motion. */

:root {
  /* palette (staging tokens) */
  --bg: #F8F6F1;          /* page */
  --beige: #F2ECE3;       /* alt band, footer, panels */
  --heading: #1A1A1A;
  --text: #333333;
  --text-2: #5A554E;      /* secondary text */
  --muted: #746A5D;       /* labels. Staging #8C8273, deepened slightly to reach 4.5:1 at 15px */
  --bronze: #6F5B43;      /* links, accents */
  --btn: #897152;         /* bronze button. Staging #8C7355, deepened slightly to reach 4.5:1 with white */
  --btn-hover: #6F5B43;
  --dark: #1D1C1A;        /* the one near-black band */
  --on-dark: #EDE7DD;
  --on-dark-2: #BFB5A6;
  --rule: #E4DCCF;
  --rule-dark: rgba(237, 231, 221, .18);
  --star: #C9A24A;

  /* v14 section shades (warm neutrals from the DAELITE palette). Adjacent sections never share a shade. */
  --bg-ivory: #F8F6F1;
  --bg-linen: #F2ECE3;
  --bg-sand: #E8DFD2;
  --bg-taupe: #D9CCBA;
  --bg-espresso: #2B2622;

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

  --fs-body: 1.0625rem;                       /* 17px */
  --fs-ui: 1rem;                              /* 16px */
  --fs-min: .9375rem;                         /* 15px floor */
  --fs-h1: clamp(2.75rem, 6vw, 5.75rem);      /* home hero */
  --fs-page: clamp(2.5rem, 4.6vw, 4.25rem);   /* inner page H1 */
  --fs-title: clamp(2rem, 3.4vw, 3rem);       /* section titles */
  --fs-h3: clamp(1.5rem, 1.25rem + .6vw, 1.75rem);

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 8vw, 120px);
  --header-h: 68px;
  --ease: cubic-bezier(.65, 0, .25, 1);
}
@media (min-width: 48em) {
  :root { --fs-body: 1.125rem; --header-h: 80px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
body.menu-lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; color: var(--heading); letter-spacing: -.005em; }
h3 { font-size: var(--fs-h3); }
p { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; }
figure { margin: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--heading); color: var(--bg); padding: 12px 20px;
  font-size: var(--fs-ui); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--ruled { border-top: 1px solid var(--rule); }
.tone-beige { background: var(--beige); }
/* v14 tones. Each re-points the text tokens so every label, link and body line keeps >= 4.5:1 on its shade. */
.tone-ivory { background: var(--bg-ivory); }
.tone-linen { background: var(--bg-linen); --muted: #6B6155; } /* labels 5.2:1 (was 4.5) */
@media (min-width: 64em) { .hero { --muted: #6B6155; } } /* desktop hero text column is linen too */
.tone-sand { background: var(--bg-sand); --muted: #655A4D; }                       /* labels 5.1:1 (was 4.0) */
.tone-taupe { background: var(--bg-taupe); --muted: #5F5447; --bronze: #5E4B36; } /* labels 4.7:1, links 5.2:1 */
.tone-dark {
  background: var(--bg-espresso); color: var(--on-dark);
  --heading: #FBF8F3; --text: #EDE7DD; --text-2: #CFC6B8; --muted: #BFB5A6; --bronze: #D4C3AA; --rule: rgba(237, 231, 221, .2);
}
.tone-dark h2, .tone-dark h3 { color: #FBF8F3; }

/* ---------- Type helpers ---------- */
.label {
  font-family: var(--sans); font-size: var(--fs-min); font-weight: 500; line-height: 1.5;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.title { font-size: var(--fs-title); font-weight: 300; line-height: 1.1; }
.title em, .page-title em, .hero__title em { font-weight: 300; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .label { margin-bottom: 12px; }
.section-head__controls { display: flex; align-items: center; gap: 10px; }

/* staging-style text link: uppercase label, thin arrow, 1px underline */
.text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--sans); font-size: var(--fs-min); font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--heading); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left calc(100% - 8px) / 100% 1px no-repeat;
  transition: color .25s ease;
}
.text-link:hover { color: var(--bronze); }
.text-link .arrow { font-family: var(--sans); letter-spacing: 0; transition: transform .25s ease; }
.text-link:hover .arrow { transform: translateX(3px); }
.tone-dark .text-link { color: #FBF8F3; }
.tone-dark .text-link:hover { color: var(--star); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 28px; border-radius: 2px; border: 1px solid transparent;
  font-family: var(--sans); font-size: var(--fs-ui); font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn--bronze { background: var(--btn); color: #FFFFFF; border-color: var(--btn); }
.btn--bronze:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn--outline { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn--outline:hover { background: var(--heading); color: var(--bg); }

.circle-btn {
  width: 48px; height: 48px; flex: 0 0 48px; padding: 0;
  display: inline-grid; place-items: center; border-radius: 50%;
  border: 1px solid currentColor; background: transparent; color: var(--heading); cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}
.circle-btn svg { width: 20px; height: 20px; }
.circle-btn:hover { background: var(--heading); border-color: var(--heading); color: var(--bg); }
.tone-dark .circle-btn { color: #FBF8F3; }
.tone-dark .circle-btn:hover { background: #FBF8F3; border-color: #FBF8F3; color: var(--dark); }
.circle-btn:disabled, .circle-btn[aria-disabled="true"] { opacity: .3; cursor: default; }
.circle-btn:disabled:hover, .circle-btn[aria-disabled="true"]:hover { background: transparent; color: inherit; border-color: currentColor; }
.tone-dark .circle-btn:disabled:hover, .tone-dark .circle-btn[aria-disabled="true"]:hover { color: #FBF8F3; }
.circle-btn[hidden] { display: none; }

/* ---------- Header (solid, sticky) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--rule); color: var(--heading);
}
.site-header__inner {
  display: flex; align-items: center; gap: 12px; min-height: var(--header-h);
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
}
.site-header__logo { position: relative; z-index: 2; display: inline-flex; align-items: center; margin-right: auto; padding-block: 8px; }
.site-header__logo img { width: 124px; height: auto; }
.site-header__book {
  position: relative; z-index: 2; order: 2; min-height: 44px; padding: 8px 20px;
  font-family: var(--serif); font-size: 1.125rem; font-weight: 500; letter-spacing: .03em; /* v14: Cormorant label */
}
.menu-toggle {
  position: relative; z-index: 2; order: 3; width: 44px; height: 44px; display: inline-grid; place-items: center;
  border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0;
}
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* without JS the menu button cannot work, so the links show inline under the logo row */
@media (max-width: 63.99em) {
  html:not(.js) .site-header { position: relative; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-nav { display: block; order: 4; flex: 1 1 100%; padding-bottom: 8px; }
  html:not(.js) .site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
  html:not(.js) .site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--serif); font-size: 1.125rem; font-weight: 500; letter-spacing: .03em; text-decoration: none; }
}

/* nav: full-screen light overlay on mobile */
.site-nav { display: none; }
.site-nav ul { list-style: none; }
.site-nav.is-open {
  display: flex; flex-direction: column; justify-content: center;
  position: fixed; inset: 0; z-index: 1; background: var(--bg); color: var(--heading);
  padding: calc(var(--header-h) + 24px) var(--gutter) 48px; overflow-y: auto;
}
.site-nav.is-open a {
  display: flex; align-items: center; min-height: 64px;
  font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.1;
  color: var(--heading); text-decoration: none; border-bottom: 1px solid var(--rule); padding-block: 8px;
}
.site-nav.is-open a[aria-current="page"] { font-style: italic; color: var(--bronze); }
@media (prefers-reduced-motion: no-preference) {
  .site-nav.is-open li { animation: menu-in .45s ease both; }
  .site-nav.is-open li:nth-child(2) { animation-delay: .04s; }
  .site-nav.is-open li:nth-child(3) { animation-delay: .08s; }
  .site-nav.is-open li:nth-child(4) { animation-delay: .12s; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (min-width: 64em) {
  .site-header__logo img { width: 150px; }
  .menu-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; padding: 0; background: none; }
  .site-nav ul { display: flex; gap: 32px; }
  .site-nav a, .site-nav.is-open a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0;
    font-family: var(--serif); font-size: 1.125rem; font-weight: 500; letter-spacing: .03em; /* v14: Cormorant, normal case */
    color: var(--text-2); text-decoration: none; position: relative; transition: color .25s ease;
  }
  .site-nav a:hover { color: var(--heading); }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
  }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"], .site-nav.is-open a[aria-current="page"] { color: var(--heading); font-style: normal; }
  .site-header__book { order: 3; margin-left: 36px; }
}

/* ---------- Home hero (v7 layout) ----------
   Phones and tablets: full-bleed studio entrance photo, dark gradient at the bottom, light text over it.
   From 64em: beige text column left (45%), photo column right (55%) at full hero height. */
.hero { position: relative; background: var(--dark); color: #FBF8F3; }
.hero__media { position: relative; overflow: hidden; height: calc(100svh - var(--header-h)); min-height: 600px; max-height: 1000px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
/* Below 64em the text sits over the lower part of the photo. A zoom anchored at the bottom edge lifts the
   whole decal (DAELITE BROW wordmark and its small Instagram/TikTok/WhatsApp lines, about 50-72% down the
   source) clear above the text block. The srcset sizes allow for the zoom. */
@media (max-width: 39.99em) { .hero__media img { object-position: 50% 50%; transform: scale(1.6); transform-origin: 75% 100%; } }
@media (min-width: 40em) and (max-width: 63.99em) { .hero__media img { object-position: 50% 100%; transform: scale(1.1); transform-origin: 50% 100%; } }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(29, 28, 26, .9) 0%, rgba(29, 28, 26, .6) 30%, rgba(29, 28, 26, 0) 50%);
}
/* the text block carries its own dark backing (fading out 72px above the label), so the light text keeps
   well over 4.5:1 against the brightest pixel behind it at any phone height */
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 72px var(--gutter) clamp(20px, 5vw, 48px);
  background: linear-gradient(to top, rgba(29, 28, 26, .88) 0%, rgba(29, 28, 26, .84) calc(100% - 72px), rgba(29, 28, 26, 0) 100%);
}
.hero__label { margin-bottom: 14px; max-width: 32em; color: #FFFDF9; }
.hero__label .nowrap { white-space: nowrap; } /* v13: wrap only after the middle dot */
@media (max-width: 39.99em) { .hero__label { letter-spacing: .06em; } }
.hero__title { font-size: var(--fs-h1); font-weight: 300; line-height: 1.02; letter-spacing: -.015em; color: #FFFFFF; }
.hero__title span, .hero__title em { display: block; text-wrap: balance; }
.hero .btn-row { margin-top: clamp(24px, 4vw, 36px); }
.hero .text-link { color: #FFFFFF; }
.hero .text-link:hover { color: var(--beige); }
@media (min-width: 64em) {
  .hero {
    display: grid; grid-template-columns: 45% 55%; background: var(--beige); color: var(--text);
    height: calc(92svh - var(--header-h)); min-height: 560px; max-height: 900px;
  }
  .hero__media { order: 2; height: auto; min-height: 0; max-height: none; }
  .hero__media::after { display: none; }
  .hero__content {
    position: static; order: 1; align-self: center; background: none;
    padding: 48px clamp(40px, 4.5vw, 80px);
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  }
  .hero__label { color: var(--muted); }
  .hero__title { font-size: clamp(2.75rem, 5.2vw, 5.25rem); color: var(--heading); }
  .hero .text-link { color: var(--heading); }
  .hero .text-link:hover { color: var(--bronze); }
}

/* ---------- Inner page header (staging style) ---------- */
.page-head { border-bottom: 1px solid var(--rule); padding-block: clamp(48px, 6vw, 88px) clamp(36px, 4vw, 56px); }
.page-head__inner { display: grid; gap: 20px; }
.page-head .label { margin-bottom: 14px; }
.page-title { font-size: var(--fs-page); font-weight: 300; line-height: 1.05; }
.page-head__lead { font-family: var(--serif); font-style: italic; font-size: 1.375rem; line-height: 1.45; color: var(--text-2); max-width: 26em; }
@media (min-width: 64em) {
  .page-head__inner { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
}

/* ---------- Philosophy quote ---------- */
.quote { text-align: center; padding-block: clamp(72px, 9vw, 136px); }
.quote blockquote { margin: 0 auto; max-width: 19em; }
.quote blockquote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.75rem); line-height: 1.3; color: var(--heading); }
.quote figcaption { margin-top: 28px; display: inline-flex; align-items: center; gap: 14px; }
.quote figcaption::before { content: ""; width: 28px; height: 1px; background: var(--muted); }

/* ---------- Marquee (v13: slim credential band) ----------
   18-24px Cormorant italic, ~60px tall on desktop and ~48px on phones. Items are separated by a small
   bronze four-point star (the sparkle in the DAELITE BEAUTY logo). site.js sets the duration from the
   measured group width so the drift stays ~23px/s at every size; 150s is the no-JS fallback. */
.marquee {
  display: block; overflow: hidden; background: var(--bg-sand); color: var(--bronze); /* v14: sand, between linen hero and ivory quote */
  padding-block: clamp(12px, 1vw, 16px); border-block: 1px solid var(--rule);
}
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; flex: 0 0 auto; align-items: center; }
.marquee__item {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem); line-height: 1.25; white-space: nowrap; padding-inline: 1.1em;
}
.marquee__star { width: .5em; height: .5em; flex: 0 0 auto; font-size: clamp(1.125rem, 1.6vw, 1.5rem); fill: var(--btn); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee var(--marquee-dur, 150s) linear infinite; }
}
@media (min-width: 64em) { .marquee { padding-block: 16px; } } /* desktop band ~57-63px tall */
@keyframes marquee { to { transform: translateX(-50%); } }
/* reduced motion: no drift, so show the two lines once each, wrapped and centred (the band grows as needed) */
@media (prefers-reduced-motion: reduce) {
  .marquee { padding-inline: var(--gutter); }
  .marquee__track { width: auto; justify-content: center; }
  .marquee__group + .marquee__group, .marquee__group > :nth-child(n+4) { display: none; }
  .marquee__group { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; row-gap: 2px; }
  .marquee__item { white-space: normal; text-align: center; text-wrap: balance; }
}
/* below desktop the two lines stack with the star between them, so it never dangles at a line end */
@media (prefers-reduced-motion: reduce) and (max-width: 63.99em) {
  .marquee__group { flex-direction: column; }
}

/* ---------- Before / After compare ---------- */
.ba { position: relative; }
.ba__frame {
  --pos: 50%; position: relative; overflow: hidden; aspect-ratio: 3 / 2;
  background: var(--beige); user-select: none; -webkit-user-select: none;
}
.ba__frame--portrait { aspect-ratio: 4 / 5; } /* v24: full-face pairs keep the whole face */
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; }
.ba__img--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__label {
  position: absolute; bottom: 4%; z-index: 2; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.375rem, 1rem + 1vw, 2rem); color: #FFFFFF; line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.ba__label--before { left: 4.5%; }
.ba__label--after { right: 4.5%; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; margin-left: -.5px; background: #FFFFFF; z-index: 2; pointer-events: none; }
.ba__handle {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; border: 1px solid #FFFFFF; background: rgba(29, 28, 26, .4);
}
.ba__cap { font-family: var(--serif); font-size: 1.625rem; line-height: 1.2; color: var(--heading); text-align: center; margin-bottom: 14px; }
.tone-beige .ba__frame, .tone-linen .ba__frame { background: #E9E0D3; }
.tone-sand .ba__frame { background: #DDD3C5; }
.ba__handle::before, .ba__handle::after {
  content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border: solid #FFFFFF; border-width: 0 0 1.5px 1.5px;
}
.ba__handle::before { left: 13px; transform: rotate(45deg); }
.ba__handle::after { right: 13px; transform: rotate(-135deg); }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 3;
  opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; background: transparent;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 4px; height: 100vh; cursor: ew-resize; }
.ba__range::-moz-range-thumb { width: 4px; height: 100vh; border: 0; cursor: ew-resize; }
.ba__range:focus-visible ~ .ba__line .ba__handle { outline: 3px solid #FFFFFF; outline-offset: 3px; }
/* ---------- Before & After carousel (v7: one slider at a time, arrows both sides, dots) ---------- */
.portfolio { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.portfolio .btn-row { margin-top: 28px; }
@media (min-width: 64em) {
  .portfolio { grid-template-columns: 28% minmax(0, 1fr); gap: 48px; align-items: center; }
}
.carousel__body { display: flex; align-items: center; gap: 16px; }
/* without JS the slides scroll sideways; JS switches to one-at-a-time */
.carousel__viewport { flex: 1 1 auto; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel.is-ready .carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; transition: transform .5s var(--ease); }
.carousel__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.carousel__body > .circle-btn { display: none; }
.carousel__bar { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.carousel__dots { display: flex; }
.carousel__dot { width: 32px; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.carousel__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--muted); transition: background-color .2s ease, border-color .2s ease; }
.carousel__dot:hover::before { border-color: var(--heading); }
.carousel__dot[aria-current="true"]::before { background: var(--btn); border-color: var(--btn); }
html:not(.js) .carousel .circle-btn { display: none !important; }
@media (min-width: 64em) {
  .carousel__body > .circle-btn { display: inline-grid; margin-top: 44px; } /* centre on the frame, below the caption */
  .carousel__bar .circle-btn { display: none; }
}

/* Results: grid of compare sliders */
.ba-grid { display: grid; gap: 24px; }
@media (min-width: 48em) { .ba-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } } /* 3 across from tablet: no orphan card */
@media (min-width: 64em) { .ba-grid { gap: 24px; } }
@media (min-width: 48em) { .ba-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 66rem; margin-inline: auto; } } /* v23: two pairs, no empty third column */

/* ---------- Brow collage (no captions) ----------
   Tiles crop with --ox/--oy (object-position) and an optional zoom --z around --fx/--fy, so each
   brow stays in frame and baked-in text or cut watermarks fall outside the tile. */
.collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; }
.collage > li { overflow: hidden; background: var(--beige); aspect-ratio: 3 / 2; min-width: 0; }
.collage > li.collage__big { grid-column: 1 / -1; }
.collage > li.collage__wide { grid-column: 1 / -1; aspect-ratio: 3 / 1; }
.collage img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--ox, 50%) var(--oy, 50%);
  transform: scale(var(--z, 1)); transform-origin: var(--fx, 50%) var(--fy, 50%);
}
@media (min-width: 48em) {
  .collage { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 13.2vw, 190px); grid-auto-flow: dense; gap: 10px; }
  .collage > li, .collage > li.collage__wide { aspect-ratio: auto; }
  .collage > li.collage__big { grid-column: span 2; grid-row: span 2; }
  .collage > li.collage__wide { grid-column: span 2; }
}

/* ---------- Signature work (v14, staging layout) ---------- */
.sig-head { display: grid; gap: 20px 48px; margin-bottom: clamp(28px, 4vw, 48px); }
.sig-head .label { margin-bottom: 12px; }
.sig-head__text p { font-family: var(--serif); font-style: italic; font-size: 1.3125rem; line-height: 1.5; color: var(--text-2); max-width: 26em; }
.sig-head__text .text-link { margin-top: 14px; }
@media (min-width: 64em) { .sig-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.sig { list-style: none; display: grid; gap: 28px; }
.sig__item img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg-sand); }
.sig__item figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 1.0625rem; line-height: 1.4; color: var(--text-2); }
@media (min-width: 40em) and (max-width: 47.99em) { .sig { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sig > li:last-child { grid-column: 1 / -1; } }
@media (min-width: 48em) { .sig { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); } }

/* ---------- Our Clients grid (4 x 2) ---------- */
.clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; }
/* phones: the two text tiles run full width so their links never wrap; dense flow back-fills the photos */
.clients { grid-auto-flow: dense; }
.clients > li.tile-text { grid-column: 1 / -1; aspect-ratio: auto; min-height: 168px; }
.clients > li { aspect-ratio: 4 / 5; overflow: hidden; background: var(--beige); min-width: 0; }
.clients img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.tile-text {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  padding: 18px 16px; color: var(--text);
}
.tile-text h3 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); font-weight: 300; line-height: 1.1; }
.tile-text p { font-size: var(--fs-min); line-height: 1.45; color: var(--text-2); }
.tile-text .text-link { margin-top: 6px; letter-spacing: .08em; }
@media (min-width: 48em) {
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .tile-text { padding: clamp(20px, 2.2vw, 32px); }
  .tile-text p { font-size: var(--fs-ui); }
}
@media (min-width: 64em) {
  .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row; }
  .clients > li.tile-text { grid-column: auto; aspect-ratio: 4 / 5; min-height: 0; }
}

/* ---------- Horizontal scrollers ---------- */
.scroller__track {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  list-style: none; margin: 0; padding: 0;
}
.scroller__track::-webkit-scrollbar { display: none; }
.scroller__item { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.scroller__item img { width: 100%; height: 100%; object-fit: cover; }
.scroller__foot { display: flex; justify-content: center; margin-top: 40px; }
.gallery-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }

/* portrait strip: 1 visible on phones, 3 across from 48em (arrows hide when nothing scrolls) */
.scroller--portrait .scroller__item { flex-basis: 78%; aspect-ratio: 4 / 5; background: var(--beige); }
.scroller--portrait .scroller__item img { object-position: 50% 20%; }
@media (min-width: 48em) { .scroller--portrait .scroller__item { flex-basis: calc((100% - 32px) / 3); } }

/* ---------- Instagram (v18): editorial gallery + post dialog ----------
   Six real covers in rounded frames, staggered like a moodboard (3 columns, middle one dropped; 2 on phones).
   Reels carry a small play badge. With JS a tile opens .igdlg with the official embed. */
.iggal__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.iggal__head .label { margin-bottom: 12px; }
.iggal__head .title em { font-weight: 300; }
.iggal__handle { margin-top: 8px; }
.iggal__grid { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 12px; }
.iggal__item { break-inside: avoid; padding-bottom: 12px; }
.iggal__item:nth-child(4) { break-before: column; padding-top: 32px; }
@media (min-width: 48em) {
  .iggal__grid { columns: 3; column-gap: 20px; }
  .iggal__item { padding-bottom: 20px; }
  .iggal__item:nth-child(4) { break-before: auto; padding-top: 0; }
  .iggal__item:nth-child(3), .iggal__item:nth-child(5) { break-before: column; }
  .iggal__item:nth-child(3) { padding-top: 48px; } /* the middle column sits lower */
}
.iggal__tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-img, 16px); background: var(--bg-linen);
  color: #FFFDF9; text-decoration: none; transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease;
}
.iggal__tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid transparent;
  transition: border-color .35s ease; pointer-events: none;
}
.iggal__tile img { width: 100%; height: auto; aspect-ratio: var(--ar, 4 / 5); object-fit: cover; object-position: var(--pos, 50% 40%); transition: scale 1.4s cubic-bezier(.2, .7, .2, 1); }
.iggal__tile:hover, .iggal__tile:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(43, 38, 34, .16); }
.iggal__tile:hover::after, .iggal__tile:focus-visible::after { border-color: var(--bronze); }
.iggal__tile:hover img, .iggal__tile:focus-visible img { scale: 1.04; }
.iggal__veil {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  background: rgba(43, 38, 34, .7); opacity: 0; transition: opacity .35s ease;
  font: 500 var(--fs-min) / 1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.iggal__veil .spark { width: 14px; height: 14px; flex: none; margin: 0; fill: #E6D6BC; }
.iggal__tile:hover .iggal__veil, .iggal__tile:focus-visible .iggal__veil { opacity: 1; }
.iggal__play {
  position: absolute; top: 12px; right: 12px; z-index: 1; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(43, 38, 34, .6); color: #FFFDF9;
}
.iggal__play svg { width: 15px; height: 15px; margin-left: 2px; }

/* post dialog */
.igdlg {
  --heading: #1A1A1A; --text: #333333; --text-2: #5A554E; --bronze: #6F5B43; --rule: #E4DCCF;
  width: min(600px, calc(100vw - 24px)); height: min(820px, calc(100svh - 24px)); max-height: none; padding: 0; border: 0;
  border-radius: var(--radius-panel, 20px); background: var(--bg-ivory); color: var(--text); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.igdlg[open] { display: flex; flex-direction: column; }
.igdlg::backdrop { background: rgba(20, 17, 15, .74); }
.igdlg__bar { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--rule); }
.igdlg__count { margin-right: auto; font-family: var(--serif); font-size: 1.375rem; color: var(--heading); font-variant-numeric: lining-nums tabular-nums; }
.igdlg__bar .circle-btn { width: 44px; height: 44px; flex-basis: 44px; color: var(--heading); }
.igdlg__close { border-color: transparent; }
.igdlg__stage { position: relative; flex: 1 1 auto; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
.igdlg__stage:focus-visible { outline: 2px solid var(--bronze); outline-offset: -2px; }
.igdlg__stage iframe.instagram-media, .igdlg__stage .instagram-media-rendered {
  min-width: 0 !important; width: 100% !important; max-width: 100% !important; margin: 0 auto !important; border-radius: 12px !important;
}
.igdlg__stage blockquote.ig-card { margin: 0 auto; max-width: 420px; border-radius: var(--radius-img, 16px); overflow: hidden; }

blockquote.ig-card { margin: 0; padding: 0; border: 0; background: var(--beige); }
.ig-card__link { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #FFFFFF; text-decoration: none; }
.ig-card__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.ig-card__link:hover img, .ig-card__link:focus-visible img { transform: scale(1.03); }
.ig-card__cta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  background: linear-gradient(to top, rgba(29, 28, 26, .85), rgba(29, 28, 26, .6));
  font-size: var(--fs-min); font-weight: 500; letter-spacing: .04em;
}

/* ---------- Reviews (v15): review wall ----------
   Espresso band, centred heading and a large 5.0 rating, then columns of ivory cards that drift slowly.
   Cards and the dialog reset the text tokens to the light-theme values. */
.stars { width: 110px; height: 20px; color: #E8B931; flex-shrink: 0; }
.reviews { position: relative; overflow: hidden; }
.reviews__mono {
  position: absolute; left: 50%; top: 50%; width: min(90vw, 900px); height: auto; transform: translate(-50%, -50%);
  opacity: .04; pointer-events: none;
}
.reviews__inner { position: relative; }
.rhead { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rhead .label { margin-bottom: 12px; }
.reviews .title em { font-weight: 300; }
.rhead__rating { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 24px; }
.rhead__score {
  font-family: var(--serif); font-weight: 300; font-size: clamp(5.5rem, 4rem + 4vw, 7.5rem); line-height: .9;
  letter-spacing: -.02em; color: #FBF8F3; font-variant-numeric: lining-nums;
}
.rhead__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.rhead__meta .stars { width: 132px; height: 24px; }
.rhead__count {
  display: inline-flex; align-items: center; min-height: 44px; font-family: var(--serif); font-size: 1.375rem;
  color: #FBF8F3; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  font-variant-numeric: lining-nums; /* "171", not Cormorant's old-style figures */
}
.rhead__count:hover { color: var(--star); }
.rhead .text-link { margin-top: 8px; }

.rwall { margin-top: clamp(40px, 5vw, 64px); }
.rwall__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rwall__list.is-collapsed > li:nth-child(n+4) { display: none; }
.wcard {
  --heading: #1A1A1A; --text: #333333; --text-2: #5A554E; --muted: #746A5D; --bronze: #6F5B43; --rule: #E4DCCF;
  display: flex; flex-direction: column; align-items: flex-start; padding: 24px 24px 18px;
  background: var(--bg-ivory); color: var(--text); border-radius: 4px;
}
.wcard .stars { width: 100px; height: 18px; }
.wcard__pull { margin: 14px 0 0; }
.wcard__pull p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.375rem, 1.25rem + .3vw, 1.5rem); line-height: 1.3; color: var(--heading); }
.wcard__by { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.wcard__name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; color: var(--heading); }
.wcard__src { font-size: var(--fs-min); color: var(--text-2); }
.wcard__full { margin-top: 14px; }
.wcard__full p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.55; color: var(--text); }
.wcard__full[hidden] { display: none; }
.wcard__open {
  margin-top: 8px; min-height: 44px; padding: 0 2px; background: none; border: 0; cursor: pointer;
  font: 500 var(--fs-min) / 1 var(--sans); color: var(--bronze); text-decoration: underline; text-underline-offset: 5px;
}
.wcard__open:hover { color: var(--heading); }
html:not(.js) .wcard__open { display: none; }
.rwall__more { display: flex; margin: 24px auto 0; }
.rwall__more[hidden] { display: none; }
.tone-dark .btn--outline:hover { background: #FBF8F3; border-color: #FBF8F3; color: var(--bg-espresso); }

/* static wall (no JS, or reduced motion) from tablet: masonry columns, every review visible */
@media (min-width: 48em) {
  .rwall__list { display: block; columns: 2; column-gap: 16px; }
  .rwall__list > li { break-inside: avoid; margin-bottom: 16px; }
}
@media (min-width: 64em) {
  .rwall__list { columns: 3; column-gap: 24px; }
  .rwall__list > li { margin-bottom: 24px; }
}

/* drifting wall (built by site.js from tablet up when motion is allowed) */
.rwall.is-wall { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; height: 620px; }
.rwall.is-wall .rwall__list { display: none; }
.rwall__col {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.rwall__track { display: flex; flex-direction: column; animation: rwall-up var(--dur, 40s) linear infinite; }
.rwall__col[data-dir="down"] .rwall__track { animation-name: rwall-down; }
.rwall__track > .wcard { flex: 0 0 auto; margin-bottom: 16px; }
.rwall.is-wall:hover .rwall__track, .rwall.is-wall:focus-within .rwall__track, .rwall.is-paused .rwall__track { animation-play-state: paused; }
@keyframes rwall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes rwall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (min-width: 64em) {
  .rwall.is-wall { gap: 24px; }
  .rwall__track > .wcard { margin-bottom: 24px; }
}

/* full review dialog */
.rdialog {
  --heading: #1A1A1A; --text: #333333; --text-2: #5A554E; --bronze: #6F5B43;
  width: min(640px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: 4px;
  background: var(--bg-ivory); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: auto;
}
.rdialog::backdrop { background: rgba(20, 17, 15, .72); }
.rdialog__inner { position: relative; padding: 44px clamp(24px, 5vw, 48px) 36px; }
.rdialog__close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: none; color: var(--heading); cursor: pointer; transition: background-color .2s ease;
}
.rdialog__close:hover { background: var(--bg-sand); }
.rdialog__close svg { width: 22px; height: 22px; }
.rdialog .stars { width: 110px; height: 20px; }
.rdialog__text p { margin-top: 16px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.6; color: var(--text); }
.rdialog__by { margin-top: 22px; padding-top: 16px; border-top: 1px solid #E4DCCF; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }

/* ---------- Team: layered collage + personable names ---------- */
.tlive { display: grid; gap: 48px; align-items: center; }
.tcollage { position: relative; width: 100%; max-width: 560px; margin-inline: auto; padding: 28px 18% 64px 0; --py: 0px; }
.tcollage figure { margin: 0; overflow: hidden; background: #E9E0D3; }
.tcollage img { width: 100%; height: 100%; object-fit: cover; }
.tcollage__main { aspect-ratio: 4 / 5; border-radius: 50% 50% 6px 6px / 38% 38% 6px 6px; box-shadow: 0 18px 40px rgba(29, 28, 26, .14); transform: translateY(calc(var(--py) * -.4)); }
.tcollage__main img { object-position: 58% 38%; }
.tcollage__second {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 7px solid var(--bg); border-radius: 6px;
  box-shadow: 0 14px 32px rgba(29, 28, 26, .18); transform: translateY(calc(var(--py) * .6)) rotate(2deg);
}
.tcollage__second img { object-position: 50% 45%; } /* keep the client's chin in frame */
.tcollage__dot {
  position: absolute; top: 0; right: 4%; width: 30%; aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--bg);
  box-shadow: 0 10px 26px rgba(29, 28, 26, .16); transform: translateY(calc(var(--py) * 1));
}
.tcollage__dot img { object-position: 50% 50%; } /* lit D mark of the studio sign, no faces to crop */
.tlive__kicker { font-family: var(--serif); font-style: italic; font-size: 1.375rem; color: var(--text-2); margin-bottom: 6px; }
.tlive__title { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 300; line-height: 1; }
.tlive__title span, .tlive__title em { display: block; }
.tlive__title em { position: relative; width: max-content; font-weight: 300; padding-left: 1.1em; color: #8C8273; } /* large text: 3.2:1 on beige */
.tone-sand .tlive__title em { color: #776B5C; } /* v14 sand band: large text 3.9:1 */
.tlive__swash { position: absolute; left: 1.05em; right: -.1em; bottom: -.18em; width: calc(100% - 1em); height: .28em; overflow: visible; }
.tlive__swash path { fill: none; stroke: var(--bronze); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.tlive__line { margin-top: 28px; color: var(--text-2); max-width: 28em; }
.tlive__names { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 36px; margin-top: 28px; }
.tlive__names li { display: flex; flex-direction: column; }
.tlive__names li:nth-child(2) { margin-top: 18px; }
.tlive__name { font-family: var(--serif); font-style: italic; font-size: clamp(1.875rem, 1.5rem + 1vw, 2.375rem); line-height: 1.1; color: var(--heading); }
.tlive__role { font-size: var(--fs-min); color: var(--text-2); margin-top: 2px; }
.tlive__text .btn { margin-top: 32px; }
@media (min-width: 64em) {
  .tlive { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 104px); }
  .tcollage { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tcollage { --py: 0px !important; }
}

/* ---------- Booking band ---------- */
.book-band { text-align: center; }
.book-band p { margin-top: 16px; font-size: var(--fs-body); color: var(--text-2); }
.book-band .btn-row { justify-content: center; }
.cta-dark .cta-dark__inner { display: grid; gap: 28px; }
.cta-dark p { margin-top: 12px; color: var(--on-dark); }
.cta-dark .btn-row { margin-top: 0; }
@media (min-width: 64em) {
  .cta-dark .cta-dark__inner { grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
}

/* ---------- Pricelist panel (staging services composition) ---------- */
.price-panel {
  display: grid; gap: 36px; padding: clamp(28px, 4.5vw, 64px);
  background: linear-gradient(165deg, #F4EFE8 0%, #EDE5DA 100%); border: 1px solid var(--rule); border-radius: 2px;
}
.tone-linen .price-panel { background: var(--bg-ivory); } /* v14: pricelist band is linen, so the panel steps up to ivory */
.price-panel .page-title { margin-bottom: clamp(24px, 3vw, 36px); }
.prices { border-top: 1px solid #DCD1C1; }
.prices__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding-block: 16px; border-bottom: 1px solid #DCD1C1;
}
.prices dt { font-family: var(--serif); font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem); line-height: 1.2; color: var(--heading); }
.prices dd { font-family: var(--serif); font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem); line-height: 1.2; color: var(--heading); white-space: nowrap; }
.includes-title { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.875rem); font-weight: 400; margin-top: clamp(32px, 4vw, 44px); }
.dash-list { list-style: none; margin-top: 16px; display: grid; gap: 10px 32px; }
.dash-list li { position: relative; padding-left: 26px; color: var(--text); }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .82em; width: 12px; height: 1.5px; background: var(--heading); }
.price-panel__photo { overflow: hidden; background: #1f1e1c; aspect-ratio: 4 / 5; }
.price-panel__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (min-width: 48em) { .dash-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) {
  .price-panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: stretch; }
  .price-panel__photo { aspect-ratio: auto; min-height: 100%; }
}

/* ---------- About ---------- */
.team-row { display: grid; gap: 32px 16px; list-style: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-row > li:first-child { grid-column: 1 / -1; }
.team-card__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--beige); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.team-card__initial { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(4rem, 3rem + 5vw, 7rem); color: var(--bronze); line-height: 1; }
.team-card__name { margin-top: 18px; font-size: 1.75rem; }
.team-card__role { font-size: var(--fs-ui); color: var(--text-2); margin-top: 2px; }
@media (min-width: 48em) {
  .team-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .team-row > li:first-child { grid-column: auto; }
}
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; }
.work-grid > li { aspect-ratio: 4 / 5; overflow: hidden; background: var(--beige); min-width: 0; }
.work-grid > li:first-child { grid-column: 1 / -1; }
.work-grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
@media (min-width: 48em) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .work-grid > li:first-child { grid-column: auto; }
}
.studio-pair { display: grid; gap: 14px; }
.studio-pair > div { overflow: hidden; background: var(--beige); }
.studio-pair img { width: 100%; height: 100%; object-fit: cover; }
.studio-pair > div:first-child { aspect-ratio: 3 / 2; }
.studio-pair > div:last-child { aspect-ratio: 4 / 5; }
.studio-pair > div:last-child img { object-position: 50% 30%; }
.address-line { margin-top: 24px; color: var(--text-2); }
@media (min-width: 48em) {
  .studio-pair { grid-template-columns: 1.6fr 1fr; gap: 20px; }
  .studio-pair > div:first-child, .studio-pair > div:last-child { aspect-ratio: auto; height: clamp(360px, 38vw, 540px); }
}

/* ---------- Book ---------- */
.options { display: grid; gap: 16px; }
@media (min-width: 48em) { .options { grid-template-columns: 1fr 1fr; gap: 24px; } }
.option {
  background: var(--beige); border: 1px solid var(--rule); border-radius: 2px;
  padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.option h2 { font-size: var(--fs-title); font-weight: 300; }
.option p { color: var(--text-2); }
.option .btn { margin-top: 24px; }
.find-us { display: grid; gap: 40px; }
.find-us address { font-style: normal; margin-top: 20px; font-family: var(--serif); font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); line-height: 1.3; color: var(--heading); }
.find-us .text-link { margin-top: 8px; }
.map { display: block; width: 100%; height: 360px; border: 0; margin-top: 24px; background: var(--beige); }
.find-us__photo { overflow: hidden; background: var(--beige); aspect-ratio: 4 / 5; }
.find-us__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (min-width: 64em) { .find-us { grid-template-columns: 1.3fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: start; } }

/* ---------- Footer (v18): inset rounded espresso panel ----------
   Asymmetric grid: brand (logo + round social buttons) / Visit (icon lines) / Explore (sparkle list); base row inside.
   Espresso reads more premium than linen on the ivory page edge and closes the page after the taupe booking band.
   Cormorant + Inter, 15px floor, all text >= 7:1 on #2B2622. Bottom clearance keeps the floating button off the text. */
.site-footer { padding: 16px 16px 104px; background: var(--bg-ivory); }
@media (min-width: 48em) { .site-footer { padding: 24px 24px 104px; } }
@media (min-width: 70em) { .site-footer { padding-bottom: 24px; } }
.site-footer__panel {
  position: relative; overflow: hidden; max-width: 1440px; margin-inline: auto; border-radius: 28px;
  background: var(--bg-espresso); color: #EDE7DD; padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 72px) 24px;
}
.site-footer__word {
  position: absolute; left: 50%; bottom: -.2em; translate: -50% 0; margin: 0; pointer-events: none; user-select: none;
  font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 20vw, 17rem); line-height: 1; letter-spacing: .06em;
  color: #F8F6F1; opacity: .045; white-space: nowrap;
}
.site-footer__grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 48em) { .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } .site-footer__explore { grid-column: 2; } .site-footer__brand { grid-row: span 2; } }
@media (min-width: 64em) { .site-footer__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr) minmax(0, .9fr); gap: 48px; } .site-footer__explore { grid-column: auto; } .site-footer__brand { grid-row: auto; } }
.site-footer__logo { display: inline-flex; }
.site-footer__logo img { width: 132px; height: auto; }
.site-footer__social { list-style: none; display: flex; gap: 12px; margin-top: 28px; }
.site-footer__social a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #EDE7DD;
  border: 1px solid rgba(237, 231, 221, .38); transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}
.site-footer__social a:hover { color: #D4C3AA; border-color: #D4C3AA; background: rgba(212, 195, 170, .1); }
.site-footer__social svg { width: 21px; height: 21px; }
.site-footer__title { margin-bottom: 14px; font: 500 var(--fs-min) / 1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #BFB5A6; }
.site-footer__lines { list-style: none; }
.site-footer__lines li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; align-items: start; padding-block: 8px; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.45; color: #EDE7DD; font-variant-numeric: lining-nums; }
.site-footer__lines svg { width: 19px; height: 19px; margin-top: 4px; color: #D4C3AA; }
.site-footer__lines a { color: #FBF8F3; text-decoration: underline; text-decoration-color: rgba(237, 231, 221, .3); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .25s ease, text-decoration-color .25s ease; }
.site-footer__lines a:hover { color: #D4C3AA; text-decoration-color: currentColor; }
.site-footer__lines a.site-footer__book { display: inline-flex; align-items: center; min-height: 40px; font-size: 1.0625rem; color: #D4C3AA; text-decoration-color: currentColor; }
.site-footer .nowrap { white-space: nowrap; }
.site-footer__explore ul { list-style: none; }
.site-footer__explore a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 40px; font-family: var(--serif); font-size: 1.1875rem; font-weight: 500;
  color: #EDE7DD; text-decoration: none; transition: color .25s ease;
}
.site-footer__explore a:hover { color: #D4C3AA; }
.site-footer__explore .spark { margin: 0; fill: #D4C3AA; }
.site-footer__explore a:hover .spark { transform: rotate(45deg); }
.site-footer__base {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  margin-top: clamp(36px, 5vw, 56px); padding-top: 20px; border-top: 1px solid rgba(237, 231, 221, .18);
  font-family: var(--serif); font-size: 1rem; color: #BFB5A6;
}
@media (min-width: 70em) { .site-footer__base { padding-right: 72px; } } /* floating button sits over the panel corner at page end */

/* ---------- Floating WhatsApp (v17): rounded-square speech bubble with a tail ----------
   Espresso fill with a faint ivory ring so it reads on every shade (ivory, linen, sand, taupe and the espresso band). */
.wa-float {
  position: fixed; right: 20px; bottom: 26px; z-index: 45; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; background: var(--bg-espresso); color: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(248, 246, 241, .45), 0 10px 24px rgba(29, 28, 26, .22);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.wa-float::after { /* the tail, bottom-right */
  content: ""; position: absolute; right: 12px; bottom: -8px; width: 14px; height: 9px;
  background: inherit; clip-path: polygon(0 0, 100% 0, 92% 100%);
}
.wa-float:hover { background: #3A332D; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(248, 246, 241, .55), 0 14px 30px rgba(29, 28, 26, .28); }
.wa-float svg { width: 34px; height: 34px; }
.wa-float:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }

/* ---------- Nav sparkle (v17): the four-point star from the DAELITE BEAUTY logo after each nav link ---------- */
.spark { width: 9px; height: 9px; flex: 0 0 9px; margin-left: 7px; fill: var(--bronze); transition: transform .3s ease; }
.site-nav a:hover .spark, .site-footer__nav a:hover .spark { transform: rotate(45deg); }
.site-nav.is-open .spark { width: 12px; height: 12px; flex-basis: 12px; margin-left: 12px; }
@media (prefers-reduced-motion: reduce) { .site-nav a:hover .spark, .site-footer__nav a:hover .spark { transform: none; } }

/* ---------- Reduced motion: everything static ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* QA v11 fixes */
.scroller__track { position: relative; }

/* QA v14 fixes */
/* Before/After labels: soft dark pill so white text reads on pale skin */
.ba__label {
  padding: .1em .55em .18em; border-radius: 999px;
  background: rgba(30, 26, 22, .62); text-shadow: none;
}
/* Floating WhatsApp button: keep it off the reviews arrows and the footer "Singapore" up to small-laptop widths */
@media (max-width: 69.99em) {
  .rcar__bar .circle-btn { order: -1; }
  .rcar__progress { margin: 0 0 0 8px; }
  .site-footer__bottom { padding-bottom: 96px; }
}
/* Before & After: side arrows only from 1120px; below that the centred arrows under the slider stay clear of the floating button */
@media (min-width: 64em) and (max-width: 69.99em) {
  .carousel__body > .circle-btn { display: none; }
  .carousel__bar .circle-btn { display: inline-grid; }
}
@media (max-width: 47.99em) { .carousel__bar { justify-content: flex-start; flex-wrap: wrap; } .carousel__bar .carousel__dots { order: 2; } } /* arrows first, clear of the floating WhatsApp button */

/* QA v15 fixes */
/* no page scroll behind the open review dialog */
html:has(dialog[open]) { overflow: hidden; }
/* desktop: keep "Singapore" clear of the floating WhatsApp button (staging's back-to-top button sits there) */
@media (min-width: 70em) { .site-footer__bottom { padding-right: 80px; } }

/* ---------- v16: lighter testimonials + softer corners (Hanwei 2026-10-21) ---------- */
/* Testimonials on sand instead of espresso; the D watermark is the bronze mark at low opacity */
.reviews.tone-sand .reviews__mono { opacity: .07; }
.reviews.tone-sand .rhead__score { color: var(--heading); }
.reviews.tone-sand .rhead__count { color: var(--heading); }
.reviews.tone-sand .rhead__count:hover { color: var(--bronze); }
.reviews.tone-sand .wcard { background: #FFFDF9; box-shadow: 0 10px 28px rgba(43, 38, 34, .07); }

/* Softer corners everywhere: pill buttons, rounded image boxes and panels */
:root { --radius-img: 16px; --radius-panel: 20px; }
.btn { border-radius: 999px; }
.ba__frame, .collage img, .sig__item img, .studio-pair img, .clients img, .work-grid img,
.ig-tile, .ig-tile img, .tile-text { border-radius: var(--radius-img); }
.ig-tile { overflow: hidden; }
.wcard, .rdialog { border-radius: var(--radius-panel); }
.ig-profile, .price-panel, .option { border-radius: var(--radius-panel); }
.tcollage__main { border-radius: 50% 50% 18px 18px / 38% 38% 18px 18px; }
.tcollage__second { border-radius: 16px; }
.tcollage__second img { border-radius: 10px; }
.clients > li, .work-grid > li, .studio-pair > div, .team-card__media,
.scroller__item, .find-us__photo, .price-panel__photo { border-radius: var(--radius-img); overflow: hidden; }
.scroller__item img, .find-us__photo img, .team-card__media img, .price-panel__photo img { border-radius: var(--radius-img); }
.map { border-radius: var(--radius-img); }

/* ---------- v17 overrides (after the QA blocks) ---------- */
/* footer copyright is centred now: clearance for the floating button on both sides, never only on the right */
@media (min-width: 70em) { .site-footer__bottom { padding-inline: 88px; } }
/* desktop underline runs under the link text only, not under the sparkle */
@media (min-width: 64em) { .site-nav a::after { right: 16px; } }

/* ---------- v18 (Hanwei 2026-10-21): appointment pill, loader, reveal, shimmer, hero life ---------- */
/* Header pill: "Make an appointment"; under 440px (the full pill needs ~436px of header) the compact "Book" shows instead; the menu has the full label */
.site-header__book .book-short { display: none; }
@media (max-width: 27.49em) { .site-header__book .book-long { display: none; } .site-header__book .book-short { display: inline; } }
.site-header__book { padding-inline: 18px; }
@media (min-width: 64em) {
  .site-nav ul { gap: 26px; }
  .site-header__book { margin-left: 30px; padding-inline: 22px; }
  .site-nav .site-nav__book { display: none; } /* desktop: the header pill is the appointment link */
}
@media (min-width: 80em) { .site-nav ul { gap: 32px; } .site-header__book { margin-left: 36px; } }

/* About CTA moved from espresso to taupe (the footer panel is the espresso moment now) */
.tone-taupe.cta-dark p { color: var(--text-2); }

/* Branded first-paint loader (added by the inline head script only) */
html.is-loading body::before {
  content: ""; position: fixed; inset: 0; z-index: 1000; background: var(--bg-ivory); transition: opacity .3s ease;
}
html.is-loading body::after {
  content: ""; position: fixed; left: 50%; top: 50%; z-index: 1001; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  background: url("../img/logo-d-bronze.png") center / contain no-repeat;
  animation: loader-mark .7s cubic-bezier(.2, .7, .2, 1) both; transition: opacity .25s ease;
}
html.is-leaving body::before, html.is-leaving body::after { opacity: 0; }
@keyframes loader-mark { from { opacity: 0; scale: .86; } to { opacity: 1; scale: 1; } }

/* Hero: lines rise in after the loader (base state stays visible; the animation only paints the start) */
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes draw { from { stroke-dashoffset: 1; } }
html.page-ready .hero__label { animation: rise .9s cubic-bezier(.2, .7, .2, 1) backwards; }
html.page-ready .hero__title > span { animation: rise .9s .08s cubic-bezier(.2, .7, .2, 1) backwards; }
html.page-ready .hero__title > em { animation: rise .9s .16s cubic-bezier(.2, .7, .2, 1) backwards; }
html.page-ready .hero .btn-row { animation: rise .9s .24s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero__title em { position: relative; width: fit-content; }
.hero__stroke { position: absolute; left: .05em; bottom: -.16em; width: 72%; height: .26em; overflow: visible; pointer-events: none; }
.hero__stroke path { fill: none; stroke: #C7AE89; stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (min-width: 64em) { .hero__stroke path { stroke: var(--bronze); } }
html.page-ready .hero__stroke path { animation: draw 1.5s .55s cubic-bezier(.6, .1, .3, 1) backwards; }
/* gentle parallax on the studio photo (site.js sets --hero-py, max 20px) */
.has-parallax .hero__media img { translate: 0 var(--hero-py, 0px); }
@media (min-width: 64em) { .has-parallax .hero__media img { scale: 1.06; } }

/* Scroll reveal: only elements below the fold at load get .reveal (site.js); nothing is hidden without JS */
.reveal { opacity: 0; translate: 0 22px; transition: opacity .75s ease, translate .75s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; translate: 0 0; }
.reveal-head em { display: inline-block; }
.reveal-head.reveal em { opacity: 0; translate: 14px 0; transition: opacity .7s ease .16s, translate .8s cubic-bezier(.2, .7, .2, 1) .16s; }
.reveal-head.reveal.is-in em { opacity: 1; translate: 0 0; }
.tlive__title.reveal-head em { display: block; }

/* Lazy images: linen shimmer while loading, then a soft fade + settle */
img.img-pending { background: linear-gradient(100deg, #EFE8DD 30%, #F8F4EC 50%, #EFE8DD 70%) 0 0 / 240% 100%; animation: shimmer 1.4s linear infinite; }
img.img-in { animation: img-in .8s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes img-in { from { opacity: 0; scale: 1.03; } }

/* Buttons: soft fill from the left on hover (focus styles unchanged) */
.btn--bronze { background-image: linear-gradient(var(--btn-hover), var(--btn-hover)); background-size: 0% 100%; background-repeat: no-repeat; background-position: left center; transition: background-size .45s cubic-bezier(.2, .7, .2, 1), border-color .25s ease, color .25s ease; }
.btn--bronze:hover { background-color: var(--btn); background-image: linear-gradient(var(--btn-hover), var(--btn-hover)); background-size: 100% 100%; background-repeat: no-repeat; border-color: var(--btn-hover); }
.btn--outline { background-image: linear-gradient(var(--heading), var(--heading)); background-size: 0% 100%; background-repeat: no-repeat; background-position: left center; transition: background-size .45s cubic-bezier(.2, .7, .2, 1), color .3s ease, border-color .25s ease; }
.btn--outline:hover { background-color: transparent; background-image: linear-gradient(var(--heading), var(--heading)); background-size: 100% 100%; background-repeat: no-repeat; }
.text-link .arrow { transition: translate .3s ease; }
.text-link:hover .arrow { transform: none; translate: 4px 0; }

/* Twinkling sparkles near three headings (decorative) */
.has-twinkle { position: relative; }
.twinkle { position: absolute; inset: 0; pointer-events: none; }
.twinkle .spark { position: absolute; margin: 0; fill: var(--bronze); opacity: .5; animation: twinkle 3.6s ease-in-out infinite; }
.twinkle .spark:nth-child(1) { width: 11px; height: 11px; top: -18px; left: 8%; }
.twinkle .spark:nth-child(2) { width: 7px; height: 7px; top: 22%; right: 6%; animation-delay: 1.2s; }
.twinkle .spark:nth-child(3) { width: 9px; height: 9px; bottom: -6px; left: 46%; animation-delay: 2.3s; }
@keyframes twinkle { 0%, 100% { opacity: .15; scale: .7; } 50% { opacity: .75; scale: 1; } }

/* "5.0": no width change while counting */
.rhead__num { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- v19 footer clean-up (Hanwei: "the footer looks weird") ----------
   Full-width espresso band (no floating inset panel or ivory gap), no giant wordmark behind the text,
   columns aligned to the site container, base row aligned to the same edges. */
.site-footer { padding: 0; background: var(--bg-espresso); color: #EDE7DD; }
.site-footer__panel {
  max-width: var(--container); margin-inline: auto; border-radius: 0; overflow: visible; background: transparent;
  padding: clamp(56px, 7vw, 88px) var(--gutter) 104px;
}
@media (min-width: 70em) { .site-footer__panel { padding-bottom: 32px; } }
.site-footer__word { display: none; }
.site-footer__grid { gap: 44px; }
@media (min-width: 48em) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
  .site-footer__brand { grid-row: auto; grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .site-footer__social { margin-top: 0; }
  .site-footer__explore { grid-column: auto; }
}
@media (min-width: 64em) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .site-footer__brand { grid-column: auto; display: block; }
  .site-footer__social { margin-top: 28px; }
}
.site-footer__base { padding-right: 0; }
@media (min-width: 70em) { .site-footer__base { padding-right: 80px; } } /* clear of the floating WhatsApp button */

/* ---------- v20 Instagram: compact strip (Hanwei: "a little bulky") ----------
   Desktop: one row of 6 equal tiles. Tablet: 3 x 2. Phones: a swipeable strip. Same tiles, badges, hover veil and dialog. */
.iggal.section { padding-block: clamp(56px, 6vw, 96px); }
.iggal__head { margin-bottom: clamp(24px, 3vw, 36px); }
.iggal__grid {
  columns: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.iggal__grid::-webkit-scrollbar { display: none; }
.iggal__item, .iggal__item:nth-child(n) { flex: 0 0 44%; padding: 0; break-before: auto; scroll-snap-align: start; }
.iggal__tile img { aspect-ratio: 4 / 5 !important; height: auto; }
@media (min-width: 48em) {
  .iggal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
@media (min-width: 64em) {
  .iggal__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .iggal__play { transform: scale(.85); transform-origin: top right; }
  .iggal__veil { font-size: var(--fs-min); }
}
.iggal__grid { scroll-padding-inline: var(--gutter); }
@media (max-width: 47.99em) { .iggal__grid::after { content: ""; flex: 0 0 1px; } } /* keeps the right gutter at the end of the strip */

/* ---------- v20 Our Clients: animated cards on hover ---------- */
.clients > li { position: relative; transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease; }
.clients img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s ease; }
/* soft light sweep across photo cards */
.clients > li:not(.tile-text)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 253, 249, .28) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .9s ease;
}
.clients > li:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(43, 38, 34, .16); }
.clients > li:hover img { transform: scale(1.06); filter: saturate(1.06); }
.clients > li:not(.tile-text):hover::after { transform: translateX(120%); }
/* text cards: tint deepens, link arrow nudges */
.clients > li.tile-text { transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, background-color .45s ease; }
.clients > li.tile-text:hover { background-color: var(--bg-sand); }
.clients > li.tile-text:hover .arrow { transform: translateX(4px); }
.clients .arrow { display: inline-block; transition: transform .3s ease; }
.clients > li:focus-within { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(43, 38, 34, .16); }
@media (hover: none) { .clients > li:hover { transform: none; box-shadow: none; } .clients > li:hover img { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .clients > li, .clients img, .clients > li::after, .clients .arrow { transition: none !important; }
  .clients > li:hover, .clients > li:focus-within { transform: none; }
  .clients > li:hover img { transform: none; }
  .clients > li:not(.tile-text)::after { display: none; }
}

/* v20b: footer text matches the header nav (Cormorant 18px, weight 500, .03em) */
.site-footer__explore a, .site-footer__lines li, .site-footer__lines a.site-footer__book, .site-footer__base {
  font-family: var(--serif); font-size: 1.125rem; letter-spacing: .03em;
}
.site-footer__explore a, .site-footer__lines li { font-weight: 500; }

/* ---------- v21: the client's real pricelist + team photos ---------- */
.plist-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.plist-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-ivory); border: 1px solid var(--rule); }
.plist-tabs[hidden] { display: none; }
.plist-tab {
  min-height: 44px; min-width: 112px; padding: 0 26px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 500; line-height: 1; letter-spacing: .02em; color: var(--text-2);
  transition: background-color .25s ease, color .25s ease;
}
.plist-tab:hover { color: var(--heading); }
.plist-tab[aria-selected="true"] { background: var(--btn); color: #FFFFFF; }
.plist-panel + .plist-panel { margin-top: clamp(40px, 5vw, 64px); }
.plist-panel[hidden] { display: none; }
.plist-panel:focus-visible { outline: 2px solid var(--bronze); outline-offset: 6px; border-radius: 8px; }
.plist-panel__title { margin-bottom: 20px; font-size: var(--fs-title); font-weight: 300; }
/* with the tabs working, the tab names the list, so the H2 stays for screen readers only */
.plist-panel.is-tabbed .plist-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; }
.plist-panel.is-tabbed + .plist-panel { margin-top: 0; }
.plist { list-style: none; display: grid; gap: 16px; }
.svc { display: grid; gap: 16px 32px; padding: 16px; background: var(--bg-ivory); border-radius: var(--radius-panel, 20px); }
.svc__img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-img, 16px); }
.svc--row .svc__img { aspect-ratio: 435 / 193; }
.svc--men .svc__img { object-position: 50% 38%; } /* v22: men use the same row layout, landscape crops 780x442 */
.svc__body { padding-inline: 4px; }
.svc__name { font-size: clamp(1.625rem, 1.45rem + .4vw, 1.75rem); font-weight: 400; }
.svc__mins { margin-top: 4px; font-size: var(--fs-min); color: var(--muted); font-variant-numeric: lining-nums; }
.svc__desc { margin-top: 10px; color: var(--text-2); max-width: 30em; }
.svc__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 0; padding-inline: 4px; }
.svc__prices > div { display: flex; flex-direction: column; justify-content: flex-end; } /* prices line up even when a label wraps */
.svc__prices dt { font-size: var(--fs-min); line-height: 1.35; color: var(--text-2); }
.svc__prices dd { margin: 4px 0 0; font-family: var(--serif); font-size: clamp(1.5rem, 1.3rem + .5vw, 1.75rem); line-height: 1.1; color: var(--heading); font-variant-numeric: lining-nums; white-space: nowrap; }
@media (min-width: 48em) and (max-width: 63.99em) {
  .svc--row { grid-template-columns: 240px minmax(0, 1fr); align-items: center; }
  .svc--row .svc__prices { grid-column: 1 / -1; }
}
@media (min-width: 64em) {
  .svc--row { grid-template-columns: 270px minmax(0, 1fr) auto; align-items: center; padding: 18px 32px 18px 18px; }
  .svc--row .svc__prices { grid-template-columns: auto auto; column-gap: 32px; }
  .svc--row .svc__prices dt { white-space: nowrap; } /* both artist labels on one line, so the two prices align */
}
.plist-note { margin-top: 24px; font-size: var(--fs-min); color: var(--text-2); }

/* Service procedure */
.proc { display: grid; gap: 40px; align-items: center; }
@media (min-width: 64em) { .proc { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); } }
.steps { list-style: none; display: grid; gap: 28px; }
@media (min-width: 48em) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 40px; } }
.steps__item { padding-top: 18px; border-top: 1px solid var(--rule); }
.steps__num { display: block; font-family: var(--serif); font-size: 2.5rem; font-weight: 300; line-height: 1; color: var(--bronze); font-variant-numeric: lining-nums; }
.steps__title { margin-top: 12px; font-size: 1.625rem; font-weight: 400; }
.steps__item p { margin-top: 10px; color: var(--text-2); font-variant-numeric: lining-nums; }
.proc__photo { margin: 0; }
.proc__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-img, 16px); }
@media (max-width: 63.99em) { .proc__photo { max-width: 460px; } }

/* Team photos (client supplied, 2026-10) */
.tcollage__main img { object-position: 42% 30%; }
.tcollage__second img { object-position: 50% 58%; } /* v22: studio room, arched lamp over the brow bed */
.team-card__media--misa img { object-position: 50% 18%; transform: scale(1.4); transform-origin: 50% 24%; } /* closer crop so Misa matches the scale of Dehan's portrait */

/* ---------- v22: brow types in Signature work (from the client's price lists) ---------- */
.brows__title { margin: 0 0 12px; font-size: 1.5rem; font-weight: 400; }
.brows__row + .brows__title { margin-top: clamp(28px, 4vw, 44px); }
.brows__row {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px;
  margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter) 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.brows__row::-webkit-scrollbar { display: none; }
.brows__row::after { content: ""; width: 1px; } /* keeps the right gutter at the end of the strip */
.brows__row > li { min-width: 0; scroll-snap-align: start; }
@media (min-width: 48em) { .brows__row { grid-auto-columns: calc((100% - 3 * 14px) / 3.3); } }
@media (min-width: 75em) { /* 5 across only where a card is >= ~220px wide; narrower screens swipe */
  .brows__row { grid-auto-flow: row; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); grid-auto-columns: auto; gap: 16px; margin: 0; padding: 6px 0 8px; overflow: visible; }
  .brows__row::after { content: none; }
}
.brow-card { display: block; color: var(--heading); text-decoration: none; }
.brow-card__frame {
  position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 1; border-radius: var(--radius-img, 16px); background: var(--bg-sand);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease;
}
.brow-card__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s ease; }
.brows__row--men .brow-card__frame img { object-position: 50% 38%; }
.brow-card__frame::after { /* the same soft light sweep as Our Clients */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 253, 249, .28) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .9s ease;
}
.brow-card:hover .brow-card__frame, .brow-card:focus-visible .brow-card__frame { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(43, 38, 34, .16); }
.brow-card:hover img, .brow-card:focus-visible img { transform: scale(1.06); filter: saturate(1.06); }
.brow-card:hover .brow-card__frame::after { transform: translateX(120%); }
.brow-card__name { display: block; margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 1.3125rem; line-height: 1.3; transition: color .25s ease; }
.brow-card:hover .brow-card__name { color: var(--bronze); }
.brow-card:focus-visible { outline-offset: 4px; border-radius: 4px; }
@media (hover: none) { .brow-card:hover .brow-card__frame { transform: none; box-shadow: none; } .brow-card:hover img { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .brow-card:hover .brow-card__frame, .brow-card:focus-visible .brow-card__frame { transform: none; }
  .brow-card:hover img, .brow-card:focus-visible img { transform: none; }
  .brow-card__frame::after { display: none; }
}

/* ---------- v22b Our team: no overlapping photos (Hanwei) ----------
   The arched team photo stands alone; the studio reception photo sits as its own image under the text. */
.tcollage { padding: 0; }
.tlive__store { margin: 40px 0 0; aspect-ratio: 16 / 9; border-radius: var(--radius-img, 16px); overflow: hidden; background: #E9E0D3; box-shadow: 0 14px 32px rgba(29, 28, 26, .10); }
.tlive__store img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tlive__store:hover img { transform: scale(1.04); }
@media (min-width: 64em) { .tlive { align-items: start; } }
@media (prefers-reduced-motion: reduce) { .tlive__store img { transition: none; } .tlive__store:hover img { transform: none; } }
/* v22c: team names aligned on one baseline (no stagger) */
.tlive__names li:nth-child(2) { margin-top: 0; }

/* ---------- v22c footer on the header colour (Hanwei) ----------
   Same ivory as the header (var(--bg)), dark text and the dark stacked logo; thin top rule separates it from the band above. */
.site-footer { background: var(--bg); color: var(--text); border-top: 1px solid var(--rule); }
.site-footer__title { color: var(--muted); }
.site-footer__lines li { color: var(--text); }
.site-footer__lines svg { color: var(--bronze); }
.site-footer__lines a { color: var(--heading); text-decoration-color: rgba(43, 38, 34, .3); }
.site-footer__lines a:hover { color: var(--bronze); }
.site-footer__lines a.site-footer__book { color: var(--bronze); }
.site-footer__explore a { color: var(--heading); }
.site-footer__explore a:hover { color: var(--bronze); }
.site-footer__explore .spark { fill: var(--bronze); }
.site-footer__social a { color: var(--heading); border-color: rgba(43, 38, 34, .3); }
.site-footer__social a:hover { color: var(--bronze); border-color: var(--bronze); background: rgba(111, 91, 67, .06); }
.site-footer__base { color: var(--text-2); border-top-color: var(--rule); }
.site-footer :focus-visible { outline-color: var(--bronze); }

/* v22d: no hard divider lines between sections; colours blend instead (see site.js) */
.section--ruled { border-top: 0; }
.site-footer { border-top: 0; }

/* ---------- v25 (client V3) ---------- */
/* Make an appointment: Fresha / WhatsApp chooser (dialog built by site.js) */
.bookdlg { width: min(92vw, 520px); padding: 0; border: 0; border-radius: var(--radius-panel, 20px); background: var(--bg-ivory); color: var(--text); box-shadow: 0 30px 80px rgba(20, 17, 15, .35); }
.bookdlg::backdrop { background: rgba(20, 17, 15, .6); }
.bookdlg__inner { position: relative; padding: 40px clamp(22px, 5vw, 40px) 32px; }
.bookdlg__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem); line-height: 1.15; color: var(--heading); }
.bookdlg__lead { margin-top: 6px; color: var(--text-2); }
.bookdlg__opts { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.bookdlg__opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--rule); border-radius: 14px; background: #FFFFFF; color: var(--heading); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.bookdlg__opt:hover, .bookdlg__opt:focus-visible { border-color: var(--btn); transform: translateY(-2px); }
.bookdlg__opt strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
.bookdlg__opt small { display: block; margin-top: 2px; font-size: var(--fs-min); color: var(--text-2); }
.bookdlg__opt .arrow { font-size: 1.25rem; color: var(--bronze); }
.bookdlg__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--heading); cursor: pointer; }
.bookdlg__close:hover { background: var(--bg-sand); }
.bookdlg__close svg { width: 22px; height: 22px; }

/* Pricelist: other services */
.plist-extra { margin-top: clamp(40px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--rule); }
.plist-extra__title { font-size: var(--fs-title); font-weight: 300; }
.plist-extra__list { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 48em) { .plist-extra__list { grid-template-columns: 1fr 1fr; } }
.plist-extra__list li { padding: 22px 24px; border-radius: var(--radius-panel, 20px); background: var(--bg-ivory); }
.plist-extra__list h3 { font-size: 1.75rem; font-weight: 400; }
.plist-extra__list p { margin-top: 4px; color: var(--text-2); }
.plist-extra + .plist-note { margin-top: 24px; }

/* Pricelist: service procedure as a numbered timeline, photo above each step */
.tl { list-style: none; display: grid; gap: 40px; padding: 0; }
@media (min-width: 40em) { .tl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; } }
@media (min-width: 64em) { .tl { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
.tl__media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-img, 16px); background: var(--beige); }
.tl__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tl__num { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-family: var(--serif); font-size: 2.5rem; font-weight: 300; line-height: 1; color: var(--bronze); font-variant-numeric: lining-nums; }
.tl__num::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.tl__item:last-child .tl__num::after { content: none; }
.tl__title { margin-top: 12px; font-size: 1.5rem; font-weight: 400; line-height: 1.25; }
.tl__item p { margin-top: 8px; color: var(--text-2); font-variant-numeric: lining-nums; }

/* Results: Men / Women / Awards tabs (underline, serif) */
.rtabs { display: flex; flex-wrap: wrap; gap: 8px clamp(24px, 4vw, 48px); margin-top: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--rule); }
.rtabs[hidden] { display: none; }
.rtab { position: relative; padding: 6px 2px 14px; border: 0; background: none; cursor: pointer; font-family: var(--serif); font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); font-weight: 400; color: var(--muted); transition: color .25s ease; }
.rtab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--heading); transform: scaleX(0); transition: transform .35s var(--ease); }
.rtab:hover, .rtab[aria-selected="true"] { color: var(--heading); }
.rtab[aria-selected="true"]::after { transform: scaleX(1); }
.rtab:focus-visible { outline-offset: 4px; border-radius: 4px; }
.rpanel:focus-visible { outline: none; }

/* Results: Awards */
.awards { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.awards > li { overflow: hidden; border-radius: var(--radius-img, 16px); background: var(--beige); aspect-ratio: 4 / 5; }
.awards > li.awards__big { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
@media (min-width: 64em) { .awards { grid-template-columns: 2fr 1fr 1fr; } .awards > li.awards__big { grid-column: auto; aspect-ratio: auto; } }
.awards img { width: 100%; height: 100%; object-fit: cover; }

/* Results: Supplies */
.supplies { display: grid; gap: 14px; margin: 0; }
@media (min-width: 48em) { .supplies { grid-template-columns: 1fr 1fr; } }
.supplies > div { padding: 26px 28px; border-radius: var(--radius-panel, 20px); background: var(--bg-ivory); }
.supplies dt { font: 500 var(--fs-min)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.supplies dd { margin: 10px 0 0; font-family: var(--serif); font-size: clamp(1.75rem, 1.5rem + .8vw, 2.25rem); line-height: 1.15; color: var(--heading); }

/* About: team bios */
.team-card__bio { margin-top: 10px; font-size: var(--fs-min); line-height: 1.65; color: var(--text-2); }

/* ---------- v25b: Results as a gallery (client V3, sgac reference) ---------- */
.page-head--center .container { text-align: center; }
.page-head--center .rtabs { justify-content: center; border-bottom: 0; }
/* tabs: a quiet row of outlined pills; the active one is filled */
.rtabs { gap: 10px; }
.rtab { padding: 10px 28px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg-ivory); font-size: 1.375rem; line-height: 1.2; color: var(--text-2); }
.rtab::after { content: none; }
.rtab:hover { border-color: var(--btn); color: var(--heading); }
.rtab[aria-selected="true"] { background: var(--btn); border-color: var(--btn); color: #FFFFFF; }

.gslider__track { list-style: none; display: flex; padding: 0; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gslider__track::-webkit-scrollbar { display: none; }
.gslider__track:focus-visible { outline: 2px solid var(--bronze); outline-offset: 6px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .gslider__track { scroll-behavior: auto; } }
.gslide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.ggrid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 64em) { .ggrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.gtile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-img, 16px); background: var(--beige); }
.gtile__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.gtile__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.gtile__btn:hover img { transform: scale(1.04); }
.gtile__btn:focus-visible { outline: 2px solid var(--bronze); outline-offset: -4px; border-radius: var(--radius-img, 16px); }
.gtile__lbl { position: absolute; left: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(29, 28, 26, .66); color: #FFFFFF; font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.3; }
.gtile__lbl--b { top: 10px; } .gtile__lbl--a { top: calc(50% + 10px); }
.gtile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(to top, rgba(29, 28, 26, .7), rgba(29, 28, 26, 0)); color: #FFFFFF; font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.2; text-align: left; }
.gtile--empty { display: grid; place-items: center; border: 1px dashed var(--bg-taupe); background: var(--bg-linen); }
.gtile--empty .gtile__empty { font-size: var(--fs-min); color: var(--muted); text-align: center; line-height: 1.5; }
.gtile--empty .gtile__cap { background: none; color: var(--heading); }
@media (hover: none) { .gtile__btn:hover img { transform: none; } }
.gslider__bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.gslider__bar[hidden] { display: none; }
.gslider__count { min-width: 5.5em; text-align: center; font: 500 var(--fs-min)/1 var(--sans); letter-spacing: .14em; color: var(--heading); font-variant-numeric: tabular-nums; }

/* lightbox */
.glight { width: min(94vw, 760px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius-panel, 20px); background: var(--bg-ivory); overflow: hidden; }
.glight::backdrop { background: rgba(20, 17, 15, .82); }
.glight__fig { margin: 0; }
.glight__fig img { display: block; width: 100%; max-height: calc(92vh - 56px); object-fit: contain; background: var(--bg-linen); }
.glight__fig figcaption { padding: 14px 20px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--heading); }
.glight__close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(248, 246, 241, .9); color: var(--heading); cursor: pointer; }
.glight__close svg { width: 22px; height: 22px; }
.rpanel > .gallery { padding-top: clamp(28px, 3.5vw, 48px); } /* gallery sits right under the tabs */

/* ---------- v27: credential band shown still (Hanwei: keep the credentials, no drift) ----------
   Same look as the band; both lines shown once, centred; stacked with the star between them below desktop. */
.marquee--still { padding-inline: var(--gutter); }
.marquee--still .marquee__track { width: auto; justify-content: center; animation: none; }
.marquee--still .marquee__group + .marquee__group, .marquee--still .marquee__group > :nth-child(n+4) { display: none; }
.marquee--still .marquee__group { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; row-gap: 2px; }
.marquee--still .marquee__item { white-space: normal; text-align: center; text-wrap: balance; }
@media (max-width: 63.99em) { .marquee--still .marquee__group { flex-direction: column; } }

/* ---------- v27 light Results variant (results-light/): one tile per client, 4 per slide, caption under the photo ---------- */
.ggrid--light { gap: 18px; }
@media (min-width: 64em) { .ggrid--light { gap: 32px; } }
.gcard { min-width: 0; }
.gcard__btn { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-img, 16px); background: var(--beige); }
.gcard__cap { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.3; color: var(--heading); }
.gcard__cap span { font-family: var(--sans); font-style: normal; font-size: var(--fs-min); color: var(--muted); }
.glight__imgs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; background: var(--bg-linen); }
.glight__fig--pair img { max-height: calc(92vh - 56px); }
.glight:has(.glight__face:not([hidden])) { width: min(96vw, 1100px); }

/* ---------- v29: paid phase in the client's V3 order ---------- */
/* Pricelist: techniques showcase (below the price list) */
.tshow { margin-top: 8px; }
.tslide__stage { position: relative; height: clamp(340px, 36vw, 500px); border-radius: var(--radius-panel, 20px); background: var(--bg-sand); overflow: hidden; }
.tslide__word { position: absolute; left: 0; right: 0; top: 6%; text-align: center; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 11vw, 10.5rem); line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--heading); white-space: nowrap; }
.tslide__photo { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); margin: 0; width: clamp(190px, 22vw, 300px); aspect-ratio: 4 / 5; border-radius: 50% 50% 0 0 / 24% 24% 0 0; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(43, 38, 34, .45); }
.tslide__photo img { width: 100%; height: 100%; object-fit: cover; }
.tslide__about { margin-top: 28px; }
.tslide__name { font-family: var(--serif); font-size: clamp(1.8rem, 2.4vw, 2.25rem); font-weight: 400; color: var(--heading); }
.tslide__cols { display: grid; gap: 4px 48px; }
@media (min-width: 48em) { .tslide__cols { grid-template-columns: 1fr 1fr; } }
.tslide__lbl { margin-top: 18px; font: 500 var(--fs-min)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tslide__text { margin-top: 6px; }
.tslide__todo { color: var(--muted); font-style: italic; }
.tslide__refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.tslide__refs figure { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-img, 16px); background: var(--bg-sand); }
.tslide__refs img { width: 100%; height: 100%; object-fit: cover; }
.tslide__tag { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 4px; background: rgba(26, 26, 26, .72); color: #FFFFFF; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.tshow .gslider__bar { margin-top: 28px; }
/* Pricelist: ink colour picker */
.inkp { display: grid; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--radius-panel, 20px); background: var(--bg-ivory, #FBF9F5); }
@media (min-width: 48em) { .inkp { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.inkp__preview { width: min(100%, 340px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; box-shadow: inset 0 -30px 60px rgba(0, 0, 0, .18), 0 30px 60px -30px rgba(43, 38, 34, .4); transition: background-color .45s ease; }
@media (max-width: 47.99em) { .inkp__preview { width: 200px; } }
.inkp__g, .inkp__tech { display: flex; flex-wrap: wrap; gap: 8px; }
.inkp__tech { margin-top: 14px; }
.inkp__g button, .inkp__tech button { min-height: 44px; padding: 8px 18px; border: 1px solid var(--rule, #D9D2C5); border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: var(--fs-min); cursor: pointer; }
.inkp__g button[aria-pressed="true"], .inkp__tech button[aria-pressed="true"] { border-color: var(--heading); color: var(--heading); }
.inkp__g button[aria-pressed="true"] { background: var(--heading); color: #FFFFFF; }
.inkp__name { margin-top: 24px; font: 400 clamp(1.6rem, 2.4vw, 2.2rem)/1.2 var(--serif); color: var(--heading); }
.inkp__name small { display: block; margin-bottom: 6px; font: 500 var(--fs-min)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.inkp__swatches { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.inkp__swatch { width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .2s; }
.inkp__swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg-linen, #F3EEE6), 0 0 0 4px var(--heading); }
.inkp__swatch:hover { transform: scale(1.08); }
.inkp__fine { margin-top: 20px; color: var(--muted); font-size: var(--fs-min); }
.inkp__static { list-style: none; padding: 0; display: grid; gap: 6px; }
.inkp__lg { color: var(--heading); }
/* Results: videos under each tab's gallery */
.rvideos { margin-top: clamp(40px, 6vw, 72px); }
.rvideos__title { margin-bottom: clamp(16px, 2.5vw, 24px); font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.4vw, 2.25rem); color: var(--heading); }
.vrow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 48em) { .vrow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.vtile { aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-img, 16px); background: var(--bg-sand); cursor: pointer; }
.vtile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: filter .4s ease; }
.vtile:hover img { filter: none; }
.inkp[hidden], .inkp__static[hidden] { display: none; }

/* 2026-11-23: big technique word sized to its length so long names (K-Hairstroke, Microblading) fit the stage */
.tslide__stage { container-type: inline-size; }
.tslide__word { font-size: min(10.5rem, calc(118cqi / var(--n, 6))); }

/* ===== 2026-11-25: v3 synced with v2 (only the pages differ) ===== */
/* from v2 (2026-11-23): technique name row above the Techniques slider, so all techniques are visible and one tap away */
.tnav { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tnav::-webkit-scrollbar { display: none; }
.tnav button { flex: 0 0 auto; min-height: 44px; padding: 8px 18px; border: 1px solid var(--rule, #D9D2C5); border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: var(--fs-min); cursor: pointer; white-space: nowrap; }
.tnav button[aria-pressed="true"] { border-color: var(--heading); background: var(--heading); color: #FFFFFF; }
@media (max-width: 47.99em) { .tnav { justify-content: flex-start; margin-inline: -20px; padding-inline: 20px; } }

/* ---------- from v2 (2026-11-23): Awards page layout ---------- */
.ph { display: grid; place-items: center; padding: 12px; border: 1px dashed rgba(43, 38, 34, .28); border-radius: var(--radius-img, 16px); background: var(--bg-sand); color: var(--muted); font: 500 var(--fs-min)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.ph--wide { aspect-ratio: 4 / 3; }
.ph--sq { aspect-ratio: 1; }
.aw-lede { max-width: 34em; margin: 16px auto 0; font: 400 clamp(1.2rem, 1.8vw, 1.5rem)/1.4 var(--serif); color: var(--text-2); }
.aw-feature { display: grid; gap: 28px; align-items: center; }
@media (min-width: 48em) { .aw-feature { grid-template-columns: 7fr 5fr; gap: 56px; } }
.aw-feature__text .label { margin-bottom: 12px; }
.aw-feature__text .title { margin-bottom: 14px; }
.aw-thumbs { list-style: none; padding: 0; margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.aw-thumbs .ph { font-size: 11px; letter-spacing: .06em; }
.aw-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.aw-row { display: grid; grid-template-columns: 4.5em 1fr 72px; gap: 16px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--rule); }
@media (min-width: 48em) { .aw-row { grid-template-columns: 8em 1fr 120px; gap: 32px; padding-block: 28px; } }
.aw-row__year { font: 400 clamp(1.3rem, 2vw, 1.8rem)/1 var(--serif); }
.aw-row__title { font: 400 clamp(1.25rem, 2vw, 1.75rem)/1.25 var(--serif); }
.aw-row__meta { margin-top: 6px; font-size: var(--fs-min); }
.aw-row__img { font-size: 10px; padding: 6px; }
.certs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
@media (min-width: 48em) { .certs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; } }
.cert__frame { display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--radius-img, 16px); overflow: hidden; background: var(--bg-sand); }
button.cert__frame { padding: 0; border: 0; cursor: zoom-in; }
.cert__frame img { width: 100%; height: 100%; object-fit: cover; }
.cert__cap { margin-top: 10px; font-size: var(--fs-min); text-align: center; }
.aw-cta { justify-content: center; margin-top: clamp(36px, 5vw, 56px); }
.ph.cert__frame { display: grid; }
button.cert__frame { height: auto; background: var(--bg-sand); }

/* ---------- from v2 (2026-11-25): Techniques, neighbouring techniques smaller and faded either side of the photo ---------- */
.tshow .tslide__stage { --pw: clamp(190px, 22vw, 300px); --sw: calc(var(--pw) * .62); perspective: 900px; }
.tshow .tslide__photo { width: var(--pw); z-index: 2; }
.tside { position: absolute; bottom: 0; z-index: 1; width: var(--sw); padding: 0; border: 0; background: none; font: inherit; cursor: pointer;
  opacity: .42; filter: grayscale(.6); transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .7s ease, filter .3s ease; }
.tside--prev { right: calc(50% + var(--pw) / 2 + 20px); transform-origin: right bottom; transform: rotateY(28deg); }
.tside--next { left: calc(50% + var(--pw) / 2 + 20px); transform-origin: left bottom; transform: rotateY(-28deg); }
.tside__img { display: block; aspect-ratio: 4 / 5; border-radius: 50% 50% 0 0 / 24% 24% 0 0; overflow: hidden; }
.tside__img img { width: 100%; height: 100%; object-fit: cover; }
.tside__name { display: block; margin-bottom: 8px; font: 500 var(--fs-min)/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--heading); white-space: nowrap; text-align: center; }
.tside:hover, .tside:focus-visible { opacity: .75; filter: none; }
/* not the visible slide: sides tucked behind the photo, so they swing out when it arrives */
.tslide:not(.is-active) .tside--prev { transform: translateX(30%) rotateY(60deg) scale(.85); opacity: .18; }
.tslide:not(.is-active) .tside--next { transform: translateX(-30%) rotateY(-60deg) scale(.85); opacity: .18; }
@media (max-width: 47.99em) {
  .tshow .tslide__stage { --sw: calc(var(--pw) * .55); }
  .tside--prev { right: calc(50% + var(--pw) / 2 - 14px); }
  .tside--next { left: calc(50% + var(--pw) / 2 - 14px); }
  .tside__name { display: none; } /* phone: the name row above already names them */
}
@media (prefers-reduced-motion: reduce) { .tside { transition: none; } }

/* 2026-11-25: Judging fact line */
.aw-fact { margin-bottom: 10px; font: 400 clamp(1.15rem, 1.6vw, 1.35rem)/1.45 var(--serif); color: var(--heading); }
