:root {
  --bg: #faf0e3;
  --bg-deep: #ddd1c9;
  --panel: rgba(255, 255, 255, 0.56);
  --panel-strong: rgba(255, 255, 255, 0.76);
  --panel-soft: rgba(255, 255, 255, 0.34);
  --surface-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.28));
  --surface-fill-strong: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.34));
  --surface-fill-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.24));
  --surface-stroke: rgba(255, 255, 255, 0.76);
  --surface-stroke-strong: rgba(255, 255, 255, 0.88);
  --surface-highlight: rgba(255, 255, 255, 0.88);
  --surface-shadow: 0 30px 82px rgba(103, 90, 79, 0.1);
  --surface-shadow-soft: 0 18px 42px rgba(103, 90, 79, 0.08);
  --line: rgba(58, 45, 31, 0.08);
  --line-strong: rgba(58, 45, 31, 0.15);
  --text: #1d2430;
  --text-soft: #44505e;
  --text-muted: #6a7483;
  --text-faint: #97a1ae;
  --accent: #91704a;
  --accent-soft: rgba(145, 112, 74, 0.12);
  --accent-strong: rgba(145, 112, 74, 0.22);
  --lux-warm: rgba(226, 191, 148, 0.44);
  --lux-cool: rgba(182, 198, 221, 0.36);
  --lux-rose: rgba(217, 190, 198, 0.34);
  --danger: #bc5c4a;
  --success: #2f8a63;
  --display: "EB Garamond", serif;
  --body: "Inter", sans-serif;
  --mono: "Space Mono", monospace;
  --shadow: 0 34px 96px rgba(103, 90, 79, 0.14);
  --transition: 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --cursor-x: 52%;
  --cursor-y: 18%;
  --parallax-x: 0px;
  --parallax-y: 0px;
  --panel-shift-x: 0px;
  --panel-shift-y: 0px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --focus-x: 50vw;
  --focus-y: 40vh;
  --focus-size: 260px;
  --focus-opacity: 0;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 247, 236, 0.94), transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(196, 206, 224, 0.34), transparent 30%),
    radial-gradient(circle at 78% 78%, rgba(226, 191, 148, 0.18), transparent 28%),
    radial-gradient(circle at 18% 88%, rgba(217, 190, 198, 0.16), transparent 26%),
    linear-gradient(138deg, #f9efe4 0%, #ecdfd3 38%, #e4dde2 66%, #dde5ef 100%);
  color: var(--text);
  font-family: var(--body);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 145, 126, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.08;
  mask-image: radial-gradient(circle at center, black 24%, transparent 86%);
}

body::after {
  content: "";
  position: fixed;
  inset: -14%;
  pointer-events: none;
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(128deg, rgba(255, 255, 255, 0.14) 0%, transparent 34%, rgba(255, 255, 255, 0.06) 52%, transparent 78%);
  transform: translateZ(0);
  filter: blur(14px);
  opacity: 0.58;
}

.page-noise,
.ambient,
.lux-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.lux-scene {
  z-index: 1;
  overflow: hidden;
  perspective: 1800px;
  opacity: 0.96;
}

.scene-fluid {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  display: block;
  opacity: 1;
  filter: saturate(128%) contrast(108%) brightness(1.03);
  mix-blend-mode: normal;
}

.scene-grid,
.scene-plane,
.scene-ring,
.scene-orb,
.focus-halo {
  display: none;
}

.ambient {
  display: block;
  opacity: 0.56;
  filter: blur(58px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.ambient-a {
  inset: auto;
  left: -10vw;
  top: 12vh;
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  background: radial-gradient(circle, rgba(240, 220, 179, 0.42) 0%, rgba(205, 159, 77, 0.18) 36%, rgba(255, 255, 255, 0) 74%);
  animation: ambientFloatA 24s ease-in-out infinite;
}

.ambient-b {
  inset: auto;
  right: -8vw;
  top: 18vh;
  width: 28vw;
  height: 28vw;
  min-width: 220px;
  min-height: 220px;
  background: radial-gradient(circle, rgba(212, 242, 228, 0.32) 0%, rgba(35, 129, 95, 0.14) 40%, rgba(255, 255, 255, 0) 76%);
  animation: ambientFloatB 28s ease-in-out infinite;
}

.ambient-c {
  inset: auto;
  left: 28vw;
  bottom: -6vh;
  width: 38vw;
  height: 30vw;
  min-width: 320px;
  min-height: 240px;
  background: radial-gradient(circle, rgba(255, 250, 242, 0.3) 0%, rgba(193, 167, 126, 0.12) 42%, rgba(255, 255, 255, 0) 80%);
  animation: ambientFloatC 30s ease-in-out infinite;
}

.scene-grid,
.scene-plane,
.scene-ring,
.scene-orb,
.focus-halo {
  position: absolute;
  inset: auto;
  will-change: transform, opacity;
}

.scene-grid {
  left: -18vw;
  bottom: -32vh;
  width: 136vw;
  height: 96vh;
  border-radius: 48px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 140, 127, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.16;
  mask-image: radial-gradient(circle at center, black 26%, transparent 92%);
  transform:
    translate3d(calc(var(--parallax-x) * -0.42), calc(18vh + var(--parallax-y) * 0.22), 0)
    rotateX(78deg)
    rotateZ(-12deg);
}

.scene-plane {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(148deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08) 42%, rgba(145, 112, 74, 0.08) 100%),
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.32), transparent 40%),
    radial-gradient(circle at 78% 82%, rgba(182, 198, 221, 0.16), transparent 48%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), 0 22px 58px rgba(113, 102, 94, 0.09);
  backdrop-filter: blur(10px);
}

.scene-plane-a {
  top: 16vh;
  right: -8vw;
  width: 34vw;
  height: 28vw;
  min-width: 340px;
  min-height: 340px;
  border-radius: 34px;
  transform:
    translate3d(calc(var(--parallax-x) * -0.48), calc(8px + var(--parallax-y) * 0.26), 0)
    rotateX(58deg)
    rotateY(calc(var(--tilt-x) * 0.86))
    rotateZ(-24deg);
  opacity: 0.54;
  animation: planeFloatA 18s ease-in-out infinite;
}

.scene-plane-b {
  left: -10vw;
  top: 42vh;
  width: 30vw;
  height: 22vw;
  min-width: 280px;
  min-height: 220px;
  border-radius: 42px;
  transform:
    translate3d(calc(var(--parallax-x) * 0.34), calc(var(--parallax-y) * -0.22), 0)
    rotateX(64deg)
    rotateY(calc(var(--tilt-x) * -0.74))
    rotateZ(16deg);
  opacity: 0.34;
  animation: planeFloatB 22s ease-in-out infinite;
}

.scene-ring {
  display: block;
  border-radius: 999px;
  background:
    conic-gradient(from 28deg, rgba(255, 255, 255, 0) 0deg, rgba(255, 255, 255, 0.22) 86deg, rgba(145, 112, 74, 0.18) 168deg, rgba(182, 198, 221, 0.16) 248deg, rgba(255, 255, 255, 0) 360deg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%, #000 61%, transparent 63%);
  mask: radial-gradient(circle, transparent 58%, #000 59%, #000 61%, transparent 63%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 48px rgba(114, 103, 94, 0.08);
}

.scene-ring-a {
  top: 8vh;
  left: 10vw;
  width: 26vw;
  height: 26vw;
  min-width: 260px;
  min-height: 260px;
  opacity: 0.42;
  transform: translate3d(calc(var(--parallax-x) * -0.54), calc(var(--parallax-y) * -0.34), 0) rotateZ(0deg);
  animation: ringSpinA 30s linear infinite;
}

.scene-ring-b {
  right: 14vw;
  bottom: 10vh;
  width: 18vw;
  height: 18vw;
  min-width: 180px;
  min-height: 180px;
  opacity: 0.3;
  transform: translate3d(calc(var(--parallax-x) * 0.58), calc(var(--parallax-y) * 0.42), 0) rotateZ(0deg);
  animation: ringSpinB 36s linear infinite;
}

.scene-orb {
  border-radius: 999px;
  filter: blur(30px);
}

.scene-orb-a {
  top: 10vh;
  right: 18vw;
  width: 18vw;
  height: 18vw;
  min-width: 180px;
  min-height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.48), rgba(255, 232, 206, 0.22) 44%, rgba(255, 255, 255, 0.05) 62%, transparent 76%);
  transform: translate3d(calc(var(--parallax-x) * -0.34), calc(var(--parallax-y) * -0.18), 0);
  animation: drift-a 18s ease-in-out infinite;
}

.scene-orb-b {
  left: 14vw;
  bottom: 12vh;
  width: 22vw;
  height: 22vw;
  min-width: 220px;
  min-height: 220px;
  background: radial-gradient(circle, rgba(217, 190, 198, 0.18), rgba(182, 198, 221, 0.2) 40%, rgba(145, 112, 74, 0.08) 58%, transparent 78%);
  transform: translate3d(calc(var(--parallax-x) * 0.32), calc(var(--parallax-y) * 0.24), 0);
  animation: drift-b 21s ease-in-out infinite;
}

.focus-halo {
  left: 0;
  top: 0;
  width: var(--focus-size);
  height: var(--focus-size);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.86) 0%, rgba(255, 229, 201, 0.34) 34%, rgba(182, 198, 221, 0.2) 54%, transparent 76%);
  transform: translate3d(calc(var(--focus-x) - 50%), calc(var(--focus-y) - 50%), 0);
  filter: blur(44px);
  opacity: var(--focus-opacity);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease, width 280ms ease, height 280ms ease;
}

.page-noise {
  opacity: 0.028;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.85) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 94%);
  mix-blend-mode: soft-light;
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(14px, 20px, 0) scale(1.04); }
}

@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-16px, 12px, 0) scale(1.05); }
}

