/*
  Site layer on top of Web Awesome.
  The look: their own hallway after dark. Deep teal-black walls, rose-gold
  lettering (from the copper sign on Main), and four jewel tones, one per
  "room": emerald, sapphire, amethyst, garnet.

  The one authored motion is the doors: they swing open on hover, and on
  touch screens they ease ajar as they come into view. Everything else is
  still, apart from the sconce in the hero photo, which breathes like a flame.
*/

/* ---------- Palette ---------- */
:root {
  --ip-night: #0a1417;
  --ip-deep: #0e1c20;
  --ip-velvet: #13272c;
  --ip-cream: #efe5da;
  --ip-mist: #b1bcb8;          /* quiet text on night (9:1) */
  --ip-rose: #dba58c;          /* the copper sign */
  --ip-rose-hi: #f3cdb8;
  --ip-rose-deep: #9c654f;
  --ip-line: rgb(219 165 140 / 0.22);

  --emerald: #0a4537;  --emerald-glow: #4fcfa4;
  --sapphire: #0f2c58; --sapphire-glow: #8db3f0;
  --amethyst: #361a46; --amethyst-glow: #c9a0e6;
  --garnet: #531122;   --garnet-glow: #f08ea0;

  --container: 78rem;
  --section-pad: clamp(4.5rem, 9vw, 7.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --arch: 999px 999px 0 0;
  --header-h: 4.25rem;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-label: "Marcellus", "Trajan Pro", Georgia, serif;
  --font-body: "Jost", "Futura", system-ui, sans-serif;
}

/* Each room's jewel. Text on a jewel surface is cream tinted with that jewel, never gray. */
[data-jewel="emerald"]  { --jewel: var(--emerald);  --jewel-glow: var(--emerald-glow); }
[data-jewel="sapphire"] { --jewel: var(--sapphire); --jewel-glow: var(--sapphire-glow); }
[data-jewel="amethyst"] { --jewel: var(--amethyst); --jewel-glow: var(--amethyst-glow); }
[data-jewel="garnet"]   { --jewel: var(--garnet);   --jewel-glow: var(--garnet-glow); }
[data-jewel] { --on-jewel-quiet: color-mix(in oklab, var(--ip-cream) 84%, var(--jewel-glow)); }

/* Web Awesome resets fonts inside each theme scope, so set them on every one. */
:root, .wa-dark, .wa-light, .wa-invert {
  --wa-font-family-heading: var(--font-display);
  --wa-font-family-body: var(--font-body);
  --wa-font-family-longform: var(--font-body);
  --wa-font-weight-heading: 300;
  --wa-border-radius-scale: 0.25;
  --wa-color-surface-default: var(--ip-night);
  --wa-color-surface-raised: var(--ip-deep);
  --wa-color-surface-border: var(--ip-line);
  --wa-color-text-normal: var(--ip-cream);
  --wa-color-text-quiet: var(--ip-mist);
  --wa-color-text-link: var(--ip-rose-hi);
  --wa-color-focus: var(--ip-rose-hi);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); scrollbar-color: var(--ip-velvet) var(--ip-night); }
