/* OSS site v4: everything outside the hero, on the OSS Brand Kit (design/BRAND-RULES.md wins).
   Warm black page, charcoal-brown Falcon cards with copper hairlines, cream headings, muted descriptions,
   copper pill CTAs with dark text. One light card on the page: OSS Social on --stone.
   Uses only the v4 tokens from theme.css (plus tints mixed from them). Never styles .hero or anything inside it.
   Class names are namespaced (tile-*, sec-*, topnav-*) so they cannot collide with the hero's Falcon classes. */

:root {
  --nav-top: 12px;
  --nav-h: 56px;
  --nav-clear: calc(var(--nav-top) + var(--nav-h) + 20px); /* the hero pads its top by this much */
  --sec-pad: clamp(4.5rem, 2.6rem + 5.6vw, 8.5rem);
  --sec-title: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
  --bezel: 0.5rem;
  --r-inner: calc(var(--r-card, 22px) - var(--bezel));
  --tile-gap: clamp(1rem, 0.6rem + 1.2vw, 1.5rem);
  --copy-pad: clamp(1.15rem, 0.8rem + 1.1vw, 1.75rem);
  --dur: 220ms;
  --hi: inset 0 1px 0 color-mix(in srgb, var(--text) 5%, transparent);          /* faint top highlight on dark */
  --drop: 0 10px 22px -14px color-mix(in srgb, var(--page) 90%, transparent);    /* small soft drop for inner chips */
  /* phone handset, used as a CSS mask so it takes currentColor (CSP allows data: images) */
  --icon-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.32.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

html { scroll-padding-top: var(--nav-clear); scrollbar-color: var(--line-strong) var(--page); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
a { color: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { z-index: 50; background: var(--copper-pill); color: var(--on-copper); border-radius: var(--r-pill); font-weight: 600; }

/* ---------- buttons: the copper pill with dark text (reference 01 and 03), one glow ---------- */
.btn {
  min-height: 48px; padding: 0 1.4rem; border: 0;
  background: var(--copper-pill); color: var(--on-copper);
  font: var(--weight-semibold) 1rem/1.25 var(--font-ui); letter-spacing: -0.01em;
  white-space: normal; text-align: center;
  box-shadow: var(--copper-glow);
  transition: transform var(--dur) var(--ease-place), box-shadow var(--dur) var(--ease-place), filter var(--dur) var(--ease-place), background-color var(--dur) var(--ease-place);
}
.btn:hover { background: var(--copper-pill); filter: brightness(1.06) saturate(1.04); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.985); filter: brightness(0.95); }
.btn:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 3px; }
/* the quiet button: a copper-outlined pill with cream text (reference 02's phone pill) */
.btn--quiet {
  background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text);
  border: 1px solid var(--copper); box-shadow: var(--hi);
}
.btn--quiet:hover { background: var(--copper-wash); filter: none; border-color: var(--copper-light); }
.btn--small { min-height: 44px; padding: 0 1.1rem; font-size: 0.9375rem; }
.btn--wide { width: 100%; }

/* phone buttons and links carry the handset glyph */
.btn--tel::before, .tel-link::before, .foot a[href^="tel:"]::before {
  content: ""; flex: none; width: 1.05em; height: 1.05em; background: currentColor;
  -webkit-mask: var(--icon-tel) center / contain no-repeat; mask: var(--icon-tel) center / contain no-repeat;
}
.btn--tel::before { color: var(--copper-light); background: var(--copper-light); }
.tel-num { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.btn--icon { gap: 0.45rem; padding: 0 1.05rem; }

/* ---------- brand: the typeset wordmark (placeholder until the master logo arrives) ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--text); text-decoration: none; min-height: 44px; }
.wordmark {
  font-family: var(--font-title); font-size: 1.25rem; font-weight: var(--weight-semibold); line-height: 1;
  letter-spacing: 0.08em; color: var(--copper-light); white-space: nowrap; font-synthesis: none;
}

/* ---------- floating pill nav (header.bar keeps /privacy, which shares this file, on the same pill) ---------- */
.topnav, header.bar {
  position: fixed; top: var(--nav-top); left: 0; right: 0; z-index: 40;
  display: flex; justify-content: center; padding-inline: 12px; pointer-events: none;
}
.topnav-pill, header.bar .bar-inner {
  pointer-events: auto; display: flex; align-items: center; gap: clamp(0.5rem, 1.4vw, 1.5rem);
  width: max-content; max-width: 100%; min-height: var(--nav-h); margin: 0; padding: 6px 6px 6px 18px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: var(--shadow-card);
}
.topnav-links { display: flex; align-items: center; gap: 2px; }
.topnav-links a {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0 0.8rem; border-radius: var(--r-pill);
  color: var(--text-2); font-size: 0.9375rem; text-decoration: none;
  transition: background-color var(--dur) var(--ease-place), color var(--dur) var(--ease-place);
}
.topnav-links a:hover { background: var(--copper-wash); color: var(--text); }
.soon { padding: 1px 7px; border-radius: var(--r-pill); background: var(--copper-soft); color: var(--copper-light); font-size: 0.75rem; font-weight: 500; line-height: 1.5; }
.topnav-tools, header.bar .bar-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.lang {
  min-height: 44px; min-width: 44px; padding: 0 0.7rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: transparent; color: var(--text); font: 600 0.875rem/1 var(--font-ui); cursor: pointer;
  transition: background-color var(--dur) var(--ease-place), border-color var(--dur) var(--ease-place);
}
.lang:hover { background: var(--copper-wash); border-color: var(--copper); }
.lang:active { transform: translateY(1px); }

/* ---------- section scaffolding ---------- */
.sec { padding-block: calc(var(--sec-pad) * 0.55) calc(var(--sec-pad) * 0.6); }
.sec--demo { padding-top: clamp(2rem, 1rem + 3vw, 4rem); }
.sec--tight { padding-block: calc(var(--sec-pad) * 0.3); }
.sec--book { padding-bottom: var(--sec-pad); }
.sec-wrap { width: min(100% - 32px, 81.75rem); margin-inline: auto; }
.sec-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.5rem); }
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: clamp(2rem, 4vw, 5rem); }
.sec-head--side { margin-bottom: 0; align-content: start; }
.sec-title {
  margin: 0; color: var(--text); font-family: var(--font-title); font-size: var(--sec-title); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance;
}
.sec-lead { color: var(--muted); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.65; max-width: 36em; }
.note { margin-top: 0.5rem; padding-left: 1rem; border-left: 2px solid var(--copper); color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }

/* ---------- the Falcon tile on dark: charcoal shell, copper hairline, deep soft shadow, inset panel with a copper glow ---------- */
.tile {
  position: relative; padding: var(--bezel); border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); box-shadow: var(--shadow-card);
}
.tile-panel { position: relative; border-radius: var(--r-inner); background: var(--panel-bg); box-shadow: var(--hi); }
.tile-copy { position: relative; padding: var(--copy-pad) calc(var(--copy-pad) + 3.5rem) var(--copy-pad) var(--copy-pad); display: grid; gap: 0.45rem; align-content: start; }
.tile-title { margin: 0; color: var(--text); font-family: var(--font-title); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.tile-title--lg { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.15; }
.tile-text { color: var(--muted); font-weight: 500; font-size: 1rem; line-height: 1.6; }
.tile-icon {
  position: absolute; right: var(--copy-pad); bottom: var(--copy-pad); display: grid; place-items: center;
  width: 44px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; background: var(--copper-soft); color: var(--copper-light);
}
.tile-icon--top { top: -22px; bottom: auto; right: clamp(1.5rem, 4vw, 3rem); background: var(--panel); box-shadow: var(--shadow-card); }

/* CSS glyphs for the corner icons, drawn in currentColor */
.glyph { position: relative; display: block; }
.glyph--chat { width: 50%; height: 38%; border-radius: 6px; background: currentColor; margin-top: -10%; }
.glyph--chat::after { content: ""; position: absolute; left: 18%; bottom: -34%; width: 30%; height: 40%; background: currentColor; clip-path: polygon(0 0, 100% 0, 0 100%); }
.glyph--moon { width: 46%; aspect-ratio: 1; border-radius: 50%; box-shadow: 5px 3px 0 0 currentColor; transform: translate(-3px, -2px); }
.glyph--lock { width: 42%; height: 32%; margin-top: 22%; border-radius: 3px; background: currentColor; }
.glyph--lock::before { content: ""; position: absolute; left: 18%; right: 18%; bottom: 100%; height: 75%; border: 2.5px solid currentColor; border-bottom: 0; border-radius: 999px 999px 0 0; }

/* ---------- 1. demo: one large card, phone and log side by side in the panel ---------- */
.tile--demo { display: grid; }
.demo-panel {
  display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  padding: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  background: radial-gradient(circle at 22% 72%, color-mix(in srgb, var(--copper) 16%, transparent), transparent 46%), var(--panel-bg);
}
.phone {
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; grid-template-columns: minmax(0, 1fr); height: 620px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 28px; background: var(--page);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--surface) 85%, transparent), var(--shadow-lift);
}
.phone > * { min-width: 0; }
.phone-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.phone-avatar {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--copper-soft); color: var(--copper-light); font: 600 1rem/1 var(--font-title);
}
.phone-id { min-width: 0; }
.phone-name { color: var(--text); font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.phone-sub { color: var(--muted); font-size: 0.75rem; line-height: 1.4; }
.phone-live { flex: none; width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); }
@media (prefers-reduced-motion: no-preference) { .phone-live { animation: breathe 2.8s var(--ease-place) infinite; } }
@keyframes breathe { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--green) 6%, transparent); } }

