/*
 * PARSO NAILS - parsonails.com
 *
 * An editorial page: big Cormorant Garamond type, generous photography, one
 * long scroll. The palette is not invented here - it is read off the
 * studio's own storefront and renders (the blush polish poured over the
 * ivory sign wall, the terracotta reception wall, the brass counter, the
 * warm ink of the lettering) and the identity's design tokens supply the
 * same values. The site and the room are meant to be recognisably one place.
 *
 * Motion is CSS. app.js adds classes (.is-scrolled, .is-visible,
 * .motion-paused) and never touches a frame; `prefers-reduced-motion` and
 * the footer's "Pause motion" both collapse everything to a plain page.
 */

/* ------------------------------------------------------------- fonts -- */
/* Self-hosted. No request leaves this domain for a typeface. */
@font-face { font-family: 'Parso Display'; src: url('/fonts/CormorantGaramond-Light.woff2') format('woff2'); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: 'Parso Display'; src: url('/fonts/CormorantGaramond-LightItalic.woff2') format('woff2'); font-style: italic; font-weight: 300; font-display: swap; }
@font-face { font-family: 'Parso EN'; src: url('/fonts/Carlito-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Parso EN'; src: url('/fonts/Carlito-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Parso AR'; src: url('/fonts/NotoSansArabic-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Parso AR'; src: url('/fonts/NotoSansArabic-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* ------------------------------------------------------------ tokens -- */
:root {
  --ink:    #28201D;   /* the lettering on the sign */
  --clay:   #805341;   /* the identity's primary: the reception wall */
  --terra:  #A56F5D;
  --blush:  #D9A9A2;
  --drip:   #E8C3BA;   /* the polish poured over the storefront */
  --brass:  #B08D57;
  --ivory:  #F7F1E9;
  --sand:   #E6D8CA;
  --rose:   #CFA99D;
  --line:   #E2D5CC;
  --muted:  #665750;   /* dark enough for AA on the sand sections too */

  --serif: 'Parso Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Parso EN', 'Segoe UI', Carlito, Calibri, sans-serif;
  --ar:    'Parso AR', 'Segoe UI', Tahoma, sans-serif;

  --page: clamp(24px, 5.6vw, 100px);
  --ease: cubic-bezier(.2, .7, .3, 1);
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Android pull-to-refresh reloads the page and loses a half-filled form. */
  overscroll-behavior-y: contain;
}
body.modal-open { overflow: hidden; }

button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
button:disabled { opacity: .4; cursor: default; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; }
h2 { font-size: clamp(44px, 5.9vw, 94px); line-height: 1.04; letter-spacing: -.03em; }
h2 em, h1 em { font-style: italic; font-weight: 300; }
p { line-height: 1.75; }
::selection { background: var(--drip); color: var(--ink); }
/* A ring in the page's own clay, offset so the ground shows between ring
   and control - visible on a clay-filled button too. Over a photograph or
   a dark ground the ring is ivory with an ink halo filling the gap, so it
   reads whatever the picture behind it happens to be. */
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .studio :focus-visible, .footer :focus-visible, .tour-dialog :focus-visible,
.site-header:not(.is-scrolled) :focus-visible, .fab:focus-visible, .lightbox-close:focus-visible, .skip-link:focus-visible {
  outline-color: var(--ivory); box-shadow: 0 0 0 3px var(--ink);
}
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* A full-width bridal story leads a quieter list of published packages. */
.package-edit { background: var(--sand); }
.package-heading { max-width: 920px; margin-bottom: clamp(36px, 5vw, 76px); }
.package-heading h2 { margin: 24px 0; }
.package-heading > p:last-child { max-width: 560px; color: var(--muted); }
.package-collection { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 64px); }
.package-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); margin-bottom: 48px; min-width: 0; }
.package-photo { overflow: hidden; background: var(--drip); }
.package-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.package-feature .package-photo { position: relative; min-height: 580px; }
.package-feature .package-photo img { position: absolute; inset: 0; }
.package-copy { min-width: 0; }
.package-feature .package-copy { padding: clamp(28px, 4.5vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.package-copy h3 { font-size: clamp(34px, 4.2vw, 68px); line-height: 1.1; margin: 18px 0; overflow-wrap: anywhere; }
.package-description { color: var(--muted); white-space: pre-line; }
.package-inclusions { list-style: none; padding: 0; margin: 28px 0; }
.package-inclusions li { border-top: 1px solid var(--line); padding: 9px 0; }
.package-inclusions li::before { content: '+'; display: inline-block; width: 24px; color: var(--clay); }
.package-action { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.package-price { color: var(--clay); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.package-row { padding: 30px 0; border-top: 1px solid #CBB8A9; display: grid; grid-template-columns: 116px 1fr; gap: 24px; align-items: start; }
.package-row .package-photo { aspect-ratio: 3 / 4; }
.package-row .package-copy h3 { font-size: clamp(30px, 3vw, 44px); margin-top: 10px; }
.package-row .package-inclusions { margin: 20px 0; }
.package-row.without-photo { grid-template-columns: 1fr; }
.package-feature.without-photo { grid-template-columns: 1fr; }
.package-feature.without-photo .package-copy { max-width: 900px; }
.package-field { margin-bottom: 18px; }
.selected-package { border-inline-start: 3px solid var(--clay); padding: 16px 22px; margin: 0 0 24px; background: var(--ivory); }
.selected-package h3 { font-size: 32px; line-height: 1.25; margin: 10px 0; }
.selected-package p { font-size: 14px; max-width: 56ch; color: var(--muted); }
.package-message:not(:empty) { color: var(--clay); margin-bottom: 18px; }
.pick.is-included { cursor: default; }
.pick.is-included small { display: block; font-size: 11px; font-weight: 400; }
.receipt-package { font-weight: 700; color: var(--clay); }
html[lang='ar'] .package-copy h3 { font-family: var(--ar); font-size: clamp(28px, 3vw, 42px); line-height: 1.6; }
html[lang='ar'] .package-row h3 { font-size: 28px; }
html[lang='ar'] .selected-package h3 { font-family: var(--ar); font-size: 24px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body:not(.motion-paused) .package-feature:hover .package-photo img { transform: scale(1.025); }
}
@media (max-width: 1050px) {
  .package-collection { grid-template-columns: 1fr; }
  .package-feature .package-copy { padding: 28px; }
  .package-feature .package-photo { min-height: 420px; }
  .package-row { grid-template-columns: 140px 1fr; }
}
@media (max-width: 650px) {
  .package-feature { grid-template-columns: 1fr; }
  .package-feature .package-photo { aspect-ratio: 5 / 4; min-height: 0; }
  .package-feature .package-copy { padding: 28px 22px 34px; }
  .package-row { grid-template-columns: 82px 1fr; gap: 16px; }
  .package-row .package-copy h3 { font-size: 29px; }
  .package-row .package-action { margin-inline-start: -98px; margin-top: 24px; }
  .package-row.without-photo .package-action { margin-inline-start: 0; }
  .package-choose { min-height: 48px; text-align: center; }
}

.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; background: var(--ivory); color: var(--ink); padding: 16px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: var(--drip); z-index: 110; transform-origin: left; transform: scaleX(0); }
html[dir='rtl'] .scroll-progress { transform-origin: right; }

/* ------------------------------------------------------------ cursor -- */
/* The studio's mark is the pointer, on any device that has one. The
   resting mark is ink; over anything clickable it warms to the reception
   wall's clay. Both carry an ivory halo so they still read on the dark
   hero and the footer. Text fields keep the I-beam - a logo over a field
   you are typing in hides the caret. */
html.has-pointer, html.has-pointer body {
  cursor: url('/brand/cursor-32.png') 26 4, auto;
  cursor: -webkit-image-set(url('/brand/cursor-32.png') 1x, url('/brand/cursor-64.png') 2x) 26 4, auto;
  cursor: image-set(url('/brand/cursor-32.png') 1x, url('/brand/cursor-64.png') 2x) 26 4, auto;
}
html.has-pointer :is(a, button, label, select, summary, [role='button'], input[type='checkbox'], input[type='date'], .magazine-card) {
  cursor: url('/brand/cursor-hover-32.png') 26 4, pointer;
  cursor: -webkit-image-set(url('/brand/cursor-hover-32.png') 1x, url('/brand/cursor-hover-64.png') 2x) 26 4, pointer;
  cursor: image-set(url('/brand/cursor-hover-32.png') 1x, url('/brand/cursor-hover-64.png') 2x) 26 4, pointer;
}
html.has-pointer :is(input:not([type='checkbox']):not([type='date']), textarea) { cursor: text; }
html.has-pointer :is(button:disabled) { cursor: default; }

/* ---------------------------------------------------------- the bar -- */
.site-header {
  height: 100px; position: absolute; top: 0; left: 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 0 var(--page); z-index: 40;
  color: var(--ivory);
  border-bottom: 1px solid rgba(247, 241, 233, .18);
  transition: background .4s, height .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  position: fixed; height: 78px;
  background: rgba(247, 241, 233, .94); color: var(--ink);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(40, 32, 29, .08);
  animation: header-in .35s ease-out;
}
.wordmark { display: flex; align-items: center; flex-direction: column; flex-shrink: 0; line-height: 1; }
.wordmark > img { width: 90px; height: 82px; object-fit: contain; }
.wordmark > .logo-dark, .site-header.is-scrolled .logo-light { display: none; }
.site-header.is-scrolled .logo-dark { display: block; }
.site-header.is-scrolled .wordmark > img { width: 68px; height: 62px; }
.wordmark > span { font-family: var(--serif); font-size: 35px; letter-spacing: .12em; margin-inline-start: .12em; }
.wordmark > small { font-family: var(--sans); font-size: 11px; letter-spacing: .55em; margin-top: 8px; margin-inline-start: .55em; }
.desktop-nav { display: flex; align-items: center; gap: 40px; margin-inline: auto; }
.desktop-nav a { font-size: 14px; letter-spacing: .04em; position: relative; padding: 14px 0; }
.desktop-nav a::after { content: ''; position: absolute; bottom: 8px; inset-inline-start: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
html[dir='rtl'] .desktop-nav a::after { transform-origin: right; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current='location']::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 28px; }
.language-toggle { font-family: var(--ar); font-size: 14px; padding: 12px 0; min-width: 40px; }
html[dir='rtl'] .language-toggle { font-family: var(--sans); letter-spacing: .08em; }
.header-book { font-size: 14px; border: 1px solid rgba(247, 241, 233, .45); border-radius: 50px; padding: 12px 23px; transition: background .3s, color .3s, border-color .3s; }
.site-header.is-scrolled .header-book { border-color: var(--rose); }
.header-book:hover { background: var(--clay); color: var(--ivory); border-color: var(--clay); }
.menu-toggle { display: none; padding: 12px 0; width: 28px; height: 46px; }
.menu-toggle span { display: block; height: 1px; margin: 6px 0; width: 28px; background: currentColor; transition: transform .3s; }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 78px 0 auto; background: var(--ivory); color: var(--ink); z-index: 39; display: flex; flex-direction: column; padding: 32px var(--page); gap: 22px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(40, 32, 29, .15); }
.mobile-nav a { font-family: var(--serif); font-size: 30px; }

/* ------------------------------------------------------- the button -- */
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 34px;
  padding: 18px 22px 18px 28px; border-radius: 60px; min-height: 60px;
  font-size: 14px; line-height: 1.4; position: relative;
  transition: background .3s, color .3s, box-shadow .3s, transform .3s, border-color .3s;
}
html[dir='rtl'] .button { padding: 18px 28px 18px 22px; }
.button-ivory { background: var(--ivory); color: var(--clay); }
.button-ivory:hover { background: var(--drip); color: var(--ink); box-shadow: 0 8px 30px rgba(40, 32, 29, .25); transform: translateY(-3px); }
.button-clay { background: var(--clay); color: var(--ivory); }
.button-clay:hover { background: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 26px rgba(40, 32, 29, .22); }
.button-quiet { background: transparent; color: var(--clay); border: 1px solid var(--rose); }
.button-quiet:hover { background: var(--clay); color: var(--ivory); border-color: var(--clay); transform: translateY(-3px); }
.button-wide { width: 100%; }
.arrow { font-size: 22px; line-height: 1; transition: transform .4s; }
.button:hover .arrow { transform: translate(3px, -3px); }
html[dir='rtl'] .arrow { display: inline-block; transform: scaleX(-1); }
html[dir='rtl'] .button:hover .arrow { transform: scaleX(-1) translate(3px, -3px); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; border-bottom: 1px solid currentColor; padding: 0 0 8px; font-size: 14px; line-height: 1.5; transition: gap .3s, color .3s; }
.text-link > span:last-child { font-size: 20px; }
html[dir='rtl'] .text-link > span:last-child { display: inline-block; transform: scaleX(-1); }
.text-link:hover { gap: 46px; color: var(--clay); }
.text-link--light { color: var(--ivory); }
.text-link--light:hover { color: var(--drip); }
.eyebrow { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; line-height: 1.8; font-weight: 700; }
.section-kicker { display: flex; gap: 18px; font-size: 12px; letter-spacing: .13em; align-items: center; font-family: var(--sans); line-height: 1.8; font-weight: 700; }
.section-kicker > span:first-child { color: var(--clay); }
.section-pad { padding: 110px var(--page); }
.muted { color: var(--muted); }

/* --------------------------------------------------------- the hero -- */
.hero {
  height: calc(100svh - 48px); min-height: 820px; max-height: 1160px;
  background: var(--ink); color: var(--ivory);
  position: relative; overflow: hidden;
}
.hero-photo { position: absolute; inset: 0 0 0 38%; will-change: transform; }
html[dir='rtl'] .hero-photo { inset: 0 38% 0 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; animation: hero-zoom 22s ease-in-out infinite alternate; }
/* Ink pouring over the photograph from the copy side, so the type sits on
   a solid ground and the picture fades in under it. */
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 36%, rgba(40, 32, 29, .9) 41%, rgba(40, 32, 29, .35) 56%, rgba(40, 32, 29, .12) 70%, rgba(40, 32, 29, .12) 100%), linear-gradient(0deg, rgba(40, 32, 29, .6), transparent 30%); }
html[dir='rtl'] .hero-shade { background: linear-gradient(270deg, var(--ink) 0%, var(--ink) 36%, rgba(40, 32, 29, .9) 41%, rgba(40, 32, 29, .35) 56%, rgba(40, 32, 29, .12) 70%, rgba(40, 32, 29, .12) 100%), linear-gradient(0deg, rgba(40, 32, 29, .6), transparent 30%); }
.hero-copy { position: relative; padding: 158px 0 120px var(--page); width: 64%; z-index: 2; }
html[dir='rtl'] .hero-copy { padding: 158px var(--page) 120px 0; }
.hero h1 { font-size: clamp(86px, 8.7vw, 144px); line-height: .92; letter-spacing: -.04em; margin-top: 30px; margin-bottom: 24px; }
/* Room below the baseline for the y and the comma: the box clips for the
   reveal, and .09em cut them flat. */
.title-line { display: block; overflow: hidden; padding: 0 .06em .17em 0; margin-bottom: -.08em; }
.title-line > span, .title-line > em { display: block; animation: title-reveal 1.3s cubic-bezier(.16, 1, .3, 1) both; }
.title-line:nth-child(2) > em { animation-delay: .15s; color: var(--drip); }
.title-line:nth-child(3) > span { animation-delay: .3s; }
.hero-description { font-size: 16px; line-height: 1.7; color: rgba(247, 241, 233, .92); max-width: 340px; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.hero-enter { animation: fade-up 1s ease both; animation-delay: .55s; }
.hero-copy > .eyebrow { animation-delay: .15s; color: var(--drip); }
.hero-location { position: absolute; z-index: 3; top: 147px; inset-inline-end: var(--page); display: flex; gap: 14px; align-items: center; font-size: 12px; letter-spacing: .17em; font-weight: 700; }
.small-star { font-size: 27px; animation: slow-spin 25s linear infinite; }
.hero-scroll { display: flex; align-items: center; gap: 28px; position: absolute; z-index: 3; bottom: 36px; inset-inline-start: var(--page); font-size: 12px; letter-spacing: .19em; font-weight: 700; }
.hero-scroll > span:last-child { font-size: 26px; animation: scroll-hint 2s infinite ease; }
.hero-note { position: absolute; z-index: 3; inset-inline-end: var(--page); bottom: 40px; text-align: end; border-top: 1px solid rgba(247, 241, 233, .4); padding-top: 16px; }
.hero-note > span { font-size: 12px; letter-spacing: .17em; direction: ltr; unicode-bidi: isolate; }
.hero-note p { font-family: var(--serif); font-size: 25px; font-style: italic; margin-top: 6px; }

/* ------------------------------------------------------- the ribbon -- */
/* The polish poured under the sign, running as a line of type. */
.ribbon { height: 60px; background: var(--drip); color: var(--ink); display: flex; align-items: center; overflow: hidden; direction: ltr; }
.ribbon-track { display: flex; align-items: center; gap: 54px; width: max-content; flex-shrink: 0; animation: ribbon 38s linear infinite; white-space: nowrap; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span { font-size: 12px; letter-spacing: .23em; font-weight: 700; }
html[dir='rtl'] .ribbon-track span { font-family: var(--ar); letter-spacing: 0; font-size: 14px; }
.ribbon-track i { font-style: normal; font-size: 28px; color: var(--clay); }

/* ---------------------------------------------------- 01 the ritual -- */
.ritual { overflow: hidden; }   /* the spinning star must not widen the page */
.ritual-intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 70px; align-items: center; margin-top: 45px; margin-bottom: 65px; }
.ritual-copy { max-width: 345px; margin-inline-start: auto; padding-top: 15px; }
.ritual-copy p { font-size: 16px; }
.ritual-copy .muted { margin-top: 16px; font-size: 14px; }
.ritual-bottom { display: grid; grid-template-columns: 1.45fr 1fr; gap: 9vw; align-items: center; }
.ritual-image { position: relative; aspect-ratio: 1.42; border-radius: 240px 240px 6px 6px; overflow: hidden; background: var(--sand); }
.ritual-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1.2s ease; }
.ritual-image:hover img { transform: scale(1.055); }
.image-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 70px 24px 22px; color: var(--ivory); background: linear-gradient(0deg, rgba(40, 32, 29, .6), transparent); font-size: 12px; letter-spacing: .18em; text-align: center; font-weight: 700; }
.ritual-aside { padding: 30px 0; }
.big-star { display: block; font-size: 50px; line-height: 1; color: var(--brass); margin-bottom: 30px; animation: slow-spin 50s linear infinite; width: fit-content; }
.ritual-aside p { font-family: var(--serif); font-size: clamp(28px, 3.1vw, 48px); line-height: 1.2; letter-spacing: -.01em; }
.ritual-aside p em { color: var(--clay); }
.ritual-aside .text-link { margin-top: 38px; }

/* ---------------------------------------------------- 02 the studio -- */
.studio { min-height: 740px; height: 90svh; max-height: 960px; position: relative; background: var(--ink); color: var(--ivory); overflow: hidden; }
.studio-backdrop { position: absolute; inset: -60px 0; will-change: transform; }
.studio-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.studio::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 32, 29, .78) 0, rgba(40, 32, 29, .5) 50%, rgba(40, 32, 29, .28)), linear-gradient(0deg, rgba(40, 32, 29, .6), transparent 25%); }
html[dir='rtl'] .studio::after { background: linear-gradient(270deg, rgba(40, 32, 29, .78) 0, rgba(40, 32, 29, .5) 50%, rgba(40, 32, 29, .28)), linear-gradient(0deg, rgba(40, 32, 29, .6), transparent 25%); }
.studio-content { position: relative; z-index: 2; padding: 100px var(--page); width: 80%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.studio h2 { font-size: clamp(58px, 6.8vw, 105px); line-height: 1.02; margin-top: 28px; margin-bottom: 28px; }
.studio h2 em { color: var(--drip); }
.studio-content > p:not(.eyebrow) { font-size: 16px; color: rgba(247, 241, 233, .92); max-width: 350px; }
.studio .eyebrow { color: var(--drip); }
.tour-launch { display: flex; align-items: center; gap: 22px; color: inherit; margin-top: 40px; text-align: start; }
.play-icon { width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(247, 241, 233, .6); display: flex; align-items: center; justify-content: center; font-size: 27px; background: rgba(247, 241, 233, .08); backdrop-filter: blur(10px); transition: background .4s, transform .5s, color .4s; }
.tour-launch:hover .play-icon { background: var(--ivory); color: var(--clay); transform: rotate(45deg); }
.tour-launch > span:last-child { display: flex; flex-direction: column; gap: 8px; }
.tour-launch strong { font-weight: 400; font-size: 17px; }
.tour-launch small { font-size: 12px; letter-spacing: .16em; font-weight: 700; }
.studio-footer { position: absolute; bottom: 30px; left: var(--page); right: var(--page); display: flex; justify-content: space-between; z-index: 2; font-size: 12px; letter-spacing: .1em; gap: 25px; }
.studio-footer > span:last-child { letter-spacing: 0; color: rgba(247, 241, 233, .7); }

/* -------------------------------------------------- 03 the magazine -- */
.magazine { background: var(--ivory); position: relative; }
.magazine-header, .menu-header { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 40px; }
.magazine-header h2, .menu-header h2 { margin-top: 30px; }
.magazine-header > p, .menu-header > p { color: var(--muted); font-size: 15px; padding-bottom: 10px; max-width: 330px; }
.magazine-edition { display: flex; align-items: center; gap: 36px; padding: 24px 0; margin: 54px 0 34px; border-block: 1px solid var(--clay); }
.magazine-edition .eyebrow { color: var(--clay); font-weight: 700; flex-shrink: 0; }
.magazine-edition p { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 36px); line-height: 1.35; }
.edition-total { margin-inline-start: auto; font-size: 13px; text-align: end; max-width: 125px; color: var(--muted); font-variant-numeric: tabular-nums; }
.magazine-tools { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.magazine-search { flex: 1; display: flex; align-items: center; gap: 16px; max-width: 560px; border-bottom: 1px solid var(--rose); transition: border-color .2s; }
.magazine-search:focus-within { border-color: var(--clay); }
.magazine-search > span:not(.sr-only) { font-size: 34px; line-height: 1; color: var(--clay); }
.magazine-search input { border: 0; background: transparent; padding: 15px 0; width: 100%; min-width: 0; font-size: 16px; border-radius: 0; }
.magazine-search input::placeholder { color: var(--muted); opacity: 1; }
.saved-filter { display: flex; gap: 12px; align-items: center; border: 1px solid var(--rose); padding: 12px 20px; min-height: 50px; font-size: 14px; transition: background .2s, color .2s; }
.saved-filter > span:first-child { font-size: 24px; line-height: 1; }
.saved-filter:hover, .saved-filter[aria-pressed='true'] { background: var(--clay); border-color: var(--clay); color: var(--ivory); }
.magazine-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.magazine-filters:empty { display: none; }
.magazine-results { min-height: 50px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 18px; color: var(--muted); font-size: 13px; }
.magazine-results .text-link { font-size: 13px; padding: 0; min-height: 32px; }
.filter { border: 1px solid var(--rose); color: var(--ink); border-radius: 999px; padding: 9px 18px; font-size: 13px; letter-spacing: .04em; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.filter:hover { border-color: var(--clay); transform: translateY(-1px); }
.filter[aria-pressed='true'] { background: var(--clay); border-color: var(--clay); color: var(--ivory); }
.magazine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 30px; align-items: start; }
.magazine-card { display: block; min-width: 0; opacity: 1; transform: none; }
body.enhanced .magazine-card { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--card-delay, 0ms); }
.magazine-card.is-visible, body.enhanced .magazine-card.is-visible { opacity: 1; transform: none; }
.magazine-photo { position: relative; }
.look-save { position: absolute; z-index: 2; inset-block-start: 14px; inset-inline-end: 14px; height: 44px; width: 44px; display: grid; place-items: center; background: var(--ivory); color: var(--clay); border: 1px solid rgba(128, 83, 65, .22); border-radius: 50%; font-family: var(--sans); font-size: 28px; box-shadow: 0 3px 12px #28201d15; transition: transform .25s var(--ease), background .25s; }
.look-save:hover { transform: scale(1.1); background: #fff; }
.look-save[aria-pressed='true'] { color: var(--clay); background: var(--drip); }
.look-save:active { transform: scale(.94); }
.look-choose { display: inline-block; text-align: start; margin-top: 15px; font-size: 13px; color: var(--clay); min-height: 36px; border-bottom: 1px solid var(--rose); transition: border-color .2s; }
.look-choose:hover { border-color: var(--clay); }
.cover-label { position: absolute; bottom: 18px; inset-inline-start: 20px; background: var(--ivory); color: var(--clay); font-size: 11px; letter-spacing: .14em; padding: 9px 14px; pointer-events: none; }
.magazine-card--cover { grid-column: span 2; }
.magazine-card--cover .magazine-image { aspect-ratio: 1.15; border-radius: 3px; }
.magazine-card--cover .magazine-caption h3 { font-size: clamp(34px, 3.4vw, 54px); }
.magazine-card--cover .magazine-details { padding-inline-start: 26px; border-inline-start: 1px solid var(--rose); }
/* Three lobes, cycled - an arch, a plain plate, an inverted arch - so the
   wall reads as one composition rather than a grid of identical tiles. */
.magazine-card:nth-child(3n+2) { margin-top: 85px; }
.magazine-card:nth-child(3n) { margin-top: 30px; }
.magazine-image { display: block; background: var(--sand); width: 100%; position: relative; overflow: hidden; aspect-ratio: .75; border-radius: 160px 160px 2px 2px; }
.magazine-card:nth-child(3n+2) .magazine-image { border-radius: 2px; }
.magazine-card:nth-child(3n) .magazine-image { border-radius: 2px 2px 160px 160px; }
.magazine-card--wide { grid-column: span 2; }
.magazine-card--wide .magazine-image { aspect-ratio: 1.4; border-radius: 2px; }
.magazine-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.magazine-image:hover img { transform: scale(1.07); }
body.enhanced .magazine-card .magazine-photo { clip-path: inset(0 0 5% 0); transition: clip-path 1.1s var(--ease); }
body.enhanced .magazine-card.is-visible .magazine-photo { clip-path: inset(0); }
.image-hover { position: absolute; width: 70px; height: 70px; border-radius: 50%; background: rgba(247, 241, 233, .85); backdrop-filter: blur(8px); color: var(--clay); display: flex; align-items: center; justify-content: center; font-size: 27px; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.8); opacity: 0; transition: transform .3s, opacity .3s; }
.magazine-image:hover .image-hover, .magazine-image:focus-visible .image-hover { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.magazine-caption { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-top: 22px; }
.magazine-caption h3 { font-size: 33px; line-height: 1.15; }
.magazine-caption > span { font-size: 12px; color: var(--clay); letter-spacing: .12em; font-weight: 700; white-space: nowrap; }
.magazine-card p { font-size: 13px; color: var(--muted); margin-top: 7px; line-height: 1.6; }
.magazine-more { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 60px; }
.magazine-more > p { font-size: 13px; color: var(--muted); }
.magazine-empty { padding: 58px 24px 62px; border-block: 1px solid var(--line); text-align: center; background: #e6d8ca40; }
.magazine-empty > span { display: inline-block; color: var(--clay); font-size: 42px; }
.magazine-empty h3 { font-size: clamp(32px, 3.6vw, 52px); margin: 10px 0 16px; }
.magazine-empty p { color: var(--muted); max-width: 50ch; margin-inline: auto; font-size: 15px; }
.magazine-empty .text-link { margin-top: 22px; }
.magazine-noscript { padding-block: 20px; }
.magazine-foot { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 42px; margin-top: 45px; border-top: 1px solid var(--line); }
.magazine-foot > p { font-size: 13px; color: var(--muted); }
.magazine.is-empty { display: none; }

.product-edit { background: var(--sand); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
.product-card { min-width: 0; border-bottom: 1px solid var(--rose); padding-bottom: 26px; }
.product-card > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; margin-bottom: 22px; }
.product-card > .eyebrow { display: block; color: var(--clay); font-size: 11px; margin-bottom: 12px; }
.product-card h3 { font-size: 34px; line-height: 1.25; }
.product-card p { font-size: 14px; color: var(--muted); margin: 10px 0; }
.product-price { display: block; font-weight: 400; margin-top: 14px; font-size: 18px; }
.product-card .text-link { margin-top: 18px; font-size: 13px; }
.team-edit { background: var(--ivory); border-bottom: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.team-card { min-width: 0; }
.team-card img { width: 100%; aspect-ratio: .85; object-fit: cover; border-radius: 150px 150px 2px 2px; margin-bottom: 20px; }
.team-card h3 { font-size: 30px; line-height: 1.3; }
.team-card p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.family-image { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; margin-inline-end: 12px; }
.service-image { width: 40px; height: 46px; object-fit: cover; flex-shrink: 0; border-radius: 2px; margin-inline-end: 10px; }
#specialist-field { margin-top: 18px; }

/* ------------------------------------------------------ 04 the menu -- */
.menu { background: var(--sand); }
/* Centred, like the card on a table: the headline over the middle of the
   page and the families in two columns under it. */
.menu-header { flex-direction: column; align-items: center; text-align: center; gap: 0; margin-bottom: 30px; }
.menu-header .section-kicker { justify-content: center; }
.menu-header > p { max-width: 46ch; padding-bottom: 0; margin-top: 22px; }
.families { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 80px; max-width: 1080px; margin: 30px auto 0; }
.family { border-top: 1px solid var(--rose); padding-top: 22px; }
.family-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.family-head h3 { font-size: 36px; line-height: 1.1; }
.family-meta { font-size: 12px; letter-spacing: .12em; color: var(--clay); font-weight: 700; white-space: nowrap; }
.family-list { list-style: none; margin: 18px 0 0; padding: 0; }
.item { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; }
.item-name { font-size: 16px; }
.item-meta { color: var(--muted); font-size: 13px; white-space: nowrap; }
/* The dotted leader of a printed menu. */
.item-leader { flex: 1; border-bottom: 1px dotted var(--rose); min-width: 24px; transform: translateY(-.35em); }
.item-price { color: var(--clay); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 16px; }
.item-price small { font-weight: 400; font-size: .78em; color: var(--muted); margin-inline-start: 3px; }
.item-price.is-soon { color: var(--muted); font-weight: 400; font-style: italic; letter-spacing: .04em; }
html[dir='rtl'] .item-price.is-soon { font-style: normal; }
.families.is-empty::after { content: attr(data-empty); color: var(--muted); grid-column: 1 / -1; }

/* ---------------------------------------------------- 05 the asking -- */
.book { background: var(--ivory); position: relative; }
/* The request is a sheet of paper in the middle of the page: the words
   centred over it, the three steps on a sand card with room around them. */
.book-header { max-width: 46rem; margin: 0 auto 44px; text-align: center; }
.book-header .section-kicker { justify-content: center; }
.book-header h2 { margin-top: 30px; }
.book-note { color: var(--muted); margin: 18px auto 0; max-width: 54ch; font-size: 15px; }
.track { margin: 18px auto 0; padding: .7rem 1rem; border-radius: 12px; background: var(--sand); font-size: 13px; max-width: 54ch; }
.track b { color: var(--clay); }
.form { max-width: 46rem; margin: 0 auto; display: grid; gap: 1.8rem; background: var(--sand); border-radius: 28px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 30px 60px rgba(40, 32, 29, .08); }
.selected-look { display: flex; align-items: center; gap: 22px; padding-bottom: 28px; border-bottom: 1px solid var(--rose); }
.selected-look img { object-fit: cover; width: 100px; height: 130px; border-radius: 60px 60px 2px 2px; flex-shrink: 0; }
.selected-look-details { min-width: 0; }
.selected-look .eyebrow { font-size: 11px; color: var(--clay); }
.selected-look h3 { margin-top: 7px; font-size: 30px; line-height: 1.2; }
.selected-look p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.selected-look .text-link { font-size: 13px; min-height: 38px; margin-top: 5px; }
.booking-receipt { max-width: 62rem; display: grid; grid-template-columns: 1fr auto; gap: 46px; align-items: center; margin: 38px auto 0; padding: 38px; border: 1px solid var(--rose); background: var(--ivory); box-shadow: 0 24px 48px #28201d0a; }
.receipt-copy .eyebrow { font-size: 11px; color: var(--clay); }
.receipt-copy h3 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.15; margin: 14px 0; }
.receipt-copy p { font-size: 14px; color: var(--muted); }
.receipt-copy .button { margin-top: 24px; font-size: 14px; }
.receipt-copy small { display: block; font-size: 12px; color: var(--muted); margin-top: 14px; }
.receipt-qr { margin: 0; width: 210px; padding: 12px; background: #fff; }
.receipt-qr img { width: 184px; height: 184px; }
.receipt-qr figcaption { font-size: 12px; text-align: center; color: var(--muted); padding-top: 10px; }
.track .text-link { font-size: inherit; }
.field { display: grid; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; color: var(--muted); padding: 0; letter-spacing: .02em; }
.step { gap: .9rem; }
.step > legend { display: flex; align-items: center; gap: .7rem; font-family: var(--serif); font-size: 30px; color: var(--ink); margin-bottom: .3rem; }
.step > legend i { font-family: var(--sans); font-style: normal; font-size: 12px; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--clay); color: var(--ivory); font-weight: 700; }
.field input, .field select, .field textarea { background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem; width: 100%; font-size: 16px; transition: border-color .25s, box-shadow .25s; }
.field input:not([type='checkbox']):focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(128, 83, 65, .14); }
.field textarea { resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.hint { margin: 0; color: var(--muted); font-size: 13px; min-height: 1.4em; }
.hint.is-live { color: #416653; }
.picks { display: flex; flex-wrap: wrap; gap: .5rem; }
.pick { border: 1px solid var(--rose); background: var(--ivory); color: var(--ink); border-radius: 999px; padding: .55rem 1rem; font-size: 14px; display: inline-flex; align-items: center; gap: .4rem; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.pick:hover { border-color: var(--clay); transform: translateY(-1px); }
.pick::before { content: '✓'; width: 0; overflow: hidden; opacity: 0; transition: width .25s, opacity .25s; font-size: .9em; }
.pick.is-on { background: var(--clay); border-color: var(--clay); color: var(--ivory); }
.pick.is-on::before { width: 1em; opacity: 1; }
.tally { margin: .8rem 0 0; color: var(--clay); font-weight: 700; min-height: 1.6em; font-variant-numeric: tabular-nums; }
.check { display: flex; align-items: center; gap: .6rem; }
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--clay); }
.formsay { margin: 0; min-height: 1.6em; }
.formsay.is-bad { color: #8C3A2E; }
.formsay.is-good { color: #416653; }

/* ----------------------------------------------------- 06 the visit -- */
.visit { background: var(--sand); padding-top: 78px; padding-bottom: 78px; position: relative; overflow: hidden; }
.visit-top { display: flex; align-items: center; justify-content: space-between; }
.visit-star { font-size: 74px; animation: slow-spin 40s linear infinite; line-height: 1; color: var(--brass); }
.visit h2 { font-size: clamp(57px, 7.5vw, 116px); margin-top: 28px; position: relative; }
.visit h2 em { color: var(--clay); }
.visit-bottom { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-top: 42px; }
.visit-address { font-size: 16px; max-width: 32ch; line-height: 1.9; }
.visit-hours { margin-top: 6px; color: var(--muted); }
.visit-hours b { color: var(--ink); font-family: var(--sans); letter-spacing: .04em; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.map { margin-top: 50px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--ivory); aspect-ratio: 21 / 9; min-height: 320px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85) sepia(.12); }

/* -------------------------------------------------------- the foot -- */
.footer { background: var(--ink); color: var(--ivory); padding: 76px var(--page) 28px; overflow: hidden; }
.footer-wordmark { font-family: var(--serif); font-size: clamp(120px, 20vw, 350px); letter-spacing: .08em; display: flex; align-items: center; justify-content: center; line-height: .76; position: relative; padding-bottom: 60px; direction: ltr; }
.footer-wordmark > span { position: absolute; bottom: 12px; font-family: var(--sans); font-size: 12px; letter-spacing: 1.1em; margin-left: 1em; }
.footer-wordmark:has(> img) { padding-bottom: 0; }
.footer-wordmark > img { width: min(380px, 75vw); height: auto; object-fit: contain; }
.footer-bottom { margin-top: 40px; border-top: 1px solid rgba(247, 241, 233, .2); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 12px; color: rgba(247, 241, 233, .8); }
.footer-bottom > span:nth-child(2) { font-family: var(--serif); font-style: italic; font-size: 20px; }
.footer-bottom button { font-size: 12px; padding: 8px; color: inherit; display: flex; gap: 8px; align-items: center; }
.footer-bottom > a { font-size: 12px; }
.motion-symbol { font-size: 16px; }
.footer-fine { margin-top: 18px; font-size: 12px; color: rgba(247, 241, 233, .5); }
.footer-credit { margin-top: 8px; font-size: 12px; color: rgba(247, 241, 233, .5); }
.footer-dev { color: rgba(247, 241, 233, .85); border-bottom: 1px solid rgba(247, 241, 233, .35); padding-bottom: 1px; letter-spacing: .04em; transition: color .3s, border-color .3s; }
.footer-dev:hover { color: var(--drip); border-bottom-color: var(--drip); }

/* --------------------------------------------------------- the fab -- */
.fab { position: fixed; bottom: 1.1rem; inset-inline: 0; margin-inline: auto; width: max-content; z-index: 30; background: var(--clay); color: var(--ivory); padding: .9rem 1.8rem; border-radius: 999px; font-weight: 700; box-shadow: 0 12px 30px rgba(40, 32, 29, .3); transform: translateY(140%); transition: transform .5s var(--ease); }
.fab.is-on { transform: translateY(0); }
.fab.is-off { transform: translateY(140%); }
.fab.is-focus-hidden { transform: translateY(140%); pointer-events: none; }
@media (min-width: 761px) { .fab { display: none; } }

/* -------------------------------------------------------- the tour -- */
.tour-dialog { width: 100%; max-width: none; height: 100svh; max-height: none; border: 0; padding: 0; inset: 0; background: var(--ink); color: var(--ivory); margin: 0; }
.tour-dialog::backdrop, .lightbox::backdrop { background: rgba(40, 32, 29, .9); backdrop-filter: blur(14px); }
.tour-shell { width: 100%; height: 100%; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.tour-stage { position: absolute; inset: 0 0 120px; overflow: hidden; touch-action: pan-y; perspective: 1200px; background: var(--ink); }
.tour-stage > img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.045) translate(var(--pan-x, 0px), var(--pan-y, 0px)); will-change: transform; transition: transform .7s ease-out; animation: tour-arrive 1s var(--ease); }
.tour-stage > img.is-contained { object-fit: contain; background: var(--sand); transform: none; }
.tour-stage > img.is-map { object-fit: contain; background: var(--sand); transform: none; padding: 70px 10vw 160px; }
.tour-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(40, 32, 29, .95) 0%, rgba(40, 32, 29, .45) 22%, transparent 48%, rgba(40, 32, 29, .6) 100%); }
.tour-header { position: absolute; top: 0; left: 0; width: 100%; padding: 24px 36px; display: flex; align-items: center; justify-content: space-between; z-index: 3; gap: 25px; }
.tour-header p { font-size: 12px; letter-spacing: .16em; font-weight: 700; }
.tour-header .wordmark > span { font-size: 29px; }
.tour-header .wordmark > small { font-size: 11px; }
.round-button { width: 48px; height: 48px; border: 1px solid rgba(247, 241, 233, .5); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(40, 32, 29, .35); backdrop-filter: blur(10px); color: var(--ivory); font-size: 23px; line-height: 1; transition: background .25s, color .25s; flex-shrink: 0; }
.round-button:hover { background: var(--ivory); color: var(--clay); }
.tour-caption { position: relative; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 20px 42px 30px; pointer-events: none; }
.tour-caption > div { pointer-events: auto; }
/* "05 / 10" is read left to right in both languages: digits and the slash
   are bidi-neutral and would be laid out backwards inside the RTL dialog. */
.tour-counter { font-size: 12px; letter-spacing: .16em; color: var(--drip); margin-bottom: 8px; font-weight: 700; direction: ltr; unicode-bidi: isolate; display: inline-block; }
html:not(.has-pointer) .pointer-only { display: none; }
.tour-caption h2 { font-size: 52px; line-height: 1.15; letter-spacing: -.02em; }
.tour-caption #tour-description { font-size: 14px; margin-top: 5px; }
.tour-caption small { font-size: 12px; display: block; color: rgba(247, 241, 233, .7); margin-top: 10px; }
.tour-actions { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; direction: ltr; }
.tour-map { color: var(--ivory); border: 1px solid rgba(247, 241, 233, .45); padding: 13px 18px; border-radius: 50px; font-size: 13px; min-height: 48px; }
.tour-map[aria-pressed='true'] { background: var(--ivory); color: var(--clay); }
.tour-thumbs { display: flex; gap: 12px; padding: 15px 42px 20px; background: var(--ink); z-index: 3; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--muted) var(--ink); flex-shrink: 0; min-height: 120px; }
.tour-thumb { position: relative; padding: 0; color: var(--ivory); width: 125px; flex-shrink: 0; opacity: .55; transition: opacity .3s; border: 1px solid transparent; border-radius: 3px; overflow: hidden; }
.tour-thumb[aria-current='true'] { opacity: 1; border-color: var(--drip); }
.tour-thumb:hover { opacity: 1; }
.tour-thumb img { width: 100%; height: 67px; object-fit: cover; }
.tour-thumb span { display: block; font-size: 12px; margin-top: 6px; margin-bottom: 3px; text-align: start; padding-inline: 4px; }
.tour-hotspot { position: absolute; left: 58%; top: 46%; z-index: 2; display: flex; align-items: center; flex-direction: column; gap: 10px; color: #fff; animation: fade-up 1s .6s both; padding: 14px; }
.tour-hotspot > span { display: flex; align-items: center; justify-content: center; width: 57px; height: 57px; background: rgba(255, 255, 255, .15); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; font-size: 26px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .08); animation: hotspot-pulse 3s infinite; }
.tour-hotspot > small { font-size: 12px; letter-spacing: .16em; background: rgba(40, 32, 29, .55); padding: 4px 8px; border-radius: 3px; font-weight: 700; }
.tour-hotspot:hover > span { background: var(--ivory); color: var(--clay); }

/* ---------------------------------------------------- the lightbox -- */
.lightbox { border: 0; padding: 32px; max-width: min(1050px, 94vw); max-height: 94svh; background: var(--ivory); color: var(--ink); width: max-content; overflow: auto; border-radius: 4px; }
.lightbox-close { position: absolute; top: 20px; inset-inline-end: 20px; z-index: 2; background: var(--clay); border-color: var(--clay); }
.lightbox-image { background: var(--sand); max-height: 66svh; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 2px; }
.lightbox-image img { width: auto; max-height: 66svh; object-fit: contain; }
.lightbox-caption { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-top: 24px; }
.lightbox-caption .eyebrow { color: var(--clay); unicode-bidi: isolate; }
.lightbox-caption .eyebrow b, .magazine-caption > span b, .track b { direction: ltr; unicode-bidi: isolate; font-weight: inherit; }
.lightbox-caption h2 { font-size: 36px; margin-top: 5px; }
.lightbox-caption p { font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 46ch; }
.lightbox-save { min-height: 40px; margin-top: 8px; font-size: 13px; color: var(--clay); }
.lightbox-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; direction: ltr; }
.lightbox .round-button { background: transparent; color: var(--ink); border-color: var(--rose); }
.lightbox .round-button:hover { background: var(--clay); color: var(--ivory); }
.lightbox .lightbox-close { background: var(--clay); color: var(--ivory); border-color: var(--clay); }
.lightbox .button { min-height: 48px; padding: 12px 18px 12px 22px; }