html:has(.is-menu) { scroll-padding-top: calc(var(--header-h) + 4.5rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ip-night);
  color: var(--ip-cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
wa-drawer:not(:defined) { display: none; }
wa-icon:not(:defined) { display: inline-block; width: 1em; }
picture { display: contents; }
picture > source { display: none; }
img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--ip-rose); color: var(--ip-night); }
a { color: var(--ip-rose-hi); text-decoration-color: var(--ip-line); text-underline-offset: 0.25em; text-decoration-thickness: 1px; transition: color 0.3s, text-decoration-color 0.3s; }
a:hover { color: var(--ip-cream); text-decoration-color: currentColor; }
:focus-visible { outline: 1px solid var(--ip-rose-hi); outline-offset: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 300; line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.display { font-size: clamp(2.5rem, 5vw, 4.25rem); letter-spacing: -0.015em; }
/* The italic rose phrase is saved for three moments: the hero, the doors, the closing. */
.display em, .hero-title em { font-style: italic; color: var(--ip-rose); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--ip-mist); max-width: 34rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-pad); position: relative; }
.section + .section { padding-top: calc(var(--section-pad) * 0.5); }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 44rem; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ip-rose); color: var(--ip-night); padding: 0.6rem 1rem; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons: plain links, so booking never waits on a component kit ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 2.9rem; padding: 0.7rem 1.4rem;
  font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none; border-radius: 3px; border: 1px solid transparent;
  transition: background-position 0.6s var(--ease-out), box-shadow 0.5s var(--ease-out), color 0.3s, border-color 0.3s;
}
.btn-brand {
  color: var(--ip-night);
  background: linear-gradient(120deg, #c4917a, var(--ip-rose) 40%, var(--ip-rose-hi) 60%, var(--ip-rose));
  background-size: 220% 100%; background-position: 100% 0;
}
.btn-brand:hover { color: var(--ip-night); background-position: 0 0; box-shadow: 0 14px 30px -14px rgb(219 165 140 / 0.65); }
.btn-ghost { color: var(--ip-cream); border-color: rgb(219 165 140 / 0.5); }
.btn-ghost:hover { color: var(--ip-cream); border-color: var(--ip-rose-hi); background: rgb(219 165 140 / 0.08); }
.btn-sm { min-height: 2.4rem; padding: 0.5rem 1rem; font-size: 0.76rem; }
.btn-lg { min-height: 3.4rem; padding: 0.9rem 1.9rem; font-size: 0.84rem; }
.btn-arrow { transition: translate 0.4s var(--ease-out); }
.btn:hover .btn-arrow { translate: 2px -2px; }

.quiet-link {
  font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.6em;
}
.quiet-link wa-icon { transition: translate 0.4s var(--ease-out); }
.quiet-link:hover wa-icon { translate: 4px 0; }

/* What happens when you press Book. */
.handoff { font-size: 0.9rem; color: var(--ip-mist); }

/* Film grain, like a low-light photograph. Kept faint so text stays crisp. */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .site-footer { position: relative; z-index: 2; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  min-height: var(--header-h); display: flex; align-items: center;
  transition: background 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .is-menu .site-header {
  background: rgb(10 20 23 / 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--ip-line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { height: clamp(26px, 3vw, 32px); width: auto; }
.nav-desktop { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-link {
  font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ip-cream); text-decoration: none; position: relative; padding-block: 0.4rem;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ip-rose); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-phone { color: var(--ip-mist); letter-spacing: 0.08em; }
.nav-toggle { display: none; color: var(--ip-rose-hi); padding: 0.6rem; margin-right: -0.6rem; }

wa-drawer::part(panel) { background: var(--ip-deep); border-left: 1px solid var(--ip-line); }
wa-drawer::part(title) { font-family: var(--font-label); letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.8rem; color: var(--ip-rose); }
.drawer-nav { display: grid; gap: 0.25rem; }
.drawer-link { font-family: var(--font-display); font-size: 2.3rem; font-weight: 300; color: var(--ip-cream); text-decoration: none; line-height: 1.3; }
.drawer-link:hover { color: var(--ip-rose-hi); }
.drawer-footer { display: grid; gap: 0.75rem; width: 100%; }

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding-block: 7.5rem 4.5rem; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60rem 40rem at 8% 100%, rgb(52 185 143 / 0.13), transparent 60%),
    radial-gradient(50rem 36rem at 95% 0%, rgb(168 116 204 / 0.11), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero-copy { display: grid; gap: 1.6rem; justify-items: start; }
.hero-title { font-size: clamp(3.75rem, 9vw, 6rem); line-height: 0.92; letter-spacing: -0.03em; }
.hero-title em { display: inline-block; padding-left: 0.4em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.hero .handoff { margin-top: -0.6rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; margin-top: 0.8rem; padding-top: 1.2rem;
  border-top: 1px solid var(--ip-line); font-size: 0.9rem; color: var(--ip-mist);
}
.hero-meta a { color: var(--ip-mist); }
.hero-meta a:hover { color: var(--ip-cream); }

.hero-arch { margin: 0; position: relative; aspect-ratio: 3 / 4; max-height: 76svh; justify-self: end; width: 100%; }
.hero-arch::before {
  content: ""; position: absolute; inset: -14px; border-radius: var(--arch);
  border: 1px solid var(--ip-line); border-bottom: 0; pointer-events: none;
}
.hero-arch img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  border-radius: var(--arch); filter: saturate(1.05) contrast(1.05);
  box-shadow: 0 50px 90px -40px rgb(0 0 0 / 0.95);
}
/* The left sconce in the photo, breathing like a candle. */
.sconce {
  position: absolute; left: 8%; top: 4%; width: 34%; aspect-ratio: 1;
  border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgb(255 200 140 / 0.5), rgb(255 160 90 / 0.1) 35%, transparent 65%);
  animation: flicker 5s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 0.75; scale: 1; }
  22% { opacity: 0.95; scale: 1.04; }
  40% { opacity: 0.7; scale: 0.98; }
  63% { opacity: 1; scale: 1.06; }
  80% { opacity: 0.8; scale: 1; }
}
@media (prefers-reduced-motion: reduce) { .sconce { animation: none; } }

/* Hero entrance: CSS only and already visible by default for reduced motion. */
.rise { animation: rise 1.2s var(--ease-out) both; }
.hero-copy > .rise:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > .rise:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > .rise:nth-child(n+4) { animation-delay: 0.24s; }
.hero-arch.rise { animation-duration: 1.8s; animation-delay: 0.1s; }
@keyframes rise { from { opacity: 0; translate: 0 16px; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }

/* ---------- Rooms: four arched doors ---------- */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 2.2rem); }
.door { text-decoration: none; color: inherit; display: grid; align-content: start; gap: 1.4rem; }
.door-way {
  position: relative; display: block; aspect-ratio: 5 / 8;
  border-radius: var(--arch); overflow: hidden; perspective: 900px;
  background: #05090a;
  box-shadow: inset 0 0 0 1px var(--ip-line);
  transition: box-shadow 0.9s var(--ease-out);
}
/* The light inside the room, seen when the door swings open. */
.door-light {
  position: absolute; inset: 0;
  background: radial-gradient(70% 55% at 50% 75%, var(--jewel-glow), transparent 75%), linear-gradient(var(--jewel), #000);
}
.door-leaf {
  position: absolute; inset: 7px 7px 0;
  border-radius: var(--arch);
  transform-origin: 0% 50%;
  transition: transform 1.2s var(--ease-out), box-shadow 1.2s var(--ease-out);
  background:
    radial-gradient(120% 60% at 50% 0%, rgb(255 255 255 / 0.08), transparent 60%),
    linear-gradient(160deg, color-mix(in oklab, var(--jewel) 88%, white 5%), color-mix(in oklab, var(--jewel) 70%, black));
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}
.door-leaf::before { /* inset arched panel moulding */
  content: ""; position: absolute; inset: 14% 16% 10%;
  border-radius: var(--arch); border: 1px solid rgb(219 165 140 / 0.35);
  box-shadow: inset 0 6px 30px rgb(0 0 0 / 0.35);
}
/* A small brass plate naming the room in plain words. */
.door-plate {
  position: absolute; top: 20%; left: 50%; translate: -50% 0; max-width: 62%;
  padding: 0.35rem 0.7rem; text-align: center; line-height: 1.25;
  font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ip-night); background: linear-gradient(160deg, var(--ip-rose-hi), var(--ip-rose) 60%, #c4917a);
  border-radius: 2px; box-shadow: 0 2px 4px rgb(0 0 0 / 0.45);
}
.door-icon { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--ip-rose-hi); opacity: 0.85; margin-top: 18%; }
.door-knob {
  position: absolute; right: 9%; top: 58%; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--ip-rose-hi), var(--ip-rose-deep));
  box-shadow: 1px 2px 3px rgb(0 0 0 / 0.6);
}
.door:hover .door-leaf, .door:focus-visible .door-leaf, .door.is-ajar .door-leaf {
  transform: rotateY(-38deg);
  box-shadow: 24px 0 40px rgb(0 0 0 / 0.55);
}
.door:hover .door-way, .door:focus-visible .door-way, .door.is-ajar .door-way {
  box-shadow: inset 0 0 0 1px var(--jewel-glow), 0 36px 60px -36px var(--jewel-glow);
}
/* Touch screens have no hover: the doors ease ajar as they arrive (site.js), a little less wide. */
@media (hover: none) {
  .door.is-ajar .door-leaf { transform: rotateY(-24deg); }
}
.door:focus-visible { outline: none; }
.door:focus-visible .door-name { outline: 1px solid var(--ip-rose-hi); outline-offset: 4px; }
.door-label { display: grid; gap: 0.4rem; }
.door-name { font-family: var(--font-display); font-size: clamp(1.6rem, 2.3vw, 2rem); line-height: 1.05; }
.door-line { color: var(--ip-mist); font-size: 0.95rem; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .door-leaf, .door-way { transition: none; } }
@media (max-width: 960px) { .doors { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; } }
@media (max-width: 560px) {
  .door-way { aspect-ratio: 4 / 5; }
  .door-plate { font-size: 0.7rem; letter-spacing: 0.08em; max-width: 70%; padding-inline: 0.5rem; }
  .door-name { font-size: 1.45rem; }
  .door-line { font-size: 0.9rem; }
}