.chat { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 1rem 0.85rem; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; scrollbar-width: thin; }
.msg { max-width: 86%; padding: 0.55rem 0.8rem; border-radius: 16px; font-size: 0.875rem; line-height: 1.55; overflow-wrap: anywhere; }
.msg--in { align-self: flex-end; border: 1px solid color-mix(in srgb, var(--copper) 40%, transparent); border-bottom-right-radius: 5px; background: var(--copper-soft); color: var(--text); }
.msg--bot { align-self: flex-start; border: 1px solid var(--line); border-bottom-left-radius: 5px; background: var(--panel); color: var(--text); }
.msg--card { border-top: 2px solid var(--copper); background: var(--surface); box-shadow: var(--drop); }
.msg--typing { color: var(--muted); }
.msg--typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: currentColor; animation: blink 1s infinite; }
.msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 0.25; } }
.msg.is-new { animation: arrive var(--dur) var(--ease-place); }

.slots { display: grid; gap: 6px; margin-top: 0.55rem; }
.slot {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.55rem; align-items: baseline; width: 100%; min-height: 44px;
  padding: 0.5rem 0.75rem; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--panel); color: var(--text);
  font: inherit; font-size: 0.8125rem; text-align: left; cursor: pointer;
  transition: border-color var(--dur) var(--ease-place), background-color var(--dur) var(--ease-place), transform var(--dur) var(--ease-place);
}
.slot b { font: 600 1rem/1.2 var(--font-title); font-variant-numeric: tabular-nums; }
.slot span { color: var(--text-2); }
.slot:hover:not(:disabled) { border-color: var(--copper-light); background: var(--raised); }
.slot:active:not(:disabled) { transform: scale(0.985); }
.slot:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 2px; }
.slot--pick { border-color: var(--copper); box-shadow: inset 3px 0 0 var(--copper); }
.slot[aria-pressed="true"] { border-color: var(--copper-light); background: var(--copper-pill); color: var(--on-copper); box-shadow: none; }
.slot[aria-pressed="true"] span { color: var(--on-copper); }
.slot:disabled { cursor: default; }
.slot:disabled:not([aria-pressed="true"]) { opacity: 0.6; }

.chips {
  display: flex; gap: 6px; padding: 0.65rem 0.75rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  border-top: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, black 82%, transparent); mask-image: linear-gradient(90deg, black 82%, transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; max-width: 11.5rem; min-height: 40px; padding: 0.35rem 0.85rem; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--copper-wash);
  color: var(--text-2); font: 500 0.8125rem/1.35 var(--font-ui); text-align: left; cursor: pointer;
  transition: background-color var(--dur) var(--ease-place), color var(--dur) var(--ease-place), border-color var(--dur) var(--ease-place), transform var(--dur) var(--ease-place);
}
.chip:hover:not(:disabled) { background: var(--copper-soft); border-color: var(--copper); color: var(--text); }
.chip:active:not(:disabled) { transform: scale(0.97); }
.chip:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 2px; }
.chip:disabled { opacity: 0.55; cursor: default; }
.chip[aria-disabled="true"] { opacity: 0.55; cursor: progress; }
.composer { display: flex; gap: 6px; padding: 0.55rem 0.75rem 0.8rem; }
.composer input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--surface); color: var(--text); font: inherit; font-size: 16px;
}
.composer input::placeholder { color: var(--muted); opacity: 1; }
.composer input:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 1px; background: var(--panel); }
.composer-send {
  min-height: 44px; padding: 0 1.1rem; border: 0; border-radius: var(--r-pill); background: var(--copper-pill); color: var(--on-copper);
  font: 600 0.875rem/1 var(--font-ui); cursor: pointer; transition: transform var(--dur) var(--ease-place), filter var(--dur) var(--ease-place);
}
.composer-send:hover { filter: brightness(1.06); }
.composer-send:active { transform: scale(0.96); }
.composer-send:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 2px; }