@keyframes drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -12px, 0) scale(1.03); }
}

@keyframes ambientFloatA {
  0%, 100% { opacity: 0.42; transform: translate3d(0, 0, 0) scale(1); }
  50% { opacity: 0.62; transform: translate3d(18px, -12px, 0) scale(1.04); }
}

@keyframes ambientFloatB {
  0%, 100% { opacity: 0.34; transform: translate3d(0, 0, 0) scale(1); }
  50% { opacity: 0.54; transform: translate3d(-16px, 14px, 0) scale(1.05); }
}

@keyframes ambientFloatC {
  0%, 100% { opacity: 0.26; transform: translate3d(0, 0, 0) scale(1); }
  50% { opacity: 0.44; transform: translate3d(12px, -16px, 0) scale(1.03); }
}

@keyframes planeFloatA {
  0%, 100% { transform: translate3d(calc(var(--parallax-x) * -0.48), calc(8px + var(--parallax-y) * 0.26), 0) rotateX(58deg) rotateY(calc(var(--tilt-x) * 0.86)) rotateZ(-24deg); }
  50% { transform: translate3d(calc(var(--parallax-x) * -0.58), calc(-10px + var(--parallax-y) * 0.34), 0) rotateX(60deg) rotateY(calc(var(--tilt-x) * 0.94)) rotateZ(-20deg); }
}

@keyframes planeFloatB {
  0%, 100% { transform: translate3d(calc(var(--parallax-x) * 0.34), calc(var(--parallax-y) * -0.22), 0) rotateX(64deg) rotateY(calc(var(--tilt-x) * -0.74)) rotateZ(16deg); }
  50% { transform: translate3d(calc(12px + var(--parallax-x) * 0.42), calc(-12px + var(--parallax-y) * -0.3), 0) rotateX(66deg) rotateY(calc(var(--tilt-x) * -0.82)) rotateZ(12deg); }
}

@keyframes ringSpinA {
  from { transform: translate3d(calc(var(--parallax-x) * -0.54), calc(var(--parallax-y) * -0.34), 0) rotateZ(0deg); }
  to { transform: translate3d(calc(var(--parallax-x) * -0.54), calc(var(--parallax-y) * -0.34), 0) rotateZ(360deg); }
}

@keyframes ringSpinB {
  from { transform: translate3d(calc(var(--parallax-x) * 0.58), calc(var(--parallax-y) * 0.42), 0) rotateZ(360deg); }
  to { transform: translate3d(calc(var(--parallax-x) * 0.58), calc(var(--parallax-y) * 0.42), 0) rotateZ(0deg); }
}

a,
button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(127, 102, 70, 0.48);
  outline-offset: 3px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px 4.5vw 20px;
  display: grid;
  gap: 14px;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(251, 244, 236, 0.92), rgba(251, 244, 236, 0.34) 72%, transparent);
  backdrop-filter: blur(20px);
  opacity: 0;
  filter: blur(12px);
  transform: translateY(-6px);
  transition: background 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 700ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark,
.calendar-nav,
.choice-key,
.counsel-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--surface-fill-strong);
  border: 1px solid var(--surface-stroke-strong);
  box-shadow: 0 18px 34px rgba(122, 109, 98, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.brand-mark img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: saturate(0.85) contrast(1.08);
}

.brand-copy,
.slot-preview,
.dock-copy,
.choice-copy,
.counsel-copy {
  display: grid;
}

.brand-copy strong,
.eyebrow,
.route-chip,
.summary-label,
.choice-key,
.step-kicker,
.step-hint,
.cancel-link {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand-copy strong {
  font-size: 0.64rem;
  font-weight: 700;
}

.brand-copy span {
  font-size: 1rem;
  color: var(--text-soft);
}

.cancel-link {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.58rem;
  opacity: 0.82;
  transition: color var(--transition), opacity var(--transition);
}

.cancel-link:hover {
  color: var(--text);
  opacity: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(58, 45, 31, 0.12);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  color: var(--text-soft);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  border-color: rgba(145, 112, 74, 0.24);
  background: rgba(145, 112, 74, 0.12);
  transform: translateY(-1px);
}

.page-shell {
  width: min(1140px, calc(100% - 28px));
  margin: 0 auto;
  padding: 116px 0 156px;
  position: relative;
  z-index: 5;
}

.form-shell {
  background:
    var(--surface-fill),
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.34), transparent 34%);
  border: 1px solid var(--surface-stroke);
  box-shadow:
    var(--surface-shadow),
    inset 0 1px 0 var(--surface-highlight),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(34px) saturate(144%);
  transform-style: preserve-3d;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), opacity var(--transition);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(10px);
}

.dock,
.success-card {
  background:
    var(--surface-fill-strong),
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.36), transparent 38%);
  border: 1px solid var(--surface-stroke-strong);
  box-shadow:
    0 30px 76px rgba(103, 90, 79, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(30px) saturate(140%);
  transform-style: preserve-3d;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), opacity var(--transition);
}

.form-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.07)),
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.18), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0.42;
}

.form-shell::after,
.dock::after,
.choice::after,
.counsel::after,
.time::after,
.calendar-shell::after,
.slot-shell::after,
.payment-summary::after,
.gateway-status::after {
  content: "";
  position: absolute;
  inset: -28% auto auto -10%;
  width: 42%;
  height: 180%;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.28) 44%, transparent 70%);
  opacity: 0;
  transform: rotate(18deg) translateX(-8%);
  transition: transform 680ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

.form-shell:hover::after,
.dock:hover::after,
.choice:hover::after,
.counsel:hover::after,
.time:hover::after,
.calendar-shell:hover::after,
.slot-shell:hover::after {
  opacity: 0.14;
  transform: rotate(18deg) translateX(8%);
}

.form-top {
  padding: 20px 36px 18px;
  border-bottom: 1px solid rgba(58, 45, 31, 0.07);
}

.form-meta,
.summary-row,
.dock,
.dock-actions,
.booking-meta,
.calendar-head,
.slot-topline,
.success-actions {
  display: flex;
  align-items: center;
}

.form-meta,
.summary-row,
.calendar-head,
.slot-topline,
.booking-meta {
  justify-content: space-between;
}

.form-meta {
  justify-content: flex-end;
  align-items: center;
  gap: 0;
}

.form-meta-side {
  display: grid;
  justify-items: stretch;
  align-content: center;
  gap: 0;
  min-width: min(420px, 100%);
}

.eyebrow,
.route-chip,
.step-hint,
.summary-label {
  font-size: 0.62rem;
  color: var(--text-faint);
}

.top-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.48rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 0.94;
}

.route-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.82);
  line-height: 1;
}

.progress-meter {
  width: min(420px, 100%);
  display: grid;
  gap: 0;
  justify-items: stretch;
}

.progress-meter-track {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.78),
    0 10px 28px rgba(114, 101, 92, 0.06);
}

.progress-meter-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width 620ms cubic-bezier(0.16, 1, 0.3, 1), opacity 260ms ease;
}

.progress-meter-fill {
  background:
    linear-gradient(90deg, rgba(14, 82, 63, 0.96) 0%, rgba(176, 138, 63, 0.92) 55%, rgba(255, 246, 226, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 0 18px rgba(14, 82, 63, 0.12),
    0 0 26px rgba(176, 138, 63, 0.12);
}

.progress-meter-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.38) 42%, transparent 70%);
  transform: translateX(-120%);
  animation: progressSweep 4.8s ease-in-out infinite;
}

.progress-meter-meta {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 16px;
}

.progress-meter-meta span {
  font-family: var(--mono);
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

#progress-steps {
  color: var(--text-soft);
  line-height: 1.35;
  white-space: normal;
  letter-spacing: 0.14em;
  min-width: 0;
}

#progress-percent {
  color: color-mix(in srgb, var(--text) 72%, white 28%);
  letter-spacing: 0.14em;
  justify-self: end;
  line-height: 1;
}

@keyframes progressSweep {
  0%, 18% { transform: translateX(-120%); opacity: 0; }
  28%, 72% { opacity: 1; }
  100% { transform: translateX(220%); opacity: 0; }
}

.form-stage {
  min-height: 66vh;
  padding: 0 36px;
  display: flex;
  align-items: center;
}

.step-stage {
  width: 100%;
  padding: 58px 0 68px;
}

.step-view {
  max-width: 780px;
}

.step-view.is-wide {
  max-width: 920px;
}

.step-kicker {
  font-size: 0.64rem;
  color: var(--accent);
}

.question {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.6vw, 5.2rem);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: -0.032em;
  max-width: 15ch;
}

.step-note {
  max-width: 42rem;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.74;
}

.step-sections {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.step-sections.is-selector-led {
  gap: 18px;
}

.step-sections-compact {
  gap: 18px;
}

.step-section {
  display: grid;
  gap: 14px;
}

.selector-trigger,
.selector-summary-card {
  position: relative;
  width: 100%;
  padding: 22px 24px;
  border-radius: 28px;
  border: 1px solid var(--surface-stroke);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.38)),
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.9), transparent 42%);
  box-shadow: var(--surface-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  overflow: hidden;
}

.selector-trigger {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  text-align: left;
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.selector-trigger::after {
  content: "";
  position: absolute;
  inset: auto 12% -28%;
  height: 72%;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(145, 112, 74, 0.16), transparent 68%);
  filter: blur(28px);
  opacity: 0.18;
  pointer-events: none;
}

.selector-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 14px 30px rgba(116, 101, 88, 0.07);
}

.selector-trigger-copy,
.selector-summary-card {
  display: grid;
  gap: 6px;
}