/* ---------- Menu lines (home favorites + menu page) ---------- */
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.menu-list > li { margin: 0; padding-inline-start: 0; }
.menu-item { padding: 0.9rem 0; border-bottom: 1px solid rgb(219 165 140 / 0.1); }
.menu-line {
  display: flex; align-items: baseline; gap: 0.8rem;
  color: var(--ip-cream); text-decoration: none;
}
.menu-name { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 400; line-height: 1.15; transition: color 0.3s; }
.menu-name small {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.02em;
  color: var(--on-jewel-quiet, var(--ip-mist)); margin-left: 0.4em; white-space: nowrap;
}
.menu-leader { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted rgb(219 165 140 / 0.45); translate: 0 -0.35em; }
.menu-price { font-family: var(--font-label); font-size: 1rem; letter-spacing: 0.04em; color: var(--ip-rose-hi); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.menu-book {
  display: inline-flex; align-items: center; gap: 0.35em; align-self: center;
  font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ip-rose-hi); opacity: 0; translate: -6px 0; width: 0; overflow: hidden;
  transition: opacity 0.35s, translate 0.45s var(--ease-out), width 0.45s var(--ease-out);
}
.menu-line:hover .menu-name, .menu-line:focus-visible .menu-name { color: var(--ip-rose-hi); }
.menu-line:hover .menu-book, .menu-line:focus-visible .menu-book { opacity: 1; translate: 0 0; width: 4.2em; }
@media (hover: none) { .menu-book { opacity: 1; translate: 0 0; width: auto; } }
.menu-desc { color: var(--on-jewel-quiet, var(--ip-mist)); font-size: 0.95rem; line-height: 1.6; margin-top: 0.3rem; max-width: 40rem; }
.menu-time { font-family: var(--font-body); font-size: 0.82rem; font-weight: 400; letter-spacing: 0.04em; color: var(--ip-rose); margin-left: 0.3em; white-space: nowrap; }
/* Home favorites carry their room's jewel as a small inlay. */
.favorites .menu-item[data-jewel] .menu-name::before {
  content: ""; display: inline-block; width: 0.38em; height: 0.38em; margin-right: 0.6em; vertical-align: 0.2em;
  rotate: 45deg; background: var(--jewel-glow);
}