.ledger-card {
  display: flex; flex-direction: column; min-width: 0; padding: 1rem 1.1rem 0.9rem;
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-card);
}
.ledger-card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
.ledger-title { color: var(--text); font: 600 1.0625rem/1.3 var(--font-title); letter-spacing: -0.015em; }
.reset {
  min-height: 36px; padding: 0 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: transparent;
  color: var(--text-2); font: 500 0.8125rem/1 var(--font-ui); cursor: pointer; transition: background-color var(--dur) var(--ease-place), border-color var(--dur) var(--ease-place);
}
.reset:hover { background: var(--copper-wash); border-color: var(--copper); color: var(--text); }
.ledger { flex: 1 1 0; min-height: 0; align-content: start; overflow-y: auto; scrollbar-width: thin; }
.ledger-note { margin-top: 0.6rem; padding-top: 0.7rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; line-height: 1.55; }
/* log rows and their tags (tokens.css draws the base .entry and .tag; these tune them for the dark card) */
.ledger .entry { border-top-color: var(--line); }
.ledger .entry-text { color: var(--text); }
.ledger .entry-why b { color: var(--text-2); }
.ledger .tag { border-color: var(--line); background: var(--page); color: var(--text-2); }
.ledger .tag--bot { border-color: color-mix(in srgb, var(--copper) 45%, transparent); background: var(--copper-soft); color: var(--copper-light); }
.ledger .tag--booking { border-color: color-mix(in srgb, var(--green) 35%, transparent); background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.ledger .tag--handoff { border-color: color-mix(in srgb, var(--warn) 35%, transparent); background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.ledger .tag--system { border: 1px dashed var(--line-strong); background: transparent; color: var(--muted); }

/* ---------- 2. pain: asymmetric bento, one tall card and two stacked ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: var(--tile-gap); margin: 0; padding: 0; list-style: none; }
.bento-tall { grid-row: span 2; display: grid; grid-template-rows: minmax(17rem, 1fr) auto; }
.bento-side { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.bento-side .tile-copy { padding-right: var(--copy-pad); }

.hours-panel {
  --cols: 16; --col-gap: clamp(4px, 0.7vw, 10px);
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto;
  padding: 1.25rem 1.5rem 1rem; overflow: hidden;
}
.hours-bars, .hours-times { grid-column: 1; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--col-gap); }
.hours-night {
  grid-column: 1; grid-row: 1 / -1; justify-self: end; width: calc(37.5% + var(--col-gap) * 0.5);
  margin: -0.5rem -0.6rem -0.35rem 0; border-radius: 12px; background: var(--copper-wash);
  border: 1px dashed color-mix(in srgb, var(--copper) 55%, transparent);
}
.hours-night-label { grid-column: 1; grid-row: 1; justify-self: end; width: 37.5%; padding-left: 0.75rem; color: var(--copper-light); font-size: 0.8125rem; font-weight: 600; }
.hours-chip {
  grid-column: 1; grid-row: 2; justify-self: end; margin: 0.6rem calc(21.875% - 2.3rem) 0.55rem 0; padding: 3px 11px;
  border: 2px solid var(--panel); border-radius: var(--r-pill); background: var(--copper-pill); color: var(--on-copper);
  font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 1px var(--copper), var(--drop);
}
.hours-bars { grid-row: 3; align-items: end; min-height: 9rem; }
.hours-bars i { justify-self: center; width: clamp(6px, 0.75vw, 11px); height: var(--h); border-radius: var(--r-pill); background: color-mix(in srgb, var(--copper) 45%, var(--panel)); }
.hours-bars i:nth-child(n + 11) { background: var(--copper); }
.hours-bars i:nth-child(13) { width: clamp(7px, 0.85vw, 12px); background: var(--copper-light); box-shadow: 0 0 12px color-mix(in srgb, var(--copper) 55%, transparent); }
.hours-bars i:nth-child(1) { --h: 22%; } .hours-bars i:nth-child(2) { --h: 30%; } .hours-bars i:nth-child(3) { --h: 44%; } .hours-bars i:nth-child(4) { --h: 38%; }
.hours-bars i:nth-child(5) { --h: 52%; } .hours-bars i:nth-child(6) { --h: 46%; } .hours-bars i:nth-child(7) { --h: 40%; } .hours-bars i:nth-child(8) { --h: 58%; }
.hours-bars i:nth-child(9) { --h: 50%; } .hours-bars i:nth-child(10) { --h: 62%; } .hours-bars i:nth-child(11) { --h: 74%; } .hours-bars i:nth-child(12) { --h: 88%; }
.hours-bars i:nth-child(13) { --h: 100%; } .hours-bars i:nth-child(14) { --h: 82%; } .hours-bars i:nth-child(15) { --h: 60%; } .hours-bars i:nth-child(16) { --h: 36%; }
.hours-times { grid-row: 4; padding-top: 0.7rem; color: var(--muted); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.hours-times span { justify-self: center; white-space: nowrap; }
.hours-times span:nth-child(1) { grid-column: 1; }
.hours-times span:nth-child(2) { grid-column: 6; }
.hours-times span:nth-child(3) { grid-column: 11; }
.hours-times span:nth-child(4) { grid-column: 16; }

.echo, .inbox { display: grid; align-content: center; gap: 8px; padding: 1.1rem; overflow: hidden; }
.echo-bubble {
  display: grid; gap: 6px; width: 84%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px;
  background: var(--raised); box-shadow: var(--drop);
}
.echo-bubble i { display: block; height: 6px; width: 82%; border-radius: var(--r-pill); background: color-mix(in srgb, var(--muted) 30%, transparent); }
.echo-bubble i:first-child { background: color-mix(in srgb, var(--copper) 75%, transparent); }
.echo-bubble i:last-child { width: 50%; }
.echo-bubble:nth-child(2) { margin-left: 8%; opacity: 0.78; }
.echo-bubble:nth-child(3) { margin-left: 16%; opacity: 0.5; }
.inbox { position: relative; padding-top: 2.75rem; }
.inbox-count {
  position: absolute; top: 0.8rem; right: 0.9rem; display: grid; place-items: center; min-width: 30px; height: 26px; padding: 0 8px;
  border-radius: var(--r-pill); background: var(--copper); color: var(--on-copper); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.inbox-row {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) 8px; align-items: center; gap: 10px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--raised);
}
.inbox-row i { width: 24px; height: 24px; border-radius: 50%; background: var(--copper-soft); }
.inbox-row b { height: 6px; width: 78%; border-radius: var(--r-pill); background: color-mix(in srgb, var(--muted) 30%, transparent); }
.inbox-row::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--copper-light); }
.inbox-row:nth-child(3) b { width: 62%; }
.inbox-row:nth-child(4) { opacity: 0.6; }

/* ---------- 3. how it works: four steps in one wide card, joined by a copper hairline ---------- */
.steps {
  --step-gap: clamp(1.25rem, 0.5rem + 2vw, 2.5rem); --dot: 44px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--step-gap);
  margin: 0; padding: clamp(1.5rem, 1rem + 1.6vw, 2.75rem); list-style: none; counter-reset: step;
}
.steps li { position: relative; display: grid; gap: 0.6rem; align-content: start; counter-increment: step; }
.steps li::before {
  content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: var(--dot); height: var(--dot); margin-bottom: 0.5rem;
  border: 1px solid var(--copper); border-radius: 50%; background: var(--surface); color: var(--copper-light); font: 600 1.0625rem/1 var(--font-title);
}
.steps li:first-child::before { border-color: var(--copper-light); background: var(--copper-pill); color: var(--on-copper); }
.steps li::after {
  content: ""; position: absolute; top: calc(var(--dot) / 2); left: calc(var(--dot) + 10px); right: calc(var(--step-gap) * -1 + 10px); height: 1px;
  background: linear-gradient(90deg, var(--copper), var(--line));
}
.steps li:last-child::after { display: none; }
.step-title { margin: 0; color: var(--text); font: 600 1.125rem/1.35 var(--font-title); letter-spacing: -0.015em; }
.steps .tile-text { font-size: 0.9375rem; }

/* ---------- 4. rules: heading column beside one card, copper for the bot, warn for staff ---------- */
.rules-grid, .faq-grid, .book-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: start; }
.rules-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.tile--rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bezel); }
.rule-col { display: grid; gap: 1.1rem; align-content: start; padding: 1.6rem 1.5rem 1.8rem; border-radius: var(--r-inner); color: var(--text-2); }
.rule-col--bot { background: var(--panel-bg); box-shadow: inset 0 2px 0 var(--copper); }
.rule-col--staff { background: linear-gradient(180deg, color-mix(in srgb, var(--warn) 12%, var(--panel)), var(--panel) 72%); box-shadow: inset 0 2px 0 var(--warn); }
.rule-col .tile-title::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 0.6rem; border-radius: 50%; background: var(--copper); vertical-align: 0.12em; }
.rule-col--staff .tile-title::before { background: var(--warn); }

