/* ==========================================================
   Erilda · Beauty Concept Studio
   Logo: Libre Baskerville (EB) + Jost · Display: Bodoni Moda · UI: Manrope
   ========================================================== */
:root {
  --ivory: #f7f1ec;
  --porcelain: #f2e8e1;
  --ink: #141010;
  --ink-2: #3b302c;
  --muted: #6f625c;
  --rose: #a86f5e;
  --rose-2: #dba896;
  --gold: #c6a066;
  --line: rgba(20, 16, 16, 0.14);
  --glass: rgba(255, 251, 248, 0.6);
  --glass-edge: rgba(255, 255, 255, 0.8);
  --display: "Bodoni Moda", "Noto Serif Display", "Didot", "Times New Roman", serif; /* Noto covers Greek glyphs */
  --logo: "Jost", Futura, "Century Gothic", sans-serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; overflow: hidden; overscroll-behavior: none;
  font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.6;
  color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--rose-2); color: var(--ink); }
.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; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; transition: top 0.3s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* language switch, fixed at the bottom of the page */
.lang-switch { position: fixed; right: var(--pad); bottom: 22px; z-index: 30; display: flex; align-items: center; gap: 4px; padding: 5px 6px 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); border: 1px solid var(--glass-edge); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 14px 30px -20px rgba(20, 16, 16, 0.5); color: var(--ink-2); }
.lang-switch svg { margin-right: 4px; }
.lang-switch a { padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 800; letter-spacing: 0.06em; transition: background 0.3s, color 0.3s; }
.lang-switch a:hover { background: rgba(255, 255, 255, 0.9); color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }

/* ---------- layers ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(55% 50% at 50% 45%, #fdf9f6 0%, rgba(253, 249, 246, 0) 70%),
    radial-gradient(40% 45% at 8% 92%, rgba(222, 196, 184, 0.55), transparent 70%),
    radial-gradient(35% 40% at 94% 8%, rgba(232, 214, 204, 0.75), transparent 70%),
    linear-gradient(180deg, #f5eee9 0%, #ece1da 100%);
}
.backdrop-glow {
  position: absolute; left: 50%; top: 50%; width: 70vmin; height: 70vmin; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 244, 236, 0) 65%);
  transition: left 1.4s var(--ease), top 1.4s var(--ease), opacity 1s;
}
.backdrop-glow.flash { animation: flash 1.8s var(--ease); }
@keyframes flash { 25% { transform: translate(-50%, -50%) scale(1.4); background: radial-gradient(circle, #fff, rgba(255, 226, 190, 0.6) 35%, rgba(255, 244, 236, 0) 68%); } }
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }
#fx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 8; pointer-events: none; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff; display: grid; place-items: center; clip-path: inset(0 0 0 0); transition: clip-path 1.3s cubic-bezier(0.76, 0, 0.24, 1); }
.loader.done { clip-path: inset(0 0 100% 0); }
.loader-logo { width: min(420px, 70vw); height: auto; }
.loader-meta { position: absolute; left: var(--pad); right: var(--pad); bottom: 50px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.loader-bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; height: 2px; background: rgba(255, 255, 255, 0.2); }
.loader-bar i { display: block; height: 100%; width: 0; background: #fff; transition: width 0.4s var(--ease); }

/* ---------- type ---------- */
.eyebrow { margin: 0 0 20px; font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.eyebrow span { color: var(--rose); margin-right: 8px; }
.display { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(48px, 6vw, 100px); line-height: 0.98; letter-spacing: -0.02em; }
.display em { color: var(--rose); font-weight: 500; }
.split-line { overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.arrow { display: inline-block; transition: transform 0.4s var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translateX(5px); }

/* ---------- buttons ---------- */
.pill { border-radius: 999px; padding: 12px 24px; font-size: 14.5px; font-weight: 700; letter-spacing: 0.02em; border: 1.5px solid currentColor; background: transparent; transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, box-shadow 0.4s var(--ease), opacity 0.6s; }
.pill:hover { transform: translateY(-2px); }
.pill-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill-dark:hover { box-shadow: 0 14px 30px -12px rgba(20, 16, 16, 0.55); }
.pill-lg { padding: 17px 32px; font-size: 15.5px; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px var(--pad); }
.brand { display: flex; align-items: center; gap: 12px; justify-self: start; transition: opacity 0.6s var(--ease); }
.brand-mark { width: 50px; height: 46px; color: var(--ink); }
.brand-text { display: grid; line-height: 1.05; }
.brand-text b { font-family: var(--display); font-weight: 600; font-size: 23px; letter-spacing: 0.16em; }
.brand-text small { font-family: var(--logo); font-weight: 600; font-size: 10.5px; letter-spacing: 0.2em; color: var(--ink-2); margin-top: 3px; }
.menu-center { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); border: 1px solid var(--glass-edge); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 34px -24px rgba(20, 16, 16, 0.5); transition: opacity 0.6s var(--ease); }
.menu-center a { position: relative; padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--ink-2); transition: background 0.35s var(--ease), color 0.35s; }
.menu-center a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.menu-center a.active { background: var(--ink); color: #fff; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; place-content: center; gap: 6px; padding: 0; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; }
.burger span:nth-child(2) { width: 15px; justify-self: end; }
body.stage-reveal.on-hero .brand, body.stage-reveal.on-hero .nav .pill { opacity: 0; pointer-events: none; }

/* ---------- slides ---------- */
.slides { position: fixed; inset: 0; z-index: 3; }
.slide { position: absolute; inset: 0; visibility: hidden; }
.slide.is-active { visibility: visible; }

/* ============ HOME ============ */
.hero-ui { position: absolute; inset: 0; }
.hero-logo { position: absolute; left: 50%; top: 14px; width: clamp(200px, 19vw, 280px); height: auto; transform: translate(-50%, -12px); color: var(--ink); opacity: 0; filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); pointer-events: none; }
.slide-hero[data-stage="reveal"] .hero-logo { opacity: 1; transform: translate(-50%, 0); filter: none; }
body.stage-reveal.on-hero .menu-center { opacity: 0; pointer-events: none; }

