/* Keyhold Property Management: OWNIT demo. Radius rule: buttons, chips and switches are full pills; cards and media 20 to 28px; inputs 12px. */
:root {
  --plum: #4a1d5c;
  --plum-500: #6a3582;
  --plum-700: #3b164a;
  --plum-800: #2e1039;
  --plum-900: #22102b;
  --plum-300: #a98bb9;
  --plum-200: #d6c6df;
  --plum-100: #ece2f1;
  --plum-50: #f7f2f9;
  --citrus: #ffb703;
  --citrus-600: #f2a900;
  --citrus-100: #ffefc2;
  --white: #ffffff;
  --ink: #22102b;
  --muted: #5d4a66;
  --line: #e6dbeb;
  --line-2: #d5c4dd;
  --danger: #a3261b;
  --danger-bg: #fdecea;
  --ok: #1d6b47;

  --fd: "Kumbh Sans", ui-sans-serif, system-ui, sans-serif;
  --fb: "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --gut: clamp(16px, 4vw, 48px);
  --hdr-h: 72px;
  --r-card: 22px;
  --r-in: 12px;
  --shadow-sm: 0 1px 2px rgba(34, 16, 43, .06), 0 4px 12px -6px rgba(34, 16, 43, .14);
  --shadow: 0 1px 2px rgba(34, 16, 43, .06), 0 22px 44px -22px rgba(34, 16, 43, .32);
  --ring: 0 0 0 3px #fff, 0 0 0 5px var(--plum);
  interpolate-size: allow-keywords;

  /* z scale */
  --z-hdr: 40;
  --z-menu: 45;
  --z-toast: 60;
}

