/* =====================================================================
   LUXURY NAIL AND SPA — STYLES
   Layout concept: "Champagne atelier" — cream ground, arch-framed imagery,
   hairline champagne rules, serif display with italic accents, and one
   deep espresso band for reservations.
   ===================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette: champagne gold, cream, pale grey, soft blush */
  --cream: #FAF6F0;
  --ivory: #FFFDF9;
  --blush: #F4E4DE;
  --blush-deep: #E4C4BA;
  --pale-grey: #ECE9E5;
  --stone: #D8D1C8;
  --champagne: #CDB07A;
  --champagne-light: #E8D7B4;
  --gold: #806036;            /* champagne gold dark enough for text on cream */
  --ink: #2A2421;
  --ink-soft: #5F5751;
  --espresso: #221C19;
  --espresso-2: #2F2723;
  --on-dark: #F5EEE4;
  --on-dark-muted: #BFB4A8;
  --error: #A2402F;
  --success: #4F6B4A;

  --gold-gradient: linear-gradient(135deg, #E2CA98 0%, #CBAA6E 48%, #B48F55 100%);

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Hoefler Text", "Times New Roman", serif;
  --font-body: "Jost", "Futura", "Avenir Next", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.8125rem;   /* 13 */
  --step-0: 1rem;         /* 16 */
  --step-1: 1.125rem;     /* 18 */
  --step-2: 1.5rem;       /* 24 */
  --step-3: clamp(1.75rem, 2.4vw, 2.1rem);
  --step-4: clamp(2.3rem, 4.4vw, 3.7rem);
  --step-5: clamp(2.6rem, 5.1vw, 4.6rem);

  /* Space & motion */
  --gutter: 20px;
  --section-y: clamp(80px, 10vw, 140px);
  --header-h: 84px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-lux: cubic-bezier(.65, 0, .25, 1);
  --shadow-soft: 0 30px 60px -30px rgba(42, 36, 33, .28);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { /* paints the phone's status-bar band above the sticky header */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--cream);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, figure, blockquote, address, table { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
em { font-style: italic; }
[hidden] { display: none !important; }
::selection { background: var(--champagne-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; font-size: var(--step--1); }
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.icon { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
svg { overflow: visible; }

/* Placeholder marker: anything not yet filled in */
.ph {
  color: var(--gold);
  text-decoration: underline dotted var(--champagne);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: help;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px; line-height: 1.4;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--champagne); }
.eyebrow--light { color: var(--champagne-light); }
.eyebrow__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--champagne); display: inline-block; }

.section { padding-block: var(--section-y); position: relative; }
.section-title {
  font-family: var(--font-display); font-weight: 500; font-size: var(--step-4);
  line-height: 1.04; letter-spacing: -0.012em; text-wrap: balance; color: var(--ink);
}
.section-title em { color: var(--gold); font-weight: 400; }
.section-title--light { color: var(--on-dark); }
.section-title--light em { color: var(--champagne-light); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split { display: grid; gap: 20px 48px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1fr minmax(0, 27rem); } }
.section-head__intro { color: var(--ink-soft); max-width: 34rem; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 28px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  line-height: 1.2; text-align: center; border-radius: 2px; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .4s, color .4s, border-color .4s;
}
.btn--sm { min-height: 42px; padding: 11px 20px; font-size: 0.72rem; }
.btn--lg { min-height: 56px; padding: 18px 34px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-gradient); color: var(--ink); box-shadow: 0 10px 30px -14px rgba(140, 106, 56, .7); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .55) 50%, transparent 75%);
  transform: translateX(-120%); transition: transform .9s var(--ease-lux);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -16px rgba(140, 106, 56, .8); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  padding-block: 6px; border-bottom: 1px solid var(--champagne);
}
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--on-dark); }