/* ---------- Favorites ---------- */
.favorites-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.menu-card { display: grid; gap: 1.8rem; }
.menu-card-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; color: var(--ip-mist); font-size: 0.95rem; }
.photo-frame { margin: 0; position: relative; }
.photo-frame::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 1px solid var(--ip-line); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.95) brightness(0.92) contrast(1.05); }
.favorites .photo-frame img { object-position: 35% 50%; }

/* ---------- Ethos: the quote sits beside the candlelit room ---------- */
.ethos-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.ethos-photo { margin: 0; }
.ethos-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; border-radius: var(--arch); filter: saturate(1.05) contrast(1.05); box-shadow: 0 40px 70px -40px rgb(0 0 0 / 0.9); }
.ethos-copy { display: grid; gap: 1.8rem; color: var(--ip-mist); font-size: 1.08rem; }
.ethos-quote { margin: 0; padding: 0; border: 0; font-style: normal; }
.ethos-quote p { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; letter-spacing: -0.015em; color: var(--ip-cream); }
.ethos-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.ethos-points li { display: flex; gap: 1rem; align-items: center; color: var(--ip-cream); font-size: 1rem; margin: 0; padding: 0 0 0.9rem; border-bottom: 1px solid var(--ip-line); }
.ethos-points wa-icon { font-size: 1.5rem; color: var(--ip-rose); flex: none; }