.plain { margin: 0; padding: 0; list-style: none; }
.plain li { position: relative; padding-left: 1.6rem; line-height: 1.6; }
.plain li + li { margin-top: 0.65rem; }
.plain li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 2px; border-radius: 2px; background: var(--copper); }
.rule-col--bot .plain li::before, .assure li::before {
  top: 0.48em; width: 11px; height: 6px; border-left: 2px solid var(--copper-light); border-bottom: 2px solid var(--copper-light);
  border-radius: 0; background: none; transform: rotate(-45deg);
}
.rule-col--staff .plain li::before {
  top: 0.5em; width: 7px; height: 7px; border-top: 2px solid var(--warn); border-right: 2px solid var(--warn);
  border-radius: 0; background: none; transform: rotate(45deg);
}

/* ---------- 5. control: the off switch, copper, inside a card ---------- */
.tile--control { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--bezel); }
.control-copy { gap: 1rem; align-content: center; padding: clamp(1.5rem, 1rem + 2.2vw, 3.25rem); }
.control-copy .sec-title { font-size: clamp(1.75rem, 1.1rem + 1.9vw, 2.75rem); }
.control-panel { display: grid; gap: 1rem; align-content: center; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); transition: background var(--dur) var(--ease-place); }
.tile--control:has(#demo-switch:not(:checked)) .control-panel { background: linear-gradient(180deg, var(--panel), var(--page)); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 1rem; justify-self: start; cursor: pointer; }
.switch input { position: absolute; left: 0; top: 50%; width: 76px; height: 44px; margin: 0; opacity: 0; transform: translateY(-50%); cursor: pointer; }
.switch-track {
  position: relative; flex: none; width: 76px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--page);
  box-shadow: inset 0 1px 3px color-mix(in srgb, var(--page) 80%, transparent); transition: background-color var(--dur) var(--ease-place), border-color var(--dur) var(--ease-place);
}
.switch-track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 36px; height: 36px; border-radius: 50%; background: var(--text-2);
  box-shadow: var(--drop); transition: transform var(--dur) var(--ease-place), background-color var(--dur) var(--ease-place);
}
.switch input:checked + .switch-track { border-color: var(--copper-light); background: var(--copper); }
.switch input:checked + .switch-track::after { transform: translateX(32px); background: var(--text); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--copper-light); outline-offset: 3px; }
.switch-label { color: var(--text); font: 600 1.5rem/1.2 var(--font-title); letter-spacing: -0.02em; }
.control-state { min-height: 3.3em; color: var(--muted); line-height: 1.65; }