.panel { position: absolute; top: 52%; z-index: 3; width: clamp(230px, 18vw, 272px); padding: 22px 22px 18px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-edge); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); box-shadow: 0 40px 70px -40px rgba(90, 60, 45, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9); transition: opacity 0.9s var(--ease), filter 0.9s var(--ease), translate 1s var(--ease); }
.panel-left { left: var(--pad); translate: 0 -50%; }
.panel-right { right: var(--pad); translate: 0 -50%; }
.slide-hero[data-stage="reveal"] .panel { opacity: 0; filter: blur(16px); pointer-events: none; }
.slide-hero[data-stage="reveal"] .panel-left { translate: -60px -50%; }
.slide-hero[data-stage="reveal"] .panel-right { translate: 60px -50%; }
.panel-block + .panel-block { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 13px; }
.panel .ph { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.panel-val { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 16px; color: var(--rose); }
.swatches { display: flex; gap: 9px; }
.sw { position: relative; width: 36px; height: 36px; border-radius: 10px; border: 0; padding: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04), inset 0 8px 10px -6px rgba(255, 255, 255, 0.5), 0 6px 12px -6px rgba(90, 50, 35, 0.5); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.sw:hover { transform: translateY(-3px); }
.sw.active { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.sw.empty { background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1.5px rgba(20, 16, 16, 0.25); }
.sw.empty::after { content: "A"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--muted); }
.sw.empty.active { box-shadow: inset 0 0 0 1.5px rgba(20, 16, 16, 0.25), 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.swatches.lg .sw { width: 44px; height: 44px; border-radius: 50%; }
.emit { animation: emit 0.9s var(--ease); }
.emit::before { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--c, var(--rose)); animation: emitRing 0.9s var(--ease) forwards; pointer-events: none; }
@keyframes emit { 30% { transform: scale(1.18); } }
@keyframes emitRing { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
.range { display: block; margin-top: 12px; }
.range-label { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.range-label em { font-style: normal; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: transparent; margin: 0; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) var(--p), rgba(20, 16, 16, 0.14) var(--p)); }
input[type="range"]::-moz-range-track { height: 3px; background: rgba(20, 16, 16, 0.14); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; margin-top: -6.5px; background: #fff; border: 1.5px solid rgba(20, 16, 16, 0.5); box-shadow: 0 3px 8px rgba(70, 45, 35, 0.3); transition: transform 0.2s, box-shadow 0.4s; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 1.5px solid rgba(20, 16, 16, 0.5); }
input[type="range"].glowing::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(246, 205, 150, 0.55), 0 0 22px 8px rgba(246, 205, 150, 0.8); }
.dot-row { display: flex; align-items: center; gap: 9px; }
.brush { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(20, 16, 16, 0.4); background: rgba(255, 255, 255, 0.6); display: grid; place-items: center; margin-right: 3px; transition: opacity 0.3s; }
.brush[aria-pressed="false"] { opacity: 0.45; background: transparent; }
.dot { position: relative; width: 19px; height: 19px; border-radius: 50%; border: 0; padding: 0; background: var(--c); transition: transform 0.3s var(--ease), box-shadow 0.3s; box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.15); }
.dot:hover { transform: scale(1.2); }
.dot.active { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.panel-readout { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.panel-readout span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.panel-readout b { font-family: var(--display); font-weight: 600; font-size: 26px; font-variant-numeric: tabular-nums; }

.status { position: absolute; left: 50%; bottom: 5vh; z-index: 3; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(500px, 80vw); }
.dots { display: flex; gap: 10px; transition: transform 0.9s var(--ease); }
.dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(20, 16, 16, 0.25); transition: all 0.5s var(--ease); }
.dots button.active { width: 26px; background: var(--ink); }
.status-text { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2vw, 30px); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; transition: opacity 0.4s, transform 0.5s var(--ease), filter 0.5s; }
.status-text.swap { opacity: 0; transform: translateY(8px); filter: blur(4px); }
.ellipsis i { font-style: normal; animation: dot 1.4s infinite; }
.ellipsis i:nth-child(2) { animation-delay: 0.2s; }
.ellipsis i:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.2; } 30% { opacity: 1; } }
.progress { width: 100%; height: 3px; border-radius: 3px; background: rgba(20, 16, 16, 0.1); transition: opacity 0.6s; }
.progress span { position: relative; display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #c9998a, var(--ink)); }
.cta { position: absolute; bottom: -4px; left: 50%; transform: translate(-50%, 16px); white-space: nowrap; padding: 18px 36px; border-radius: 999px; font-size: 14.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; background: var(--ink); color: #fff; border: 0; box-shadow: 0 22px 44px -20px rgba(20, 16, 16, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.slide-hero[data-stage="reveal"] .status-text, .slide-hero[data-stage="reveal"] .progress { opacity: 0; }
.slide-hero[data-stage="reveal"] .cta { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.slide-hero[data-stage="reveal"] .dots { transform: translateY(-34px); }

/* tags pinned to 3D landmarks */
.face-tags { position: fixed; inset: 0; z-index: 7; pointer-events: none; }
.ftag { position: absolute; left: 0; top: 0; display: flex; align-items: center; opacity: 0; transition: opacity 0.6s var(--ease); will-change: transform; }
.ftag.left { flex-direction: row-reverse; }
.ftag i { width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(168, 111, 94, 0.55), 0 0 14px 4px rgba(255, 255, 255, 0.9); flex: none; }
.ftag s { display: block; width: 0; height: 1.5px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 0 6px rgba(255, 255, 255, 0.9); transition: width 0.7s var(--ease) 0.1s; }
.ftag span { white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); background: rgba(255, 252, 250, 0.9); border: 1px solid var(--glass-edge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 30px -16px rgba(90, 55, 40, 0.5); opacity: 0; transform: scale(0.85); transition: opacity 0.5s var(--ease) 0.4s, transform 0.6s var(--ease) 0.4s; }
.ftag.left span { transform-origin: right center; }
.ftag.right span { transform-origin: left center; }
.ftag.show { opacity: 1; }
.ftag.show s { width: clamp(28px, 4vw, 64px); }
.ftag.show span { opacity: 1; transform: none; }

/* ============ SERVICES ============ */
.slide-copy { position: absolute; left: var(--pad); top: 96px; bottom: 28px; width: min(44vw, 560px); display: flex; flex-direction: column; justify-content: center; }
.svc-copy .pill-lg { align-self: flex-start; }
.svc-copy .display { margin-bottom: 20px; font-size: clamp(44px, 5vw, 80px); }
.svc-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; }
.svc-row { position: relative; border-top: 1px solid var(--line); cursor: pointer; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 11px 0; border: 0; background: none; text-align: left; }
.svc-no { position: relative; width: 30px; flex: none; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--rose); }
.svc-name { font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--muted); transition: color 0.4s, transform 0.5s var(--ease); }
.svc-row:hover .svc-name { color: var(--ink); }
.svc-row.active .svc-name { color: var(--ink); transform: translateX(6px); }
.svc-desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.svc-desc p { overflow: hidden; margin: 0; padding-left: 46px; font-size: 15.5px; color: var(--ink-2); }
.svc-row.active .svc-desc { grid-template-rows: 1fr; }
.svc-row.active .svc-desc p { padding-bottom: 12px; }
.svc-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--ink); }