/* --------------------------------------------------------- revealing -- */
body.enhanced .reveal { opacity: 0; transform: translateY(35px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
body.enhanced .reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .12s; }
.reveal:nth-child(3) { transition-delay: .18s; }

@keyframes title-reveal { from { transform: translateY(110%) rotate(2deg); opacity: .2; } to { transform: translateY(0) rotate(0); opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.03); } to { transform: scale(1.15); } }
@keyframes ribbon { to { transform: translateX(-50%); } }
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes scroll-hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes tour-arrive { from { opacity: .2; transform: scale(1.15); } to { opacity: 1; transform: scale(1.045); } }
@keyframes hotspot-pulse { 0%, 100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, .08); } 50% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } }

/* --------------------------------------------------------- arabic -- */
/* The Arabic face carries everything, headings included: Cormorant has no
   Arabic, and a Latin display face next to Arabic text reads as a foreign
   object. Tracking is a Latin idea and is switched off. */
html[dir='rtl'] { --sans: var(--ar); --serif: var(--ar); }
html[dir='rtl'] h1, html[dir='rtl'] h2, html[dir='rtl'] h3, html[dir='rtl'] .ritual-aside p, html[dir='rtl'] .magazine-caption h3, html[dir='rtl'] .family-head h3, html[dir='rtl'] .step > legend { letter-spacing: 0; line-height: 1.45; }
html[dir='rtl'] h2 { font-size: clamp(38px, 4.8vw, 74px); }
html[dir='rtl'] em { font-style: normal; }
html[dir='rtl'] .wordmark, html[dir='rtl'] .footer-wordmark, html[dir='rtl'] .wordmark > span { font-family: 'Parso Display', Georgia, serif; direction: ltr; }
html[dir='rtl'] .wordmark > small, html[dir='rtl'] .footer-wordmark > span { font-family: 'Parso EN', sans-serif; }
html[dir='rtl'] .eyebrow, html[dir='rtl'] .section-kicker, html[dir='rtl'] .hero-location, html[dir='rtl'] .hero-scroll, html[dir='rtl'] .image-caption, html[dir='rtl'] .tour-launch small, html[dir='rtl'] .family-meta, html[dir='rtl'] .magazine-caption > span, html[dir='rtl'] .tour-header p, html[dir='rtl'] .tour-hotspot > small, html[dir='rtl'] .hero-note > span { letter-spacing: 0; }
html[dir='rtl'] .hero h1 { font-size: clamp(64px, 6.6vw, 112px); line-height: 1.18; margin-top: 16px; margin-bottom: 15px; }
html[dir='rtl'] .hero-note p { font-style: normal; }
html[dir='rtl'] .studio h2 { font-size: clamp(48px, 5.6vw, 86px); line-height: 1.2; }
html[dir='rtl'] .visit h2 { font-size: clamp(46px, 6vw, 92px); line-height: 1.2; }
html[dir='rtl'] .footer-bottom > span:nth-child(2) { font-family: var(--ar); font-style: normal; font-size: 16px; }
html[dir='rtl'] .tour-caption h2 { font-size: 40px; }
html[dir='rtl'] .lightbox-caption h2 { font-size: 30px; }
html[dir='rtl'] .step > legend { font-size: 24px; }
html[dir='rtl'] .item-price, html[dir='rtl'] .tally, html[dir='rtl'] .visit-hours b { font-family: var(--sans); }
html[dir='rtl'] .tour-hotspot { left: auto; right: 58%; }
html[dir='rtl'] .play-icon { transform: scaleX(-1); }
html[dir='rtl'] .tour-launch:hover .play-icon { transform: scaleX(-1) rotate(-45deg); }
html[dir='rtl'] .magazine-image:hover .image-hover, html[dir='rtl'] .magazine-image:focus-visible .image-hover { transform: translate(-50%, -50%) scale(-1, 1); }
html[dir='rtl'] .image-hover { transform: translate(-50%, -50%) scale(-.8, .8); }
html[dir='rtl'] .magazine-edition p { font-size: clamp(18px, 1.7vw, 26px); }
html[dir='rtl'] .cover-label { letter-spacing: 0; }
html[dir='rtl'] .magazine-card--cover .magazine-caption h3 { font-size: clamp(28px, 2.8vw, 42px); }
html[dir='rtl'] .selected-look h3 { font-size: 24px; }
html[dir='rtl'] .receipt-copy h3 { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.5; }