/* ---------- 6. privacy: four facts in one card, divided by hairlines ---------- */
.tile--facts { margin-top: 1.4rem; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-radius: var(--r-inner); background: var(--panel-bg); }
.facts > div { display: grid; gap: 0.55rem; align-content: start; padding: clamp(1.5rem, 1rem + 1.2vw, 2.25rem) clamp(1.1rem, 0.8rem + 1vw, 1.75rem); border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts dt { color: var(--text); font: 600 1.0625rem/1.35 var(--font-title); letter-spacing: -0.015em; }
.facts dt::before { content: ""; display: block; width: 24px; height: 2px; margin-bottom: 0.9rem; border-radius: 2px; background: var(--copper); }
.facts dd { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }

/* ---------- 7. pricing: Marble and Gold Leaf, Gold Leaf featured with a copper ring ---------- */
.packages { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--tile-gap); align-items: stretch; }
.pkg { display: grid; grid-template-rows: auto 1fr; }
.pkg-panel { display: grid; gap: 0.9rem; align-content: start; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); overflow: hidden; }
.pkg-panel > * { position: relative; }
/* the marble photo, inverted into a dark stone with faint light veins (reference 03's counter) */
.pkg--marble .pkg-panel::before {
  content: ""; position: absolute; inset: 0; background: url("/img/marble.jpg") center / cover;
  filter: invert(1) sepia(0.4) contrast(1.15); mix-blend-mode: screen; opacity: 0.16;
  -webkit-mask-image: linear-gradient(180deg, black, transparent 92%); mask-image: linear-gradient(180deg, black, transparent 92%);
}
.pkg--gold { border-color: var(--copper); box-shadow: 0 0 0 1px var(--copper), var(--shadow-lift); }
.pkg--gold .pkg-panel { background: radial-gradient(circle at 86% 8%, color-mix(in srgb, var(--copper) 28%, transparent), transparent 52%), var(--panel-bg); }
.pkg-name { margin: 0; color: var(--text); font: 600 1.5rem/1.2 var(--font-title); letter-spacing: -0.02em; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.6rem; }
.price .num { color: var(--copper-light); font: 600 clamp(2.5rem, 1.8rem + 2vw, 3.5rem)/1 var(--font-title); letter-spacing: -0.035em; }
.price small { color: var(--muted); font-size: 0.9375rem; }
.founding { justify-self: start; padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--page) 70%, transparent); color: var(--text-2); font-size: 0.875rem; line-height: 1.5; }
.pkg-body { display: grid; grid-template-rows: 1fr auto; gap: 1.75rem; padding: clamp(1.4rem, 1rem + 1.2vw, 2rem) clamp(1.5rem, 1rem + 1.5vw, 2.25rem) clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.pkg-body .plain li { color: var(--text-2); }
.pkg .btn { justify-self: start; }

/* ---------- 8. OSS Social: the one light card, warm stone (class kept from v3 for the markup) ---------- */
.tile--ink {
  --stone-line: color-mix(in srgb, var(--on-stone) 55%, var(--stone));   /* control borders on stone and cream, 3:1 or more */
  --stone-err: color-mix(in srgb, var(--error) 40%, var(--on-stone));    /* error text on stone, 4.5:1 or more */
  --stone-form: color-mix(in srgb, var(--stone) 45%, var(--text));       /* the lighter inset the form sits on */
  overflow: hidden; border-color: var(--copper-light); background: var(--stone);
  color: var(--on-stone); box-shadow: var(--shadow-lift);
}
.tile--ink::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 88% -4%, color-mix(in srgb, var(--text) 55%, transparent), transparent 46%),
              radial-gradient(circle at 0% 110%, color-mix(in srgb, var(--copper) 18%, transparent), transparent 42%);
}
.tile--ink :focus-visible { outline-color: var(--copper-on-stone); }
.social { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: center; padding: clamp(1.75rem, 1rem + 3vw, 4rem); }
.social > * { position: relative; }
.social .sec-title { margin: 1rem 0 0.6rem; color: var(--on-stone); }
.tag--soon {
  min-height: 30px; padding: 0 0.8rem; border: 1px solid var(--copper-on-stone); border-radius: var(--r-pill);
  background: transparent; color: var(--copper-on-stone); font-size: 0.8125rem; font-weight: 600;
}
.social-sub { max-width: 30em; margin-bottom: 1.6rem; color: var(--on-stone); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; }
.social .plain li { color: var(--on-stone); }
.social .plain li::before { background: var(--copper-on-stone); }
.form--dark {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border: 1px solid var(--stone-line); border-radius: calc(var(--r-card) - 4px);
  background: var(--stone-form); box-shadow: 0 14px 30px -20px color-mix(in srgb, var(--on-stone) 60%, transparent);
}
.form--dark .form-title, .form--dark .field label { color: var(--on-stone); }
.form--dark .field input:not([type="radio"]) { border-color: var(--stone-line); background: var(--text); color: var(--on-stone); }
.form--dark .field input::placeholder { color: color-mix(in srgb, var(--on-stone) 72%, var(--text)); opacity: 1; }
.form--dark .field input:not([type="radio"]):hover { border-color: var(--copper-on-stone); }
.form--dark .field input:focus-visible { outline: 2px solid var(--copper-on-stone); outline-offset: 1px; border-color: var(--copper-on-stone); }
.form--dark .field input[aria-invalid="true"] { border-color: var(--stone-err); box-shadow: 0 0 0 3px color-mix(in srgb, var(--stone-err) 16%, transparent); }
.form--dark .field-err, .form--dark .form-msg.is-err { color: var(--stone-err); font-weight: 500; }
.form--dark .form-msg.is-ok { color: var(--on-stone); font-weight: 600; }
.form--dark .btn { box-shadow: 0 0 0 1px var(--copper-deep), 0 10px 22px -12px color-mix(in srgb, var(--copper-deep) 80%, transparent); }
.form--dark .btn:focus-visible { outline-color: var(--copper-on-stone); }

