/* =========================================================
   The Ivy on Detroit — demo page
   Blockbuilt mock · mobile-first · light editorial
   ========================================================= */

:root {
  --ivory: #fbf8f2;
  --bone: #f4efe4;
  --white: #fffdf9;
  --ink: #26231f;
  --ink-2: #4f4a42;
  --ink-3: #7c756b;
  --sage: #6f7c68;
  --sage-deep: #4c5747;
  --sage-soft: #e7ebe2;
  --clay: #be8768;
  --blush: #f3e5da;
  --line: rgba(38, 35, 31, 0.13);
  --line-strong: rgba(38, 35, 31, 0.3);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 20px;
  --maxw: 1180px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

svg { display: block; max-width: 100%; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.012em;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 300;
}

p { margin: 0; }

a { color: inherit; }

button, input { font: inherit; color: inherit; }

::selection { background: var(--sage); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sage-deep);
  color: var(--ivory);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- shared type ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.sec { padding: 54px 0 60px; }
section[id] { scroll-margin-top: 82px; }

.sec-head { max-width: 50ch; }

.sec-title,
.sec-head h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 8.2vw, 3.9rem);
}

.sec-lede {
  margin-top: 14px;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.sec-head--split { max-width: none; }

.fine-note {
  margin-top: 22px;
  max-width: 66ch;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-3);
}
.fine-note--center {
  margin-top: 12px;
  text-align: center;
  font-size: 0.82rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-sage {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--ivory);
}
.btn-sage:hover { background: #3d483a; border-color: #3d483a; }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(38, 35, 31, 0.035); }

.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}
.btn-ink:hover { background: #3a352f; border-color: #3a352f; }

.btn-line {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-line:hover { border-color: var(--ink); }

.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.7rem; letter-spacing: 0.12em; }
.btn-lg { min-height: 54px; padding: 0 30px; }
.btn-block { width: 100%; min-height: 54px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 242, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: auto;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-name em { font-style: italic; color: var(--sage-deep); }

.brand-sub {
  margin-top: 2px;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.hnav { display: none; }

.header-call {
  display: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.header-call:hover { color: var(--sage-deep); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 26px 0 42px;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 80% 0%, rgba(190, 135, 104, 0.12), transparent 62%),
    radial-gradient(70% 60% at 0% 40%, rgba(111, 124, 104, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 30px;
}

.hero-copy h1 {
  margin-top: 12px;
  font-size: clamp(3.15rem, 13.2vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.hero-copy h1 span { display: block; }
.hero-copy h1 em {
  display: block;
  margin-top: 2px;
  font-size: 0.76em;
  letter-spacing: -0.01em;
  color: var(--sage-deep);
}

.hero-promise {
  margin-top: 18px;
  max-width: 35ch;
  font-size: clamp(1.02rem, 4.1vw, 1.18rem);
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero-ctas {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-meta span[aria-hidden] { color: var(--clay); }

.hero-plate { margin: 4px 0 0; }

.plate {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bone);
}
.plate > svg { width: 100%; height: 100%; }

.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.2;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.plate--arch { border-radius: 190px 190px 2px 2px; }

.hero-plate-frame {
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #fbf8f2, #efe4d7);
}

.hero-plate figcaption {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-plate figcaption span { color: var(--clay); }

/* ---------- trust bar ---------- */

.trust {
  padding: 26px 0 24px;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.trust-value {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
}
.trust-value--sm {
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.trust-label {
  margin-top: 7px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-3);
}

.trust-tag {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--clay);
}

.trust-note {
  margin-top: 20px;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---------- services ---------- */

.svc-grid {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.svc {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}

.svc-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.svc-top h3 {
  font-size: 1.46rem;
  letter-spacing: -0.005em;
}

.svc-price {
  flex: none;
  margin-left: auto;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--sage-deep);
  white-space: nowrap;
}

.svc-desc {
  margin-top: 4px;
  max-width: 46ch;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.svc-meta {
  margin-top: 6px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--clay);
}

.menu-note {
  margin-top: 22px;
  padding-top: 16px;
  max-width: 64ch;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--ink-3);
}
.menu-note strong { font-weight: 500; color: var(--ink); }

/* ---------- gallery ---------- */

.gallery { background: var(--bone); }

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

.gal-item { margin: 0; }
.gal-item--wide { grid-column: 1 / -1; }

.gal-item .plate { aspect-ratio: 1 / 1; }
.gal-item--wide .plate { aspect-ratio: 4 / 3; }
.gal-item--tall .plate { aspect-ratio: 3 / 4; }

.gal-item figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 10px;
  margin-top: 8px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink-2);
}

.gal-item .ph {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--clay);
}

.swap-note {
  margin-top: 24px;
  max-width: 68ch;
  padding-left: 14px;
  border-left: 2px solid var(--clay);
  font-family: var(--serif);
  font-size: 0.94rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- reviews ---------- */

.reviews { background: var(--blush); }

.slots {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 196px;
  padding: 20px;
  border: 1px solid rgba(38, 35, 31, 0.16);
  border-radius: 3px;
  background: rgba(255, 253, 249, 0.66);
}

.slot-num {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.slot-quote {
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 0.5;
  color: var(--clay);
  opacity: 0.55;
}

.slot-lines {
  display: grid;
  gap: 9px;
  margin-top: auto;
}
.slot-lines span {
  display: block;
  height: 1px;
  background: rgba(38, 35, 31, 0.16);
}
.slot-lines span.short { width: 56%; }

.slot-meta {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- booking ---------- */

.booking { background: var(--sage-soft); }

.booking-grid {
  display: grid;
  gap: 28px;
}

.booking .sec-lede { color: var(--ink-2); }

.booking-points {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.booking-points li {
  position: relative;
  padding-left: 18px;
}
.booking-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

.demo-flag {
  margin-top: 22px;
  padding: 10px 14px;
  border-left: 2px solid var(--sage-deep);
  background: rgba(255, 253, 249, 0.55);
  font-size: 0.79rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.booking-card {
  padding: 18px 16px;
  border: 1px solid rgba(38, 35, 31, 0.16);
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(38, 35, 31, 0.06);
}

.step {
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.step legend {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.step legend span {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--clay);
}

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

.choice { position: relative; display: block; cursor: pointer; }

.choice input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--ivory);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.25;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.choice span b { font-weight: 400; }
.choice span i {
  margin-top: 3px;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--ink-3);
}
.choice input:checked + span {
  border-color: var(--sage-deep);
  background: var(--sage-deep);
  color: var(--ivory);
}
.choice input:checked + span i { color: rgba(251, 248, 242, 0.72); }
.choice input:focus-visible + span {
  outline: 2px solid var(--sage-deep);
  outline-offset: 2px;
}
.choice:hover input:not(:checked) + span { border-color: var(--line-strong); }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.pill { position: relative; cursor: pointer; }
.pill input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.pill span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ivory);
  font-size: 0.8rem;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.pill input:checked + span {
  border-color: var(--sage-deep);
  background: var(--sage-deep);
  color: var(--ivory);
}
.pill input:focus-visible + span {
  outline: 2px solid var(--sage-deep);
  outline-offset: 2px;
}
.pill:hover input:not(:checked) + span { border-color: var(--line-strong); }

.days,
.times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 6px;
}

.days .choice span {
  align-items: center;
  min-height: 56px;
  padding: 7px 4px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.days .choice span b {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.days .choice span i {
  margin-top: 1px;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.times { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.times .choice span {
  align-items: center;
  min-height: 42px;
  padding: 6px 4px;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}
.times .choice.is-off { cursor: not-allowed; }
.times .choice.is-off span {
  border-color: transparent;
  background: rgba(38, 35, 31, 0.04);
  color: rgba(38, 35, 31, 0.32);
  text-decoration: line-through;
}
.times .choice.is-off input { cursor: not-allowed; }

.hint {
  margin-top: 8px;
  font-size: 0.74rem;
  color: var(--ink-3);
}

.fields { display: grid; gap: 16px; }

.field label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input {
  width: 100%;
  min-height: 46px;
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 300;
  appearance: none;
}
.field input::placeholder { color: #aba093; }
.field input:focus {
  border-bottom-color: var(--sage-deep);
  outline: none;
  box-shadow: 0 1px 0 var(--sage-deep);
}
.field input[aria-invalid="true"] {
  border-bottom-color: #9b3a2e;
  background: rgba(155, 58, 46, 0.04);
}

.err {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #9b3a2e;
}
.err::before { content: "!"; font-weight: 500; }
.err[hidden] { display: none; }

.live {
  margin: 2px 0 12px;
  padding: 11px 13px;
  border-radius: 2px;
  background: var(--bone);
  font-family: var(--serif);
  font-size: 0.94rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-2);
}
.live.is-set { color: var(--ink); }
.live b { font-weight: 400; }

.form-error {
  margin: 0 0 12px;
  padding: 10px 13px;
  border: 1px solid rgba(155, 58, 46, 0.4);
  border-radius: 2px;
  background: rgba(155, 58, 46, 0.06);
  font-size: 0.82rem;
  color: #8a3328;
}
.form-error[hidden] { display: none; }

/* confirm */

.confirm { padding: 2px 0; }
.confirm h3 {
  margin: 10px 0 10px;
  font-size: clamp(2rem, 7.6vw, 2.7rem);
}
.confirm h3:focus { outline: none; }

.confirm-lede {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.confirm-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px 18px;
  margin: 20px 0;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  font-size: 0.92rem;
}
.confirm-list dt {
  padding-top: 2px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.confirm-list dd {
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#c-ref {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--sage-deep);
}

.confirm-actions {
  display: grid;
  gap: 8px;
}

/* ---------- visit ---------- */

.visit-copy h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 8.2vw, 3.9rem);
}

.addr {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 1.06rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-2);
}

.visit-actions {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.hours-title {
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.hours {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.hours th,
.hours td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 300;
}
.hours th {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hours td {
  text-align: right;
  font-family: var(--serif);
  color: var(--ink);
  white-space: nowrap;
}
.hours tr.closed th,
.hours tr.closed td { color: rgba(38, 35, 31, 0.42); }

.map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #f6f0e4;
}
.map svg { width: 100%; height: auto; }
.map-cap {
  padding: 9px 13px;
  border-top: 1px solid var(--line);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- footer ---------- */

.site-foot {
  padding: 24px 0 calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--ivory);
}
.site-foot p {
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--ink-3);
}

/* ---------- breakpoints ---------- */

@media (min-width: 480px) {
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .visit-actions { display: flex; flex-wrap: wrap; align-items: center; }
  .fields { grid-template-columns: 1fr 1fr; }
  .confirm-actions { display: flex; flex-wrap: wrap; }
}

@media (min-width: 640px) {
  :root { --pad: 32px; }
  .header-in { gap: 20px; min-height: 76px; }
  .brand-name { font-size: 1.32rem; }
  .header-call { display: block; }
  .booking-card { padding: 26px; }
  .choice span { min-height: 62px; padding: 11px 13px; }
  .days { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
  .times { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
  .site-foot p { font-size: 0.82rem; }
}

@media (min-width: 820px) {
  .sec { padding: 86px 0 92px; }
  section[id] { scroll-margin-top: 96px; }
  .hero { padding: 44px 0 58px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
  .svc { padding: 21px 0 19px; }
  .svc-top h3 { font-size: 1.55rem; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .trust { padding: 34px 0 30px; }
  .booking-grid { grid-template-columns: 0.86fr 1.14fr; gap: 52px; align-items: start; }
  .booking-intro { position: sticky; top: 112px; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
  .map { margin-top: 6px; }
  .sec-head--split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: end;
  }
  .sec-head--split .sec-lede { margin-top: 0; }

  .gal {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px 16px;
  }
  .gal-item--wide { grid-column: span 6; }
  .gal-item--wide .plate { aspect-ratio: 21 / 9; border-radius: 280px 280px 2px 2px; }
  .gal-item--tall { grid-column: span 3; }
  .gal-item--tall .plate { aspect-ratio: 4 / 5; }
  .gal-item { grid-column: span 2; }
  .gal-item .plate { aspect-ratio: 1 / 1; }
  .gal-item figcaption { font-size: 0.66rem; }
}

@media (min-width: 940px) {
  .hnav {
    display: flex;
    gap: 26px;
    margin-right: 28px;
  }
  .hnav a {
    padding: 6px 0;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-3);
    transition: color 0.16s ease;
  }
  .hnav a:hover { color: var(--ink); }

  .hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    gap: 56px;
  }
  .hero-plate { margin: 0; }
  .hero-plate-frame { aspect-ratio: 5 / 6; }
  .hero-copy h1 { font-size: clamp(4.4rem, 7.2vw, 6.6rem); }
}

@media (min-width: 1100px) {
  :root { --pad: 40px; }
  .hero-grid { gap: 76px; }
  .booking-grid { gap: 64px; }
  .hero { padding: 52px 0 68px; }
}

@media (hover: hover) {
  .svc:hover .svc-price { color: var(--clay); }
  .plate > svg { transition: transform 0.6s ease; }
  .gal-item:hover .plate > svg { transform: scale(1.025); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .gal-item:hover .plate > svg { transform: none; }
}

/* =========================================================
   Motion + CSS-3D pass
   ========================================================= */

@keyframes salonFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes salonBlurIn {
  from { opacity: 0; filter: blur(8px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes chipTurn {
  from { transform: rotateX(-10deg) rotateY(-20deg); }
  to { transform: rotateX(-10deg) rotateY(340deg); }
}

/* hero entrance — one orchestrated moment, headline focus-pull */
.js .hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
  animation: salonFadeUp 0.55s cubic-bezier(0.22, 0.8, 0.32, 1) forwards;
}
.js .hero-copy > :nth-child(1) { animation-delay: 0.04s; }
.js .hero-copy > :nth-child(2) { animation-delay: 0.1s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.2s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.28s; }
.js .hero-copy > :nth-child(5) { animation-delay: 0.36s; }
.js .hero-copy > h1 {
  transform: none;
  animation: salonBlurIn 0.7s ease-out forwards;
  animation-delay: 0.08s;
}

/* color-swatch turntable — the page's one 3D scene */
.swatch-set {
  position: absolute;
  left: 50%;
  bottom: 6%;
  z-index: 3;
  width: 210px;
  height: 172px;
  margin-left: -105px;
  perspective: 900px;
  pointer-events: none;
}

.swatch-set::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 26%;
  width: 1px;
  height: 50%;
  background: linear-gradient(transparent, rgba(176, 138, 94, 0.45), transparent);
}

.swatch-shadow {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 148px;
  height: 24px;
  margin-left: -74px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(38, 35, 31, 0.3), transparent 76%);
  filter: blur(7px);
}

.swatch-ring {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: rotateX(-10deg) rotateY(-20deg);
  animation: chipTurn 30s linear infinite;
}

.chip {
  position: absolute;
  left: -23px;
  top: -35px;
  width: 46px;
  height: 70px;
  border-radius: 3px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 44%),
    var(--chip);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset -2px 0 0 rgba(38, 35, 31, 0.12),
    0 10px 18px rgba(38, 35, 31, 0.14);
}

.swatch-ring .chip:nth-child(1) { --chip: #c9a06a; transform: rotateY(0deg) translateZ(62px); }
.swatch-ring .chip:nth-child(2) { --chip: #b06a4a; transform: rotateY(72deg) translateZ(62px); }
.swatch-ring .chip:nth-child(3) { --chip: #7a4e39; transform: rotateY(144deg) translateZ(62px); }
.swatch-ring .chip:nth-child(4) { --chip: #3d2d26; transform: rotateY(216deg) translateZ(62px); }
.swatch-ring .chip:nth-child(5) { --chip: #e4d8c7; transform: rotateY(288deg) translateZ(62px); }

.hero-plate:hover .swatch-ring { animation-play-state: paused; }

/* plate tilt + soft glare */
.hero-plate-frame {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 30%;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.35s ease-out;
}

.hero-plate-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: radial-gradient(300px circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.34), transparent 66%);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .hero-plate-frame:hover::before { opacity: 1; }
}

/* section entrances */
.js .rv {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 0.8, 0.32, 1),
    transform 0.65s cubic-bezier(0.22, 0.8, 0.32, 1);
}
.js .rv.seen {
  opacity: 1;
  transform: none;
}

.js .slot.seen:nth-child(2) { transition-delay: 0.08s; }
.js .slot.seen:nth-child(3) { transition-delay: 0.16s; }

/* gallery lift */
.gal-item .plate { transition: box-shadow 0.3s ease; }
@media (hover: hover) {
  .gal-item { transition: transform 0.3s ease; }
  .gal-item:hover { transform: translateY(-4px); }
  .gal-item:hover .plate { box-shadow: 0 20px 36px rgba(38, 35, 31, 0.12); }
}

.confirm.is-in { animation: salonFadeUp 0.5s cubic-bezier(0.22, 0.8, 0.32, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .swatch-ring {
    animation: none;
    transform: rotateX(-10deg) rotateY(-20deg);
  }
  .js .hero-copy > * {
    opacity: 1;
    transform: none;
    animation: none;
    filter: none;
  }
  .js .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-plate-frame { transform: none; }
  .hero-plate-frame::before { display: none; }
  .confirm.is-in { animation: none; }
  .gal-item:hover { transform: none; }
}
