/* Karma Royal Palace — booking site
   Layout: a ceremonial hero (crest "seal" stage with turning gold rings, live
   next-available card), a perks strip, services showcase, a three-step
   explainer, then an app-style booking flow with a sticky live summary.
   Single dark world taken from the crest: warm black, old gold, parchment. */
:root {
  --ink: #0b0906;          /* page ground */
  --ink-2: #110e0a;        /* alternate band */
  --panel: #17130e;        /* raised surfaces */
  --panel-2: #201a12;      /* inputs, chips */
  --gold: #c9913e;         /* crest gold */
  --gold-hi: #e8c172;      /* hover, highlights */
  --gold-pale: #f6dfa4;    /* gradient highlight */
  --gold-deep: #8d6125;    /* gradient shadow */
  --gold-ink: #1a1206;     /* text on gold */
  --text: #f1e8d6;         /* parchment */
  --muted: #ab9f89;
  --line: rgba(201, 145, 62, 0.26);
  --line-soft: rgba(241, 232, 214, 0.08);
  --glass: rgba(27, 22, 15, 0.66);
  --glass-line: rgba(232, 193, 114, 0.22);
  --ok: #7cc493;
  --warn: #e3b252;
  --bad: #e07a6b;

  --font-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --font-body: "Mulish", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Cormorant Garamond", Georgia, serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  --step-3: clamp(2.4rem, 1.4rem + 3.8vw, 4.5rem);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 var(--step-0)/1.65 var(--font-body);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--gold-ink); }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: 0.01em; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
}
.section-head .eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.gold-text {
  font-family: var(--font-script); font-style: italic; font-weight: 600; font-size: 1.14em; letter-spacing: 0;
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 22%, var(--gold-pale) 45%, var(--gold) 62%, var(--gold-pale) 82%, var(--gold) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
  padding-right: .06em;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 700 0.95rem/1 var(--font-body); letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden;
  transition: background-color .25s, border-color .25s, color .25s, transform .2s var(--ease), box-shadow .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #b27c30);
  color: var(--gold-ink);
  box-shadow: 0 10px 30px -10px rgba(201, 145, 62, .65), inset 0 1px 0 rgba(255, 240, 200, .5);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 248, 225, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--gold:hover { box-shadow: 0 14px 40px -10px rgba(232, 193, 114, .75), inset 0 1px 0 rgba(255, 240, 200, .6); transform: translateY(-1px); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgba(241, 232, 214, .03); color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(201, 145, 62, .08); }
.btn--link { background: none; color: var(--gold-hi); padding: 0 6px; text-decoration: underline; text-underline-offset: 3px; overflow: visible; }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 0.85rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn--danger { background: transparent; color: var(--bad); border-color: rgba(224, 122, 107, .45); }
.btn--danger:hover { border-color: var(--bad); }
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- notice + top bar ---------- */
.notice { background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep)); color: var(--gold-ink); font-weight: 700; font-size: var(--step--1); }
.notice .wrap { padding-block: 10px; text-align: center; }