.selector-trigger-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.selector-trigger-value {
  font-family: var(--display);
  font-size: clamp(1.24rem, 2vw, 1.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
}

.selector-trigger-meta,
.selector-summary-card small {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.selector-trigger-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.selector-trigger-arrow svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.selector-trigger.is-selected .selector-trigger-value {
  color: color-mix(in srgb, var(--text) 84%, black 16%);
}

.selector-summary-card strong {
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.selector-sheet {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: end center;
  padding: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
}

.selector-sheet.is-open {
  opacity: 1;
  pointer-events: auto;
}

.selector-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 22, 30, 0.22);
  backdrop-filter: blur(22px) saturate(120%);
}

.selector-sheet-panel {
  position: relative;
  width: min(100%, 760px);
  max-height: min(86vh, 880px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.6)),
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.96), transparent 40%);
  box-shadow:
    0 34px 90px rgba(77, 66, 56, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transform: translateY(20px) scale(0.985);
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow: hidden;
}

.selector-sheet.is-open .selector-sheet-panel {
  transform: translateY(0) scale(1);
}

.selector-sheet-head,
.selector-sheet-foot {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(29, 36, 48, 0.08);
}

.selector-sheet-foot {
  border-bottom: 0;
  border-top: 1px solid rgba(29, 36, 48, 0.08);
  display: flex;
  justify-content: flex-end;
}

.selector-sheet-copy {
  display: grid;
  gap: 8px;
}

.selector-sheet-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}

.selector-sheet-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.selector-sheet-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.66;
  max-width: 44ch;
}

.selector-sheet-close {
  border: 1px solid rgba(29, 36, 48, 0.1);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 12px 16px;
  line-height: 1;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.selector-sheet-close:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-color: rgba(29, 36, 48, 0.18);
}

.selector-sheet-options {
  padding: 10px 24px 22px;
  overflow: auto;
  display: grid;
  gap: 12px;
}

.selector-sheet-option {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 18px 18px 20px;
  text-align: left;
  border-radius: 24px;
  border: 1px solid rgba(29, 36, 48, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.44));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.selector-sheet-option:hover {
  transform: translateY(-1px);
  border-color: rgba(145, 112, 74, 0.2);
  box-shadow: 0 14px 28px rgba(116, 101, 88, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.selector-sheet-option.is-selected {
  border-color: rgba(145, 112, 74, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.52)),
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.94), transparent 42%);
  box-shadow:
    0 0 0 6px rgba(145, 112, 74, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.selector-sheet-option-copy {
  display: grid;
  gap: 6px;
}

.selector-sheet-option-copy strong {
  font-size: 1.08rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.selector-sheet-option-copy small {
  color: var(--text-muted);
  line-height: 1.54;
  font-size: 0.92rem;
}

.selector-sheet-option-mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(29, 36, 48, 0.16);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.selector-sheet-option.is-selected .selector-sheet-option-mark {
  border-color: rgba(145, 112, 74, 0.34);
  background: radial-gradient(circle at center, rgba(145, 112, 74, 0.96) 0 36%, rgba(255, 255, 255, 0.88) 38% 100%);
}

@media (max-width: 960px) {
  .selector-sheet {
    padding: 12px;
  }

  .selector-sheet-panel {
    width: 100%;
    max-height: min(88vh, 920px);
    border-radius: 28px;
  }

  .selector-trigger,
  .selector-summary-card {
    padding: 18px;
    border-radius: 22px;
  }
}

@media (max-width: 720px) {
  .selector-sheet-head,
  .selector-sheet-foot,
  .selector-sheet-options {
    padding-left: 18px;
    padding-right: 18px;
  }

  .selector-sheet-head {
    grid-template-columns: 1fr;
  }

  .selector-sheet-head h2 {
    font-size: 1.82rem;
  }

  .selector-trigger {
    grid-template-columns: 1fr;
  }

  .selector-trigger-arrow {
    justify-self: start;
  }
}

.step-section.is-locked {
  opacity: 0.62;
}

.step-section.is-active {
  position: relative;
  padding-left: 18px;
}

.step-section.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  border-radius: 999px;
  background: rgba(127, 102, 70, 0.55);
}

.section-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.6rem;
  color: var(--text-faint);
}

.section-placeholder {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.choice,
.counsel,
.calendar-shell,
.slot-shell,
.payment-summary,
.gateway-status {
  background: var(--surface-fill-soft);
  border: 1px solid var(--surface-stroke);
  box-shadow: var(--surface-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  position: relative;
  overflow: hidden;
}

.field-wrap {
  margin-top: 18px;
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: none;
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.field-wrap-large {
  margin-top: 18px;
  padding: 20px 24px;
  border-radius: 30px;
  background: var(--surface-fill-soft);
  border: 1px solid var(--surface-stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.text-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 18px 0 14px;
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  font-weight: 500;
  outline: none;
  transition: color var(--transition), text-shadow var(--transition);
}

.field-wrap-large .text-input {
  padding: 8px 0 0;
}

.text-input::placeholder {
  color: #9aa8b9;
}

.text-area {
  min-height: 148px;
  resize: vertical;
  padding-top: 8px;
}

.choice-list,
.counsel-list,
.time-grid,
.consent-list,
.success-list {
  display: grid;
  gap: 12px;
}

.choice-list,
.counsel-list {
  margin-top: 20px;
}

.step-section .choice-list,
.step-section .counsel-list {
  margin-top: 0;
}

.step-section .field-wrap,
.step-section .field-grid,
.step-section .field-wrap-large {
  margin-top: 0;
}

.choice-list.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-list.is-classification {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-list.is-classification .choice:last-child {
  grid-column: 1 / -1;
}

.choice,
.counsel {
  width: 100%;
  padding: 20px 22px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  text-align: left;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.choice {
  --choice-glow: rgba(145, 112, 74, 0.12);
  --choice-glow-strong: rgba(145, 112, 74, 0.22);
  --choice-tint: rgba(255, 255, 255, 0.54);
}

.choice.choice--classification {
  min-height: 110px;
  padding: 24px 24px;
  align-content: end;
}

.choice.choice--classification .choice-copy strong {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.calendar-nav,
.counsel,
.day,
.time,
.dock-btn {
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  --magnetic-scale: 1;
}

[data-magnetic="true"] {
  will-change: transform;
}

.choice:hover {
  transform: none;
}

.choice.choice--format {
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  --magnetic-scale: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.4)),
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.86), transparent 42%);
  border-color: var(--surface-stroke-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 34px rgba(116, 101, 88, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.choice.choice--format::before {
  content: "";
  position: absolute;
  inset: auto;
  left: 10%;
  right: 10%;
  bottom: -32%;
  height: 72%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, var(--choice-glow-strong), transparent 68%);
  filter: blur(28px);
  opacity: 0.16;
  transform: scale(0.94);
  transition: opacity var(--transition), transform 680ms cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 0;
}

.choice.choice--format::after {
  background:
    linear-gradient(112deg, transparent 10%, rgba(255, 255, 255, 0.64) 34%, transparent 52%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.34), transparent 42%),
    radial-gradient(circle at 82% 80%, var(--choice-glow), transparent 38%);
  opacity: 0.42;
  background-size: 140% 140%;
  animation: formatFlow 18s ease-in-out infinite;
}

.choice.choice--format .choice-key,
.choice.choice--format .choice-copy {
  position: relative;
  z-index: 1;
}

.choice.choice--format .choice-key {
  background: rgba(255, 255, 255, 0.78);
}

.choice.choice--format .choice-copy strong {
  font-size: 1.02rem;
}

.choice.choice--format:hover {
  transform: translate3d(var(--magnetic-x), var(--magnetic-y), 0) scale(var(--magnetic-scale));
  border-color: rgba(255, 255, 255, 0.98);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.46)),
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.94), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 6px color-mix(in srgb, var(--choice-glow) 12%, transparent),
    0 14px 28px rgba(116, 101, 88, 0.06);
}

.choice.choice--format:hover::before,
.choice.choice--format.is-selected::before {
  opacity: 0.28;
  transform: scale(0.985);
}

.choice.choice--format.is-selected {
  border-color: rgba(255, 255, 255, 0.98);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.52)),
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.98), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.99),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 0 7px color-mix(in srgb, var(--choice-glow-strong) 12%, transparent),
    0 16px 32px rgba(116, 101, 88, 0.06);
}

.choice.choice--format.is-selected .choice-copy strong,
.choice.choice--format:hover .choice-copy strong {
  color: color-mix(in srgb, var(--text) 78%, black 22%);
}

.choice.choice--format-virtual {
  --choice-glow: rgba(84, 146, 255, 0.24);
  --choice-glow-strong: rgba(51, 120, 255, 0.38);
}

.choice.choice--format-virtual .choice-key,
.choice.choice--format-virtual:hover .choice-key,
.choice.choice--format-virtual.is-selected .choice-key {
  border-color: rgba(138, 182, 255, 0.54);
  color: #2d63d9;
}

.choice.choice--format-virtual.is-selected,
.choice.choice--format-virtual:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.99),
    0 0 0 1px rgba(126, 170, 255, 0.16),
    0 0 0 7px rgba(84, 146, 255, 0.06),
    0 14px 28px rgba(72, 114, 181, 0.06);
}

.choice.choice--format-physical {
  --choice-glow: rgba(46, 154, 120, 0.24);
  --choice-glow-strong: rgba(20, 123, 95, 0.36);
}

.choice.choice--format-physical .choice-key,
.choice.choice--format-physical:hover .choice-key,
.choice.choice--format-physical.is-selected .choice-key {
  border-color: rgba(96, 183, 152, 0.56);
  color: #11795d;
}

.choice.choice--format-physical.is-selected,
.choice.choice--format-physical:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.99),
    0 0 0 1px rgba(96, 183, 152, 0.14),
    0 0 0 7px rgba(46, 154, 120, 0.06),
    0 14px 28px rgba(39, 123, 97, 0.06);
}