/* ---------- Top bar ---------- */
.topbar { display: none; background: var(--ivory); border-bottom: 1px solid var(--pale-grey); font-size: 0.8125rem; color: var(--ink-soft); }
.topbar__inner { display: flex; justify-content: space-between; gap: 24px; padding-block: 9px; }
.topbar__group { display: flex; gap: 28px; }
.topbar__item { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar__item .icon { color: var(--gold); }
.topbar__link:hover { color: var(--ink); }
@media (min-width: 900px) { .topbar { display: block; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(250, 246, 240, 0);
  transition: background-color .5s, box-shadow .5s, backdrop-filter .5s;
}
.site-header.is-scrolled {
  background: rgba(250, 246, 240, .88);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(205, 176, 122, .35), 0 12px 30px -24px rgba(42, 36, 33, .35);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .5s var(--ease-out); }
.site-header.is-scrolled .site-header__inner { height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--champagne); font-family: var(--font-display); font-style: italic; font-size: 1.6rem; line-height: 1;
  color: var(--gold); padding-bottom: 2px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; margin-right: -.26em; }
.brand__sub { font-size: 0.62rem; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.brand--light { color: var(--on-dark); }
.brand--light .brand__sub { color: var(--champagne-light); }
.brand--light .brand__mark { color: var(--champagne-light); }

.nav { margin-left: auto; display: none; }
.nav__list { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__link {
  position: relative; font-size: 0.78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
  padding-block: 8px; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--champagne);
  transform: scaleX(0); transition: transform .5s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.site-header__cta { margin-left: auto; }

.menu-toggle { position: relative; width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; margin-right: -8px; }
.menu-toggle__bar { display: block; width: 26px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease-lux); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-4.25px) rotate(-45deg); }

@media (min-width: 1140px) {
  .nav { display: block; }
  .site-header__cta { margin-left: 8px; }
  .menu-toggle { display: none; }
}
@media (max-width: 559px) {
  .site-header__cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .brand__mark { width: 40px; height: 40px; font-size: 1.45rem; }
  .brand__name { font-size: 1.35rem; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--cream);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-out), visibility 0s .45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease-out); }
.mobile-menu__list { display: grid; gap: 6px; }
.mobile-menu__list a {
  display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.2; color: var(--ink);
  opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.mobile-menu__list a:hover { color: var(--gold); }
.mobile-menu.is-open .mobile-menu__list a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) a { transition-delay: .05s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) a { transition-delay: .1s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) a { transition-delay: .15s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) a { transition-delay: .2s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(6) a { transition-delay: .25s; }
.mobile-menu__foot { display: grid; gap: 16px; border-top: 1px solid var(--stone); padding-top: 24px; }
.mobile-menu__meta { color: var(--ink-soft); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--cream); box-shadow: none; }
body.menu-open .ph-notice, body.menu-open .action-bar { visibility: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(28px, 5vw, 64px) clamp(64px, 8vw, 112px);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(244, 228, 222, .95) 0%, rgba(244, 228, 222, 0) 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(232, 215, 180, .35) 0%, rgba(232, 215, 180, 0) 70%),
    var(--cream);
}
.hero__grid { display: grid; gap: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }

.hero__title { font-family: var(--font-display); font-weight: 500; font-size: var(--step-5); line-height: .98; letter-spacing: -.018em; }
.hero__eyebrow { display: flex; flex-wrap: wrap; margin-bottom: 26px; }
.hero__line { display: block; }
@media (min-width: 960px) { .hero__line { white-space: nowrap; } }
@media (max-width: 959px) { .hero__title { font-size: clamp(2.6rem, 8.4vw, 4.4rem); } }
.hero__line em { color: var(--gold); font-weight: 400; }
.hero__lead { margin-top: 28px; max-width: 33rem; font-size: var(--step-1); color: var(--ink-soft); line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__services {
  display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--stone);
  font-size: 0.72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); max-width: 36rem;
}
.hero__services li { display: flex; align-items: center; }
.hero__services li:not(:last-child)::after { content: ""; width: 4px; height: 4px; margin-inline: 14px; border-radius: 50%; background: var(--champagne); }