/* ============ TEAM ============ */
.team-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 5vh; padding: 110px var(--pad) 50px; }
.team-head .display { font-size: clamp(42px, 5vw, 84px); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member { border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -50px rgba(90, 60, 45, 0.6); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.member:hover { transform: translateY(-8px); box-shadow: 0 50px 80px -46px rgba(90, 60, 45, 0.7); }
.portrait { position: relative; aspect-ratio: 5 / 3.4; display: grid; place-items: center; color: #fff; background: radial-gradient(90% 90% at 30% 20%, #3a2b26, #141010); overflow: hidden; }
.portrait::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 70% 30%, rgba(219, 168, 150, 0.35), transparent 70%); }
.portrait svg { width: 38%; height: auto; position: relative; z-index: 1; }
.portrait .initial { position: absolute; right: 18px; bottom: 10px; z-index: 1; font-family: var(--display); font-style: italic; font-size: 64px; line-height: 1; color: rgba(255, 255, 255, 0.14); }
.member-info { padding: 20px 22px 22px; }
.member-info h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 28px; }
.member-info .role { margin: 2px 0 14px; font-size: 14.5px; font-weight: 800; letter-spacing: 0.06em; color: var(--rose); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chips span { padding: 6px 12px; border-radius: 999px; background: var(--porcelain); font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.member .pill { padding: 10px 18px; font-size: 14px; }

/* ============ LOCATIONS ============ */
.loc-wrap { position: absolute; right: calc(var(--pad) + 10px); top: 50%; transform: translateY(-48%); width: min(46vw, 620px); }
.loc-wrap .display { margin-bottom: 28px; }
.loc-list { display: grid; gap: 16px; margin-bottom: 26px; }
.loc { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; padding: 22px 24px; border-radius: 22px; background: rgba(255, 252, 250, 0.82); border: 1px solid #fff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -44px rgba(90, 60, 45, 0.6); }
.loc h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 600; font-size: 26px; }
.loc p { margin: 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.loc .hours { margin-top: 8px; font-weight: 700; color: var(--ink); }
.loc .dir { white-space: nowrap; padding: 10px 16px; font-size: 14px; }
.mini-footer { position: absolute; left: var(--pad); right: calc(var(--pad) + 170px); bottom: 30px; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* ============ BOOKING MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(20, 16, 16, 0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { position: relative; width: min(640px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--ivory); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.6); transform: translateY(24px) scale(0.98); transition: transform 0.6s var(--ease); }
.modal.open .modal-card { transform: none; }
.modal-card .display { font-size: clamp(36px, 4vw, 56px); margin-bottom: 22px; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 16px; }
.book-form { display: grid; gap: 14px; }
.book-form label span { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.book-form input, .book-form select { width: 100%; padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color 0.25s, box-shadow 0.25s; }
.book-form input:focus, .book-form select:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(168, 111, 94, 0.18); }
.book-form input.invalid { border-color: #c56a66; }
.book-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book-form .pill-lg { justify-self: start; margin-top: 6px; }
.form-msg { margin: 0; min-height: 1.4em; font-size: 15.5px; font-weight: 700; color: var(--ink-2); }

/* ---------- mobile menu / toast ---------- */
.menu { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: var(--ink); color: #fff; clip-path: circle(0% at calc(100% - 50px) 44px); transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1); }
.menu.open { clip-path: circle(150% at calc(100% - 50px) 44px); }
.menu nav { display: grid; gap: 6px; }
.menu nav a { display: flex; align-items: baseline; gap: 18px; font-family: var(--display); font-weight: 500; font-size: clamp(40px, 9vw, 80px); line-height: 1.1; }
.menu nav a span { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--rose-2); }
.menu-close { position: absolute; top: 28px; right: var(--pad); background: none; border: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 70; transform: translate(-50%, 20px); padding: 13px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity 0.4s, transform 0.5s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .menu-center a { padding: 9px 14px; }
  .brand-text small { display: none; }
}
@media (max-height: 880px) and (min-width: 901px) {
  .svc-copy .eyebrow { margin-bottom: 10px; }
  .svc-list { margin-bottom: 18px; }
  .svc-row button { padding: 7px 0; }
  .svc-name { font-size: 19px; }
  .svc-copy .display { font-size: 52px; margin-bottom: 12px; }
  .svc-desc p { font-size: 14.5px; }
  .portrait { aspect-ratio: 5 / 2.6; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav { grid-template-columns: 1fr auto; padding: 16px 18px; }
  .menu-center { display: none; }
  .burger { display: grid; }
  .nav .pill { padding: 10px 16px; font-size: 13.5px; }
  .brand-mark { width: 40px; height: 37px; }
  .brand-text b { font-size: 19px; }
  .panel { display: none; }
  .slide-copy { top: auto; bottom: 4vh; width: auto; right: var(--pad); display: block; }
  .svc-copy .eyebrow { margin-bottom: 6px; }
  .svc-copy .display { font-size: 34px; margin-bottom: 8px; }
  .svc-list { margin-bottom: 0; }
  .svc-row button { padding: 6px 0; gap: 10px; }
  .svc-no { width: 24px; font-size: 13px; }
  .svc-name { font-size: 16.5px; }
  .svc-desc p { font-size: 14px; padding-left: 34px; }
  .svc-copy .pill-lg { display: none; }
  .team-wrap { justify-content: flex-start; padding-top: 90px; overflow-y: auto; }
  .team-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 12px; }
  .member { flex: 0 0 78vw; scroll-snap-align: start; }
  .loc-wrap { left: var(--pad); right: var(--pad); width: auto; top: 96px; transform: none; }
  .loc-wrap .display { font-size: 44px; margin-bottom: 16px; }
  .loc { padding: 16px 18px; grid-template-columns: 1fr; }
  .book-form .row { grid-template-columns: 1fr; }
  .status-text { font-size: 17px; }
  .ftag s { width: 0 !important; }
  .ftag span { font-size: 10.5px; padding: 7px 11px; }
}
@media (max-width: 560px) {
  .brand-text { display: none; }
  .lang-switch { right: 12px; bottom: 12px; }
  .mini-footer { bottom: 20px; font-size: 12px; }
  .status { bottom: calc(12vh + 20px); }
}