/* ---------- forms on dark ---------- */
.form { display: grid; gap: 1.1rem; }
.form-title { margin: 0; color: var(--text); font: 600 1.25rem/1.3 var(--font-title); letter-spacing: -0.015em; }
.form--card { padding: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); background: var(--panel-bg); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; color: var(--text); font-size: 0.9375rem; font-weight: 500; }
.field input:not([type="radio"]) {
  min-height: 48px; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: var(--r-input); background: var(--page);
  color: var(--text); font: inherit; font-size: 16px; transition: border-color var(--dur) var(--ease-place), box-shadow var(--dur) var(--ease-place);
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:not([type="radio"]):hover { border-color: var(--copper); }
.field input:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 1px; border-color: var(--copper-light); }
.field input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 16%, transparent); }
.field-err { color: var(--error); font-size: 0.8125rem; }
.field-err:empty { display: none; }
.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--page); color: var(--text-2); font-weight: 500; transition: background-color var(--dur) var(--ease-place), border-color var(--dur) var(--ease-place);
}
.seg label:hover span { border-color: var(--copper); }
.seg input:checked + span { border-color: var(--copper-light); background: var(--copper-soft); color: var(--text); font-weight: 600; box-shadow: inset 0 0 0 1px var(--copper-light); }
.seg input:focus-visible + span { outline: 2px solid var(--copper-light); outline-offset: 2px; }
.form-msg { min-height: 1.5em; font-size: 0.9375rem; }
.form-msg.is-ok { color: var(--green); }
.form-msg.is-err { color: var(--error); }
.fine { color: var(--muted); font-size: 0.8125rem; line-height: 1.6; }
.fine a { color: var(--text-2); }
.fine a:hover { color: var(--copper-light); }

/* ---------- 9. FAQ and booking ---------- */
.faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.sec-head--sticky { position: sticky; top: var(--nav-clear); }
.faq { padding: var(--bezel) clamp(1.1rem, 0.6rem + 1.6vw, 2.25rem); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding: 1.1rem 0;
  color: var(--text); font: 600 1.0625rem/1.45 var(--font-title); letter-spacing: -0.01em; list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%;
  background: linear-gradient(var(--copper-light), var(--copper-light)) center / 11px 1.5px no-repeat,
              linear-gradient(var(--copper-light), var(--copper-light)) center / 1.5px 11px no-repeat, var(--copper-soft);
  transition: transform var(--dur) var(--ease-place), background-color var(--dur) var(--ease-place), border-color var(--dur) var(--ease-place);
}
.faq summary:hover::after { background-color: color-mix(in srgb, var(--copper) 34%, transparent); border-color: var(--copper); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 4px; border-radius: 8px; }
.faq details p { max-width: 42rem; padding: 0 3rem 1.3rem 0; color: var(--muted); line-height: 1.7; }