.hero__media { position: relative; max-width: 560px; width: 100%; justify-self: center; padding-top: 18px; }
.hero__media::before { /* hairline arch echo */
  content: ""; position: absolute; top: 0; right: 0; width: 80%; aspect-ratio: 1100 / 1400; max-width: 100%;
  border: 1px solid var(--champagne); border-radius: 999px 999px 0 0; transform: translate(14px, 0);
}
.arch { position: relative; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--pale-grey); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__arch { width: 80%; margin-left: auto; margin-top: 18px; margin-right: 14px; aspect-ratio: 1100 / 1400; box-shadow: var(--shadow-soft); }
.hero__circle {
  position: absolute; left: 0; bottom: 9%; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 8px solid var(--cream); box-shadow: var(--shadow-soft); background: var(--blush);
}
.hero__circle img { width: 100%; height: 100%; object-fit: cover; }

.badge-ring { position: absolute; left: 2%; top: 12%; width: clamp(108px, 12vw, 136px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 253, 249, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 10px 30px -18px rgba(42, 36, 33, .4); }
.badge-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.badge-ring text { font-family: var(--font-body); font-size: 12.5px; font-weight: 500; letter-spacing: 3.4px; fill: var(--ink); }
.badge-ring__center { width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--gold-gradient); display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.badge-ring__center svg { position: static; width: 42%; height: 42%; fill: none; stroke: var(--ink); stroke-width: 1.6; animation: none; }
.badge-ring:hover .badge-ring__center { transform: scale(1.08) rotate(45deg); }

@keyframes spin { to { transform: rotate(360deg); } }

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow, .hero__line, .hero__lead, .hero__actions, .hero__services { animation: rise 1.1s var(--ease-out) both; }
  .hero__line:nth-of-type(1) { animation-delay: .12s; }
  .hero__line:nth-of-type(2) { animation-delay: .24s; }
  .hero__lead { animation-delay: .38s; }
  .hero__actions { animation-delay: .5s; }
  .hero__services { animation-delay: .62s; }
  .hero__arch { animation: unveil 1.5s var(--ease-lux) .1s both; }
  .hero__arch img { animation: settle 2.4s var(--ease-out) .1s both; }
  .hero__circle { animation: pop 1.2s var(--ease-out) .7s both; }
  .badge-ring { animation: fadein 1s var(--ease-out) 1s both; }
  .hero__media::before { animation: fadein 1.6s var(--ease-out) .6s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--blush); border-block: 1px solid rgba(205, 176, 122, .35); overflow: hidden; padding-block: 18px; }
.ribbon__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 48s linear infinite; }
.ribbon span { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--ink); white-space: nowrap; }
.ribbon i { font-style: normal; color: var(--champagne); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(calc(-50% - 17px)); } }