/* A short desktop window (a 1440x900 laptop with its browser chrome) has no
   room for the scroll hint under the buttons; it goes rather than overlap. */
@media (min-width: 761px) and (max-height: 880px) { .hero-scroll { display: none; } }
@media (min-width: 761px) and (max-width: 1000px) {
  .site-header { gap: 18px; padding-inline: 28px; }
  .desktop-nav { gap: 22px; }
  .desktop-nav a { white-space: nowrap; font-size: 13px; }
  .header-actions { gap: 18px; }
  .header-book { display: none; }
}

/* ----------------------------------------------------- wide screens -- */
@media (min-width: 1600px) {
  .hero-copy { padding-top: 180px; }
  .hero h1 { font-size: 158px; }
  .hero-description { font-size: 18px; max-width: 390px; }
  .hero-photo { inset-inline-start: 37%; inset-inline-end: 0; }
  .ritual-copy { max-width: 410px; }
}

/* --------------------------------------------------------- tablets -- */
@media (max-width: 1100px) {
  .hero { min-height: 780px; }
  .hero-copy { width: 70%; padding-top: 156px; }
  .hero h1 { font-size: 106px; }
  .hero-photo { inset: 0 0 0 30%; }
  html[dir='rtl'] .hero-photo { inset: 0 30% 0 0; }
  html[dir='rtl'] .hero h1 { font-size: 80px; }
  .hero-location { display: none; }
  .ritual-intro { gap: 45px; }
  .ritual-bottom { gap: 60px; }
  .magazine-grid { gap: 40px 20px; }
  .magazine-caption h3 { font-size: 28px; }
  .families { gap: 40px 50px; }
  .tour-caption { padding-left: 26px; padding-right: 26px; }
  .tour-thumbs { padding-left: 26px; padding-right: 26px; }
  .footer-bottom { flex-wrap: wrap; }
}