/* audience tokens */
html[data-mode="owner"] {
  --hero-bg: var(--plum);
  --hero-ink: #ffffff;
  --hero-sub: #eadff0;
  --hero-accent: var(--citrus);
  --cta-bg: var(--citrus);
  --cta-bg-h: #ffc533;
  --cta-ink: var(--plum-900);
  --ghost-ink: #ffffff;
  --ghost-line: rgba(255, 255, 255, .42);
  --ghost-bg-h: rgba(255, 255, 255, .1);
  --switch-bg: rgba(255, 255, 255, .08);
  --switch-on: var(--plum-900);
}
html[data-mode="renter"] {
  --hero-bg: var(--citrus);
  --hero-ink: var(--plum);
  --hero-sub: #43183f;
  --hero-accent: var(--plum);
  --cta-bg: var(--plum);
  --cta-bg-h: var(--plum-500);
  --cta-ink: #ffffff;
  --ghost-ink: var(--plum);
  --ghost-line: rgba(74, 29, 92, .45);
  --ghost-bg-h: rgba(74, 29, 92, .08);
  --switch-bg: rgba(74, 29, 92, .08);
  --switch-on: #ffffff;
}
html[data-mode="owner"] [data-for="renter"],
html[data-mode="renter"] [data-for="owner"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--fb);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
[id], .done, .tkt, fieldset { scroll-margin-top: calc(var(--hdr-h) + 20px); }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
::selection { background: var(--citrus); color: var(--plum-900); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--citrus); color: var(--plum-900); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.fine { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
h2 { font: 800 clamp(2rem, 1.15rem + 2.7vw, 3.4rem)/1.04 var(--fd); letter-spacing: -.032em; color: var(--plum); text-wrap: balance; }
h3 { font: 700 1.25rem/1.25 var(--fd); letter-spacing: -.015em; color: var(--plum); }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 var(--fd); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .16s var(--ease), background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .ic { width: 1.15em; height: 1.15em; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--cta { background: var(--cta-bg); color: var(--cta-ink); box-shadow: 0 10px 24px -14px rgba(34, 16, 43, .55); }
.btn--ghost { color: var(--ghost-ink); border-color: var(--ghost-line); }
.btn--plum { background: var(--plum); color: #fff; }
.btn--ghost-plum { color: var(--plum); border-color: var(--line-2); background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--cta:hover { background: var(--cta-bg-h); }
  .btn--ghost:hover { background: var(--ghost-bg-h); }
  .btn--plum:hover { background: var(--plum-500); }
  .btn--ghost-plum:hover { border-color: var(--plum); }
}
/* booking + estimate CTAs always sit on white: keep citrus there */
.est .btn--cta, .book .btn--cta { background: var(--citrus); color: var(--plum-900); }
@media (hover: hover) and (pointer: fine) { .est .btn--cta:hover, .book .btn--cta:hover { background: #ffc533; } }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: var(--z-hdr);
  height: var(--hdr-h);
  color: var(--hero-ink);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.hdr__in { height: 100%; display: flex; align-items: center; gap: 20px; }
html.is-stuck .hdr { background: #fff; color: var(--plum); box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(34, 16, 43, .5); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand__mark { width: 38px; height: 38px; }
.brand__tile { fill: var(--citrus); }
.brand__hole { fill: var(--plum); }
html[data-mode="renter"]:not(.is-stuck) .hdr .brand__tile { fill: var(--plum); }
html[data-mode="renter"]:not(.is-stuck) .hdr .brand__hole { fill: var(--citrus); }
.brand__word { display: grid; font: 800 1.375rem/1 var(--fd); letter-spacing: -.03em; }
.brand__word small { font: 600 .6875rem/1.2 var(--fb); letter-spacing: .02em; opacity: .78; margin-top: 3px; }
.hdr__nav { display: flex; gap: 4px; margin-left: 12px; }
.hdr__nav a { padding: 8px 12px; border-radius: 999px; font: 600 .9375rem/1 var(--fd); text-decoration: none; opacity: .92; transition: background-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .hdr__nav a:hover { background: var(--ghost-bg-h); opacity: 1; } html.is-stuck .hdr__nav a:hover { background: var(--plum-50); } }
.hdr__phone { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 .9375rem/1 var(--fd); text-decoration: none; white-space: nowrap; }
.hdr__cta { flex: none; }
html.is-stuck .hdr__cta { background: var(--citrus); color: var(--plum-900); }
html.is-stuck[data-mode="renter"] .hdr__cta { background: var(--plum); color: #fff; }
.hdr__menu { display: none; width: 44px; height: 44px; border-radius: 999px; place-items: center; border: 1.5px solid var(--ghost-line); }
html.is-stuck .hdr__menu { border-color: var(--line-2); }
.hdr__burger, .hdr__burger::before, .hdr__burger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease); }
.hdr__burger::before, .hdr__burger::after { content: ""; position: absolute; left: 0; }
.hdr__burger::before { top: -6px; } .hdr__burger::after { top: 6px; }
.hdr__menu[aria-expanded="true"] .hdr__burger { background: transparent; }
.hdr__menu[aria-expanded="true"] .hdr__burger::before { transform: translateY(6px) rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__burger::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { position: absolute; top: var(--hdr-h); inset-inline: 0; background: #fff; color: var(--plum); box-shadow: 0 24px 40px -24px rgba(34, 16, 43, .45); border-top: 1px solid var(--line); }
.mnav__in { display: grid; padding: 12px 0 20px; }
.mnav a { padding: 14px 4px; font: 600 1.125rem/1.2 var(--fd); text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav__phone { display: flex; gap: 10px; align-items: center; border: 0 !important; color: var(--muted); font-size: 1rem !important; }

/* mini switch (header, after hero) */
.mini-switch {
  position: relative; display: none; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 3px; border-radius: 999px; background: var(--plum-50); border: 1px solid var(--line);
}
html.is-past-hero .mini-switch { display: grid; }
.mini-switch button { position: relative; z-index: 1; height: 34px; padding: 0 14px; border-radius: 999px; font: 600 .875rem/1 var(--fd); color: var(--plum); transition: color .25s ease; }
.mini-switch button[aria-checked="true"] { color: var(--plum-900); }
html[data-mode="renter"] .mini-switch button[aria-checked="true"] { color: #fff; }
.mini-switch__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--citrus); transition: transform .4s var(--ease-io), background-color .3s ease; }
html[data-mode="renter"] .mini-switch__thumb { transform: translateX(100%); background: var(--plum); }
html.is-past-hero .hdr__nav { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: clip;
  background: var(--hero-bg); color: var(--hero-ink);
  padding: calc(var(--hdr-h) + clamp(16px, 3vh, 36px)) 0 clamp(44px, 6vh, 72px);
  isolation: isolate;
}
.hero::before { /* soft light behind the keyhole */
  content: ""; position: absolute; z-index: -1; width: 70vmax; aspect-ratio: 1; right: -18vmax; top: -16vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0));
}
html[data-mode="renter"] .hero::before { background: radial-gradient(closest-side, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
.hero__in {
  display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, .58fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  min-height: min(calc(100svh - var(--hdr-h) - 120px), 720px);
}
.hero__copy { padding-block: 8px; }

.switch {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 5px; border-radius: 999px; background: var(--switch-bg); border: 1.5px solid var(--ghost-line);
  margin-bottom: clamp(22px, 3.4vh, 36px);
}
.switch button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 24px; border-radius: 999px;
  font: 700 1.0625rem/1 var(--fd); letter-spacing: -.01em; color: var(--hero-ink); white-space: nowrap;
  transition: color .3s ease, transform .16s var(--ease);
}
.switch button:active { transform: scale(.97); }
.switch button[aria-checked="true"] { color: var(--switch-on); }
.switch__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px;
  background: var(--cta-bg); box-shadow: 0 8px 18px -10px rgba(20, 4, 28, .6);
  transition: transform .5s var(--ease-io), background-color .3s ease;
}
html[data-mode="renter"] .switch__thumb { transform: translateX(100%); }

.hero__title {
  font: 800 clamp(2.5rem, 1rem + 4.3vw, 4.85rem)/1.0 var(--fd);
  letter-spacing: -.036em; text-wrap: balance; max-width: 21ch;
  margin-bottom: clamp(18px, 2.6vh, 26px); padding-bottom: .06em;
}
.hero__sub { text-wrap: pretty; font-size: clamp(1.0625rem, .95rem + .4vw, 1.25rem); line-height: 1.55; color: var(--hero-sub); max-width: 44ch; margin-bottom: clamp(24px, 3.6vh, 36px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* glaze: an enamel sheen on the hero headline */
.glaze { position: relative; }
html[data-mode="owner"] .glaze { color: #eadcf2; text-shadow: 0 1px 0 #e3d2ea, 0 2px 0 #b495c4, 0 3px 0 rgba(84, 40, 104, .9), 0 18px 34px rgba(16, 2, 24, .55); --gloss: linear-gradient(180deg, #fff 6%, #fff 30%, rgba(255, 255, 255, .75) 46%, rgba(255, 255, 255, 0) 50%); }
html[data-mode="renter"] .glaze { color: var(--plum); text-shadow: 0 1px 0 #7a4590, 0 2px 0 #2e0d3b, 0 3px 0 rgba(46, 13, 59, .6), 0 16px 26px rgba(150, 80, 0, .32); --gloss: linear-gradient(180deg, rgba(255, 255, 255, 0) 8%, rgba(255, 236, 200, .34) 18%, rgba(255, 236, 200, .16) 44%, rgba(255, 255, 255, 0) 50%); }
.glaze::before, .glaze::after {
  content: attr(data-text) / ""; position: absolute; inset: 0 0 auto 0; pointer-events: none;
  color: transparent; text-shadow: none; -webkit-background-clip: text; background-clip: text;
}
.glaze::before { background-image: var(--gloss); background-size: 100% 1lh; background-repeat: repeat-y; }
.glaze::after {
  background-image: linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, .95) 50%, transparent 58% 100%);
  background-size: 250% 100%; background-repeat: no-repeat; background-position: 130% 0;
  animation: glint 7s var(--ease-io) 1.2s infinite;
}
html[data-mode="renter"] .glaze::after { background-image: linear-gradient(110deg, transparent 0 42%, rgba(255, 236, 190, .9) 50%, transparent 58% 100%); }
@keyframes glint { 0%, 58% { background-position: 130% 0; } 100% { background-position: -30% 0; } }

/* keyhole media */
.hero__media {
  position: relative; justify-self: center;
  width: min(100%, 400px, calc((100svh - 240px) * .56));
  min-width: 260px;
}
.keyhole {
  position: relative; aspect-ratio: .56; clip-path: url(#kh-clip);
  background: var(--plum-800);
}
.keyhole > img, .keyhole > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.keyhole__img { object-position: 50% 42%; }
.keyhole-ring { position: absolute; inset: -16px; width: calc(100% + 32px); height: calc(100% + 32px); overflow: visible; pointer-events: none; }
.keyhole-ring path { fill: none; stroke: var(--hero-accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .7; stroke-dasharray: 3 7; }
html.anim .keyhole { animation: khIn 1.1s var(--ease) both; }
html.anim .keyhole > * { animation: khZoom 1.8s var(--ease) both; }
@keyframes khIn { from { opacity: 0; transform: scale(.94); } }
@keyframes khZoom { from { transform: scale(1.12); } }

.chip {
  position: absolute; width: 258px; padding: 16px 18px 14px;
  background: #fff; color: var(--ink); border-radius: 18px;
  box-shadow: 0 2px 4px rgba(20, 4, 28, .12), 0 30px 50px -24px rgba(20, 4, 28, .6);
  font-size: .875rem;
}
.chip--statement { left: -27%; bottom: 7%; rotate: -2.5deg; }
.chip--ticket { left: -25%; bottom: 9%; rotate: 2deg; }
html.anim .chip { animation: chipIn .9s var(--ease) .45s both; }
@keyframes chipIn { from { opacity: 0; translate: 0 16px; } }
.chip__head { display: flex; align-items: center; gap: 8px; font: 600 .875rem/1.2 var(--fd); color: var(--plum); }
.chip__head .ic { width: 18px; height: 18px; color: var(--plum); }
.chip__head em { margin-left: auto; font: 600 .6875rem/1 var(--fb); font-style: normal; color: var(--muted); background: var(--plum-50); padding: 4px 8px; border-radius: 999px; }
.chip__prop { color: var(--muted); font-size: .8125rem; margin: 4px 0 10px; }
.chip__lines div { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px dashed var(--line-2); font-variant-numeric: tabular-nums; }
.chip__lines dt { color: var(--muted); }
.chip__lines dd { font-weight: 600; }
.chip__lines .is-total { border-top: 1.5px solid var(--plum); padding-top: 8px; }
.chip__lines .is-total dt { color: var(--plum); font-weight: 600; }
.chip__lines .is-total dd { font: 800 1.125rem/1 var(--fd); color: var(--plum); }
.chip__foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .75rem; color: var(--muted); }
.chip__foot .ic { width: 15px; height: 15px; }
.chip__track { display: grid; gap: 6px; }
.chip__track li { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); }
.chip__track .ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--plum-50); color: var(--plum); }
.chip__track .is-done .ic { background: var(--plum); color: var(--citrus); }
.chip__track .is-now { color: var(--plum); font-weight: 600; }
.chip__track .is-now .ic { background: var(--citrus); color: var(--plum-900); }

/* view transition wipe */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }

/* ---------- towns marquee ---------- */
.towns { overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; padding: 18px 0; }
.towns__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.towns.is-paused .towns__track { animation-play-state: paused; }
.towns__list { display: flex; flex: none; }
.towns__list li { display: inline-flex; align-items: center; font: 700 1.25rem/1 var(--fd); letter-spacing: -.02em; color: var(--plum); white-space: nowrap; }
.towns__list li::after {
  content: ""; width: 12px; height: 18px; margin: 0 26px; background: var(--citrus);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1' preserveAspectRatio='none'%3E%3Cpath d='M.303 .537 A.5 .28 0 1 1 .697 .537 L.86 .965 Q.875 1 .84 1 L.16 1 Q.125 1 .14 .965 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1' preserveAspectRatio='none'%3E%3Cpath d='M.303 .537 A.5 .28 0 1 1 .697 .537 L.86 .965 Q.875 1 .84 1 L.16 1 Q.125 1 .14 .965 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 132px) 0; }
.sec__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec__head p { margin-top: 16px; font-size: 1.125rem; color: var(--muted); max-width: 58ch; }

/* form atoms */
.field { display: grid; gap: 10px; align-content: start; }
.field > label, .field__label, .field legend, .field__row label { font: 600 .9375rem/1.3 var(--fb); color: var(--ink); }
.field legend { margin-bottom: 10px; }
.field small, legend small, label small { font-weight: 400; color: var(--muted); font-size: .8125rem; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__row output { font: 700 1rem/1 var(--fd); color: var(--plum); font-variant-numeric: tabular-nums; }
.select { position: relative; }
.select select {
  appearance: none; width: 100%; height: 52px; padding: 0 46px 0 16px; border-radius: var(--r-in);
  border: 1.5px solid var(--line-2); background: #fff; font-weight: 500; color: var(--ink);
}
.select .ic { position: absolute; right: 16px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--plum); }
input[type="text"], input[type="email"], input[type="tel"], input:not([type]), textarea {
  width: 100%; border-radius: var(--r-in); border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
  padding: 13px 15px; min-height: 52px; line-height: 1.45;
}
textarea { resize: vertical; min-height: 92px; }
::placeholder { color: #7a6884; opacity: 1; }
input:focus-visible, textarea:focus-visible, select:focus-visible { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(74, 29, 92, .2); border-radius: var(--r-in); }
.is-invalid { border-color: var(--danger) !important; }
.err { color: var(--danger); font-size: .875rem; font-weight: 500; }

.seg { display: grid; gap: 10px; }
.seg--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg label { position: relative; }
.seg input, .chipbox input, .issue input, .urg input, .opt input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label span {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border-radius: 14px;
  border: 1.5px solid var(--line-2); background: #fff; font-weight: 500; line-height: 1.25; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .16s var(--ease);
}
.seg label span .ic { color: var(--plum); }
.seg label:active span { transform: scale(.98); }
.seg input:checked + span { border-color: var(--plum); background: var(--plum-50); color: var(--plum); font-weight: 600; box-shadow: inset 0 0 0 1px var(--plum); }
.seg input:focus-visible + span { box-shadow: var(--ring); }

.seg--pill { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg--pill button {
  height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff;
  font: 600 .9375rem/1 var(--fd); color: var(--plum); display: inline-flex; align-items: center; gap: 8px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease);
}
.seg--pill button:active { transform: scale(.97); }
.seg--pill button[aria-checked="true"], .seg--pill button[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }

.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 4px; background: #fff; width: max-content; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--plum); transition: background-color .2s ease, transform .16s var(--ease); }
.stepper button:active { transform: scale(.94); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .stepper button:not(:disabled):hover { background: var(--plum-50); } }
.stepper output { min-width: 64px; text-align: center; font: 800 1.375rem/1 var(--fd); color: var(--plum); font-variant-numeric: tabular-nums; }

.range { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(var(--plum), var(--plum)) 0 / var(--p) 100% no-repeat, var(--plum-100); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: var(--plum-100); }
.range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--plum); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--citrus); border: 3px solid var(--plum); box-shadow: 0 4px 10px -4px rgba(34, 16, 43, .6); transition: transform .16s var(--ease); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--citrus); border: 3px solid var(--plum); }
.range:active::-webkit-slider-thumb { transform: scale(1.1); }
.range:focus-visible { box-shadow: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: var(--ring); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipbox span {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff; font-weight: 500; font-size: .9375rem; cursor: pointer; color: var(--ink);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease);
}
.chipbox span .ic { color: var(--plum); width: 18px; height: 18px; }
.chipbox:active span { transform: scale(.97); }
.chipbox input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.chipbox input:checked + span .ic { color: var(--citrus); }
.chipbox input:focus-visible + span { box-shadow: var(--ring); }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9375rem; position: relative; }
.check span::before { content: ""; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff center / 14px no-repeat; display: inline-block; vertical-align: middle; margin-right: 10px; transition: background-color .2s ease; }
.check input:checked + span::before { background-color: var(--plum); border-color: var(--plum); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23ffb703' d='M232.49 80.49l-128 128a12 12 0 0 1-17 0l-56-56a12 12 0 1 1 17-17L96 183 215.51 63.51a12 12 0 0 1 17 17z'/%3E%3C/svg%3E"); }
.check input:focus-visible + span::before { box-shadow: var(--ring); }

/* ---------- estimate ---------- */
.est__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(28px, 5vw, 80px); align-items: start; }
.est__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.est__pair { display: flex; flex-wrap: wrap; gap: 28px 40px; }
.stmt { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 14px; }
.stmt__paper {
  position: relative; background: #fff; border-radius: var(--r-card); padding: 26px 26px 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.stmt__paper::before { /* tear line at the top like a printed statement */
  content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 6px;
  background: radial-gradient(circle at 5px 0, transparent 4px, var(--plum) 4.5px) 0 0 / 14px 6px repeat-x; opacity: .14;
}
.stmt__top { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.stmt__mark { width: 40px; height: 40px; }
.stmt__kind { font: 600 .8125rem/1.3 var(--fb); color: var(--muted); }
.stmt__prop { font: 700 1.0625rem/1.3 var(--fd); color: var(--plum); }
.stmt__rent { padding: 18px 0 16px; }
.stmt__label { font-size: .875rem; color: var(--muted); }
.stmt__big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font: 800 clamp(2rem, 1.4rem + 1.6vw, 2.6rem)/1.05 var(--fd); letter-spacing: -.03em; color: var(--plum); font-variant-numeric: tabular-nums; margin-top: 4px; }
.stmt__to { font: 500 1rem/1 var(--fb); color: var(--muted); letter-spacing: 0; }
.stmt__band { position: relative; height: 14px; margin-top: 16px; border-radius: 999px; background: repeating-linear-gradient(90deg, var(--plum-200) 0 1.5px, transparent 1.5px 10px) center / 100% 8px no-repeat; }
.stmt__band-fill { position: absolute; top: 0; bottom: 0; left: 30%; width: 10%; border-radius: 999px; background: var(--citrus); transition: left .45s var(--ease), width .45s var(--ease); }
.stmt__band-dot { position: absolute; top: 50%; left: 35%; width: 18px; height: 18px; translate: -50% -50%; border-radius: 50%; background: var(--plum); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(34, 16, 43, .35); transition: left .45s var(--ease); }
.stmt__scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.stmt__lines div, .stmt__once div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-top: 1px dashed var(--line-2); font-variant-numeric: tabular-nums; }
.stmt__lines dt, .stmt__once dt { color: var(--muted); font-size: .9375rem; }
.stmt__lines dd, .stmt__once dd { font-weight: 600; white-space: nowrap; }
.stmt__lines .is-total { border-top: 2px solid var(--plum); padding: 12px 0 6px; }
.stmt__lines .is-total dt { color: var(--plum); font-weight: 600; }
.stmt__lines .is-total dd { font: 800 1.625rem/1 var(--fd); color: var(--plum); letter-spacing: -.02em; background: linear-gradient(transparent 62%, var(--citrus-100) 62%); padding: 0 2px; }
.stmt__once { margin-top: 10px; }
.stmt__once dt small { display: block; font-size: .75rem; }
.stmt__once div { padding: 7px 0; }
.stmt__once dt, .stmt__once dd { font-size: .875rem; }
.stmt__year { margin: 14px 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--plum-50); font-size: .9375rem; color: var(--ink); }
.stmt__year b { font: 800 1.0625rem/1 var(--fd); color: var(--plum); font-variant-numeric: tabular-nums; }
.stmt .fine { padding: 0 6px; }