.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(11, 9, 6, .9);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .35s, border-color .35s;
}
.topbar--home { background: rgba(11, 9, 6, .35); border-bottom-color: transparent; }
.topbar--home.is-scrolled { background: rgba(11, 9, 6, .88); border-bottom-color: var(--line-soft); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--ink); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand img { width: 36px; filter: drop-shadow(0 0 10px rgba(201, 145, 62, .35)); }
.brand__name { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; }
.brand__name span { color: var(--gold); }
.topnav { display: flex; align-items: center; gap: 26px; }
.topnav a:not(.btn) { position: relative; color: var(--muted); text-decoration: none; font-weight: 700; font-size: .88rem; letter-spacing: .02em; transition: color .2s; }
.topnav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.topnav a:not(.btn):hover { color: var(--text); }
.topnav a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .topnav a:not(.btn) { display: none; } .brand__name { font-size: .82rem; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 48px 40px; }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 55% at 74% 38%, rgba(201, 145, 62, .20), transparent 70%),
    radial-gradient(40% 40% at 8% 10%, rgba(201, 145, 62, .07), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--ink));
}
.hero__grid {
  display: grid; align-items: center; gap: 0 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas: "copy stage" "copy next";
}
.hero__copy { grid-area: copy; display: grid; gap: 20px; min-width: 0; align-content: center; padding-block: 24px; }
.hero__copy > * { animation: enter .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .32s; }
.hero__copy > :nth-child(6) { animation-delay: .4s; }
@keyframes enter { from { opacity: .001; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero h1 { line-height: 1.04; }
.hero__tagline { font-family: var(--font-script); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 1rem + .9vw, 1.7rem); color: var(--gold-hi); line-height: 1.3; }
.hero__lede { color: var(--muted); max-width: 54ch; font-size: 1.04rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.status {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line);
  font-size: .84rem; font-weight: 700; color: var(--text);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.status--open .status__dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(124, 196, 147, .6); animation: ping 2.2s infinite; }
.status--soon .status__dot { background: var(--warn); }
.status--inline { margin-top: 2px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(124, 196, 147, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(124, 196, 147, 0); } }

.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.quick:empty { display: none; }
.quick__chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 10px;
  border-radius: 999px; border: 1px solid var(--line-soft); background: rgba(241, 232, 214, .03);
  color: var(--text); font: 600 .84rem var(--font-body); cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.quick__chip svg { width: 18px; height: 18px; color: var(--gold); }
.quick__chip span { color: var(--muted); font-weight: 600; }
.quick__chip:hover { border-color: var(--gold); background: rgba(201, 145, 62, .08); transform: translateY(-1px); }

/* crest stage */
.stage {
  grid-area: stage; position: relative; width: min(470px, 100%); aspect-ratio: 1; max-width: 100%;
  justify-self: center; color: var(--gold);
  animation: enter 1.2s var(--ease) both;
}
.stage::before {
  content: ""; position: absolute; inset: 20%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(232, 193, 114, .22), rgba(20, 15, 9, .9) 62%);
  box-shadow: 0 0 80px 10px rgba(201, 145, 62, .18), inset 0 0 40px rgba(0, 0, 0, .6);
}
.stage__rays {
  position: absolute; inset: -14%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(232, 193, 114, .11) 0deg 2.5deg, transparent 2.5deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 66%);
  mask-image: radial-gradient(circle, #000 18%, transparent 66%);
  animation: spin 160s linear infinite;
}
.stage__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage__ring--outer { animation: spin 120s linear infinite; }
.stage__ring--inner { inset: 11%; width: 78%; height: 78%; animation: spin 80s linear infinite reverse; }
.stage__crest {
  position: absolute; left: 27%; top: 22%; width: 46%;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .7)) drop-shadow(0 0 22px rgba(201, 145, 62, .25));
  animation: float 9s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }

/* next available */
.next {
  grid-area: next; justify-self: center; width: min(360px, 100%); margin-top: -64px; position: relative; z-index: 2;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  display: grid; gap: 10px;
  animation: enter 1s .5s var(--ease) both;
}
.next__label { display: flex; align-items: center; gap: 9px; font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: ping 2.2s infinite; }
.next__body { display: grid; gap: 4px; }
.next__when { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.next__what { color: var(--muted); font-size: .9rem; }
.next__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.next__switch { background: none; border: 0; color: var(--muted); font: 600 .82rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.next__switch:hover { color: var(--text); }
.skeleton { color: transparent !important; border-radius: 6px; background: linear-gradient(90deg, rgba(241,232,214,.05), rgba(241,232,214,.12), rgba(241,232,214,.05)); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
.skeleton.next__when { width: 70%; }
.skeleton.next__what { width: 50%; }
@keyframes sk { to { background-position: -200% 0; } }

/* perks */
.perks {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--glass); border: 1px solid var(--line-soft); border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.perks li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; min-width: 0; }
.perks li + li { border-left: 1px solid var(--line-soft); }
.perks svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.perks strong { display: block; font-size: .95rem; }
.perks span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; margin-top: 2px; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "next" "copy"; gap: 0; }
  .stage { width: min(340px, 86%); }
  .next { margin-top: -40px; }
  .hero__copy { padding-top: 32px; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks li:nth-child(3) { border-left: 0; }
  .perks li:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 560px) {
  .hero { padding-top: 20px; }
  .stage { width: min(270px, 80%); }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .perks li + li { border-left: 0; border-top: 1px solid var(--line-soft); }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- section heads ---------- */
.section-head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 62ch; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 12px 48px; }
.section-head--split > div { display: grid; gap: 12px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--gold); }
@media (max-width: 760px) { .section-head--split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- services showcase ---------- */
.showcase { padding-block: 88px 72px; }
.showcase__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.showcase__grid > * { grid-column: span 2; }
.showcase__grid[data-count="1"] > * { grid-column: 1 / -1; }
.showcase__grid[data-count="2"] > *, .showcase__grid[data-count="4"] > * { grid-column: span 3; }
.showcase__grid[data-count="5"] > :nth-child(n + 4) { grid-column: span 3; }
@media (max-width: 980px) {
  .showcase__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase__grid > *, .showcase__grid[data-count] > * { grid-column: span 1; }
  .showcase__grid[data-count="1"] > *, .showcase__grid[data-count="3"] > :last-child, .showcase__grid[data-count="5"] > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .showcase__grid > *, .showcase__grid[data-count] > * { grid-column: 1 / -1 !important; } }

.card-svc {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px;
  padding: 26px 24px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(241, 232, 214, .045), rgba(241, 232, 214, .012));
  border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card-svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(201, 145, 62, .16), transparent 60%);
}
.card-svc:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow); }
.card-svc:hover::before { opacity: 1; }
.card-svc__icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(246, 223, 164, .25), rgba(201, 145, 62, .06) 70%);
  border: 1px solid var(--line); color: var(--gold-hi);
}
.card-svc__icon svg { width: 26px; height: 26px; }
.card-svc h3 { font-size: 1.15rem; }
.card-svc p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.card-svc__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .03em; color: var(--gold-hi); background: rgba(201, 145, 62, .1); border: 1px solid rgba(201, 145, 62, .18); }
.tag--plain { color: var(--muted); background: transparent; border-color: var(--line-soft); }
.card-svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.card-svc__foot .btn { min-height: 38px; }

.ico { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- how it works ---------- */
.how { padding-block: 72px 88px; background: linear-gradient(180deg, var(--ink), var(--ink-2) 30%, var(--ink-2) 70%, var(--ink)); }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; }
.how__steps::before { content: ""; position: absolute; top: 31px; left: 16%; right: 16%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent); opacity: .5; }
.how__steps li { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; gap: 12px; padding: 0 12px; }
.how__num {
  width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--gold-ink);
  background: radial-gradient(circle at 35% 30%, var(--gold-pale), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 0 6px var(--ink-2), 0 0 0 7px var(--line), 0 12px 30px -8px rgba(201, 145, 62, .55);
}
.how__steps h3 { font-size: 1.08rem; margin-top: 6px; }
.how__steps p { color: var(--muted); max-width: 32ch; font-size: .95rem; }
@media (max-width: 760px) {
  .how__steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .how__steps::before { left: 31px; right: auto; top: 30px; bottom: 30px; width: 1px; height: auto; background: var(--gold); }
  .how__steps li { grid-template-columns: 62px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 18px; row-gap: 4px; padding: 0; }
  .how__num { grid-row: span 2; }
  .how__steps h3 { margin-top: 8px; }
}

/* ---------- booking ---------- */
.booking { padding-block: 88px 96px; position: relative; isolation: isolate; }
.booking::before { content: ""; position: absolute; inset: 0 0 auto; height: 420px; z-index: -1; pointer-events: none; background: radial-gradient(50% 100% at 50% 0%, rgba(201, 145, 62, .08), transparent 70%); }

.progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.progress__seg { display: grid; gap: 8px; font-size: .78rem; color: var(--muted); }
.progress__seg::before { content: ""; height: 4px; border-radius: 4px; background: var(--line-soft); transition: background .4s; }
.progress__seg b { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.progress__seg[data-state="current"]::before { background: linear-gradient(90deg, var(--gold), var(--gold-pale), var(--gold)); background-size: 200% 100%; animation: shimmer 3s linear infinite; }
.progress__seg[data-state="current"] { color: var(--text); }
.progress__seg[data-state="done"]::before { background: var(--gold); }
.progress__seg[data-state="done"] { color: var(--gold-hi); }

.booking__layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
@media (max-width: 980px) { .booking__layout { grid-template-columns: minmax(0, 1fr); } .summary { display: none; } }

.booker { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.step {
  background: linear-gradient(180deg, var(--panel), rgba(23, 19, 14, .7));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px clamp(16px, 3vw, 30px);
  transition: opacity .3s, border-color .3s, box-shadow .3s;
  min-width: 0;
}
.step:not([data-locked="true"]):not([data-done="true"]) { border-color: var(--line); box-shadow: 0 0 0 4px rgba(201, 145, 62, .05); }
.step[data-locked="true"] { opacity: .5; }
.step[data-locked="true"] .step__body { display: none; }
.step__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.step[data-locked="true"] .step__head { margin-bottom: 0; }
.step__num {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%; color: var(--gold);
  font-family: var(--font-display); font-weight: 700; transition: background .3s, color .3s;
}
.step[data-done="true"] .step__num { background: var(--gold); color: var(--gold-ink); }
.step__sum { color: var(--muted); font-size: var(--step--1); margin-top: 3px; }

.loading { color: var(--muted); }

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.svc {
  position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; align-items: start; text-align: left;
  padding: 16px 16px 14px; border-radius: var(--radius-sm);
  background: var(--panel-2); border: 1px solid var(--line-soft); color: var(--text);
  font: inherit; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.svc:hover { border-color: var(--line); transform: translateY(-1px); }
.svc[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(180deg, rgba(201,145,62,.15), rgba(201,145,62,.04)); }
.svc__icon { grid-row: span 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-hi); border: 1px solid var(--line); background: rgba(201, 145, 62, .08); }
.svc__icon svg { width: 20px; height: 20px; }
.svc__name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding-right: 26px; }
.svc__desc { color: var(--muted); font-size: .88rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .04em; margin-top: 4px; }
.svc__tick { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); }
.svc[aria-pressed="true"] .svc__tick { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 4px var(--panel-2); }

.month { font-family: var(--font-display); color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 12px; }
.days {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.day {
  flex: none; width: 68px; padding: 11px 0 10px; display: grid; justify-items: center; gap: 2px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: var(--panel-2); color: var(--text);
  font: inherit; cursor: pointer; scroll-snap-align: start; transition: border-color .2s, transform .2s var(--ease);
}
.day__dow { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.day__num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.1; }
.day__mon { font-size: .72rem; color: var(--muted); }
.day:hover:not([disabled]) { border-color: var(--line); transform: translateY(-2px); }
.day[aria-pressed="true"] { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: var(--gold); color: var(--gold-ink); box-shadow: 0 10px 24px -10px rgba(201,145,62,.7); }
.day[aria-pressed="true"] .day__dow, .day[aria-pressed="true"] .day__mon { color: var(--gold-ink); }
.day[disabled] { opacity: .32; cursor: not-allowed; }

.times { margin-top: 14px; min-height: 56px; }
.times__group + .times__group { margin-top: 16px; }
.times__label { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.times__label::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.times__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.time {
  min-height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: var(--panel-2);
  color: var(--text); font: 700 .92rem var(--font-body); cursor: pointer; font-variant-numeric: tabular-nums;
  transition: border-color .2s, transform .2s var(--ease), background-color .2s;
}
.time:hover { border-color: var(--gold); transform: translateY(-1px); }
.time[aria-pressed="true"] { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: var(--gold); color: var(--gold-ink); }
.times__empty { color: var(--muted); padding: 10px 0; }

/* form */
.details { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 700; font-size: .9rem; padding: 0; }
.opt { font-weight: 500; color: var(--muted); font-size: .8rem; margin-left: 4px; }
input, textarea, select {
  width: 100%; min-height: 48px; padding: 12px 15px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: var(--panel-2); color: var(--text);
  font: 500 1rem var(--font-body); transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: rgba(171, 159, 137, .6); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 145, 62, .16); }
input[aria-invalid="true"] { border-color: var(--bad); }
.modes { display: flex; flex-wrap: wrap; gap: 8px; }
.mode { position: relative; }
.mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-soft); background: var(--panel-2); cursor: pointer; font-weight: 700; font-size: .9rem;
}
.mode input:checked + span { border-color: var(--gold); color: var(--gold-hi); background: rgba(201,145,62,.12); }
.mode input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.review {
  margin: 0; border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 14px 16px;
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .92rem;
}
.review dt { color: var(--muted); }
.review dd { margin: 0; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 981px) { .review { display: none; } }
.form-error { color: var(--bad); font-weight: 700; }