/* ---------- About ---------- */
.about__grid { display: grid; gap: clamp(56px, 7vw, 96px); align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.about__media { position: relative; padding-bottom: 12%; max-width: 560px; width: 100%; justify-self: center; }
.about__arch { width: 76%; aspect-ratio: 1000 / 1250; box-shadow: var(--shadow-soft); }
.about__detail {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 900 / 700; overflow: hidden;
  border: 8px solid var(--cream); box-shadow: var(--shadow-soft); background: var(--pale-grey);
}
.about__detail img { width: 100%; height: 100%; object-fit: cover; }
.about__media::after { /* thin gold line motif */
  content: ""; position: absolute; left: 82%; top: 8%; width: 1px; height: 38%; background: linear-gradient(var(--champagne), transparent);
}
.about__lead { margin-top: 26px; font-size: var(--step-1); color: var(--ink); max-width: 36rem; }
.about__story { margin-top: 16px; color: var(--ink-soft); max-width: 36rem; }
.values { display: grid; gap: 22px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--stone); }
.value { display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start; }
.value__icon { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; margin-top: 4px; }
.value__title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.2; margin-bottom: 2px; }
.value p { color: var(--ink-soft); font-size: .95rem; }
.about__sign { display: flex; flex-direction: column; margin-top: 40px; }
.about__signature { font-family: var(--font-display); font-style: italic; font-size: 2rem; line-height: 1.1; }
.about__role { font-size: 0.72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Services menu ---------- */
.services { background: var(--ivory); }
.services::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--champagne), transparent); opacity: .6; }
.menu__tabs-wrap { position: relative; border-bottom: 1px solid var(--stone); margin-bottom: clamp(36px, 5vw, 56px); }
.menu__tabs { display: flex; gap: clamp(22px, 3.2vw, 44px); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; position: relative; }
.menu__tabs::-webkit-scrollbar { display: none; }
.menu__tab {
  flex: none; padding: 16px 2px 18px; font-size: 0.78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft); transition: color .3s; white-space: nowrap;
}
.menu__tab:hover, .menu__tab[aria-selected="true"] { color: var(--ink); }
.menu__indicator { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--gold-gradient); transition: transform .6s var(--ease-lux), width .6s var(--ease-lux); }
.menu__panel { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.menu__panel.is-entering { animation: panelIn .7s var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .menu__panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.menu__figure { aspect-ratio: 900 / 1100; max-width: 440px; width: 100%; }
@media (max-width: 899px) { .menu__figure { max-width: none; aspect-ratio: 16 / 10; border-radius: 999px 999px 0 0 / 60% 60% 0 0; } }
.menu__cat { font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; line-height: 1.1; }
.menu__intro { margin-top: 10px; color: var(--ink-soft); max-width: 38rem; }
.menu__list { margin-top: 26px; }
.menu__item { padding-block: 20px; border-bottom: 1px solid var(--pale-grey); }
.menu__item:first-child { border-top: 1px solid var(--pale-grey); }
.menu__row { display: flex; align-items: baseline; gap: 14px; }
.menu__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.25; min-width: 0; }
.menu__leader { flex: 1; min-width: 24px; border-bottom: 1px dotted var(--champagne); transform: translateY(-6px); }
.menu__price { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.menu__price small { font-family: var(--font-body); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-right: 6px; font-weight: 400; }
.menu__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px 20px; margin-top: 4px; flex-wrap: wrap; }
.menu__desc { color: var(--ink-soft); font-size: .95rem; flex: 1 1 18rem; min-width: 0; }
.menu__side { display: flex; align-items: center; gap: 18px; flex: none; }
.menu__duration { font-size: .78rem; letter-spacing: .1em; color: var(--ink-soft); }
.menu__book { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid transparent; transition: border-color .3s; }
.menu__book:hover { border-color: var(--champagne); }
.menu__note { margin-top: 28px; color: var(--ink-soft); font-size: .92rem; text-align: right; }
.menu__note:empty { display: none; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
@media (min-width: 900px) {
  .filters { justify-content: flex-end; }
  .gallery .section-head--split { grid-template-columns: 1fr auto; }
}
.filter {
  padding: 9px 18px; border: 1px solid var(--stone); border-radius: 999px; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); transition: background-color .3s, color .3s, border-color .3s;
}
.filter:hover { border-color: var(--champagne); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.gallery__grid { columns: 2; column-gap: 12px; }
@media (min-width: 720px) { .gallery__grid { columns: 3; column-gap: 18px; } }
@media (min-width: 1100px) { .gallery__grid { columns: 4; } }
.tile {
  position: relative; display: block; width: 100%; margin-bottom: 12px; break-inside: avoid; overflow: hidden; background: var(--pale-grey);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
@media (min-width: 720px) { .tile { margin-bottom: 18px; } }
.tile img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.tile__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 18px;
  background: linear-gradient(to top, rgba(34, 28, 25, .55), rgba(34, 28, 25, 0) 55%);
  color: var(--on-dark); opacity: 0; transition: opacity .5s var(--ease-out); text-align: left;
}
.tile__cat { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; }
.tile__plus { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(245, 238, 228, .7); display: grid; place-items: center; }
.tile__plus svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile:hover .tile__overlay, .tile:focus-visible .tile__overlay { opacity: 1; }
.tile.is-hiding { opacity: 0; transform: scale(.96); }
.gallery__follow { margin-top: 36px; }

/* ---------- Reviews ---------- */
.reviews { background: linear-gradient(180deg, var(--blush) 0%, #F7ECE7 100%); overflow: hidden; }
.reviews::before { /* oversized quote mark */
  content: "\201C"; position: absolute; right: -2%; top: -12%; font-family: var(--font-display); font-size: clamp(16rem, 34vw, 30rem); line-height: 1;
  color: rgba(205, 176, 122, .18); pointer-events: none;
}
.reviews__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; }
@media (min-width: 960px) { .reviews__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.reviews__summary { margin-top: 26px; display: flex; align-items: center; gap: 18px; }
.reviews__summary:empty { display: none; }
.reviews__score { font-family: var(--font-display); font-size: 3.6rem; font-weight: 500; line-height: 1; }
.reviews__count { font-size: .9rem; color: var(--ink-soft); }
.reviews__actions { margin-top: 32px; }
.stars { display: inline-flex; gap: 4px; color: var(--champagne); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.stars--empty { color: var(--stone); }
.stars--empty svg { fill: none; stroke: currentColor; stroke-width: 1.3; }

.slider { position: relative; }
.slider__track { display: grid; }
.slide {
  grid-area: 1 / 1; background: var(--ivory); padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow-soft); position: relative;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), visibility 0s .8s;
}
.slide::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(205, 176, 122, .35); pointer-events: none; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.slide__quote { font-family: var(--font-display); font-size: clamp(1.45rem, 2.3vw, 1.85rem); line-height: 1.4; font-style: italic; margin-top: 20px; }
.slide__who { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.slide__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); flex: none; }
.slide__name { font-weight: 500; }
.slide__source { font-size: .82rem; color: var(--ink-soft); }
.slider__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.slider__dots { display: flex; gap: 10px; }
.slider__dot { width: 28px; height: 2px; background: var(--stone); transition: background-color .4s, width .4s var(--ease-out); padding: 0; position: relative; }
.slider__dot::before { content: ""; position: absolute; inset: -10px -2px; }
.slider__dot[aria-current="true"] { background: var(--gold); width: 44px; }
.slider__arrows { display: flex; gap: 10px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.round-btn:hover { background: var(--ink); color: var(--cream); }
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ---------- Booking ---------- */
.booking { background: var(--espresso); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.booking__bg { position: absolute; inset: 0; z-index: -1; }
.booking__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.booking__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(34, 28, 25, .92) 0%, rgba(34, 28, 25, .7) 55%, rgba(34, 28, 25, .5) 100%); }
.booking__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (min-width: 960px) { .booking__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .booking__copy { position: sticky; top: calc(var(--header-h) + 40px); } }
.booking__lead { margin-top: 24px; color: var(--on-dark-muted); max-width: 30rem; font-size: var(--step-1); }
.booking__facts { margin-top: 40px; display: grid; gap: 24px; }
.booking__facts li { display: grid; gap: 4px; padding-top: 20px; border-top: 1px solid rgba(232, 215, 180, .2); }
.booking__label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne-light); }
.booking__value { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.3; color: var(--on-dark); }
.booking .ph { color: var(--champagne-light); text-decoration-color: rgba(232, 215, 180, .6); }