/* ---------- homes ---------- */
.homes { background: var(--plum-50); }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 28px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); margin-bottom: 28px; }
.filters__grp { display: grid; gap: 8px; }
.filters__grp--range { min-width: 220px; flex: 1; max-width: 320px; }
.filters__lbl { font: 600 .875rem/1.2 var(--fb); color: var(--ink); }
.filters__count { margin-left: auto; font: 700 1rem/1 var(--fd); color: var(--plum); padding-bottom: 12px; }
.homes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; grid-auto-flow: dense; }
.home { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s ease, transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .home:hover { box-shadow: var(--shadow); } .home:hover .home__img img { transform: scale(1.035); } }
.home__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--plum-100); }
.home__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.home__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.home__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.home__rent { font: 800 1.75rem/1 var(--fd); letter-spacing: -.025em; color: var(--plum); font-variant-numeric: tabular-nums; }
.home__rent small { font: 500 .875rem/1 var(--fb); color: var(--muted); letter-spacing: 0; }
.home__avail { font-size: .8125rem; font-weight: 600; color: var(--plum); background: var(--citrus-100); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.home__addr { font: 700 1.0625rem/1.3 var(--fd); color: var(--ink); }
.home__hood { font-size: .875rem; color: var(--muted); margin-top: -6px; }
.home__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9375rem; color: var(--ink); }
.home__facts span { display: inline-flex; align-items: center; gap: 6px; }
.home__facts .ic { color: var(--plum); width: 18px; height: 18px; }
.home__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.home__tags li { font-size: .8125rem; padding: 4px 10px; border-radius: 999px; background: var(--plum-50); color: var(--plum); font-weight: 500; }
.home__near { font-size: .875rem; color: var(--muted); }
.home__acts { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.home__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.home__more > div { overflow: hidden; }
.home.is-open .home__more { grid-template-rows: 1fr; }
.home__more dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding-top: 12px; margin-top: 4px; border-top: 1px dashed var(--line-2); font-size: .875rem; }
.home__more dt { color: var(--muted); }
.home__more dd { font-weight: 500; }
.criteria { margin-top: 28px; background: var(--plum); color: #fff; border-radius: var(--r-card); padding: 28px clamp(22px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 40px; align-items: start; }
.criteria h3 { color: #fff; font-size: 1.375rem; }
.criteria__head p { font-size: .875rem; color: #dccbe6; margin-top: 10px; }
.criteria ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.criteria li { display: flex; gap: 10px; font-size: .9688rem; line-height: 1.45; color: #f1e8f5; }
.criteria li .ic { color: var(--citrus); margin-top: 2px; }
.homes__empty { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px; border-radius: var(--r-card); background: #fff; border: 1.5px dashed var(--line-2); margin-bottom: 22px; }
.homes__empty > .ic { width: 32px; height: 32px; color: var(--plum); }
.homes__empty p { flex: 1; min-width: 220px; }
.fairnote { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; max-width: 900px; font-size: .9375rem; color: var(--muted); }
.fairnote .ic { color: var(--plum); width: 22px; height: 22px; margin-top: 2px; }

/* ---------- cutaway ---------- */
.cut {
  position: relative; color: #fff; overflow: clip;
  background: radial-gradient(120% 90% at 72% 46%, #63307a 0%, var(--plum) 38%, var(--plum-900) 100%);
}
.cut__pin { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr-h) + 16px) 0 28px; }
.cut__in { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cut__title { color: #fff; font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3rem); }
.cut__sub { margin-top: 14px; color: #dcc9e6; max-width: 40ch; }
.cut__steps { margin-top: 26px; display: grid; gap: 4px; counter-reset: s; }
.cut__steps li { position: relative; padding: 10px 0 10px 40px; display: grid; gap: 2px; color: rgba(255, 255, 255, .5); transition: color .35s ease; }
.cut__steps li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: 9px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font: 700 .8125rem/1 var(--fd); border: 1.5px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .7);
  transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}
.cut__steps b { font: 700 1.0625rem/1.3 var(--fd); }
.cut__steps span { font-size: .9375rem; line-height: 1.45; }
.cut__steps li.is-on { color: #fff; }
.cut__steps li.is-on::before { background: var(--citrus); border-color: var(--citrus); color: var(--plum-900); }
.cut__steps li.is-done { color: rgba(255, 255, 255, .78); }
.cut__steps li.is-done::before { background: rgba(255, 183, 3, .2); border-color: var(--citrus); color: var(--citrus); }
.cut__count { margin-top: 22px; font-size: 1rem; color: #e7d8ee; display: flex; align-items: baseline; gap: 10px; }
.cut__count b { font: 800 3rem/1 var(--fd); color: var(--citrus); font-variant-numeric: tabular-nums; letter-spacing: -.03em; min-width: 1.2ch; }
.cut__stage { position: relative; aspect-ratio: 4 / 3; width: 100%; max-height: calc(100svh - var(--hdr-h) - 60px); justify-self: center; }
.cut__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.cut__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
html.has-webgl .cut__fallback { display: none; }
.cut__labels { position: absolute; inset: 0; pointer-events: none; }
.ulab {
  position: absolute; left: 0; top: 0; translate: -50% -100%;
  font: 700 .75rem/1 var(--fd); letter-spacing: .01em; white-space: nowrap;
  padding: 6px 9px; border-radius: 999px; background: rgba(34, 16, 43, .72); color: #e9dcef; border: 1px solid rgba(255, 255, 255, .18);
  transition: background-color .3s ease, color .3s ease, opacity .3s ease, scale .3s var(--ease);
}
.ulab.is-leased { background: var(--citrus); color: var(--plum-900); border-color: var(--citrus); scale: 1.06; }
.cut__labels.is-compact .ulab { font-size: .625rem; padding: 4px 6px; }
.cut__labels.is-compact .ulab span { display: none; }

/* ---------- handle ---------- */
.worries { display: flex; flex-wrap: wrap; gap: 10px; }
.worry {
  display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff; font: 600 .9688rem/1 var(--fd); color: var(--plum);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease);
}
.worry:active { transform: scale(.97); }
.worry[aria-pressed="true"] { background: var(--citrus); border-color: var(--citrus); color: var(--plum-900); }
@media (hover: hover) and (pointer: fine) { .worry:not([aria-pressed="true"]):hover { border-color: var(--plum); } }
.worries__note { margin: 16px 0 36px; font-size: .9375rem; color: var(--muted); min-height: 1.6em; }
.handle__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--plum); }
.board__col { padding: 22px 18px 0; border-left: 1px solid var(--line); }
.board__col:first-child { border-left: 0; padding-left: 0; }
.board__col h3 { font-size: 1.125rem; margin-bottom: 14px; }
.board__col ul { display: grid; gap: 4px; }
.board__col li {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px; margin-inline: -10px; border-radius: 14px;
  transition: background-color .3s ease, opacity .3s ease, box-shadow .3s ease;
}
.board__col li > .ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--plum-50); color: var(--plum); transition: background-color .3s ease, color .3s ease; }
.board__col li b { display: block; font: 600 .9688rem/1.3 var(--fd); color: var(--ink); }
.board__col li span { display: block; font-size: .875rem; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.board.has-pick li { opacity: .5; }
.board.has-pick li.is-match { opacity: 1; background: var(--citrus-100); }
.board.has-pick li.is-match > .ic { background: var(--plum); color: var(--citrus); }
.fees { position: sticky; top: calc(var(--hdr-h) + 24px); border-radius: var(--r-card); overflow: hidden; background: var(--plum-900); color: #fff; box-shadow: var(--shadow); }
.fees__photo { aspect-ratio: 16 / 10; overflow: hidden; }
.fees__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.fees__body { padding: 22px 24px 24px; }
.fees h3 { color: #fff; font-size: 1.25rem; }
.fees__big { display: flex; align-items: center; gap: 16px; margin: 10px 0 14px; }
.fees__big b { font: 800 4.25rem/.9 var(--fd); letter-spacing: -.045em; color: var(--citrus); }
.fees__big span { font-size: .9375rem; line-height: 1.4; color: #e8dbee; }
.fees__list div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9375rem; }
.fees__list dt { color: #d7c5e0; }
.fees__list dd { font-weight: 600; text-align: right; }
.fees__fine { margin-top: 12px; font-size: .8125rem; color: #c9b3d4; }

/* ---------- repair ---------- */
.repair__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.wo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; padding: clamp(20px, 3vw, 34px); border-radius: 28px; background: var(--plum-50); border: 1px solid var(--line); }
.wo__set { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.wo__set legend, .bk__step legend { display: flex; align-items: center; gap: 12px; font: 700 1.1875rem/1.2 var(--fd); color: var(--plum); margin-bottom: 14px; }
.wo__set legend small, .bk__step legend small { font: 500 .8125rem/1 var(--fb); color: var(--muted); }
.wo__n, .bk__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: var(--citrus); font: 800 .875rem/1 var(--fd); flex: none; }
.issues { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.issue span {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 96px; padding: 14px;
  border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; font: 600 .9375rem/1.25 var(--fd); color: var(--ink); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease);
}
.issue span .ic { width: 28px; height: 28px; color: var(--plum); transition: color .2s ease; }
.issue:active span { transform: scale(.97); }
.issue input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.issue input:checked + span .ic { color: var(--citrus); }
.issue input:focus-visible + span { box-shadow: var(--ring); }
@media (hover: hover) and (pointer: fine) { .issue span:hover { border-color: var(--plum); } }
.wo__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; }
.drop { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sr-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop__btn { display: flex; align-items: center; gap: 14px; padding: 16px 20px; min-height: 72px; border-radius: 16px; border: 1.5px dashed var(--plum-300); background: #fff; cursor: pointer; flex: 1; min-width: 240px; transition: border-color .2s ease, background-color .2s ease; }
.drop__btn .ic { width: 30px; height: 30px; color: var(--plum); }
.drop__btn b { display: block; font: 600 1rem/1.3 var(--fd); color: var(--plum); }
.drop__btn small { display: block; font-size: .8125rem; color: var(--muted); }
.sr-file:focus-visible + .drop__btn { box-shadow: var(--ring); }
@media (hover: hover) and (pointer: fine) { .drop__btn:hover { border-color: var(--plum); background: #fffdf7; } }
.drop__preview { position: relative; width: 96px; height: 72px; border-radius: 12px; overflow: hidden; flex: none; box-shadow: var(--shadow-sm); }
.drop__preview img { width: 100%; height: 100%; object-fit: cover; }
.drop__x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 16, 43, .78); color: #fff; }
.drop__x .ic { width: 14px; height: 14px; }
.urg { display: grid; gap: 8px; }
.urg__opt span { display: grid; gap: 2px; padding: 14px 16px 14px 50px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; position: relative; transition: border-color .2s ease, background-color .2s ease; }
.urg__opt span::before { content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--plum-300); background: #fff; transition: border .2s ease; }
.urg__opt b { font: 600 1rem/1.3 var(--fd); color: var(--ink); }
.urg__opt small { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.urg__opt input:checked + span { border-color: var(--plum); background: #fff; box-shadow: inset 0 0 0 1px var(--plum); }
.urg__opt input:checked + span::before { border: 6px solid var(--plum); }
.urg__opt--hot input:checked + span { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); background: var(--danger-bg); }
.urg__opt--hot input:checked + span::before { border-color: var(--danger); }
.urg__opt input:focus-visible + span { box-shadow: var(--ring); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--danger-bg); color: #6e150d; border: 1px solid #f3c2bc; font-size: .9375rem; }
.alert .ic { width: 24px; height: 24px; color: var(--danger); margin-top: 1px; }
.seg--times { margin-top: 4px; }
.wo__submit { justify-self: start; }

.ticket-col { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 16px; }
.tkt { background: #fff; border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.tkt__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px; background: var(--plum-50); border-bottom: 1px dashed var(--line-2); transition: background-color .4s ease, color .4s ease; }
.tkt__no { font: 700 1rem/1 var(--fd); color: var(--plum); font-variant-numeric: tabular-nums; }
.tkt__urg { font: 600 .75rem/1 var(--fb); padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--plum); border: 1px solid var(--line-2); }
.tkt__urg[data-u="emergency"] { background: var(--danger); color: #fff; border-color: var(--danger); }
.tkt__urg[data-u="routine"] { background: var(--plum-50); }
.tkt.is-filed .tkt__head { background: var(--plum); }
.tkt.is-filed .tkt__no { color: #fff; }
.tkt__issue { display: flex; gap: 14px; align-items: center; padding: 18px 20px 6px; }
.tkt__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--citrus); color: var(--plum-900); flex: none; }
.tkt__icon .ic { width: 28px; height: 28px; }
.tkt__what { font: 700 1.1875rem/1.2 var(--fd); color: var(--plum); }
.tkt__where { font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.tkt__desc { padding: 8px 20px 0; font-size: .9375rem; color: var(--ink); line-height: 1.5; }
.tkt__desc.is-empty { color: var(--muted); font-style: italic; }
.tkt__photo { margin: 12px 20px 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
.tkt__photo img { width: 100%; height: 100%; object-fit: cover; }
.tkt__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 14px 20px 18px; font-size: .8125rem; color: var(--muted); }
.tkt__meta li { display: inline-flex; align-items: center; gap: 6px; }
.tkt__meta .ic { width: 16px; height: 16px; color: var(--plum); }
.tkt__track { padding: 16px 20px 20px; border-top: 1px dashed var(--line-2); display: grid; }
.tkt__track li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; position: relative; padding-bottom: 14px; opacity: .45; transition: opacity .4s ease; }
.tkt__track li:last-child { padding-bottom: 0; }
.tkt__track li::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line-2); }
.tkt__track li:last-child::after { display: none; }
.tkt__dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--plum-300); background: #fff; margin-top: 1px; transition: background-color .3s ease, border-color .3s ease; }
.tkt__track b { display: block; font: 600 .9375rem/1.3 var(--fd); color: var(--ink); }
.tkt__track small { font-size: .8125rem; color: var(--muted); }
.tkt__track li.is-on { opacity: 1; }
.tkt__track li.is-on .tkt__dot { background: var(--citrus); border-color: var(--plum); }
.tkt__track li.is-done { opacity: 1; }
.tkt__track li.is-done .tkt__dot { background: var(--plum); border-color: var(--plum); }
.sms { background: #fff; border-radius: var(--r-card); border: 1px solid var(--line); padding: 16px 18px 18px; display: grid; gap: 12px; }
.sms__from { display: flex; align-items: center; gap: 8px; font: 600 .875rem/1 var(--fd); color: var(--muted); }
.sms__from .ic { color: var(--plum); }
.sms__bubble { background: #ece8ef; border-radius: 18px 18px 18px 6px; padding: 12px 14px; font-size: .9375rem; line-height: 1.45; color: var(--ink); max-width: 95%; }
.sms .btn { justify-self: start; }

/* ---------- band ---------- */
.band { background: var(--plum-900); color: #fff; overflow: clip; }
.band__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; min-height: 560px; }
.band__copy { padding: clamp(64px, 8vw, 110px) 0; }
.band h2 { color: #fff; font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3.1rem); }
.band__copy > p { margin-top: 18px; color: #dccbe6; font-size: 1.125rem; max-width: 46ch; }
.band__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.band__facts li { display: inline-flex; align-items: center; gap: 8px; font: 600 .9688rem/1.2 var(--fd); color: #fff; }
.band__facts .ic { color: var(--citrus); }
.band__media { align-self: stretch; margin-right: calc(-1 * max(var(--gut), (100vw - 1240px) / 2)); position: relative; min-height: 420px; }
.band__media { overflow: hidden; border-radius: 32px 0 0 32px; }
.band__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 88% 50%; transform: scale(1.22); transform-origin: 100% 55%; }
.band__media::after { content: ""; position: absolute; inset: 0; border-radius: 32px 0 0 32px; background: linear-gradient(90deg, rgba(34, 16, 43, .35), rgba(34, 16, 43, 0) 30%); pointer-events: none; }

/* ---------- steps ---------- */
.path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; }
.path li { position: relative; padding-top: 70px; }
.path li::before { content: ""; position: absolute; top: 24px; left: 56px; right: -24px; height: 2px; background: var(--line-2); }
.path li::after { content: ""; position: absolute; top: 24px; left: 56px; right: -24px; height: 2px; background: var(--plum); transform-origin: left; transform: scaleX(1); transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 180ms); }
.path li:nth-child(2) { --i: 1; } .path li:nth-child(3) { --i: 2; } .path li:nth-child(4) { --i: 3; } .path li:nth-child(5) { --i: 4; }
html.reveal-on .path:not(.is-in) li::after { transform: scaleX(0); }
.path li:last-child::before, .path li:last-child::after { display: none; }
.path__n { position: absolute; top: 0; left: 0; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--citrus); color: var(--plum-900); font: 800 1.25rem/1 var(--fd); }
.path h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.path p { font-size: .9375rem; color: var(--muted); line-height: 1.55; }
.path small { display: inline-block; margin-top: 12px; font: 600 .8125rem/1 var(--fb); color: var(--plum); background: var(--plum-50); padding: 6px 10px; border-radius: 999px; }

/* ---------- why ---------- */
.why { background: var(--plum-50); }
.why__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.why__photo { border-radius: 28px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.quotes { margin: 26px 0 30px; }
.quotes blockquote { position: relative; padding: 0 0 0 0; }
.quotes blockquote .ic { width: 40px; height: 40px; color: var(--citrus); margin-bottom: 8px; }
.quotes p { font: 600 clamp(1.3rem, 1rem + .9vw, 1.7rem)/1.3 var(--fd); letter-spacing: -.02em; color: var(--plum-900); text-wrap: pretty; }
.quotes footer { margin-top: 14px; font-size: .9375rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.quotes footer span { font-size: .75rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--plum); }
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 26px; padding-top: 26px; border-top: 1px solid var(--line-2); margin-bottom: 18px; }
.promises li { display: flex; gap: 12px; align-items: flex-start; }
.promises .ic { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--plum); color: var(--citrus); }
.promises b { display: block; font: 700 1rem/1.3 var(--fd); color: var(--plum); }
.promises span { display: block; font-size: .875rem; color: var(--muted); margin-top: 2px; line-height: 1.45; }

/* ---------- area ---------- */
.area__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.area__body > p { margin-top: 16px; font-size: 1.125rem; color: var(--muted); max-width: 46ch; }
.area__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 30px 0; }
.area__cols h3 { font-size: 1rem; margin-bottom: 10px; }
.area__cols li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .9688rem; }
.office { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr) minmax(0, .8fr); gap: 18px 24px; padding: 20px 22px; border-radius: var(--r-card); background: var(--plum); color: #fff; }
.office dt { display: flex; align-items: center; gap: 6px; font: 600 .8125rem/1 var(--fd); color: var(--citrus); margin-bottom: 8px; }
.office dt .ic { width: 16px; height: 16px; }
.office dd { font-size: .9063rem; line-height: 1.5; color: #f1e7f5; }
.office a { color: #fff; font-weight: 600; }
.area__photo { border-radius: 28px; overflow: hidden; position: relative; align-self: stretch; min-height: 420px; }
.area__photo img { position: absolute; inset: 0; }
.area__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- faq ---------- */
.faq { background: #fff; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 16px; justify-items: start; }
.faq__side p { color: var(--muted); }
.faq__list { border-top: 2px solid var(--plum); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 2px; font: 600 1.1875rem/1.35 var(--fd); color: var(--plum-900); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 22px; height: 22px; color: var(--plum); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details > div { padding: 0 2px 22px; }
.faq details p { color: var(--muted); max-width: 64ch; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- booking ---------- */
.book { background: var(--plum-50); }
.book__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
html .book [data-bk] { display: none; }
.bk[data-type="owner"] [data-bk="owner"], .book[data-type="owner"] .book__head [data-bk="owner"] { display: revert; }
.bk[data-type="renter"] [data-bk="renter"], .book[data-type="renter"] .book__head [data-bk="renter"] { display: revert; }
.bk.is-done .bk__form, .bk.is-done .bk__side { display: none; }
.bk { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.bk__form { background: #fff; border-radius: 28px; border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; box-shadow: var(--shadow-sm); }
.bk__step { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.bk__step:first-child { padding-top: 0; border-top: 0; }
.bk__step:last-child { padding-bottom: 0; }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.opt span { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line-2); cursor: pointer; background: #fff; transition: border-color .2s ease, background-color .2s ease, transform .16s var(--ease); min-height: 72px; }
.opt span .ic { grid-row: span 2; width: 26px; height: 26px; color: var(--plum); }
.opt b { font: 600 1rem/1.25 var(--fd); color: var(--ink); }
.opt small { font-size: .8125rem; color: var(--muted); }
.opt:active span { transform: scale(.98); }
.opt input:checked + span { border-color: var(--plum); background: var(--plum-50); box-shadow: inset 0 0 0 1px var(--plum); }
.opt input:checked + span b { color: var(--plum); }
.opt input:focus-visible + span { box-shadow: var(--ring); }
.bk__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: end; margin-top: 18px; }
.bk__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; align-items: start; }
.seg--wrap { margin-top: 18px; }
.pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pick button { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; text-align: left; padding: 8px; padding-right: 12px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; transition: border-color .2s ease, background-color .2s ease, transform .16s var(--ease); }
.pick button:active { transform: scale(.98); }
.pick img { width: 64px; height: 52px; object-fit: cover; border-radius: 10px; }
.pick b { display: block; font: 600 .9375rem/1.25 var(--fd); color: var(--ink); }
.pick small { display: block; font-size: .8125rem; color: var(--muted); }
.pick button[aria-checked="true"] { border-color: var(--plum); background: var(--plum-50); box-shadow: inset 0 0 0 1px var(--plum); }

/* key tags */
.tags-wrap { position: relative; display: flex; align-items: flex-start; gap: 6px; }
.tags { -webkit-mask: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 36px), transparent); display: flex; gap: 10px; overflow-x: auto; min-width: 0; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 2px 14px; flex: 1; position: relative; overscroll-behavior-x: contain; }
.tags::-webkit-scrollbar { display: none; }
.tags::before { content: ""; position: absolute; left: 0; top: 7px; height: 3px; width: var(--rail-w, 100%); border-radius: 3px; background: linear-gradient(var(--plum-300), var(--plum-300)); }
.tags__nav { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line-2); background: #fff; color: var(--plum); margin-top: 42px; transition: opacity .2s ease, transform .16s var(--ease); }
.tags__nav:active { transform: scale(.94); }
.tags__nav:disabled { opacity: .3; cursor: default; }
.tag { position: relative; flex: none; width: 84px; padding-top: 22px; scroll-snap-align: start; transform-origin: 50% 8px; }
.tag::before { /* string */ content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 26px; translate: -50% 0; background: var(--plum-300); border-radius: 2px; }
.tag::after { /* hook */ content: ""; position: absolute; left: 50%; top: 2px; width: 10px; height: 10px; translate: -50% 0; border-radius: 50%; background: var(--plum); }
.tag__body {
  position: relative; display: grid; justify-items: center; gap: 1px; padding: 22px 6px 12px; border-radius: 12px;
  background: #fff; border: 1.5px solid var(--line-2);
  clip-path: polygon(22% 0, 78% 0, 100% 14%, 100% 100%, 0 100%, 0 14%);
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.tag__body::before { /* punched hole */ content: ""; position: absolute; top: 8px; left: 50%; width: 10px; height: 10px; translate: -50% 0; border-radius: 50%; background: var(--plum-50); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.tag__body small { font: 600 .75rem/1.2 var(--fb); color: var(--muted); }
.tag__body b { font: 800 1.625rem/1.05 var(--fd); color: var(--plum); font-variant-numeric: tabular-nums; }
.tag__body em { font: 600 .6875rem/1.2 var(--fb); font-style: normal; color: var(--plum); margin-top: 4px; }
.tag[aria-checked="true"] .tag__body { background: var(--citrus); border-color: var(--citrus); }
.tag[aria-checked="true"] .tag__body small, .tag[aria-checked="true"] .tag__body em { color: var(--plum-900); }
.tag[aria-checked="true"] .tag__body::before { background: var(--plum-50); box-shadow: inset 0 0 0 1.5px var(--citrus-600); }
.tag:disabled { cursor: not-allowed; }
.tag:disabled .tag__body { opacity: .45; }
.tag.swing { animation: swing .7s var(--ease) both; }
@keyframes swing { 0% { rotate: 0deg; } 25% { rotate: -5deg; } 55% { rotate: 3deg; } 80% { rotate: -1deg; } 100% { rotate: 0deg; } }
.tag:focus-visible { box-shadow: none; }
.tag:focus-visible .tag__body { outline: 3px solid var(--plum); outline-offset: -3px; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slot { height: 46px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font: 600 .9375rem/1 var(--fd); color: var(--plum); font-variant-numeric: tabular-nums; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease); }
.slot:active { transform: scale(.96); }
.slot[aria-checked="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.slot:disabled { color: #9a8ba3; text-decoration: line-through; background: transparent; border-style: dashed; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .slot:not(:disabled):not([aria-checked="true"]):hover { border-color: var(--plum); } }
.slots__empty { grid-column: 1 / -1; font-size: .9375rem; color: var(--muted); padding: 12px 0; }

.bk__side { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 14px; }
.ktag {
  position: relative; margin-top: 46px; padding: 46px 24px 26px; border-radius: 26px; background: var(--plum); color: #fff;
  clip-path: polygon(26% 0, 74% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
  min-height: 250px; display: grid; align-content: start; gap: 6px;
}
.ktag__hole { position: absolute; top: 16px; left: 50%; width: 18px; height: 18px; translate: -50% 0; border-radius: 50%; background: var(--plum-50); }
.ktag__string { display: none; }
.bk__side::before { /* the ring the tag hangs from */ content: ""; position: absolute; top: 0; left: 50%; width: 36px; height: 60px; translate: -50% 0; border: 3px solid var(--plum-300); border-radius: 50%; }
.ktag__kind { font: 600 .875rem/1.3 var(--fb); color: var(--citrus); }
.ktag__when { font: 800 1.5rem/1.15 var(--fd); letter-spacing: -.02em; }
.ktag__where { font-size: .9375rem; color: #e3d4ea; }
.ktag__ref { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .3); font: 600 .8125rem/1 var(--fd); color: #cdb7d8; font-variant-numeric: tabular-nums; }
html.anim .ktag.bump { animation: swing .7s var(--ease); transform-origin: 50% 0; }

.done { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; outline: none; }
.done__main { display: grid; gap: 18px; justify-items: start; }
.done__tag { position: relative; width: 100%; max-width: 440px; padding: 48px 28px 28px; border-radius: 28px; background: var(--citrus); color: var(--plum-900); clip-path: polygon(24% 0, 76% 0, 100% 10%, 100% 100%, 0 100%, 0 10%); }
.done__tag .ktag__hole { background: var(--plum-50); }
html.anim .done__tag { animation: tagDrop .8s var(--ease) both; transform-origin: 50% 0; }
@keyframes tagDrop { 0% { opacity: 0; transform: translateY(-14px) rotate(-3deg); } 60% { opacity: 1; transform: translateY(0) rotate(1.5deg); } 100% { transform: rotate(0); } }
.done__ok { display: flex; align-items: center; gap: 8px; font: 700 1rem/1 var(--fd); }
.done__ok .ic { width: 22px; height: 22px; color: var(--plum); }
.done__ref { font: 800 clamp(2rem, 1.5rem + 1.6vw, 2.75rem)/1 var(--fd); letter-spacing: -.02em; margin: 12px 0 14px; font-variant-numeric: tabular-nums; color: var(--plum); }
.done__what { font: 700 1.125rem/1.3 var(--fd); }
.done__when { font-size: 1rem; margin-top: 4px; }
.done__where { font-size: .9375rem; margin-top: 4px; color: #4a2a2c; }
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.done__previews { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; align-items: start; }
.phone { background: #fff; border-radius: 30px; border: 8px solid var(--plum-900); padding: 14px 12px 22px; min-height: 280px; box-shadow: var(--shadow); }
.phone__top { display: grid; justify-items: center; gap: 2px; font-size: .75rem; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.phone__top b { font: 700 .9375rem/1 var(--fd); color: var(--ink); }
.phone__bubble { background: #ece8ef; border-radius: 18px 18px 18px 6px; padding: 10px 12px; font-size: .875rem; line-height: 1.45; }
.mail { background: #fff; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.mail__meta { padding: 12px 16px; font-size: .8125rem; color: var(--muted); border-bottom: 1px solid var(--line); line-height: 1.6; overflow-wrap: anywhere; }
.mail__meta b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.mail__body { padding: 0 0 18px; font-size: .9063rem; }
.mail__body > p, .mail__dl { padding: 0 20px; }
.mail__brand { display: flex; align-items: center; gap: 10px; padding: 16px 20px; background: var(--plum); color: #fff; font: 800 1.125rem/1 var(--fd); margin-bottom: 16px; }
.mail__brand svg { width: 28px; height: 28px; }
.mail__hi { font-weight: 600; margin-bottom: 8px; }
.mail__dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 20px; padding: 14px 16px !important; border-radius: 12px; background: var(--plum-50); }
.mail__dl dt { color: var(--muted); }
.mail__dl dd { font-weight: 600; }
.mail__btns { display: flex; gap: 8px; margin: 4px 0 14px; }
.mail__btns span { padding: 9px 16px; border-radius: 999px; font: 600 .8125rem/1 var(--fd); background: var(--citrus); color: var(--plum-900); }
.mail__btns span + span { background: #fff; border: 1px solid var(--line-2); color: var(--plum); }
.mail__sig { font-size: .8125rem; color: var(--muted); }

/* ---------- closer ---------- */
.closer { position: relative; background: var(--hero-bg); color: var(--hero-ink); overflow: clip; }
.closer__in { position: relative; min-height: 420px; display: flex; align-items: center; padding: clamp(72px, 9vw, 120px) 0; }
.closer__copy { position: relative; z-index: 1; max-width: 680px; }
.closer h2 { color: var(--hero-ink); font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4rem); }
.closer p { margin: 16px 0 30px; font-size: 1.1875rem; color: var(--hero-sub); max-width: 44ch; }
.closer__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.closer__hole { position: absolute; right: 0; top: 50%; translate: 0 -50%; height: 130%; width: auto; aspect-ratio: .56; overflow: visible; }
.closer__hole path { fill: none; stroke: var(--hero-accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .55; }

/* ---------- footer ---------- */
.ftr { background: var(--plum-900); color: #e6d9ec; padding: 64px 0 40px; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.brand--ftr { color: #fff; align-self: start; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ftr__cols h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.ftr__cols a, .ftr__link { display: block; padding: 6px 0; text-decoration: none; color: #e6d9ec; font-size: .9375rem; text-align: left; }
.ftr__cols p { font-size: .9375rem; line-height: 1.6; margin-bottom: 10px; }
@media (hover: hover) and (pointer: fine) { .ftr__cols a:hover, .ftr__link:hover { color: var(--citrus); } }
.ftr__legal { display: grid; gap: 10px; padding-top: 28px; font-size: .8125rem; color: #cdbad8; line-height: 1.6; max-width: 900px; }
.ftr__eho { display: flex; gap: 10px; align-items: flex-start; color: #efe4f3; }
.ftr__eho .ic { width: 22px; height: 22px; color: var(--citrus); flex: none; }
.ftr__proto { color: #fff; font-weight: 500; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: var(--z-toast); background: var(--plum-900); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: .9375rem; box-shadow: var(--shadow); max-width: calc(100vw - 32px); text-align: center; transition: opacity .25s ease, translate .25s var(--ease); }
.toast.is-hide { opacity: 0; translate: -50% 10px; }

/* ---------- reveal (fail-open) ---------- */
html.reveal-on [data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.reveal-on [data-reveal]:not(.in) { opacity: 0; transform: translateY(18px); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hdr__nav a:nth-child(n+7) { display: none; }
  .handle__grid { grid-template-columns: 1fr; }
  .fees { position: static; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .fees__photo { aspect-ratio: auto; }
  .repair__grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .issues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: grid; }
  .hdr__phone span { display: none; }
  .hero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .est__grid { grid-template-columns: 1fr; }
  .stmt { position: static; max-width: 560px; }
  .homes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cut__in { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .path { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .path li:nth-child(3)::before, .path li:nth-child(3)::after { display: none; }
  .bk { grid-template-columns: 1fr; }
  .bk__side { position: relative; top: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .bk__side .fine { grid-column: 1 / -1; }
  .bk__side::before { left: calc((100% - 14px) / 4); }
  .done { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__side { position: static; }
}
@media (max-width: 860px) {
  :root { --hdr-h: 64px; }
  .hdr__cta { display: none; }
  .hero__in { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero__media { width: min(70vw, 300px); min-width: 0; margin-bottom: 30px; }
  .hero__title { max-width: 14ch; }
  .chip { width: 228px; }
  .chip--statement { left: -20%; bottom: -5%; }
  .chip--ticket { left: -16%; bottom: -5%; }
  .repair__grid { grid-template-columns: 1fr; }
  .ticket-col { position: static; }
  .band__in { grid-template-columns: 1fr; gap: 0; }
  .band__media { order: -1; margin: 0 calc(-1 * var(--gut)); min-height: 0; aspect-ratio: 16 / 10; }
  .band__media, .band__media::after { border-radius: 0; }
  .band__copy { padding: 48px 0 64px; }
  .why__grid, .area__grid { grid-template-columns: minmax(0, 1fr); }
  .why__photo { aspect-ratio: 16 / 11; }
  .area__photo { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .ftr__top { grid-template-columns: 1fr; }
  .cut__pin { align-items: flex-start; }
  .cut__in { grid-template-columns: 1fr; gap: 10px; }
  .cut__sub { display: none; }
  .cut__steps { margin-top: 14px; gap: 0; }
  .cut__steps li { padding: 6px 0 6px 36px; }
  .cut__steps li::before { top: 5px; }
  .cut__steps li:not(.is-on) span { display: none; }
  .cut__count { margin-top: 8px; }
  .cut__count b { font-size: 2rem; }
  .cut__in { display: flex; flex-direction: column; min-height: calc(100svh - var(--hdr-h) - 40px); }
  .cut__stage { max-height: none; aspect-ratio: auto; flex: 1; min-height: 280px; max-height: 560px; }
  .closer__hole { opacity: .5; right: -20%; }
}
@media (max-width: 760px) {
  .seg--4 { grid-template-columns: 1fr 1fr; }
  .homes__grid { grid-template-columns: 1fr; }
  .criteria, .criteria ul { grid-template-columns: 1fr; }
  .filters { padding: 16px; gap: 16px; }
  .filters__grp--range { max-width: none; flex-basis: 100%; }
  .filters__count { margin-left: 0; padding: 0; }
  .board { grid-template-columns: 1fr; }
  .board__col { padding: 20px 0 0; border-left: 0; }
  .fees { grid-template-columns: 1fr; }
  .fees__photo { aspect-ratio: 16 / 10; }
  .wo__row { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; row-gap: 0; }
  .path li { padding: 0 0 30px 70px; min-height: 80px; }
  .path li::before, .path li::after { top: 56px; bottom: 6px; left: 24px; right: auto; width: 2px; height: auto; transform-origin: top; }
  .path li::after { transform: scaleY(1); }
  html.reveal-on .path:not(.is-in) li::after { transform: scaleY(0); }
  .path li:nth-child(3)::before, .path li:nth-child(3)::after { display: block; }
  .path li:last-child::before, .path li:last-child::after { display: none; }
  .promises { grid-template-columns: 1fr; }
  .office { grid-template-columns: 1fr 1fr; }
  .opts { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 1fr; }
  .bk__row, .bk__row--3 { grid-template-columns: 1fr; }
  .bk__side { grid-template-columns: 1fr; }
  .bk__side::before { left: 50%; }
  .done__previews { grid-template-columns: 1fr; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .tags__nav { display: none; }
  .closer__hole { display: none; }
}
@media (max-width: 520px) {
  .hdr__in { gap: 12px; }
  html.is-past-hero .hdr__phone { display: none; }
  .mini-switch { margin-left: auto; }
}
@media (max-width: 480px) {
  .switch button { height: 50px; padding: 0 16px; font-size: 1rem; gap: 8px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .closer__ctas .btn { flex: 1 1 100%; }
  .issues { gap: 8px; }
  .issue span { min-height: 88px; padding: 12px; }
  .office { grid-template-columns: 1fr; }
  .brand__word small { display: none; }
  .mini-switch button { padding: 0 10px; font-size: .8125rem; }
  .ftr__cols { grid-template-columns: 1fr; }
  .stmt__paper { padding: 22px 18px 20px; }
}

/* ---------- motion preferences + capture ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; scroll-behavior: auto !important; }
  .towns__track { animation: none; flex-wrap: wrap; width: auto; }
  .towns__list[aria-hidden="true"] { display: none; }
  .towns__list { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  .glaze::after { display: none; }
  html.reveal-on [data-reveal]:not(.in) { transform: none; }
}
html.is-shot *, html.is-shot *::before, html.is-shot *::after { animation: none !important; transition: none !important; }
html.is-shot .glaze::after { display: none; }
