/* ==========================================================================
   Lafayette Nails demo: porcelain neutrals, espresso ink, one blush accent
   ========================================================================== */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf6f2;
  --bg-2: #f3ece5;
  --bg-3: #ebe1d7;
  --card: #fffdfb;
  --line: #e4d9cf;
  --line-2: #d6c7ba;
  --ink: #2b211d;
  --ink-2: #4a3d37;
  --muted: #6b5d55;
  --blush: #d9a7a0;
  --blush-soft: #f4e3df;
  --blush-ink: #985349;
  --espresso: #241b18;
  --espresso-2: #332824;
  --on-dark: #f6efe9;
  --on-dark-muted: #c9b9ae;
  --ok: #4f7a5a;

  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --shadow-soft: 0 1px 2px rgba(43, 33, 29, .04), 0 12px 32px -12px rgba(43, 33, 29, .16);
  --shadow-lift: 0 2px 4px rgba(43, 33, 29, .05), 0 28px 60px -24px rgba(43, 33, 29, .32);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(20px, 5vw, 40px);
  --topbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--blush-soft); color: var(--ink); }

:focus-visible { outline: 2px solid var(--blush-ink); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--pill);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: block;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blush-ink);
}
.eyebrow .dot { display: inline-block; width: 4px; height: 4px; margin: 0 .7em; border-radius: 50%; background: currentColor; opacity: .6; vertical-align: .22em; }
.section { padding: clamp(72px, 11vw, 136px) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(2.25rem, 6.4vw, 3.75rem);
  font-weight: 300;
  letter-spacing: -0.035em;
}
.section-head h2 em { color: var(--blush-ink); font-size: 1.08em; }
.section-sub { margin-top: 16px; color: var(--muted); max-width: 52ch; }
.section-head-split { max-width: none; display: grid; gap: 20px; align-items: end; }
@media (min-width: 900px) {
  .section-head-split { grid-template-columns: 1fr auto; gap: 48px; }
  .section-head-split .section-sub { margin-top: 0; max-width: 40ch; }
}
.fineprint { margin-top: 28px; font-size: .875rem; color: var(--muted); }
.fineprint a { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--pill); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 550; font-size: .975rem; letter-spacing: -0.005em; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-ink { --btn-bg: var(--ink); --btn-fg: var(--bg); box-shadow: 0 10px 24px -12px rgba(43, 33, 29, .55); }
.btn-ink:hover { --btn-bg: #3a2d28; box-shadow: 0 16px 30px -14px rgba(43, 33, 29, .6); }
.btn-line { --btn-bd: var(--line-2); --btn-bg: rgba(255, 253, 251, .6); }
.btn-line:hover { --btn-bd: var(--ink); --btn-bg: var(--card); }
.btn-quiet { --btn-fg: var(--ink-2); padding: 0 12px; }
.btn-quiet:hover { --btn-fg: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }

/* polish-shine sweep */
.shine::after {
  content: ""; position: absolute; inset: -2px auto -2px -40%; width: 34%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28) 45%, rgba(255, 255, 255, .05) 60%, transparent);
  transform: skewX(-18deg) translateX(0); transition: transform .9s var(--ease);
}
.shine::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--btn-bg); border-radius: inherit; }
.shine:hover::after, .shine:focus-visible::after { transform: skewX(-18deg) translateX(520%); }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topbar-h);
  background: rgba(250, 246, 242, .72);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s, transform .4s var(--ease);
}
.topbar.is-solid { border-bottom-color: var(--line); background: rgba(250, 246, 242, .9); }
.topbar.is-hidden { transform: translateY(-100%); }
.topbar-inner { height: 100%; display: flex; align-items: center; gap: 16px; }

.wordmark { display: inline-flex; align-items: baseline; gap: .32em; text-decoration: none; color: var(--ink); line-height: 1; margin-right: auto; }
.wordmark-main { font-size: .9rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.wordmark-script { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--blush-ink); letter-spacing: 0; }
.wordmark-lg .wordmark-main { font-size: 1.15rem; }
.wordmark-lg .wordmark-script { font-size: 2rem; }