.form-card { position: relative; background: var(--ivory); color: var(--ink); padding: clamp(28px, 4.5vw, 52px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(205, 176, 122, .4); pointer-events: none; }
.form__grid { display: grid; gap: 22px 24px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.field label span { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--stone); border-radius: 0; padding: 10px 0 11px; outline: none;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #7A716A; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field input[type="date"] { min-height: 46px; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 28px; cursor: pointer; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: var(--error); }
.field__error { font-size: .8rem; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 4px 12px; }
.field--check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--gold); -webkit-appearance: auto; appearance: auto; border: 0; padding: 0; }
.field--check label { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 400; color: var(--ink-soft); }
.field--check .field__error { grid-column: 2; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 30px; }
.form__status { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); min-height: 1.4em; }
.form__status.is-error { color: var(--error); }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .btn__label::after { content: "…"; }

.form-success { text-align: center; padding-block: 40px; display: grid; justify-items: center; gap: 12px; outline: none; }
.form-success__icon { width: 64px; height: 64px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.form-success__icon circle { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1s var(--ease-out) forwards; }
.form-success__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease-out) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
.form-success p { color: var(--ink-soft); max-width: 26rem; }
.form-success__preview { font-size: .85rem; background: var(--blush); padding: 10px 14px; color: var(--ink) !important; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: clamp(36px, 5vw, 64px); }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.contact__info { display: grid; gap: 0; }
.info-block { padding-block: 26px; border-top: 1px solid var(--stone); display: grid; gap: 12px; justify-items: start; }
.info-block:first-child { padding-top: 0; border-top: 0; }
.info-block__title { font-size: .75rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.info-block__body { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.45; }
.info-block__body a:hover { color: var(--gold); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 7px 0; text-align: left; font-weight: 400; border-bottom: 1px dotted var(--stone); }
.hours td { text-align: right; color: var(--ink-soft); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 500; }
.hours tr.is-today th::after { content: "Today"; margin-left: 10px; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; vertical-align: 2px; }
.hours__note { font-size: .88rem; color: var(--ink-soft); }
.hours__note:empty { display: none; }
.social { display: flex; gap: 10px; margin-top: 6px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--stone); display: grid; place-items: center; color: var(--ink); transition: border-color .3s, background-color .3s, color .3s; }
.social a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.social svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.map { position: relative; min-height: 420px; height: 100%; overflow: hidden; background: var(--pale-grey); box-shadow: var(--shadow-soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.12); }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; }
.map__streets { position: absolute; inset: -20%; transform: rotate(-12deg);
  background:
    linear-gradient(90deg, transparent 0 46%, #fff 46% 47.5%, transparent 47.5%) 0 0 / 220px 100%,
    linear-gradient(0deg, transparent 0 46%, #fff 46% 48%, transparent 48%) 0 0 / 100% 170px,
    linear-gradient(90deg, transparent 0 49%, rgba(255,255,255,.7) 49% 49.6%, transparent 49.6%) 0 0 / 70px 100%,
    linear-gradient(0deg, transparent 0 49%, rgba(255,255,255,.7) 49% 49.6%, transparent 49.6%) 0 0 / 100% 60px,
    var(--pale-grey);
}
.map__river { position: absolute; left: -10%; right: -10%; top: 58%; height: 60px; background: #DCE0E1; transform: rotate(8deg); border-radius: 50%; opacity: .9; }
.map__card { position: relative; background: var(--ivory); padding: 22px 26px; max-width: 340px; text-align: center; box-shadow: var(--shadow-soft); display: grid; gap: 8px; justify-items: center; }
.map__pin { width: 40px; height: 40px; color: var(--gold); }
.map__pin svg { width: 100%; height: 100%; fill: var(--champagne-light); stroke: var(--gold); stroke-width: 1.2; }
.map__card strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.map__card p { font-size: .88rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--on-dark-muted); padding-top: clamp(64px, 8vw, 100px); font-size: .95rem; }
.site-footer__grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; } }
.site-footer__brand { display: grid; gap: 22px; justify-items: start; align-content: start; }
.site-footer__brand p { max-width: 22rem; }
.site-footer__title { font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne-light); margin-bottom: 16px; }
.site-footer__col ul { display: grid; gap: 8px; }
.site-footer a:not(.btn):not(.brand):hover { color: var(--on-dark); }
.site-footer__col address { margin-bottom: 12px; }
.site-footer .ph { color: var(--champagne-light); text-decoration-color: rgba(232, 215, 180, .5); }
.site-footer .hours th, .site-footer .hours td { border-bottom-color: rgba(232, 215, 180, .14); color: var(--on-dark-muted); padding: 5px 0; font-size: .88rem; }
.site-footer .hours tr.is-today th, .site-footer .hours tr.is-today td { color: var(--on-dark); }
.site-footer .hours tr.is-today th::after { color: var(--champagne-light); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(232, 215, 180, .14); font-size: .82rem; }
.to-top { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; }
.to-top svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
  padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
  background: rgba(255, 253, 249, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 rgba(205, 176, 122, .35), 0 -12px 30px -20px rgba(42, 36, 33, .3);
  transform: translateY(110%); transition: transform .5s var(--ease-out);
}
.action-bar.is-visible { transform: none; }
.action-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid var(--ink); border-radius: 2px;
  font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.action-bar__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.action-bar__btn--gold { background: var(--gold-gradient); border-color: transparent; }