@keyframes formatFlow {
  0%, 100% { background-position: 0% 50%, 18% 18%, 82% 80%; }
  50% { background-position: 100% 50%, 26% 14%, 74% 86%; }
}

.counsel:hover,
.time:hover,
.calendar-nav:hover,
.dock-btn:hover,
.day:hover:not(.is-disabled) {
  transform: translate3d(var(--magnetic-x), var(--magnetic-y), 0) scale(var(--magnetic-scale));
}

[data-magnetic="true"].is-magnetic-active {
  transition-duration: 520ms;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04), 0 12px 24px rgba(145, 112, 74, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.choice:hover,
.counsel:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.3));
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04), 0 14px 28px rgba(148, 163, 184, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.choice.is-selected,
.counsel.is-selected,
.time.is-selected,
.day.is-selected {
  border-color: rgba(127, 102, 70, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(127, 102, 70, 0.1));
  box-shadow: 0 0 0 5px rgba(127, 102, 70, 0.04), 0 12px 24px rgba(127, 102, 70, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.choice-key {
  height: 28px;
  min-width: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.94);
  color: var(--text-faint);
  font-size: 0.6rem;
}

.counsel-fallback {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: rgba(127, 102, 70, 0.92);
}

.choice-copy strong,
.counsel-copy strong {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.choice-copy small,
.counsel-copy small,
.field-note,
.booking-meta p,
.summary-row span,
.slot-preview span,
.consent-line span,
.success-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.choice-copy small,
.counsel-copy small {
  font-size: 0.84rem;
}

.field-wrap:focus-within {
  border-bottom-color: rgba(127, 102, 70, 0.62);
}

.field-wrap-large:focus-within {
  border-color: rgba(127, 102, 70, 0.34);
  background: var(--surface-fill);
  box-shadow: 0 0 0 5px rgba(127, 102, 70, 0.035), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.field-wrap:focus-within .text-input,
.field-wrap-large:focus-within .text-input {
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.24);
}

.counsel {
  grid-template-columns: auto auto 1fr;
  align-items: center;
}

.counsel-media {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.counsel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-meta {
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.calendar-shell,
.slot-shell,
.payment-summary,
.gateway-status {
  margin-top: 24px;
  border-radius: 30px;
  padding: 24px 26px;
}

.calendar-head strong,
.slot-preview strong {
  color: var(--text);
}

.calendar-nav {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.4));
  color: var(--text);
  transition: transform var(--transition), background var(--transition), opacity var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.calendar-nav svg {
  width: 18px;
  height: 18px;
}

.calendar-nav:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.calendar-weekdays {
  margin: 20px 0 10px;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.day,
.calendar-empty,
.time {
  border-radius: 18px;
}

.day {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.24));
  min-height: 84px;
  padding: 14px 10px;
  display: grid;
  gap: 6px;
  align-content: start;
  text-align: left;
  color: var(--text);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), opacity var(--transition), box-shadow var(--transition);
}

.day strong {
  font-size: 1rem;
}

.day .day-status {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.day .day-demand {
  font-size: 0.56rem;
  color: var(--text-faint);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.day.is-today strong {
  color: var(--accent);
}

.day.is-limited:not(.is-selected):not(.is-disabled) {
  border-color: rgba(127, 102, 70, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(127, 102, 70, 0.06));
}

.day.is-limited .day-demand {
  color: rgba(127, 102, 70, 0.9);
}

.day.is-full .day-demand {
  color: var(--danger);
}

.day.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.calendar-empty {
  min-height: 84px;
}

.slot-preview {
  gap: 4px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.56rem;
  color: var(--text-soft);
}

.status-pill.is-ready {
  color: var(--success);
}

.status-pill.is-error {
  color: var(--danger);
}

.time-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.time {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.36);
  padding: 12px 16px;
  text-align: left;
  border-radius: 999px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.time-label {
  font-size: 0.92rem;
  font-weight: 600;
}

.time-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.slot-empty {
  flex: 1 1 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.28);
  color: var(--text-muted);
  line-height: 1.6;
}

.summary-row {
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.summary-row:last-child {
  border-bottom: 0;
}

.summary-row strong {
  text-align: right;
}

.summary-row-fee {
  padding-top: 18px;
  margin-top: 4px;
  border-top: 2px solid rgba(143, 106, 61, 0.14);
  border-bottom: 0;
}

.summary-row-fee strong {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.consent-list {
  margin-top: 22px;
}

.consent-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid transparent;
  transition: background 320ms ease, border-color 320ms ease;
}

.consent-line:hover {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.78);
}

.consent-line:has(input:checked) {
  background: rgba(47, 138, 99, 0.04);
  border-color: rgba(47, 138, 99, 0.14);
}

.consent-line input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  border-radius: 6px;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.consent-line input:checked {
  transform: scale(1.08);
}

.consent-line input:active {
  transform: scale(0.92);
}

.step-hint {
  margin: 22px 0 0;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 20px;
  width: min(1120px, calc(100% - 28px));
  padding: 18px 22px;
  border-radius: 28px;
  justify-content: space-between;
  gap: 20px;
  z-index: 55;
  opacity: 0;
  filter: blur(14px);
  transform: translateX(-50%) translateY(12px);
}

.dock.is-suppressed {
  opacity: 0 !important;
  pointer-events: none;
  filter: blur(10px);
  transform: translateX(-50%) translateY(22px);
}

body.motion-ready .topbar {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition-delay: 40ms;
}

body.motion-ready .form-shell {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition-delay: 120ms;
}

body.motion-ready .dock {
  opacity: 1;
  filter: blur(0);
  transform: translateX(-50%) translateY(0);
  transition-delay: 220ms;
}

.dock-copy {
  gap: 6px;
}

.dock-copy span {
  font-weight: 600;
}

.dock-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

.dock-actions {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dock-btn {
  border-radius: 18px;
  padding: 13px 19px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition), box-shadow var(--transition);
}

.dock-btn-primary {
  background: rgba(127, 102, 70, 0.9);
  color: white;
  border-color: rgba(127, 102, 70, 0.96);
}

.dock-btn-primary:hover {
  background: rgba(127, 102, 70, 0.98);
  box-shadow: 0 0 0 5px rgba(127, 102, 70, 0.05), 0 14px 28px rgba(127, 102, 70, 0.06);
}

.dock-btn-ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.32));
  color: var(--text);
}

.dock-btn-muted {
  color: var(--text-muted);
}

.dock-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}