.menu { display: none; }
.menu a { text-decoration: none; color: var(--ink-2); font-size: .95rem; font-weight: 500; padding: 8px 2px; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.menu a:hover { color: var(--ink); }
.menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.topbar-actions { display: flex; align-items: center; gap: 6px; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px;
  border: 0; background: transparent; border-radius: 50%; color: var(--ink);
}
.menu-toggle .i { width: 24px; height: 24px; }
.hide-sm { display: none !important; }
.hide-xs { display: none; }
@media (min-width: 400px) { .hide-xs { display: inline; } }

/* mobile menu sheet */
@media (max-width: 959px) {
  .menu.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: calc(var(--topbar-h) - 1px); left: 0; right: 0;
    padding: 12px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(43, 33, 29, .3);
    animation: sheet .35s var(--ease);
  }
  .menu.is-open a { font-size: 1.35rem; font-weight: 300; padding: 12px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.01em; }
  .menu.is-open a::after { display: none; }
}
@keyframes sheet { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 960px) {
  :root { --topbar-h: 76px; }
  .menu { display: flex; gap: 30px; margin: 0 auto; }
  .menu-toggle { display: none; }
  .hide-sm { display: inline-flex !important; }
  .wordmark { margin-right: 0; }
  .topbar-inner { justify-content: space-between; }
}

/* ---------- Status pill ---------- */
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 550; color: var(--ink-2);
  padding: 7px 14px 7px 12px; border-radius: var(--pill);
  background: var(--card); border: 1px solid var(--line);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); position: relative; }
.status.is-open .status-dot { background: var(--ok); }
.status.is-open .status-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ok); opacity: 0;
  animation: ping 2.4s var(--ease) infinite;
}
.status.is-closed .status-dot { background: var(--blush-ink); }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--topbar-h) + 28px) 0 64px;
  background:
    radial-gradient(120% 70% at 100% 0%, var(--blush-soft) 0%, rgba(244, 227, 223, 0) 60%),
    radial-gradient(80% 60% at 0% 100%, var(--bg-2) 0%, rgba(243, 236, 229, 0) 70%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-top: 22px; }
.hero h1 {
  margin-top: 16px;
  font-size: clamp(2.7rem, 11.5vw, 5.6rem);
  font-weight: 300; line-height: .98; letter-spacing: -0.045em;
  max-width: 12ch;
}
.hero h1 em { color: var(--blush-ink); font-size: 1.06em; letter-spacing: -0.01em; padding-right: .04em; }
.lede { margin-top: 22px; font-size: clamp(1.05rem, 2.6vw, 1.2rem); color: var(--ink-2); max-width: 44ch; }
.hero-ctas { margin-top: 30px; display: grid; gap: 12px; }
.hero-proof { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--muted); }
.hero-proof li { display: flex; align-items: center; }
@media (min-width: 420px) { .hero-proof li + li::before { content: ""; width: 1px; height: 16px; background: var(--line-2); margin-right: 22px; } }
.hero-proof strong { color: var(--ink); font-weight: 600; }
.proof-rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.proof-rating:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.stars { display: inline-flex; gap: 2px; color: #c48a5f; }
.stars .i { width: 15px; height: 15px; }
.stars .half { opacity: .45; }

.hero-art { position: relative; width: min(100%, 440px); margin: 0 auto; padding: 0 0 24px 0; }
.arch {
  position: relative; margin: 0 0 0 auto; width: 84%;
  aspect-ratio: 3 / 4; border-radius: 999px 999px 28px 28px; overflow: hidden;
  background: var(--bg-3);
  box-shadow: var(--shadow-lift);
}
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: settle 2.2s var(--ease) both; }
.arch::before {
  content: ""; position: absolute; inset: 10px; z-index: 2; pointer-events: none;
  border-radius: 999px 999px 20px 20px; border: 1px solid rgba(255, 255, 255, .45);
}
.arch-gloss {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .34) 44%, rgba(255, 255, 255, 0) 56%);
  transform: translateX(-120%); animation: gloss 2.6s 0.6s var(--ease) both;
}
@keyframes settle { from { transform: scale(1.12); } }
@keyframes gloss { to { transform: translateX(120%); } }
.pebble {
  position: absolute; left: 0; bottom: 0; z-index: 4; margin: 0;
  width: 38%; aspect-ratio: 4 / 5;
  border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%; overflow: hidden;
  border: 5px solid var(--bg); box-shadow: var(--shadow-soft);
  animation: float-in 1.4s .4s var(--ease) both;
}
.pebble img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float-in { from { opacity: 0; transform: translateY(18px); } }
.hero-tag {
  position: absolute; right: -4px; bottom: 54px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--pill);
  background: rgba(255, 253, 251, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2);
}
.hero-tag .i { color: var(--blush); width: 14px; height: 14px; }