@media (max-width: 719px) { body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 720px) { .action-bar { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(24, 19, 17, .96); color: var(--on-dark);
}
.lightbox::backdrop { background: rgba(24, 19, 17, .6); }
.lightbox[open] { display: grid; place-items: center; animation: fadein .4s var(--ease-out); }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; padding: 64px 72px; max-width: 100%; }
.lightbox__figure img { max-width: min(1100px, 100%); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.lightbox__figure img.is-switching { animation: lbIn .5s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox__caption { display: flex; gap: 18px; font-size: .85rem; color: var(--on-dark-muted); letter-spacing: .06em; }
.lightbox__count { color: var(--champagne-light); font-variant-numeric: tabular-nums; }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(245, 238, 228, .35); display: grid; place-items: center; color: var(--on-dark); transition: background-color .3s, border-color .3s; }
.lightbox__btn:hover { background: rgba(245, 238, 228, .1); border-color: var(--champagne-light); }
.lightbox__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lightbox__close { top: calc(18px + env(safe-area-inset-top, 0px)); right: max(18px, env(safe-area-inset-right, 0px)); }
.lightbox__prev { left: max(18px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: max(18px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
@media (max-width: 719px) {
  .lightbox__figure { padding: 70px 12px 90px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}
body.lightbox-open { overflow: hidden; }

/* ---------- Placeholder helpers ---------- */
.photos-ph figure[data-hint]::after,
.photos-ph .tile::after {
  content: attr(data-hint); position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-size: .68rem; letter-spacing: .06em; line-height: 1.3; color: var(--ink-soft);
  background: rgba(255, 253, 249, .86); padding: 6px 11px; border-radius: 999px; max-width: calc(100% - 24px);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); pointer-events: none;
}
.photos-ph .hero__circle::after { display: none; }
.photos-ph .tile::after { content: "Your photo here"; }

.ph-notice {
  position: fixed; z-index: 55; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 340px; display: flex; gap: 12px; align-items: flex-start;
  background: var(--ivory); color: var(--ink); padding: 14px 14px 14px 18px; font-size: .82rem; line-height: 1.5;
  box-shadow: 0 20px 50px -20px rgba(42, 36, 33, .45); border: 1px solid rgba(205, 176, 122, .45);
  animation: rise .8s var(--ease-out) 1.6s both;
}
.ph-notice code { font-size: .74rem; background: var(--blush); padding: 1px 5px; overflow-wrap: anywhere; }
.ph-notice__body { display: grid; gap: 4px; min-width: 0; }
.ph-notice__hint { color: var(--ink-soft); }
.ph-notice__details summary { cursor: pointer; color: var(--gold); font-weight: 500; font-size: .78rem; letter-spacing: .04em; }
.ph-notice__details p { margin-top: 6px; color: var(--ink-soft); }
.ph-notice__close { flex: none; width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink-soft); }
.ph-notice__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (max-width: 719px) { .ph-notice { left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); max-width: none; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }

.noscript { padding: 16px; text-align: center; background: var(--blush); }

/* ---------- Scroll reveal ---------- */
.reveal-pending { opacity: 0; transform: translateY(28px); }
.reveal-in { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ribbon__track { animation: none; }
  .reveal-pending { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .action-bar, .ph-notice, .lightbox, .ribbon { display: none !important; }
  .reveal-pending { opacity: 1 !important; transform: none !important; }
}