.toast {
  position: fixed;
  top: 94px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  padding: 12px 20px;
  border-radius: 999px;
  max-width: min(540px, calc(100vw - 40px));
  text-align: center;
  background: rgba(20, 32, 45, 0.82);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 70;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.error {
  background: rgba(168, 58, 42, 0.88);
  border-color: rgba(255, 120, 100, 0.12);
  box-shadow: 0 18px 48px rgba(168, 58, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.success-overlay {
  position: fixed;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(238, 242, 247, 0.65);
  backdrop-filter: blur(28px) saturate(130%);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.success-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.success-card {
  width: min(640px, 100%);
  border-radius: 34px;
  padding: 38px 36px 34px;
  position: relative;
  overflow: hidden;
  transform: translateY(16px) scale(0.97);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 600ms ease;
}

.success-overlay.show .success-card {
  transform: translateY(0) scale(1);
  box-shadow:
    0 40px 100px rgba(17, 24, 39, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.96),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.success-card::after {
  content: "";
  position: absolute;
  inset: -12% auto auto -8%;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(47, 138, 99, 0.22) 0%, rgba(87, 191, 139, 0.14) 34%, rgba(255, 255, 255, 0) 74%);
  opacity: 0;
  transform: scale(0.82);
}

.success-overlay.show .success-card::after {
  opacity: 1;
  transform: scale(1);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.success-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 28%, transparent 76%, rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.22), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0.5;
}

.success-hero {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.success-seal {
  position: relative;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  isolation: isolate;
  filter: drop-shadow(0 18px 26px rgba(47, 138, 99, 0.16)) drop-shadow(0 2px 0 rgba(255, 255, 255, 0.4));
}

.success-seal-ring,
.success-seal-glow,
.success-seal-core {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.success-seal-ring {
  opacity: 0;
  transform: scale(0.68);
}

.success-seal-ring-a {
  border: 1px solid rgba(47, 138, 99, 0.26);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 72%);
}

.success-seal-ring-b {
  inset: 10px;
  border: 1px solid rgba(47, 138, 99, 0.16);
}

.success-seal-glow {
  inset: -14px;
  background: radial-gradient(circle, rgba(71, 176, 123, 0.36), rgba(71, 176, 123, 0.08) 52%, rgba(71, 176, 123, 0) 74%);
  filter: blur(16px);
  opacity: 0;
  transform: scale(0.78);
}

.success-seal-core {
  inset: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 248, 239, 0.88)),
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.98), transparent 44%);
  border: 1px solid rgba(61, 154, 110, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 18px 44px rgba(47, 138, 99, 0.18),
    0 0 0 8px rgba(47, 138, 99, 0.06);
  transform: scale(0.84);
}

.success-check {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  color: var(--success);
  filter: drop-shadow(0 10px 22px rgba(47, 138, 99, 0.28));
}

.success-check path {
  stroke: currentColor;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 44;
  stroke-dashoffset: 44;
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(85, 167, 124, 0.22);
  background: linear-gradient(180deg, rgba(244, 253, 248, 0.98), rgba(231, 247, 238, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 12px 28px rgba(47, 138, 99, 0.09);
  color: #256848;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
}

.success-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #56ba90 0%, #2f8a63 72%);
  box-shadow: 0 0 0 6px rgba(86, 186, 144, 0.12);
}

.success-overlay.show .success-seal-ring-a {
  animation: successSealExpand 900ms cubic-bezier(0.18, 0.89, 0.32, 1.28) 60ms forwards;
}

.success-overlay.show .success-seal-ring-b {
  animation: successSealExpand 900ms cubic-bezier(0.18, 0.89, 0.32, 1.18) 180ms forwards;
}

.success-overlay.show .success-seal-glow {
  animation: successSealGlow 1200ms cubic-bezier(0.22, 1, 0.36, 1) 100ms forwards;
}

.success-overlay.show .success-seal-core {
  animation: successSealCore 760ms cubic-bezier(0.18, 0.89, 0.32, 1.24) 120ms forwards;
}

.success-overlay.show .success-check path {
  animation: successCheckDraw 540ms cubic-bezier(0.32, 1, 0.68, 1) 460ms forwards;
}

.success-overlay.show .success-badge {
  animation: successBadgeReveal 520ms cubic-bezier(0.22, 1, 0.36, 1) 540ms forwards;
}

.success-card h2 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-align: center;
}

.success-card p {
  margin: 14px 0 0;
  font-size: 1rem;
  text-align: center;
}

.success-list {
  margin-top: 22px;
}

.success-card > .step-kicker {
  display: block;
  text-align: center;
}

.success-list .summary-row {
  align-items: flex-start;
}

.success-list .summary-row span {
  flex: 0 0 112px;
}

.success-list .summary-row strong {
  max-width: calc(100% - 124px);
  text-align: right;
}

.success-list .summary-row {
  opacity: 0;
  transform: translateY(8px);
  animation: successRowReveal 450ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-play-state: paused;
}

.success-overlay.show .success-list .summary-row {
  animation-play-state: running;
}

.success-list .summary-row:nth-child(1) { animation-delay: 200ms; }
.success-list .summary-row:nth-child(2) { animation-delay: 320ms; }
.success-list .summary-row:nth-child(3) { animation-delay: 440ms; }
.success-list .summary-row:nth-child(4) { animation-delay: 560ms; }
.success-list .summary-row:nth-child(5) { animation-delay: 680ms; }

@keyframes successRowReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes successSealExpand {
  0% {
    opacity: 0;
    transform: scale(0.68);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes successSealGlow {
  0% {
    opacity: 0;
    transform: scale(0.78);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0.92;
    transform: scale(1.08);
  }
}

@keyframes successSealCore {
  0% {
    transform: scale(0.84);
  }
  58% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes successCheckDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes successBadgeReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-actions {
  margin-top: 26px;
  gap: 12px;
  flex-wrap: wrap;
}

.success-actions .dock-btn {
  text-decoration: none;
}

@media (max-width: 960px) {
  .lux-scene {
    opacity: 0.58;
  }

  .ambient {
    opacity: 0.38;
  }

  .page-shell {
    padding: 104px 0 132px;
  }

  .form-shell {
    border-radius: 30px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.24)),
      radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.24), transparent 34%);
    backdrop-filter: blur(24px) saturate(132%);
  }

  .form-stage {
    min-height: auto;
  }

  .field-grid,
  .choice-list.is-two,
  .choice-list.is-classification {
    grid-template-columns: 1fr;
  }

  .form-meta-side {
    justify-items: start;
    width: 100%;
    min-width: 0;
  }

  .dock,
  .form-meta,
  .booking-meta,
  .slot-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-meta {
    gap: 18px;
  }

  .progress-meter {
    width: 100%;
  }

  .progress-meter-meta {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .form-top {
    padding: 16px 24px 14px;
  }

  .form-stage {
    padding-left: 24px;
    padding-right: 24px;
  }

  .step-stage {
    padding: 46px 0 56px;
  }

  .question {
    max-width: 13.5ch;
    font-size: clamp(2.55rem, 6.6vw, 3.7rem);
    line-height: 0.92;
  }

  .step-note {
    margin-top: 14px;
    font-size: 0.97rem;
    line-height: 1.68;
    max-width: 40rem;
  }

  .step-section {
    gap: 12px;
  }

  .choice,
  .counsel {
    padding: 18px 18px;
    border-radius: 22px;
  }

  .field-wrap-large {
    padding: 18px 20px;
    border-radius: 24px;
  }

  .text-input {
    padding: 16px 0 12px;
    font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  }

  .field-wrap-large .text-input {
    padding: 6px 0 0;
  }

  .calendar-shell,
  .slot-shell,
  .payment-summary,
  .gateway-status {
    border-radius: 24px;
    padding: 20px;
  }

  .success-card {
    padding: 26px;
    border-radius: 24px;
  }

  .success-seal {
    width: 96px;
    height: 96px;
  }

  .success-card h2 {
    font-size: 2rem;
  }

  #progress-percent {
    justify-self: start;
  }

  .dock {
    padding: 16px;
  }

  .form-shell,
  .dock,
  .success-card,
  .topbar {
    transform: none;
  }

  .dock-actions {
    width: 100%;
  }

  .dock-btn {
    flex: 1 1 160px;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 16px 16px 14px;
    gap: 10px;
  }

  .topbar-inner {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .brand-copy span {
    font-size: 0.92rem;
  }

  .cancel-link {
    flex-shrink: 0;
  }

  .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.54rem;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.42);
  }

  .progress-meter {
    width: 100%;
  }

  .progress-meter-track {
    height: 8px;
  }

  .page-shell {
    width: calc(100% - 16px);
    padding: 134px 0 118px;
  }

  .form-top,
  .form-stage {
    padding-left: 14px;
    padding-right: 14px;
  }

  .step-stage {
    padding-top: 28px;
    padding-bottom: 38px;
  }

  .dock {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    width: auto;
    padding: 12px;
    border-radius: 20px;
    gap: 10px;
    transform: translateY(12px);
  }

  body.motion-ready .dock {
    transform: translateY(0);
  }

  .dock.is-suppressed,
  body.motion-ready .dock.is-suppressed {
    transform: translateY(20px);
  }

  .dock-copy {
    display: none;
  }

  .dock-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .dock-btn {
    min-width: 0;
    width: 100%;
    padding: 11px 8px;
    border-radius: 14px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-align: center;
    justify-content: center;
  }

  .question {
    max-width: 12.4ch;
    font-size: clamp(2.2rem, 9.2vw, 3.1rem);
    line-height: 0.95;
  }

  .step-note {
    font-size: 0.93rem;
    line-height: 1.62;
  }

  .choice,
  .counsel {
    border-radius: 18px;
    padding: 15px 15px;
    gap: 12px;
  }

  .calendar-shell,
  .slot-shell,
  .payment-summary,
  .gateway-status {
    border-radius: 20px;
    padding: 15px;
  }

  .field-grid,
  .choice-list,
  .counsel-list,
  .step-sections {
    gap: 14px;
  }

  .field-wrap {
    margin-top: 14px;
  }

  .field-wrap-large {
    margin-top: 14px;
    padding: 16px 16px;
    border-radius: 20px;
  }

  .text-input {
    padding: 14px 0 10px;
    font-size: 1rem;
  }

  .summary-row {
    gap: 12px;
    padding: 10px 0;
  }

  .summary-row span,
  .choice-copy small,
  .counsel-copy small,
  .field-note,
  .booking-meta p,
  .slot-preview span,
  .consent-line span,
  .success-card p {
    line-height: 1.5;
  }

  .time {
    min-width: 100%;
  }

  .success-card {
    padding: 22px 18px;
  }

  .success-hero {
    justify-items: center;
  }

  .success-seal {
    width: 88px;
    height: 88px;
  }

  .success-seal-core {
    inset: 16px;
  }

  .success-badge {
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }

  .success-card h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 420px) {
  .topbar {
    padding: 14px 12px 12px;
  }

  .site-nav a {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.5rem;
  }

  .page-shell {
    width: calc(100% - 12px);
    padding: 142px 0 106px;
  }

  .form-shell {
    border-radius: 24px;
  }

  .form-top,
  .form-stage {
    padding-left: 12px;
    padding-right: 12px;
  }

  .form-top {
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .step-stage {
    padding-top: 22px;
    padding-bottom: 32px;
  }

  .question {
    font-size: clamp(1.95rem, 8.2vw, 2.5rem);
    line-height: 0.98;
  }

  .step-note {
    font-size: 0.9rem;
  }

  .step-kicker,
  .section-label,
  .step-hint {
    font-size: 0.56rem;
    letter-spacing: 0.13em;
  }

  .choice,
  .counsel {
    padding: 14px 14px;
  }

  .field-wrap-large,
  .calendar-shell,
  .slot-shell,
  .payment-summary,
  .gateway-status,
  .success-card {
    padding: 14px;
    border-radius: 18px;
  }

  .text-input {
    font-size: 0.96rem;
  }

  .dock-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #next-btn {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-a,
  .ambient-b,
  .ambient-c,
  .scene-plane-a,
  .scene-plane-b,
  .scene-ring-a,
  .scene-ring-b {
    animation: none;
  }

  .form-shell,
  .dock,
  .success-card,
  .topbar {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .success-overlay {
    transition: none;
  }

  .success-overlay.show .success-card {
    transform: none;
    transition: none;
  }

  .success-card::after,
  .success-seal-ring,
  .success-seal-glow,
  .success-seal-core,
  .success-badge {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .success-check path {
    stroke-dashoffset: 0;
    animation: none;
  }

  .success-list .summary-row {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .consent-line,
  .consent-line input {
    transition: none;
  }
}

.concession-shell {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.48));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 14px 34px rgba(17, 24, 39, 0.05);
}

.concession-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.concession-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.concession-input {
  flex: 1 1 220px;
  min-width: 180px;
}

.concession-btn {
  border: 1px solid rgba(143, 106, 61, 0.22);
  border-radius: 999px;
  padding: 11px 16px;
  background: linear-gradient(135deg, rgba(143, 106, 61, 0.86), rgba(176, 138, 92, 0.9));
  color: #fffdf8;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(143, 106, 61, 0.14);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.concession-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(143, 106, 61, 0.18);
}

.concession-btn.is-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.36));
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