.book-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.assure { display: grid; gap: 0.8rem; margin: 0.75rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.assure li { position: relative; padding-left: 1.75rem; color: var(--text-2); line-height: 1.55; }
.assure li::before { content: ""; position: absolute; left: 0; }
/* the brand's standard contact line, set like reference 02's phone row */
.contact-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.6rem; margin-top: 0.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line); color: var(--text-2); line-height: 1.5;
}
.tel-link {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; color: var(--copper-light);
  font: 600 clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem)/1.2 var(--font-ui); font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
  text-decoration: none; border-radius: 8px;
}
.tel-link:hover { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* ---------- footer and the mobile booking bar ---------- */
.foot {
  padding-block: 3rem calc(3rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 55%, var(--page)), var(--page) 70%);
  color: var(--muted); font-size: 0.9375rem;
}
.foot-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; }
.foot .brand { margin-right: auto; }
.foot .wordmark { font-size: 1.5rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.foot a:not(.brand) { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; color: var(--text-2); text-underline-offset: 0.25em; }
.foot a:not(.brand):hover { color: var(--copper-light); }
.foot a[href^="tel:"] { color: var(--copper-light); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; }
.foot a[href^="tel:"] span { color: var(--text-2); font-weight: 400; }
.foot a[href^="tel:"]:hover { text-decoration: underline; }
.credit { flex-basis: 100%; font-size: 0.8125rem; }
.sticky-cta { display: none; }

/* ---------- reveal: one gentle rise per section; hidden only once reveal.js has tagged <html> ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 700ms var(--ease-place), transform 700ms var(--ease-place); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- privacy page (shares this file): header.bar, .doc, .foot on the dark page ---------- */
.room { padding-block: calc(var(--nav-clear) + 2rem) 6rem; }
.doc { display: grid; gap: 1rem; max-width: 46rem; }
.doc h1 { color: var(--text); font-size: var(--sec-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.doc h1::after { content: ""; display: block; width: min(100%, 14rem); height: 1px; margin-top: 1.25rem; background: linear-gradient(90deg, var(--copper-light), transparent); }
.doc h2 { margin-top: 1.5rem; color: var(--text); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; }
.doc p { color: var(--text-2); line-height: 1.75; }
.doc .fine { color: var(--muted); }
.room + .foot .container { max-width: 46rem; }

/* ---------- responsive ---------- */
@media (min-width: 64rem) {
  .sec-wrap { width: min(81.71%, 81.75rem); } /* aligns with the hero triptych's edges */
}
@media (max-width: 64rem) {
  .sec-wrap { width: min(100% - 2 * clamp(16px, 4vw, 40px), 81.75rem); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.25rem; }
  .steps li:nth-child(2)::after { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .rules-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-head--side { max-width: 46rem; }
  .demo-panel { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); }
}
@media (max-width: 56rem) {
  .sec-head--split { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-tall { grid-row: auto; }
  .tile--demo .tile-copy { order: -1; }
  .demo-panel { grid-template-columns: minmax(0, 1fr); }
  .phone { width: 100%; max-width: 26rem; justify-self: center; height: 600px; }
  .ledger { flex: none; max-height: 26rem; }
  .tile--control, .packages, .social, .faq-grid, .book-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-head--sticky { position: static; }
  .sticky-cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30;
    display: flex; align-items: center; gap: 6px; padding: 6px;
    border: 1px solid var(--line); border-radius: var(--r-pill); background: color-mix(in srgb, var(--surface) 84%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-lift);
    transition: transform 320ms var(--ease-place), opacity 320ms var(--ease-place), visibility 0s linear 0s;
  }
  .sticky-cta .btn--wide { flex: 1 1 auto; width: auto; min-width: 0; }
  .sticky-cta .btn--icon { flex: none; min-width: 48px; }
  .sticky-cta.is-hidden { transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden; transition: transform 320ms var(--ease-place), opacity 320ms var(--ease-place), visibility 0s linear 320ms; }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 48rem) {
  .topnav-links, header.bar .bar-tools .btn--quiet { display: none; }
  .topnav-pill, header.bar .bar-inner { padding-left: 14px; }
}
@media (max-width: 40rem) {
  :root { --bezel: 6px; }
  .bento-side { grid-template-columns: minmax(0, 1fr); }
  .bento-side .tile-panel { min-height: 9.5rem; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
  .steps li { padding-left: calc(var(--dot) + 1rem); }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after, .steps li:nth-child(2)::after { display: block; top: calc(var(--dot) + 8px); bottom: calc(-1.75rem + 8px); left: calc(var(--dot) / 2); right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--copper), var(--line)); }
  .steps li:last-child::after { display: none; }
  .steps .step-title { padding-top: 0.55rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div { border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
  .tile--rules { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .hours-panel { padding-inline: 1.1rem; }
  .faq details p { padding-right: 0; }
}
/* 44px touch targets on coarse pointers */
@media (pointer: coarse) {
  .chip, .reset, .topnav-links a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  .msg.is-new, .entry.is-new, .msg--typing span, .phone-live { animation: none; }
  .chat { scroll-behavior: auto; }
  .btn, .chip, .slot, .switch-track, .switch-track::after, .sticky-cta, .sticky-cta.is-hidden, .faq summary::after, .control-panel { transition: none; }
}