/* ---------------------------------------------------------- phones -- */
@media (max-width: 760px) {
  :root { --page: 22px; scroll-padding-top: 74px; }
  /* Fixed from the start on a phone, so the nav sheet below it always
     meets its edge - absolute-then-fixed left a gap for the first 80px. */
  .site-header { position: fixed; height: 78px; gap: 20px; }
  .site-header.is-scrolled { height: 78px; }
  .wordmark > span { font-size: 30px; }
  .wordmark > img { width: 68px; height: 62px; }
  .wordmark > small { font-size: 11px; margin-top: 6px; }
  .desktop-nav { display: none; }
  .header-actions { gap: 20px; }
  .header-book { display: none; }
  .language-toggle { min-width: 30px; }
  .menu-toggle { display: block; }
  .mobile-nav { inset-block-start: 78px; }

  .hero { height: calc(100svh - 42px); min-height: 735px; max-height: 1000px; }
  .hero-photo, html[dir='rtl'] .hero-photo { inset: 0; }
  .hero-photo img { object-position: 60% 42%; }
  .hero-shade, html[dir='rtl'] .hero-shade { background: linear-gradient(90deg, rgba(40, 32, 29, .85), rgba(40, 32, 29, .45) 65%, rgba(40, 32, 29, .2)), linear-gradient(0deg, rgba(40, 32, 29, .7), transparent 65%); }
  .hero-copy, html[dir='rtl'] .hero-copy { padding: 137px var(--page) 118px; width: 100%; }
  .hero h1 { font-size: clamp(86px, 14vw, 118px); margin-top: 28px; margin-bottom: 24px; line-height: .94; }
  html[dir='rtl'] .hero h1 { font-size: clamp(56px, 13vw, 80px); line-height: 1.2; margin-top: 22px; margin-bottom: 20px; }
  .hero-description { font-size: 15px; max-width: 300px; margin-bottom: 25px; }
  .hero-note { display: none; }
  .hero-scroll { font-size: 12px; bottom: 28px; gap: 24px; }
  .button { font-size: 14px; min-height: 57px; padding: 16px 21px 16px 25px; }
  .ribbon { height: 49px; }
  .ribbon-track { gap: 30px; }
  .ribbon-track i { font-size: 23px; }

  .section-pad { padding: 72px var(--page); }
  h2 { font-size: clamp(46px, 8vw, 64px); line-height: 1.08; }
  html[dir='rtl'] h2 { font-size: clamp(34px, 7vw, 46px); }
  .section-kicker { gap: 14px; }
  .ritual-intro { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; margin-bottom: 38px; }
  .ritual-copy { max-width: 100%; padding: 0; margin: 0; }
  .ritual-bottom { grid-template-columns: 1fr; gap: 26px; }
  .ritual-image { aspect-ratio: 1.18; border-radius: 180px 180px 3px 3px; }
  .ritual-aside { padding: 12px 0 0; position: relative; }
  .big-star { position: absolute; inset-inline-end: 3px; top: 20px; font-size: 38px; margin: 0; }
  .ritual-aside p { font-size: 34px; padding-inline-end: 60px; }
  .ritual-aside .text-link { margin-top: 25px; }

  .studio { height: 83svh; min-height: 650px; max-height: 900px; }
  .studio-content { padding: 80px var(--page); width: 100%; justify-content: center; }
  .studio h2 { font-size: 64px; margin-top: 24px; margin-bottom: 22px; }
  html[dir='rtl'] .studio h2 { font-size: 44px; }
  .studio-content > p:not(.eyebrow) { font-size: 15px; max-width: 285px; }
  .studio-backdrop img { object-position: 63% center; }
  .studio::after, html[dir='rtl'] .studio::after { background: linear-gradient(90deg, rgba(40, 32, 29, .8), rgba(40, 32, 29, .35)), linear-gradient(0deg, rgba(40, 32, 29, .7), transparent 50%); }
  .tour-launch { margin-top: 33px; gap: 18px; }
  .play-icon { height: 64px; width: 64px; }
  .tour-launch strong { font-size: 16px; }
  .studio-footer { bottom: 25px; flex-wrap: wrap; gap: 6px; }

  .magazine-header, .menu-header { display: block; margin-bottom: 30px; }
  .magazine-header h2, .menu-header h2 { margin-top: 26px; }
  .magazine-header > p, .menu-header > p { margin-top: 24px; max-width: none; }
  .magazine-edition { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 20px 0; margin: 30px 0 24px; }
  .magazine-edition p { grid-column: 1 / -1; grid-row: 2; font-size: 28px; }
  .edition-total { font-size: 11px; max-width: 108px; }
  .magazine-tools { align-items: stretch; flex-direction: column; gap: 18px; margin-bottom: 22px; }
  .magazine-search { max-width: none; }
  .saved-filter { align-self: flex-start; padding: 8px 16px; min-height: 44px; font-size: 13px; }
  .magazine-results { font-size: 12px; padding-bottom: 18px; }
  .magazine-filters { gap: 8px; margin-bottom: 30px; }
  .filter { padding: 8px 16px; font-size: 12px; min-height: 44px; }
  .text-link { min-height: 44px; align-items: center; }
  .footer-bottom > a, .footer-bottom > button { min-height: 44px; display: inline-flex; align-items: center; }
  .magazine-grid { grid-template-columns: 1fr 1fr; gap: 32px 14px; }
  .magazine-card:nth-child(3n+2) { margin-top: 0; }
  .magazine-card:nth-child(3n) { margin-top: 0; }
  .magazine-card:nth-child(2n) { margin-top: 44px; }
  .magazine-image { border-radius: 100px 100px 2px 2px; aspect-ratio: .72; }
  .magazine-card:nth-child(3n+2) .magazine-image { border-radius: 2px; }
  .magazine-card:nth-child(3n) .magazine-image { border-radius: 2px 2px 100px 100px; }
  .magazine-card--wide { grid-column: 1 / -1; }
  .magazine-card--wide .magazine-image { aspect-ratio: 1.25; }
  .magazine-card--cover { margin-top: 0; }
  .magazine-card--cover .magazine-image { border-radius: 3px; aspect-ratio: 1.02; }
  .magazine-card--cover .magazine-details { padding-inline-start: 16px; }
  .magazine-card--cover .magazine-caption { flex-direction: row; }
  .magazine-card--cover .magazine-caption h3 { font-size: 34px; }
  .cover-label { bottom: 12px; inset-inline-start: 12px; font-size: 10px; padding: 6px 9px; }
  .look-save { inset-inline-end: 9px; inset-block-start: 9px; }
  .look-choose { font-size: 12px; min-height: 44px; margin-top: 8px; }
  .magazine-more { gap: 16px; margin-top: 36px; }
  .magazine-caption { gap: 10px; margin-top: 14px; align-items: start; flex-direction: column; }
  .magazine-caption h3 { font-size: 24px; }
  .magazine-card p { font-size: 12px; margin-top: 6px; }
  .magazine-foot { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 34px; padding-top: 25px; }

  .families { grid-template-columns: 1fr; gap: 36px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .product-card > img { aspect-ratio: 1.15; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .team-card h3 { font-size: 26px; }
  .team-card p { font-size: 12px; }
  .product-card h3 { font-size: 30px; }
  .family-head h3 { font-size: 30px; }
  .item-name { font-size: 15px; }

  .book-header { margin-bottom: 30px; }
  .form { padding: 24px 18px; border-radius: 22px; }
  .selected-look { gap: 15px; align-items: flex-start; }
  .selected-look img { width: 76px; height: 104px; }
  .selected-look h3 { font-size: 26px; }
  .selected-look p { font-size: 12px; }
  .booking-receipt { grid-template-columns: 1fr; padding: 24px 20px; gap: 24px; }
  .receipt-qr { justify-self: center; }
  .receipt-copy .button { max-width: 100%; }
  .families { gap: 36px; margin-top: 10px; }
  .row { grid-template-columns: 1fr; }
  .step > legend { font-size: 26px; }

  .visit { padding-top: 55px; padding-bottom: 58px; }
  .visit-star { font-size: 44px; }
  .visit h2 { font-size: 61px; margin-top: 30px; line-height: 1.06; }
  html[dir='rtl'] .visit h2 { font-size: 42px; line-height: 1.2; }
  .visit-bottom { flex-direction: column; align-items: flex-start; gap: 26px; margin-top: 30px; }
  .visit-actions { justify-content: flex-start; }
  .map { aspect-ratio: 4 / 3; min-height: 0; margin-top: 34px; }

  /* Room under the last line for the "Book now" pill, which is fixed over
     the bottom of the screen on a phone. */
  .footer { padding: 58px var(--page) 5.5rem; }
  .footer-wordmark { font-size: 21vw; letter-spacing: .04em; padding-bottom: 36px; }
  .footer-wordmark > span { font-size: 11px; letter-spacing: .8em; bottom: 4px; }
  .footer-bottom { margin-top: 30px; padding-top: 20px; display: grid; grid-template-columns: 1fr auto; gap: 16px; }
  .footer-bottom > span:nth-child(2) { font-size: 17px; grid-row: 1; grid-column: 1 / -1; }
  .footer-bottom > span:first-child { grid-row: 2; }
  .footer-bottom > button { justify-self: start; padding-inline-start: 0; }

  .tour-stage { bottom: 99px; }
  .tour-header { padding: 20px; gap: 16px; }
  .tour-header p { display: none; }
  .tour-header .wordmark > span { font-size: 26px; }
  .round-button { width: 44px; height: 44px; font-size: 21px; }
  .tour-caption { flex-direction: column; gap: 15px; align-items: stretch; padding: 18px 20px 20px; }
  .tour-caption h2 { font-size: 38px; }
  html[dir='rtl'] .tour-caption h2 { font-size: 30px; }
  .tour-caption #tour-description { font-size: 13px; line-height: 1.5; max-width: 340px; }
  .tour-caption small { font-size: 12px; line-height: 1.5; max-width: 310px; margin-top: 7px; }
  .tour-actions { justify-content: flex-end; margin: 0; gap: 10px; }
  .tour-map { font-size: 12px; padding: 11px 16px; min-height: 44px; margin-right: auto; order: -1; }
  .tour-thumbs { padding: 12px 20px 16px; min-height: 99px; gap: 9px; }
  .tour-thumb { width: 95px; }
  .tour-thumb img { height: 48px; }
  .tour-hotspot { left: 58%; top: 34%; }
  html[dir='rtl'] .tour-hotspot { left: auto; right: 58%; }
  .tour-hotspot > span { height: 45px; width: 45px; font-size: 22px; }
  .tour-stage > img.is-map { padding: 80px 10px 290px; }

  .lightbox { padding: 18px; max-width: 94vw; max-height: 94svh; }
  .lightbox-close { inset-inline-end: 16px; top: 16px; }
  .lightbox-caption { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lightbox-caption h2 { font-size: 30px; }
  .lightbox-image { max-height: 60svh; }
  .lightbox-image img { max-height: 60svh; }
  .lightbox-actions { width: 100%; }
  .lightbox-actions .button { margin-inline-start: auto; }
}

@media (max-width: 380px) {
  :root { --page: 18px; }
  .hero { min-height: 720px; }
  .hero h1 { font-size: 82px; }
  html[dir='rtl'] .hero h1 { font-size: 54px; }
  .hero-copy { padding-top: 130px; }
  .hero-description { font-size: 14px; }
  .magazine-grid { gap: 24px 12px; }
  .magazine-caption h3 { font-size: 22px; }
  .visit h2 { font-size: 54px; }
  .studio h2 { font-size: 56px; }
}

/* ------------------------------------------------ respect the setting -- */
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  body.enhanced .reveal, body.enhanced .magazine-card { opacity: 1; transform: none; }
  body.enhanced .magazine-card .magazine-photo { clip-path: none; }
  .magazine-image:hover img, .look-save:hover { transform: none; }
  .hero-photo, .studio-backdrop, .tour-stage > img { transform: none !important; }
}
body.motion-paused *, body.motion-paused *::before, body.motion-paused *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
html.motion-paused { scroll-behavior: auto; }
body.motion-paused .reveal, body.motion-paused .magazine-card { opacity: 1 !important; transform: none !important; }
body.motion-paused .hero-photo, body.motion-paused .studio-backdrop, body.motion-paused .tour-stage > img { transform: none !important; }
body.motion-paused .title-line > span, body.motion-paused .title-line > em, body.motion-paused .hero-enter { opacity: 1; transform: none; }
body.motion-paused .magazine-card .magazine-photo { clip-path: none; }
body.motion-paused .magazine-image:hover img, body.motion-paused .look-save:hover { transform: none; }

@media print {
  .site-header, .ribbon, .fab, .scroll-progress, .hero-scroll, .tour-dialog, .lightbox, .magazine-more, #motion-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .studio, .footer { background: #fff; color: #000; min-height: 0; height: auto; }
}