/* Consultation refresh: refined, inline, and premium without altering booking logic */
:root {
  --bg: #f3f4f6;
  --bg-deep: #dde3ea;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.86);
  --panel-soft: rgba(255, 255, 255, 0.5);
  --surface-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.54));
  --surface-fill-strong: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62));
  --surface-fill-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.44));
  --surface-stroke: rgba(255, 255, 255, 0.86);
  --surface-stroke-strong: rgba(255, 255, 255, 0.96);
  --surface-highlight: rgba(255, 255, 255, 0.98);
  --surface-shadow: 0 34px 90px rgba(21, 29, 40, 0.11);
  --surface-shadow-soft: 0 18px 42px rgba(21, 29, 40, 0.08);
  --line: rgba(17, 24, 39, 0.08);
  --line-strong: rgba(17, 24, 39, 0.16);
  --text: #10131a;
  --text-soft: #4d5765;
  --text-muted: #6f7a88;
  --text-faint: #95a0ae;
  --accent: #8f6a3d;
  --accent-soft: rgba(143, 106, 61, 0.1);
  --accent-strong: rgba(143, 106, 61, 0.2);
  --lux-warm: rgba(223, 192, 149, 0.22);
  --lux-cool: rgba(173, 193, 221, 0.22);
  --lux-rose: rgba(226, 208, 215, 0.2);
  --display: "Cormorant Garamond", serif;
  --body: "Manrope", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --shadow: 0 38px 110px rgba(19, 28, 38, 0.12);
}

body {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.94), transparent 26%),
    radial-gradient(circle at 84% 14%, rgba(204, 219, 238, 0.54), transparent 28%),
    radial-gradient(circle at 82% 84%, rgba(227, 201, 165, 0.36), transparent 24%),
    linear-gradient(160deg, #f6f7f9 0%, #edf0f4 45%, #e6ebf1 100%);
}

body::before {
  opacity: 0.04;
  background-size: 56px 56px;
}

body::after {
  opacity: 0.34;
  filter: blur(20px);
}

.lux-scene {
  opacity: 0.72;
}

.topbar {
  background: linear-gradient(to bottom, rgba(246, 247, 249, 0.94), rgba(246, 247, 249, 0.42) 72%, transparent);
}