/* ---------- Team ---------- */
.team { position: relative; z-index: 2; padding-bottom: calc(var(--section-pad) * 0.5); }
.team-figure { margin: 0; position: relative; }
.team-figure img { width: 100%; height: clamp(22rem, 58vw, 46rem); object-fit: cover; object-position: 50% 35%; filter: saturate(0.95) brightness(0.88); }
.team-figure::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(var(--ip-night), transparent 18%, transparent 60%, var(--ip-night)); }
.team-body { position: relative; margin-top: clamp(-6rem, -8vw, -3rem); display: grid; gap: 2rem; }
.practitioners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem; }
.practitioners li { margin: 0; padding: 1.1rem 0 0; border-top: 1px solid var(--ip-line); display: grid; gap: 0.2rem; align-content: start; }
.p-name { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.15; }
.p-role { color: var(--ip-rose); font-size: 0.95rem; }
.p-quote { color: var(--ip-mist); font-size: 0.95rem; line-height: 1.55; margin-top: 0.5rem; quotes: "“" "”"; }
.team-note { color: var(--ip-mist); font-size: 0.95rem; }
@media (max-width: 860px) { .practitioners { grid-template-columns: 1fr 1fr; } }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.visit-copy { display: grid; gap: 2rem; }
.visit-facts { margin: 0; display: grid; gap: 1.2rem; }
.visit-facts div { display: grid; grid-template-columns: 10.5rem 1fr; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--ip-line); }
.visit-facts dt { font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ip-rose); padding-top: 0.3em; }
.visit-facts dd { margin: 0; color: var(--ip-cream); }
.visit-photo img { aspect-ratio: 16 / 11; object-position: 50% 45%; }

/* ---------- Closing: the four jewels meet ---------- */
.closing {
  position: relative; z-index: 2; overflow: hidden; isolation: isolate;
  padding-block: clamp(5rem, 11vw, 8.5rem); text-align: center; border-top: 1px solid var(--ip-line);
}
.closing::before {
  content: ""; position: absolute; inset: -30%; z-index: -1; filter: blur(30px);
  background:
    radial-gradient(30% 40% at 20% 60%, rgb(52 185 143 / 0.22), transparent 70%),
    radial-gradient(30% 40% at 40% 40%, rgb(90 143 224 / 0.18), transparent 70%),
    radial-gradient(30% 40% at 62% 60%, rgb(168 116 204 / 0.2), transparent 70%),
    radial-gradient(30% 40% at 82% 42%, rgb(215 90 115 / 0.16), transparent 70%);
}
.closing-inner { display: grid; justify-items: center; gap: 1.6rem; }
.closing-title { font-size: clamp(2.8rem, 7vw, 6rem); letter-spacing: -0.03em; margin-bottom: 0.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: #060c0e; border-top: 1px solid var(--ip-line); padding-block: clamp(3.5rem, 7vw, 5rem) 2.5rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--ip-line); }
.footer-col { display: grid; gap: 0.6rem; align-content: start; }
.footer-col .footer-h { font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ip-rose); margin-bottom: 0.4rem; }
.footer-col a { color: var(--ip-cream); text-decoration: none; }
.footer-col a:hover { color: var(--ip-rose-hi); }
.footer-col address { font-style: normal; }
.jewel-link::before { content: ""; display: inline-block; width: 0.4em; height: 0.4em; rotate: 45deg; margin-right: 0.7em; vertical-align: 0.15em; background: var(--jewel-glow); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-top: 2.2rem; color: var(--ip-mist); font-size: 0.88rem; }
.footer-base img { height: 26px; width: auto; opacity: 0.85; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Menu page ---------- */
.menu-hero { padding-block: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) clamp(2.5rem, 5vw, 3.5rem); }
.menu-hero .container { display: grid; gap: 1.4rem; }
.menu-hero-title { font-size: clamp(3rem, 7.5vw, 6rem); letter-spacing: -0.03em; line-height: 0.95; max-width: 14ch; }
.menu-hero .lede { max-width: 40rem; }