@media (min-width: 560px) {
  .hero-ctas { display: flex; flex-wrap: wrap; }
}
@media (min-width: 960px) {
  .hero { padding: calc(var(--topbar-h) + 56px) 0 96px; min-height: min(100vh, 900px); display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .hero-art { width: 100%; max-width: 480px; }
  .hero-tag { right: -18px; }
}

/* ---------- Ribbon ---------- */
.ribbon { border-block: 1px solid var(--line); background: var(--card); overflow: hidden; }
.ribbon-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ribbon span {
  display: inline-flex; align-items: center; gap: 28px; padding: 16px 0 16px 28px;
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink-2); white-space: nowrap;
}
.ribbon span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blush); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.tabs { position: relative; }
.tablist {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 28px; padding: 4px var(--gutter);
  scroll-snap-type: x proximity;
}
.tablist::-webkit-scrollbar { display: none; }
.tablist [role="tab"] {
  flex: none; scroll-snap-align: start;
  min-height: 44px; padding: 0 18px; border-radius: var(--pill);
  border: 1px solid var(--line-2); background: transparent; color: var(--ink-2);
  font-size: .925rem; font-weight: 550; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.tablist [role="tab"]:hover { border-color: var(--ink); color: var(--ink); }
.tablist [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (min-width: 960px) { .tablist { flex-wrap: wrap; margin: 0 0 36px; padding: 0; overflow: visible; } }

.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow-soft);
}
.js .panel[hidden] { display: none; }
html:not(.js) .panel + .panel { margin-top: 20px; }
.panel:focus-visible { outline-offset: 4px; }
.js .panel:not([hidden]) { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.panel-title { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 300; letter-spacing: -0.03em; }
.panel-intro { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.menu-cols { display: grid; gap: 32px; margin-top: 24px; }
@media (min-width: 860px) { .menu-cols { grid-template-columns: 1fr 1fr; gap: 56px; } }
.menu-group {
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blush-ink);
  padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
  display: flex; align-items: baseline; gap: 10px;
}
.menu-group .item-note { letter-spacing: .04em; text-transform: none; }

.menu-list .item { padding: 18px 0; border-bottom: 1px solid var(--line); position: relative; }
.menu-list .item:last-child { border-bottom: 0; }
.item-head { display: flex; align-items: baseline; gap: 10px; }
.item-head h5 { font-size: 1.08rem; font-weight: 550; letter-spacing: -0.01em; line-height: 1.3; }
.item-note { display: block; font-size: .82rem; font-weight: 450; color: var(--muted); margin-top: 2px; letter-spacing: 0; }
.leader { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 1.05rem; }
.price small { font-size: .78rem; font-weight: 500; color: var(--muted); }
.item-meta { margin-top: 4px; font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.item-desc { margin-top: 8px; font-size: .95rem; color: var(--ink-2); max-width: 56ch; }
.item-book {
  margin-top: 10px; padding: 6px 0; border: 0; background: none;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 600; color: var(--blush-ink);
}
.item-book .i { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.item-book:hover .i { transform: translateX(3px); }
.item-feature .item-head h5::before {
  content: ""; display: inline-block; width: 7px; height: 9px; margin-right: 8px; vertical-align: 1px;
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  background: linear-gradient(160deg, #f1d0ca, var(--blush) 55%, #b9756b);
}
.menu-grid { display: grid; margin-top: 18px; }
@media (min-width: 760px) {
  .menu-grid { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .menu-grid .item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
.menu-compact .item { padding: 13px 0; }
.wax-cols { display: grid; gap: 28px; margin-top: 24px; }
@media (min-width: 760px) { .wax-cols { grid-template-columns: repeat(3, 1fr); gap: 44px; } }
.panel-cta { margin-top: 24px; }

.ladder { margin-top: 32px; padding: 22px; border-radius: var(--radius-sm); background: var(--bg-2); }
.ladder-title { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.ladder-title .i { color: var(--blush-ink); width: 14px; height: 14px; }
.ladder-bars { margin-top: 14px; display: grid; gap: 10px; }
.ladder-bars li { display: grid; grid-template-columns: 76px 1fr 52px; align-items: center; gap: 12px; font-size: .88rem; }
.ladder-name { color: var(--ink-2); font-weight: 500; }
.ladder-val { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.ladder-bar { height: 8px; border-radius: var(--pill); background: var(--bg-3); overflow: hidden; }
.ladder-bar span {
  display: block; height: 100%; width: calc(var(--m) / 17 * 100%); border-radius: inherit;
  background: linear-gradient(90deg, #efd2cc, var(--blush) 60%, #c08177);
  transform-origin: left; transition: transform 1.1s var(--ease);
}
.js .panel:not([hidden]) .ladder-bar span { animation: grow 1.1s .15s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------- Steps ---------- */
.steps { background: var(--bg-2); }
.steps-grid { display: grid; gap: 14px; counter-reset: s; }
.step {
  position: relative; padding: 28px 26px 30px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--blush); }
.step h3 { margin-top: 18px; font-size: 1.45rem; font-weight: 400; letter-spacing: -0.02em; }
.step p { margin-top: 10px; font-size: .97rem; color: var(--ink-2); }
.step a { color: var(--ink); }
@media (min-width: 640px) { .steps-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 1040px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .step:nth-child(even) { transform: translateY(28px); }
  .step:nth-child(even):hover { transform: translateY(25px); }
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1040px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .gallery-grid li:nth-child(4n + 2), .gallery-grid li:nth-child(4n + 4) { transform: translateY(36px); }
  .gallery-grid { padding-bottom: 36px; }
}
.g-item {
  display: block; width: 100%; padding: 0; border: 0; background: var(--bg-3);
  aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; position: relative;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.g-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 48%, transparent 60%);
  transform: translateX(-110%); transition: transform 1s var(--ease);
}
.g-item:hover img { transform: scale(1.04); }
.g-item:hover::after, .g-item:focus-visible::after { transform: translateX(110%); }
.gallery-grid li:nth-child(odd) .g-item { border-radius: 120px 120px 16px 16px; }
@media (min-width: 720px) { .gallery-grid li:nth-child(odd) .g-item { border-radius: 16px; } .gallery-grid li:nth-child(3n + 2) .g-item { border-radius: 160px 160px 16px 16px; } }
@media (min-width: 1040px) { .gallery-grid li:nth-child(3n + 2) .g-item { border-radius: 16px; } .gallery-grid li:nth-child(4n + 1) .g-item, .gallery-grid li:nth-child(4n + 3) .g-item { border-radius: 16px; } .gallery-grid li:nth-child(4n + 2) .g-item, .gallery-grid li:nth-child(4n + 4) .g-item { border-radius: 200px 200px 16px 16px; } }

/* Lightbox */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(30, 23, 20, .94); color: var(--on-dark);
}
.lightbox[open] { display: grid; place-items: center; animation: fade .3s var(--ease); }
.lightbox::backdrop { background: rgba(30, 23, 20, .6); }
@keyframes fade { from { opacity: 0; } }
.lightbox-fig { margin: 0; padding: 72px 16px 88px; display: grid; justify-items: center; gap: 14px; }
.lightbox-fig img { max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); width: auto; max-width: min(92vw, 720px); border-radius: 14px; object-fit: contain; }
.lightbox-fig figcaption { font-size: .9rem; color: var(--on-dark-muted); text-align: center; max-width: 52ch; }
.round-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink);
  transition: background-color .25s, transform .3s var(--ease), border-color .25s;
}
.round-btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.round-btn .i { width: 20px; height: 20px; }
.lightbox .round-btn { position: fixed; background: rgba(255, 253, 251, .12); border-color: rgba(255, 255, 255, .2); color: var(--on-dark); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { bottom: 24px; left: calc(50% - 60px); }
.lb-next { bottom: 24px; right: calc(50% - 60px); }
@media (min-width: 900px) { .lb-prev { left: 28px; bottom: auto; top: 50%; } .lb-next { right: 28px; bottom: auto; top: 50%; } }

/* ---------- Reviews (dark band) ---------- */
.reviews { background: var(--espresso); color: var(--on-dark); overflow: hidden; }
.reviews::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 167, 160, .2), rgba(217, 167, 160, 0) 65%); pointer-events: none;
}
.reviews .eyebrow { color: var(--blush); }
.reviews .section-head h2 em { color: var(--blush); }
.reviews .fineprint, .reviews .fineprint a { color: var(--on-dark-muted); }
.scores { display: flex; flex-wrap: wrap; gap: 12px; }
.score {
  display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center;
  padding: 14px 20px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03);
}
.score strong { grid-row: span 2; font-size: 2.2rem; font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.score > span:last-child { font-size: .82rem; color: var(--on-dark-muted); }
.reviews .stars { color: #e3b58f; }

.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; align-items: start;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding: 0 var(--gutter);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-color: var(--blush); }
@media (min-width: 720px) { .carousel-track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 14px) / 2); } }
@media (min-width: 1100px) { .carousel-track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 36px) / 3); gap: 18px; } }
.review {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px;
  padding: 28px 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
}
.review-stars { display: flex; gap: 2px; color: #e3b58f; }
.review-stars .i { width: 15px; height: 15px; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 1.08rem; line-height: 1.55; color: var(--on-dark); }
.review blockquote p::before { content: "“"; font-family: var(--serif); font-size: 2.4rem; line-height: 0; vertical-align: -.4em; margin-right: 4px; color: var(--blush); }
.review-by { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.review-by strong { font-weight: 600; }
.review-by span { color: var(--on-dark-muted); font-size: .82rem; }
.carousel-ui { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.carousel-progress { flex: 1; height: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 30%; background: var(--blush); border-radius: 2px; transition: transform .2s linear; }
.carousel-btns { display: flex; gap: 10px; }
.reviews .round-btn { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, .25); }
.reviews .round-btn:hover { border-color: var(--on-dark); }
.reviews .round-btn:disabled { opacity: .35; cursor: default; transform: none; }
.reviews :focus-visible { outline-color: var(--blush); }

.mini-quotes { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.mini-quotes li {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  padding: 10px 16px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .12); font-size: .9rem;
}
.mini-quotes q { font-family: var(--serif); font-style: italic; font-size: 1.15rem; quotes: "“" "”"; }
.mini-quotes span { color: var(--on-dark-muted); font-size: .78rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.05fr .95fr; gap: 80px; } }
.about-media { position: relative; padding-bottom: 56px; }
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3; background: var(--bg-3); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-logo {
  position: absolute; right: 18px; bottom: 0; width: 36%; max-width: 190px; margin: 0;
  border-radius: 14px; overflow: hidden; border: 5px solid var(--bg); box-shadow: var(--shadow-soft);
}
.about-copy h2 { margin-top: 14px; font-size: clamp(2.1rem, 5.6vw, 3.3rem); font-weight: 300; letter-spacing: -0.035em; }
.about-copy h2 em { color: var(--blush-ink); }
.about-copy > p { margin-top: 18px; color: var(--ink-2); }
.about-copy > p em { color: var(--ink); font-size: 1.12em; }
.pull { margin: 28px 0 0; padding: 22px 24px; border-left: 2px solid var(--blush); background: var(--blush-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.pull p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.35; color: var(--ink); }
.pull cite { display: block; margin-top: 10px; font-style: normal; font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.brands { margin: 30px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.brands div { display: grid; grid-template-columns: 128px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.brands dt { font-weight: 600; color: var(--ink); }
.brands dd { margin: 0; color: var(--ink-2); }

/* ---------- Book ---------- */
.book { background: linear-gradient(180deg, var(--bg-2), var(--blush-soft)); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.book-grid > *, .visit-grid > *, .about-grid > *, .hero-grid > * { min-width: 0; }
@media (min-width: 980px) { .book-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } .book-aside { position: sticky; top: calc(var(--topbar-h) + 32px); } }
.book-aside h2 { margin-top: 14px; font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 300; letter-spacing: -0.035em; }
.book-aside h2 em { color: var(--blush-ink); }
.book-lede { margin-top: 16px; color: var(--ink-2); }
.demo-note {
  margin-top: 22px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px dashed var(--line-2); font-size: .9rem; color: var(--ink-2);
}
.demo-note a { color: var(--ink); font-weight: 600; }
.contact-list { margin-top: 24px; display: grid; gap: 4px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .i { color: var(--blush-ink); }
.contact-list a { padding: 8px 0; font-weight: 550; text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.status-card { margin-top: 20px; }

.book-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-lift);
}
.fs { border: 0; margin: 0; padding: 0 0 28px; min-width: 0; }
.fs + .fs { padding-top: 28px; border-top: 1px solid var(--line); }
.fs legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
.fs-num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blush-soft); color: var(--blush-ink); font-size: .82rem; font-weight: 700;
}
.fs legend + * { clear: both; }
.fs-hint { margin-top: 6px; font-size: .85rem; color: var(--muted); }
.err { margin-top: 10px; font-size: .85rem; font-weight: 550; color: #a3332a; }

.day-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 8px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
  margin: 16px calc(clamp(20px, 4vw, 40px) * -1) 0; padding: 4px clamp(20px, 4vw, 40px) 12px;
}
.day {
  scroll-snap-align: start; display: grid; justify-items: center; gap: 2px;
  padding: 12px 0 10px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg);
  color: var(--ink-2); transition: background-color .2s, border-color .2s, color .2s, transform .3s var(--ease);
}
.day:hover { border-color: var(--ink); }
.day small { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.day strong { font-size: 1.45rem; font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.day span { font-size: .72rem; color: var(--muted); }
.day[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); transform: translateY(-2px); }
.day[aria-checked="true"] small, .day[aria-checked="true"] strong, .day[aria-checked="true"] span { color: var(--bg); }
.day-month { grid-column: auto; align-self: center; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blush-ink); font-weight: 600; justify-self: center; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 16px; }
.slot {
  min-height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg);
  font-size: .9rem; font-weight: 550; font-variant-numeric: tabular-nums; color: var(--ink-2);
  transition: background-color .2s, border-color .2s, color .2s;
}
.slot:hover { border-color: var(--ink); }
.slot[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.slots-group { grid-column: 1 / -1; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.slots-group:first-child { margin-top: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--bg);
  font-size: .92rem; font-weight: 550; color: var(--ink-2);
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip span::before {
  content: ""; width: 0; height: 12px; margin-left: -6px; opacity: 0;
  background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23faf6f2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  transition: width .2s var(--ease), opacity .2s, margin .2s;
}
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip input:checked + span::before { width: 12px; opacity: 1; margin-left: 0; }
.chip input:hover + span { border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--blush-ink); outline-offset: 3px; }

.field { margin-top: 18px; display: grid; gap: 7px; min-width: 0; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.opt { font-weight: 450; color: var(--muted); font-size: .82rem; margin-left: 4px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg);
  font-size: 1rem; /* 16px+ prevents iOS zoom */ color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #7d6e66; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--card); box-shadow: 0 0 0 4px var(--blush-soft); }
.field input[aria-invalid="true"] { border-color: #a3332a; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hint-chip {
  padding: 0; border: 0; background: none; font-weight: 600; color: var(--blush-ink);
  text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px;
}
.form-foot { padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; text-align: center; }

.confirm { text-align: left; animation: panel-in .5s var(--ease); }
.confirm:focus { outline: none; }
.confirm-icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(160deg, #f1d0ca, var(--blush)); color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(152, 83, 73, .5);
}
.confirm-icon .i { width: 26px; height: 26px; }
.confirm h3 { margin-top: 18px; font-size: 2rem; font-weight: 300; letter-spacing: -0.03em; }
.confirm-lede { margin-top: 10px; color: var(--ink-2); }
.confirm-list { margin: 22px 0 0; border-top: 1px solid var(--line); }
.confirm-list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.confirm-list dt { color: var(--muted); }
.confirm-list dd { margin: 0; font-weight: 550; word-break: break-word; }
.confirm-actions { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 520px) { .confirm-actions { grid-template-columns: 1fr 1fr; } }
.link-btn { margin-top: 18px; padding: 8px 0; border: 0; background: none; color: var(--blush-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 960px) { .visit-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: stretch; } }
.visit-info h2 { margin-top: 14px; font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 300; letter-spacing: -0.035em; }
.visit-info h2 em { color: var(--blush-ink); }
.addr { margin-top: 24px; display: flex; gap: 12px; font-style: normal; font-size: 1.1rem; line-height: 1.5; }
.addr .i { margin-top: 4px; color: var(--blush-ink); }
.status-inline { margin-top: 18px; }
.hours { width: 100%; margin-top: 22px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.hours th { text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--ink-2); }
.hours tr.is-off td { color: var(--muted); font-style: italic; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 650; color: var(--ink); }
.hours tr.is-today th::after { content: "Today"; margin-left: 10px; padding: 2px 8px; border-radius: var(--pill); background: var(--blush-soft); color: var(--blush-ink); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.visit-ctas { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.visit-map { min-height: 340px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); background: var(--bg-3); }
.visit-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: saturate(.75) sepia(.08); }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: var(--on-dark); padding: 72px 0 calc(100px + env(safe-area-inset-bottom)); }
.footer .wordmark { color: var(--on-dark); }
.footer .wordmark-script { color: var(--blush); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer { padding-bottom: 40px; } }
.footer-brand p { margin-top: 14px; color: var(--on-dark-muted); font-size: .92rem; max-width: 30ch; }
.footer-col { display: grid; gap: 8px; align-content: start; font-size: .95rem; }
.footer-col a, .footer-col span { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer-col a { padding: 4px 0; }
.footer-col a:hover { color: var(--blush); }
.footer-h { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 4px; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 6px; font-size: .82rem; color: var(--on-dark-muted); }
@media (min-width: 760px) { .footer-base { grid-template-columns: 1fr auto; } }
.footer :focus-visible { outline-color: var(--blush); }

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 8px;
  border-radius: 22px; background: rgba(255, 253, 251, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(43, 33, 29, .4);
  transform: translateY(150%); transition: transform .5s var(--ease);
}
.dock.is-shown { transform: none; }
.dock-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
  border-radius: 16px; text-decoration: none; font-weight: 600; color: var(--ink); background: var(--bg-2);
}
.dock-btn-ink { background: var(--ink); color: var(--bg); }
@media (min-width: 960px) { .dock { display: none; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .gallery-grid li.reveal.is-in:nth-child(4n + 2), .js .gallery-grid li.reveal.is-in:nth-child(4n + 4) { transform: none; }
@media (min-width: 1040px) {
  .js .gallery-grid li.reveal.is-in:nth-child(4n + 2), .js .gallery-grid li.reveal.is-in:nth-child(4n + 4) { transform: translateY(36px); }
  .js .step.reveal.is-in:nth-child(even) { transform: translateY(28px); }
}

/* ---------- 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; }
  .arch-gloss { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