/* live summary */
.summary { position: sticky; top: 92px; min-width: 0; }
.summary__card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px;
  background: radial-gradient(120% 80% at 100% 0%, rgba(201,145,62,.16), transparent 60%), var(--panel);
  border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 16px;
}
.summary__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.summary__head img { width: 40px; }
.summary__center { font-family: var(--font-display); font-weight: 700; font-size: .95rem; margin-top: 2px; }
.summary__list { margin: 0; display: grid; gap: 14px; }
.summary__list div { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 10px; }
.summary__list svg { grid-row: span 2; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.summary__list dt { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.summary__list dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.summary__list dd.empty-val { color: rgba(171, 159, 137, .55); font-weight: 500; font-style: italic; }
.summary__foot { font-size: .82rem; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line-soft); }

/* confirmation */
.confirm {
  max-width: 680px; margin-inline: auto; text-align: center;
  background: radial-gradient(90% 60% at 50% 0%, rgba(201,145,62,.16), transparent 70%), var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px clamp(16px, 4vw, 44px); display: grid; gap: 14px; justify-items: center;
  animation: enter .7s var(--ease) both;
}
.confirm:focus { outline: none; }
.confirm__seal { position: relative; width: 120px; height: 120px; display: grid; place-items: center; color: var(--gold); }
.confirm__seal svg { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.confirm__seal img { width: 60px; position: relative; }
.ref { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ref code {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem); letter-spacing: .14em;
  color: var(--gold-hi); padding: 10px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel-2);
  text-shadow: 0 0 18px rgba(232, 193, 114, .35);
}
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; text-align: left; margin: 6px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }

/* ---------- manage ---------- */
.band { background: linear-gradient(180deg, var(--ink-2), var(--panel) 50%, var(--ink-2)); border-block: 1px solid var(--line-soft); }
.manage { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; padding-block: 72px; align-items: start; }
.manage > div:first-child { display: grid; gap: 12px; }
.manage__panel { display: grid; gap: 14px; min-width: 0; padding: 22px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line-soft); }
.lookup { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 860px) { .manage { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 600px) { .lookup { grid-template-columns: 1fr; } }
.found { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; display: grid; gap: 12px; animation: enter .5s var(--ease) both; }
.found__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.found__ref { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; color: var(--gold-hi); }
.found__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: capitalize; border: 1px solid currentColor; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--confirmed, .pill--completed { color: var(--ok); }
.pill--pending { color: var(--warn); }
.pill--cancelled, .pill--no-show { color: var(--bad); }

/* ---------- send us a message ---------- */
.message { padding-block: 88px; position: relative; isolation: isolate; }
.message::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(45% 60% at 85% 40%, rgba(201, 145, 62, .08), transparent 70%); }
.message__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .message__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.message__intro { display: grid; gap: 22px; min-width: 0; }
.message__intro .section-head { margin-bottom: 0; }
.mailcard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-line); min-width: 0; }
.mailcard__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: radial-gradient(circle at 35% 30%, rgba(246, 223, 164, .25), rgba(201, 145, 62, .06) 70%); color: var(--gold-hi); }
.mailcard__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mailcard > div { min-width: 0; }
.mailcard__label { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mailcard__addr { font-family: var(--font-display); font-weight: 700; color: var(--gold-hi); text-decoration: none; overflow-wrap: anywhere; }
.mailcard__addr:hover { text-decoration: underline; text-underline-offset: 3px; }
.message__notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: .92rem; }
.message__notes li { display: flex; gap: 10px; align-items: baseline; }
.message__notes li::before { content: ""; flex: none; width: 6px; height: 6px; transform: rotate(45deg) translateY(-2px); background: var(--gold); }
.message__panel { min-width: 0; padding: clamp(18px, 3vw, 30px); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), rgba(23, 19, 14, .7)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.message__form { display: grid; gap: 16px; }
.message__form .btn { justify-self: start; }
@media (max-width: 560px) { .message__form .btn { justify-self: stretch; } }
.counter { font-size: .78rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.message__sent { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 28px 8px; animation: enter .6s var(--ease) both; }
.message__sent:focus { outline: none; }
.message__tick { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-pale), var(--gold) 55%, var(--gold-deep)); color: var(--gold-ink); box-shadow: 0 12px 30px -8px rgba(201, 145, 62, .55); }
.message__tick svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.message__sent p { max-width: 44ch; }

.receipt-note { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: rgba(124, 196, 147, .08); border: 1px solid rgba(124, 196, 147, .35); font-size: .9rem; color: var(--text); max-width: 100%; }
.receipt-note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.receipt-note span { min-width: 0; overflow-wrap: anywhere; }
.msg-ref { font-size: .9rem; color: var(--muted); }
.msg-ref b { font-family: var(--font-display); letter-spacing: .12em; color: var(--gold-hi); }

/* ---------- visit ---------- */
.visit__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; padding-block: 80px 88px; }
.visit__grid > div { min-width: 0; display: grid; gap: 14px; align-content: start; }
@media (max-width: 760px) { .visit__grid { grid-template-columns: 1fr; gap: 36px; } }
.hours { border-collapse: collapse; width: 100%; max-width: 480px; font-variant-numeric: tabular-nums; margin-top: 6px; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--line-soft); text-align: left; }
.hours th { font-weight: 600; color: var(--muted); width: 45%; }
.hours td { font-weight: 700; }
.hours tr.today th, .hours tr.today td { color: var(--gold-hi); }
.hours tr.today th::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; transform: rotate(45deg) translateY(-2px); background: var(--gold); }
.hours .closed { color: var(--muted); font-weight: 500; }
.contact { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-soft); justify-items: start; }
.contact h3 { font-size: 1.05rem; }
.contact dl { margin: 0; display: grid; gap: 14px; width: 100%; }
.contact dt { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.contact a:not(.btn) { color: var(--text); text-decoration-color: var(--line); text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--ink-2); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding-block: 34px; }
.footer__brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.footer__brand img { width: 48px; }
.footer__name { font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .88rem; }
.footer__nav a:hover { color: var(--gold-hi); }
.footer__copy { grid-column: 1 / -1; color: var(--muted); font-size: var(--step--1); padding-top: 18px; border-top: 1px solid var(--line-soft); }
@media (max-width: 700px) { .footer__inner { grid-template-columns: minmax(0, 1fr); } }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--text); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; z-index: 50;
  max-width: calc(100% - 32px); box-shadow: var(--shadow);
}

.step, section[id] { scroll-margin-top: 80px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.btn svg.ico { width: 18px; height: 18px; stroke-width: 2; }
.btn--sm svg.ico { width: 16px; height: 16px; }