/* The four rooms stay in reach while you read. */
.room-bar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgb(10 20 23 / 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ip-line);
}
.room-bar-inner { display: flex; gap: 0.5rem; padding-block: 0.7rem; overflow-x: auto; scrollbar-width: none; }
.room-bar-inner::-webkit-scrollbar { display: none; }
.room-bar a {
  flex: none; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 1rem; min-height: 2.6rem; border-radius: 999px;
  border: 1px solid var(--ip-line); color: var(--ip-cream); text-decoration: none; font-size: 0.95rem; white-space: nowrap;
  transition: border-color 0.3s, background 0.4s;
}
.room-bar a::before { content: ""; width: 0.45em; height: 0.45em; rotate: 45deg; background: var(--jewel-glow); }
.room-bar a:hover { border-color: var(--jewel-glow); }
.room-bar a[aria-current="true"] { border-color: var(--jewel-glow); background: color-mix(in oklab, var(--jewel) 75%, transparent); }

.room {
  position: relative; z-index: 2;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(60rem 40rem at 0% 0%, color-mix(in oklab, var(--jewel-glow) 12%, transparent), transparent 65%),
    linear-gradient(var(--jewel) -20%, var(--ip-night) 70%);
  border-top: 1px solid color-mix(in oklab, var(--jewel-glow) 35%, transparent);
}
.room-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.room-head { position: sticky; top: calc(var(--header-h) + 5.5rem); display: grid; gap: 1.1rem; justify-items: start; }
.room-head .display { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.room-line { font-family: var(--font-display); font-size: 1.45rem; color: var(--ip-rose-hi); line-height: 1.25; }
.room-intro { color: var(--on-jewel-quiet); max-width: 30rem; }
.room-photo { margin: 0.8rem 0 0; width: 100%; }
.room-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--arch); filter: saturate(0.95) brightness(0.9); box-shadow: 0 40px 70px -40px rgb(0 0 0 / 0.9); }
.room-body { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.menu-group h3 {
  font-family: var(--font-label); font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ip-rose);
  display: flex; align-items: center; gap: 1rem; margin-bottom: 0.8rem;
}
.menu-group > h3::after { content: ""; flex: 1; height: 1px; background: var(--ip-line); }

/* Folded groups: one tap to open, with a count and price range so nobody opens blind. */
.is-folded summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.1rem; border: 1px solid var(--ip-line); border-radius: 4px;
  background: rgb(0 0 0 / 0.18); transition: border-color 0.3s, background 0.3s;
}
.is-folded summary::-webkit-details-marker { display: none; }
.is-folded summary:hover { border-color: var(--jewel-glow); }
.is-folded summary h3 { margin: 0; }
.fold-meta { margin-left: auto; color: var(--on-jewel-quiet); font-size: 0.92rem; }
.fold-chevron { color: var(--ip-rose-hi); transition: rotate 0.4s var(--ease-out); }
.is-folded[open] .fold-chevron { rotate: 180deg; }
.is-folded[open] summary { margin-bottom: 0.6rem; }

.lost { min-height: 80svh; display: grid; align-items: center; }