.form-shell {
  border-radius: 42px;
  box-shadow:
    0 32px 100px rgba(17, 24, 39, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(255, 255, 255, 0.28);
}

.question {
  max-width: 12ch;
  font-size: clamp(3.2rem, 5.6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.step-note {
  max-width: 52rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.step-section {
  display: grid;
  gap: 14px;
}

.step-section--hero,
.step-section--premium {
  padding: 8px 0 0;
}

.identity-stack {
  display: grid;
  gap: 18px;
}

.contact-rail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 16px;
}

.field-wrap--hero,
.phone-field,
.email-field {
  margin-top: 0;
  padding: 20px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 48px rgba(17, 24, 39, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.field-cap,
.phone-code-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

.field-wrap--hero .text-input,
.email-field .text-input {
  padding: 12px 0 4px;
}

.phone-shell {
  display: grid;
  grid-template-columns: minmax(180px, 0.86fr) minmax(0, 1.14fr);
  gap: 14px;
  align-items: end;
  padding-top: 10px;
}

.phone-code,
.phone-input-wrap {
  display: grid;
  gap: 8px;
}

.select-input,
.phone-code-select {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(203, 213, 225, 0.72);
  background: linear-gradient(180deg, rgba(247, 248, 251, 0.98), rgba(238, 242, 247, 0.92));
  color: var(--text);
  padding: 15px 18px;
  border-radius: 20px;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  outline: none;
}

.phone-input-wrap {
  min-width: 0;
}

.phone-input {
  padding: 12px 0 4px;
}

.choice-list--story,
.choice-list--timeline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-list--binary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-list--format {
  gap: 16px;
}

.choice--narrative,
.choice--document,
.choice.choice--classification {
  min-height: 132px;
  align-content: start;
}

.choice--compact {
  min-height: 108px;
}

.choice-copy {
  gap: 6px;
}

.choice-copy small,
.counsel-note {
  font-size: 0.82rem;
  line-height: 1.58;
}

.counsel-list--signature {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.counsel {
  min-height: 168px;
  grid-template-columns: auto auto 1fr;
  align-content: start;
}

.counsel-copy {
  gap: 4px;
}

.counsel-note {
  color: var(--text-soft);
}

.counsel-badge {
  justify-self: end;
  align-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(143, 106, 61, 0.12);
  color: var(--accent);
  border: 1px solid rgba(143, 106, 61, 0.16);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.payment-summary,
.calendar-shell,
.slot-shell,
.gateway-status,
.field-wrap-large,
.concession-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.58));
  border-color: rgba(255, 255, 255, 0.94);
}

.concession-shell {
  border-radius: 24px;
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 18px 40px rgba(17, 24, 39, 0.05);
}

.concession-row {
  gap: 12px;
}

.concession-input {
  min-width: 0;
}

.concession-btn {
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(143, 106, 61, 0.88), rgba(176, 138, 92, 0.92));
  color: #fffdf8;
  border-color: rgba(143, 106, 61, 0.28);
  box-shadow: 0 18px 32px rgba(143, 106, 61, 0.16);
}

.concession-btn.is-muted {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-soft);
}

/* selector-sheet — visibility managed by JS .is-open class */

@media (max-width: 980px) {
  .contact-rail,
  .counsel-list--signature,
  .choice-list--story,
  .choice-list--timeline {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .field-wrap--hero,
  .phone-field,
  .email-field {
    padding: 16px 18px;
    border-radius: 22px;
  }

  .question {
    max-width: 11ch;
    font-size: clamp(2.5rem, 8vw, 3.4rem);
  }

  .choice-list--binary,
  .choice-list--format {
    grid-template-columns: 1fr;
  }

  .counsel {
    min-height: 0;
  }
}

/* Final consultation polish: integrated phone control and elevated booking surfaces */
.phone-shell {
  grid-template-columns: minmax(148px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  align-items: stretch;
  margin-top: 2px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(240, 244, 248, 0.92));
  border-radius: 22px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), inset 0 -1px 0 rgba(220, 227, 235, 0.55);
}

.phone-code,
.phone-input-wrap {
  padding: 14px 16px 12px;
}

.phone-code {
  border-right: 1px solid rgba(203, 213, 225, 0.78);
  background: linear-gradient(180deg, rgba(246, 248, 251, 0.96), rgba(238, 243, 248, 0.84));
}

.phone-code-select,
.phone-input-wrap .text-input {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 2px 0 0;
  min-height: 0;
}

.phone-input-wrap .phone-input {
  padding: 2px 0 0;
}

.phone-field:focus-within .phone-shell {
  border-color: rgba(143, 106, 61, 0.38);
  box-shadow: 0 0 0 5px rgba(143, 106, 61, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.98), inset 0 -1px 0 rgba(220, 227, 235, 0.55);
}

.phone-code-select:focus,
.phone-input:focus {
  outline: none;
}

.calendar-shell,
.slot-shell,
.payment-summary,
.gateway-status {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 26px 56px rgba(17, 24, 39, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.calendar-head strong,
.slot-preview strong,
.summary-row-fee strong {
  font-family: var(--display);
  letter-spacing: -0.02em;
}

.calendar-head strong,
.slot-preview strong {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.calendar-nav,
.day,
.time,
.dock-btn {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.calendar-nav:hover,
.day:hover:not(.is-disabled),
.time:hover:not(.is-selected),
.dock-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.day,
.time {
  border-color: rgba(255, 255, 255, 0.88);
}

.day .day-status,
.day .day-demand,
.time-note,
.field-note,
.slot-preview span,
.summary-row span {
  color: #667180;
}

.status-pill {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.dock {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

#progress-steps,
#progress-percent,
.dock-copy span {
  color: var(--text-faint);
}

.dock-copy p {
  color: var(--text-soft);
}

.dock-btn-primary {
  background: linear-gradient(135deg, #14181f, #2b3442);
  border-color: rgba(17, 24, 39, 0.28);
  color: #f8fafc;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.18);
}

.dock-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #0f141b, #202938);
}

@media (max-width: 720px) {
  .phone-shell {
    grid-template-columns: 1fr;
  }

  .phone-code {
    border-right: 0;
    border-bottom: 1px solid rgba(203, 213, 225, 0.72);
  }
}

/* Scheduling refresh: simplified calendar, stronger slot clarity */
.appointment-shell {
  display: grid;
  gap: 20px;
}

.appointment-hero,
.appointment-preferences,
.appointment-board {
  display: grid;
  gap: 18px;
}

.appointment-hero {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.92fr);
}

.appointment-preferences {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.appointment-board {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  align-items: start;
}

.appointment-hero-copy,
.appointment-status-card,
.appointment-pref-card,
.picker-panel {
  border-radius: 32px;
  padding: 24px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(17, 24, 39, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.appointment-hero-copy {
  display: grid;
  gap: 8px;
  align-content: start;
}

.appointment-hero-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--text);
}

.appointment-hero-copy p,
.appointment-pref-head p,
.picker-head p,
.appointment-status-card small {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.appointment-status-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.appointment-status-card strong {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--text);
}

.appointment-status-card > span:not(.status-pill) {
  color: var(--text-soft);
  font-size: 1rem;
}

.appointment-status-card.is-ready {
  background: linear-gradient(180deg, rgba(25, 32, 42, 0.96), rgba(44, 54, 68, 0.92));
  border-color: rgba(17, 24, 39, 0.2);
  box-shadow: 0 30px 72px rgba(17, 24, 39, 0.18);
}

.appointment-status-card.is-ready strong,
.appointment-status-card.is-ready > span:not(.status-pill),
.appointment-status-card.is-ready small {
  color: #f8fafc;
}

.appointment-status-card.is-ready .status-pill {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f8fafc;
}

.appointment-pref-card,
.picker-panel {
  display: grid;
  gap: 16px;
}

.appointment-pref-head {
  display: grid;
  gap: 4px;
}

.picker-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.picker-head > div {
  display: grid;
  gap: 4px;
}

.picker-head strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--text);
}

.booking-meta--quiet {
  padding: 0 2px;
}

.calendar-shell,
.slot-shell {
  margin-top: 0;
  border-radius: 30px;
  padding: 22px;
}

.calendar-head {
  margin-bottom: 10px;
}

.calendar-weekdays {
  margin: 18px 0 12px;
}

.calendar-grid {
  gap: 12px;
}

.day {
  min-height: 78px;
  padding: 14px 14px 12px;
  gap: 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 249, 252, 0.7));
  border: 1px solid rgba(219, 226, 236, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.day-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.day strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.day-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.05);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.day-caption {
  font-size: 0.7rem;
  line-height: 1.45;
  color: var(--text-faint);
}

.day.is-today strong {
  color: var(--text);
}

.day.is-muted:not(.is-selected):not(.is-disabled) {
  opacity: 0.62;
}

.day.is-selected {
  border-color: rgba(17, 24, 39, 0.16);
  background: linear-gradient(180deg, rgba(21, 27, 35, 0.98), rgba(38, 48, 61, 0.94));
  box-shadow: 0 24px 36px rgba(17, 24, 39, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.day.is-selected strong,
.day.is-selected .day-caption {
  color: #f8fafc;
}

.day-badge.is-selected,
.day.is-selected .day-badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f8fafc;
}

.day.is-disabled {
  opacity: 0.26;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.day.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

.slot-topline {
  align-items: flex-start;
  gap: 18px;
}

.slot-preview {
  display: grid;
  gap: 6px;
}

.slot-preview strong {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.time-grid--premium {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.time {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 247, 251, 0.72));
  border: 1px solid rgba(218, 225, 236, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.time-label {
  font-size: 0.98rem;
}

.time-note {
  font-size: 0.76rem;
}

.time.is-selected {
  border-color: rgba(17, 24, 39, 0.16);
  background: linear-gradient(180deg, rgba(21, 27, 35, 0.98), rgba(38, 48, 61, 0.94));
  box-shadow: 0 26px 40px rgba(17, 24, 39, 0.18);
}

.time.is-selected .time-label,
.time.is-selected .time-note {
  color: #f8fafc;
}

.slot-empty--quiet {
  border-style: solid;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(240, 244, 248, 0.78));
}

.field-note--emphasis {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.picker-panel--time.is-waiting .slot-shell {
  opacity: 0.9;
}

@media (max-width: 1100px) {
  .appointment-hero,
  .appointment-preferences,
  .appointment-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .appointment-hero-copy,
  .appointment-status-card,
  .appointment-pref-card,
  .picker-panel {
    padding: 18px 18px 20px;
    border-radius: 24px;
  }

  .picker-head {
    flex-direction: column;
    align-items: start;
  }

  .calendar-shell,
  .slot-shell {
    padding: 18px;
    border-radius: 24px;
  }

  .calendar-grid,
  .time-grid--premium {
    gap: 12px;
  }

  .time-grid--premium {
    grid-template-columns: 1fr;
  }

  .day {
    min-height: 72px;
    padding: 12px;
  }
}

/* Layout tightening pass */
.step-view.is-wide {
  max-width: 1020px;
}

.step-view.is-wide .question {
  max-width: none;
}

.appointment-shell {
  gap: 16px;
}

.appointment-hero,
.appointment-preferences,
.appointment-board {
  gap: 14px;
}

.appointment-hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
}

.appointment-preferences {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.appointment-board {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
}

.appointment-hero-copy,
.appointment-status-card,
.appointment-pref-card,
.picker-panel {
  padding: 20px 22px;
  border-radius: 28px;
}

.appointment-hero-copy h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.appointment-status-card {
  gap: 8px;
}

.appointment-status-card strong {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
}

.appointment-pref-card,
.picker-panel {
  gap: 14px;
}

.picker-panel--calendar {
  align-content: start;
}

.picker-panel--calendar .booking-meta--quiet,
.picker-panel--calendar .calendar-shell {
  max-width: 470px;
  width: 100%;
}

.picker-panel--calendar .calendar-shell {
  justify-self: start;
}

.picker-panel--time .slot-shell {
  min-height: 100%;
}

.booking-meta--quiet {
  margin-top: 2px;
  gap: 10px;
}

.booking-meta--quiet p {
  font-size: 0.84rem;
}

.calendar-shell,
.slot-shell {
  padding: 18px 20px;
  border-radius: 26px;
}

.calendar-weekdays,
.calendar-grid {
  gap: 8px;
}

.calendar-weekdays {
  margin: 14px 0 10px;
}

.day {
  min-height: 68px;
  padding: 10px 10px 9px;
  gap: 8px;
  border-radius: 18px;
}

.day strong {
  font-size: 0.96rem;
}

.day-badge {
  padding: 5px 8px;
  font-size: 0.45rem;
}

.day-caption {
  font-size: 0.64rem;
  line-height: 1.35;
}

.time-grid--premium {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.time {
  padding: 14px 16px;
  border-radius: 18px;
}

.time-label {
  font-size: 0.94rem;
}

.time-note {
  font-size: 0.72rem;
}

.counsel-list--signature {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.counsel {
  min-height: 0;
  padding: 16px 16px 15px;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: start;
  border-radius: 22px;
}

.counsel .choice-key,
.counsel-badge {
  display: none;
}

.counsel-media {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.counsel-copy {
  gap: 3px;
}

.counsel-copy strong {
  font-size: 0.96rem;
}

.counsel-copy small {
  font-size: 0.77rem;
}

.counsel-note {
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .appointment-hero,
  .appointment-preferences,
  .appointment-board {
    grid-template-columns: 1fr;
  }

  .picker-panel--calendar .booking-meta--quiet,
  .picker-panel--calendar .calendar-shell {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .step-view.is-wide .question {
    line-height: 0.98;
  }

  .counsel-list--signature,
  .time-grid--premium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .step-view.is-wide {
    max-width: 100%;
  }

  .step-view.is-wide .question {
    max-width: 14ch;
  }

  .appointment-hero-copy,
  .appointment-status-card,
  .appointment-pref-card,
  .picker-panel {
    padding: 16px 16px 18px;
    border-radius: 22px;
  }

  .calendar-shell,
  .slot-shell {
    padding: 16px;
    border-radius: 22px;
  }

  .day {
    min-height: 62px;
    padding: 9px 8px;
  }

  .day strong {
    font-size: 0.88rem;
  }

  .day-caption {
    font-size: 0.58rem;
  }

  .counsel {
    grid-template-columns: 46px 1fr;
    padding: 14px 14px 13px;
  }

  .counsel-media {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

/* Final premium polish pass */
:root {
  --display: "Cormorant Garamond", serif;
  --body: "Manrope", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  overflow-x: clip;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(18, 30, 44, 0.18);
}

.page-shell,
.form-shell,
.step-stage {
  max-width: 100%;
  overflow-x: clip;
}

.brand {
  padding: 8px 14px 8px 8px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.46));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.brand-mark {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.78)),
    radial-gradient(circle at 30% 22%, rgba(207, 173, 106, 0.18), transparent 42%);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.brand-mark img {
  width: 76%;
  height: 76%;
  filter: saturate(1.05) contrast(1.12);
}

.brand-copy {
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  color: var(--text);
}

.brand-copy span {
  font-size: 1.18rem;
  line-height: 1.04;
  font-weight: 500;
  color: #45515f;
}

.cancel-link {
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.site-nav {
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overscroll-behavior-x: contain;
}

.site-nav a {
  min-height: 42px;
  padding: 0 18px;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.44);
}

.site-nav a:hover,
.site-nav a.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(242, 236, 228, 0.86));
  border-color: rgba(178, 156, 124, 0.2);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.choice.choice--classification,
.choice--narrative,
.choice--document {
  min-height: 96px;
  align-content: center;
}

.choice.choice--classification {
  padding: 18px 20px;
}

.choice.choice--classification .choice-copy,
.choice--narrative .choice-copy,
.choice--document .choice-copy {
  gap: 4px;
}

.choice.choice--classification .choice-copy strong {
  font-size: clamp(1.16rem, 2.6vw, 1.42rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.choice.choice--classification .choice-copy small {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.choice.is-selected,
.counsel.is-selected {
  border-color: rgba(19, 84, 66, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 242, 0.86)),
    radial-gradient(circle at 12% 18%, rgba(47, 138, 99, 0.08), transparent 42%);
  box-shadow:
    0 18px 38px rgba(17, 24, 39, 0.08),
    0 0 0 4px rgba(47, 138, 99, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.choice.is-selected .choice-key,
.counsel.is-selected .choice-key {
  border-color: rgba(47, 138, 99, 0.22);
  color: #166d54;
  background: rgba(47, 138, 99, 0.08);
}

.field-wrap {
  border-bottom-color: rgba(30, 41, 59, 0.12);
}

.field-wrap-large {
  border-color: rgba(218, 225, 236, 0.94);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 251, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 10px 24px rgba(17, 24, 39, 0.04);
}

.field-wrap:focus-within {
  border-bottom-color: rgba(17, 24, 39, 0.22);
}

.field-wrap-large:focus-within {
  border-color: rgba(17, 24, 39, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.82));
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.04), 0 18px 42px rgba(17, 24, 39, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.99);
}

.field-wrap-large .text-input {
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.52;
}

.text-area {
  min-height: 156px;
}

.appointment-hero {
  display: none;
}

.appointment-shell {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.appointment-status-card {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 18px;
}

.appointment-status-card .status-pill,
.appointment-status-card strong,
.appointment-status-card > span:not(.status-pill),
.appointment-status-card small {
  grid-column: 2;
}

.appointment-status-card .status-pill {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
}

.appointment-status-card strong {
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
}

.appointment-status-card > span:not(.status-pill) {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.appointment-status-card small {
  font-size: 0.82rem;
  line-height: 1.45;
}

.appointment-preferences {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 12px;
}

.appointment-pref-card,
.picker-panel {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 252, 0.68));
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 52px rgba(17, 24, 39, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.appointment-pref-card {
  padding: 18px 20px;
  gap: 12px;
}

.appointment-pref-head {
  gap: 2px;
}

.appointment-pref-head p {
  display: none;
}

.appointment-pref-card .choice-list {
  gap: 10px;
}

.appointment-pref-card .choice {
  min-height: 72px;
  padding: 16px 16px 15px;
}

.appointment-pref-card .choice-copy small {
  display: none;
}

.appointment-pref-card .counsel-list--signature {
  gap: 10px;
}

.appointment-pref-card .counsel {
  grid-template-columns: 46px 1fr;
  gap: 10px;
  padding: 13px 13px 12px;
  border-radius: 20px;
}

.appointment-pref-card .counsel-media {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.appointment-pref-card .counsel-copy strong {
  font-size: 0.9rem;
}

.appointment-pref-card .counsel-copy small {
  font-size: 0.72rem;
  line-height: 1.35;
}

.appointment-preferences {
  align-items: start;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
}

.appointment-pref-card--counsel {
  align-self: start;
  padding: 18px 18px 16px;
}

.appointment-pref-card--counsel .appointment-pref-head {
  gap: 4px;
}

.appointment-pref-card--counsel .appointment-pref-head p {
  display: block;
  margin: 0;
  max-width: 30ch;
  font-size: 0.84rem;
  line-height: 1.48;
  color: var(--text-muted);
}

.appointment-pref-card--counsel .counsel-list--signature {
  grid-template-columns: 1fr;
  gap: 10px;
}

.appointment-pref-card--counsel .counsel {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 0;
  padding: 14px 16px;
  border-radius: 20px;
}

.appointment-pref-card--counsel .counsel-media {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.appointment-pref-card--counsel .counsel-copy {
  gap: 2px;
  min-width: 0;
}

.appointment-pref-card--counsel .counsel-copy strong {
  font-size: 0.98rem;
  line-height: 1.05;
}

.appointment-pref-card--counsel .counsel-copy small {
  display: block;
  font-size: 0.75rem;
  line-height: 1.35;
}

.appointment-pref-card--counsel .counsel-note {
  display: none;
}

.counsel-select-indicator {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(17, 24, 39, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 250, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
  flex: 0 0 auto;
}

.appointment-pref-card--counsel .counsel.is-selected .counsel-select-indicator {
  border-color: rgba(19, 84, 66, 0.2);
  background:
    radial-gradient(circle at center, rgba(19, 84, 66, 0.9) 0 42%, rgba(255, 255, 255, 0.96) 46% 100%);
  box-shadow:
    0 0 0 4px rgba(47, 138, 99, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.appointment-board {
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

.picker-panel {
  padding: 18px 20px;
  gap: 12px;
}

.picker-head {
  align-items: flex-start;
  gap: 12px;
}

.picker-head p {
  max-width: 24ch;
}

.picker-head strong {
  font-size: clamp(1.28rem, 2.4vw, 1.72rem);
}

.booking-meta--quiet {
  display: none;
}

.calendar-shell,
.slot-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.82));
  border: 1px solid rgba(221, 228, 237, 0.94);
}

.calendar-weekdays span {
  color: var(--text-faint);
}

.day {
  min-height: 70px;
  padding: 11px 10px 10px;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 10px 24px rgba(17, 24, 39, 0.04);
}

.day-caption {
  line-height: 1.35;
}

.time-grid--premium {
  gap: 12px;
}

.slot-shell {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
}

.slot-topline {
  gap: 14px;
  align-items: flex-start;
}

.slot-preview strong {
  font-size: clamp(1.36rem, 2.2vw, 1.78rem);
}

.slot-preview span {
  font-size: 0.8rem;
}

.time {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 72px;
  padding: 14px 14px 13px;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 10px 24px rgba(17, 24, 39, 0.04);
}

.time-label {
  font-size: 1rem;
  font-weight: 700;
}

.time-note {
  display: none;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-empty {
  border-radius: 18px;
  border: 1px dashed rgba(180, 191, 205, 0.88);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(240, 244, 248, 0.82));
}

.field-note--emphasis {
  margin-top: 0;
}

.inline-advance-btn {
  width: 100%;
  margin-top: 14px;
  min-height: 50px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #14281f, #1f5f49);
  color: #f8fafc;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 18px 34px rgba(20, 95, 73, 0.2);
}

.inline-advance-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 38px rgba(20, 95, 73, 0.24);
}

.dock {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 248, 245, 0.78));
  box-shadow: 0 28px 72px rgba(17, 24, 39, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.99);
}

.dock-btn {
  min-height: 48px;
  font-weight: 600;
}

.dock-btn-primary {
  background: linear-gradient(135deg, #10161d, #243447);
  border-color: rgba(17, 24, 39, 0.2);
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.16);
}

.dock-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #0e141a, #1f2d3d);
}

@media (max-width: 720px) {
  body::after {
    inset: -8%;
  }

  .scene-fluid {
    inset: -6%;
    width: 112%;
    height: 112%;
  }

  .topbar {
    padding: 14px 12px 12px;
    gap: 8px;
  }

  .topbar-inner {
    align-items: flex-start;
  }

  .brand {
    flex: 1 1 auto;
    padding: 8px 10px 8px 8px;
    gap: 10px;
    border-radius: 20px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .brand-copy strong {
    font-size: 0.52rem;
    letter-spacing: 0.22em;
  }

  .brand-copy span {
    font-size: 1rem;
  }

  .cancel-link {
    padding: 9px 12px;
    font-size: 0.5rem;
  }

  .site-nav {
    gap: 8px;
    padding: 2px;
  }

  .site-nav a {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.52rem;
  }

  .page-shell {
    width: calc(100% - 12px);
    padding: 138px 0 108px;
  }

  .choice-list.is-classification {
    grid-template-columns: 1fr;
  }

  .choice.choice--classification,
  .choice--narrative,
  .choice--document {
    min-height: 82px;
    padding: 16px 16px 15px;
    gap: 12px;
  }

  .choice.choice--classification .choice-copy strong {
    font-size: 1.22rem;
  }

  .field-wrap-large {
    padding: 14px 14px 12px;
    border-radius: 18px;
  }

  .field-wrap-large .text-input {
    font-size: 0.98rem;
  }

  .appointment-shell {
    gap: 14px;
  }

  .appointment-status-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .appointment-status-card .status-pill,
  .appointment-status-card strong,
  .appointment-status-card > span:not(.status-pill),
  .appointment-status-card small {
    grid-column: auto;
  }

  .appointment-status-card .status-pill {
    grid-row: auto;
    justify-self: start;
  }

  .success-list .summary-row {
    flex-direction: column;
    gap: 6px;
  }

  .success-list .summary-row span,
  .success-list .summary-row strong {
    flex: none;
    max-width: none;
    text-align: left;
  }

  .appointment-preferences,
  .appointment-board,
  .time-grid--premium {
    grid-template-columns: 1fr;
  }

  .appointment-pref-card--counsel {
    padding: 16px;
  }

  .appointment-pref-card--counsel .appointment-pref-head p {
    max-width: none;
    font-size: 0.8rem;
  }

  .appointment-pref-card--counsel .counsel {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    padding: 13px 14px;
  }

  .appointment-pref-card--counsel .counsel-media {
    width: 44px;
    height: 44px;
  }

  .appointment-pref-card,
  .picker-panel,
  .calendar-shell,
  .slot-shell {
    border-radius: 20px;
  }

  .calendar-head {
    margin-bottom: 8px;
  }

  .calendar-head strong {
    font-size: 1.08rem;
  }

  .calendar-nav {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 6px;
  }

  .calendar-weekdays {
    margin: 10px 0 8px;
  }

  .calendar-weekdays span {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }

  .day {
    position: relative;
    min-height: 48px;
    padding: 8px 4px;
    border-radius: 14px;
    gap: 0;
    justify-content: center;
    text-align: center;
  }

  .day-top {
    justify-content: center;
  }

  .day strong {
    font-size: 0.82rem;
    line-height: 1;
  }

  .day-badge,
  .day-caption {
    display: none;
  }

  .day.is-today:not(.is-selected) {
    border-color: rgba(158, 122, 49, 0.3);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 242, 232, 0.9));
  }

  .day.is-today::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #a37b2d;
    box-shadow: 0 0 0 3px rgba(163, 123, 45, 0.12);
  }

  .day.is-selected::after {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
  }

  .calendar-empty {
    min-height: 48px;
  }

  .time {
    min-height: 72px;
    padding: 14px 14px 13px;
    border-radius: 16px;
  }

  .inline-advance-btn {
    min-height: 48px;
    border-radius: 16px;
    font-size: 0.66rem;
  }

  .dock {
    left: 8px;
    right: 8px;
    width: auto;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    padding: 10px;
    border-radius: 18px;
  }

  .dock-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .dock-btn {
    min-height: 44px;
    padding: 10px 8px;
    border-radius: 12px;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 420px) {
  .calendar-grid {
    gap: 5px;
  }

  .day {
    min-height: 44px;
    padding: 7px 2px;
    border-radius: 12px;
  }

  .day strong {
    font-size: 0.76rem;
  }

  .calendar-empty {
    min-height: 44px;
  }
}