/* ---------- Mobile bottom bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; z-index: 60; inset: auto 0 0; display: flex; gap: 0.6rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgb(6 12 14 / 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--ip-line); transition: translate 0.5s var(--ease-out);
  }
  .mobile-cta .btn-brand { flex: 1; }
  .mobile-cta.is-tucked { translate: 0 110%; }
  .site-footer { padding-bottom: 6rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  /* Phones: the hallway becomes the hero's backdrop, so the first screen carries the mood. */
  .hero { min-height: 92svh; padding-block: 6.5rem 3rem; align-items: end; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-arch {
    position: absolute; inset: 0; z-index: -1; width: 100%; max-height: none; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.55) 45%, transparent 92%);
    mask-image: linear-gradient(rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.55) 45%, transparent 92%);
  }
  .hero-arch::before { display: none; }
  .hero-arch img { border-radius: 0; box-shadow: none; object-position: 50% 30%; filter: brightness(0.62) saturate(1.05); }
  .sconce { left: 0; top: 6%; width: 60%; }
  .favorites-grid, .visit-grid, .room-grid, .ethos-grid { grid-template-columns: 1fr; }
  .favorites .photo-frame img { aspect-ratio: 16 / 10; }
  .ethos-photo img { aspect-ratio: 1; }
  .room-head { position: static; }
  .room-photo { display: none; }
  .visit-facts div { grid-template-columns: 1fr; gap: 0.3rem; }
}
@media (max-width: 520px) {
  .menu-line { flex-wrap: wrap; }
  .menu-name { flex: 1 1 60%; }
}

/* Touch: the whole line is the button, so "Book" shrinks to an arrow beside the price. */
@media (hover: none) {
  .menu-book { font-size: 0; gap: 0; color: var(--ip-rose); }
  .menu-book svg { width: 11px; height: 11px; }
}
@media (max-width: 520px) {
  .menu-line { flex-wrap: nowrap; }
  .menu-name { flex: 0 1 auto; }
}

/* Web Awesome's native <details> styling adds its own border and chevron; ours replaces both. */
details.is-folded { border: 0; padding: 0; background: none; }
.is-folded summary::after { display: none; }
@media (max-width: 520px) {
  .is-folded summary { flex-wrap: wrap; row-gap: 0.3rem; }
  .is-folded summary h3 { flex: 1 1 auto; }
  .fold-meta { order: 3; flex-basis: 100%; margin-left: 0; }
}

/* ---------- Round 2: critique fixes ---------- */
.skip-link:hover { color: var(--ip-night); }
.cta-stack { display: grid; gap: 0.55rem; justify-items: start; }
.hero .handoff { margin-top: 0; }
.footer-note { color: var(--ip-mist); font-size: 0.92rem; }
.footer-note a { color: var(--ip-rose-hi); text-decoration: underline; text-decoration-color: var(--ip-line); }

/* Doors: shorter, so the labels sit in the first view; opening one shows its starting price. */
.door-way { aspect-ratio: 5 / 7; max-height: 58svh; }
.door-peek {
  position: absolute; left: 0; right: 0; bottom: 14%; text-align: center;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--ip-cream); text-shadow: 0 2px 10px rgb(0 0 0 / 0.6);
  padding-left: 30%; /* sits in the gap the opened door leaves */
  opacity: 0; transition: opacity 0.6s 0.25s;
}
.door:hover .door-peek, .door:focus-visible .door-peek, .door.is-ajar .door-peek { opacity: 1; }
.door-from { font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ip-rose); margin-top: 0.2rem; }
@media (max-width: 560px) {
  .door-plate { max-width: 80%; letter-spacing: 0.05em; }
  .door-peek { font-size: 1.05rem; padding-left: 24%; }
}

/* Menu lines: the Book cue shows at rest (an arrow), widening to "Book" on hover; the whole item is the target. */
.menu-item { position: relative; }
.menu-line::after { content: ""; position: absolute; inset: 0; }
.menu-line:focus-visible { outline: none; }
.menu-item:has(.menu-line:focus-visible) { outline: 1px solid var(--ip-rose-hi); outline-offset: 4px; }
.menu-item:hover .menu-name { color: var(--ip-rose-hi); }
.menu-book { opacity: 1; translate: 0 0; width: auto; font-size: 0; gap: 0; color: var(--ip-rose); }
.menu-book svg { width: 11px; height: 11px; }
@media (hover: hover) {
  .menu-item:hover .menu-book, .menu-line:focus-visible .menu-book { font-size: 0.75rem; gap: 0.35em; color: var(--ip-rose-hi); }
}

/* Folded groups: cancel Web Awesome's summary offset so opening one doesn't shift it. */
.is-folded summary, details.is-folded[open] summary { margin-inline: 0; margin-block-start: 0; }

/* Room bar: a fade at the edge says there's more to scroll to. */
@media (max-width: 760px) {
  .room-bar-inner { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 2rem; }
}

/* Closing: four distinct jewel lights instead of one wash. */
.closing::before {
  filter: blur(14px);
  background:
    radial-gradient(18% 34% at 18% 58%, rgb(79 207 164 / 0.3), transparent 70%),
    radial-gradient(18% 34% at 39% 42%, rgb(141 179 240 / 0.26), transparent 70%),
    radial-gradient(18% 34% at 61% 58%, rgb(201 160 230 / 0.26), transparent 70%),
    radial-gradient(18% 34% at 82% 42%, rgb(240 142 160 / 0.24), transparent 70%);
}
.before-you-book {
  list-style: none; margin: 2.2rem 0 0; padding: 2rem 0 0; border-top: 1px solid var(--ip-line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: left; max-width: 64rem;
  color: var(--ip-mist); font-size: 0.98rem;
}
.before-you-book li { margin: 0; padding: 0; }
.byb-title { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--ip-cream); margin-bottom: 0.3rem; }
@media (max-width: 760px) { .before-you-book { grid-template-columns: 1fr; gap: 1.4rem; } }

/* Team: whole-team caption and specialties. */
.team-body > .team-note { margin-top: -0.8rem; }
.p-role { color: var(--ip-rose); font-size: 0.95rem; line-height: 1.45; }

/* Doors swing inward, away from you, so the room's light and starting price show in the gap. */
.door:hover .door-leaf, .door:focus-visible .door-leaf, .door.is-ajar .door-leaf {
  transform: rotateY(48deg);
  box-shadow: inset -30px 0 40px rgb(0 0 0 / 0.45);
}
@media (hover: none) { .door.is-ajar .door-leaf { transform: rotateY(40deg); } }
.door-peek { padding-left: 46%; padding-right: 4%; }
@media (max-width: 560px) { .door-peek { padding-left: 42%; } }
.door-peek, .door:hover .door-peek { left: auto; right: 7%; padding: 0; text-align: right; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.1; max-width: 34%; }
@media (max-width: 560px) { .door-peek { right: 6%; font-size: 0.95rem; } }
@media (max-width: 560px) { .door-peek { display: none; } }

/* ---------- Beyond the four doors: practitioners who book separately ---------- */
.also-here { position: relative; z-index: 2; padding-block: calc(var(--section-pad) * 0.5) var(--section-pad); }
.is-menu .also-here { padding-block: var(--section-pad); border-top: 1px solid var(--ip-line); }
.also-head { display: grid; gap: 1rem; margin-bottom: 2rem; max-width: 44rem; }
.also-title { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.also-list { list-style: none; margin: 0; padding: 0; display: grid; }
.also-item {
  margin: 0; display: grid; grid-template-columns: minmax(14rem, 1fr) 1.4fr auto; gap: 0.6rem 2.5rem; align-items: baseline;
  padding: 1.5rem 0; border-top: 1px solid var(--ip-line);
}
.also-item:last-child { border-bottom: 1px solid var(--ip-line); }
.also-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; line-height: 1.15; }
.also-soon {
  display: inline-block; vertical-align: 0.3em; margin-left: 0.4rem; padding: 0.15rem 0.55rem; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.02em;
  color: var(--ip-rose-hi); border: 1px solid rgb(219 165 140 / 0.5);
}
.also-by { color: var(--ip-rose); font-size: 0.95rem; margin-top: 0.2rem; }
.also-desc { color: var(--ip-mist); }
.also-action { justify-self: end; white-space: nowrap; }
@media (max-width: 860px) {
  .also-item { grid-template-columns: 1fr; }
  .also-action { justify-self: start; }
}
.room-bar a.room-bar-more::before { background: var(--ip-rose); }

/* Homepage version: two columns of stacked entries, so seven providers stay compact. */
.also-compact .also-list { grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 5vw, 4.5rem); }
.also-compact .also-item { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.3rem 0; }
.also-compact .also-item:last-child { border-bottom: 0; }
.also-compact .also-action { justify-self: start; margin-top: 0.2rem; }
.also-compact .also-name { font-size: 1.45rem; }
@media (max-width: 760px) { .also-compact .also-list { grid-template-columns: 1fr; } }
