/* =====================================================================
   ลมนนท์ แอร์เซอร์วิส — one-page concept site (fictional brand)
   Palette: paper white / sage mist / sand / slate ink / night LCD
   Type: Noto Sans Thai (condensed display + body) + Chakra Petch (figures)
   Motion: one reveal config (0.9s, cubic-bezier(.22,1,.36,1), once),
   one load sequence in the hero, everything else answers the visitor.
   Signature: the price calculator — physical keys, rolling LCD total.
   No animation libraries, no blur, transform/opacity only.
   ===================================================================== */

:root {
  color-scheme: light;
  --paper: #FAFAF7;
  --mist: #EDF0EA;
  --sand: #E5DBC9;
  --key: #F2ECE1;
  --key-edge: #6F6450;           /* key outline, 4.2:1 on sand */
  --key-shadow: #B8A98C;
  --sage: #93A897;
  --sage-deep: #4A6B54;          /* 5.7:1 on paper */
  --slate: #2C383D;              /* body ink, 11.5:1 on paper */
  --slate-2: #4F5D63;            /* muted ink, 6.5:1 on paper */
  --night: #222C30;
  --night-2: #161C1F;
  --lcd: #D4E6D6;                /* 10.9:1 on night */
  --lcd-muted: #A9BBB0;          /* 7.1:1 on night */
  --led: #7FD39A;
  --dirt: #7A5C33;               /* "before" readings, 5.9:1 on paper */
  --line: rgba(44, 56, 61, .14);
  --line-strong: rgba(44, 56, 61, .4);
  --focus: #2E6B47;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --dur: .9s;

  --font: "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Chakra Petch", "Noto Sans Thai", system-ui, sans-serif;
  --fs-xs: clamp(.8125rem, .8rem + .08vw, .875rem);
  --fs-sm: clamp(.9375rem, .91rem + .1vw, 1rem);
  --fs-base: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, .99rem + .35vw, 1.3125rem);
  --fs-h3: clamp(1.1875rem, 1.08rem + .45vw, 1.4375rem);
  --fs-h2: clamp(2.125rem, 1.45rem + 2.9vw, 4rem);
  --fs-display: clamp(2.75rem, 1.4rem + 5.4vw, 5.75rem);

  --gutter: clamp(1rem, 4vw, 2.75rem);
  --wrap: 76rem;
  --pad-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --header-h: 4rem;
  --mbar-h: 58px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-tap-highlight-color: rgba(74, 107, 84, .15);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* kill rubber-band on desktop only; phones keep pull-to-refresh */
@media (pointer: fine) { html, body { overscroll-behavior: none; } }
* { scrollbar-width: thin; scrollbar-color: rgba(44, 56, 61, .35) transparent; }
a, button, summary, label, input { touch-action: manipulation; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.7;
  overflow-wrap: break-word;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.3; text-wrap: balance; }
strong { font-weight: 600; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.contact :focus-visible, .pvdev :focus-visible, .calc-readout :focus-visible { outline-color: var(--lcd); }
::selection { background: rgba(147, 168, 151, .4); }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -6rem; z-index: 300;
  background: var(--slate); color: var(--paper); padding: .75rem 1.1rem; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 1rem; }
.wrap {
  width: min(100% - 2 * max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)), var(--wrap));
  margin-inline: auto;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.125rem; padding: .65rem 1.4rem; border-radius: 999px;
  border: 1px solid transparent; font: inherit; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .3s var(--ease), color .3s, border-color .3s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn svg { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.btn .i-line, .mbar .i-line { fill: currentColor; stroke: none; }
.btn-ink { background: var(--slate); color: var(--paper); }
.btn-ink:hover { background: #3B4A50; }
.btn-line-out { border-color: rgba(44, 56, 61, .5); color: var(--slate); }
.btn-line-out:hover { background: var(--mist); border-color: var(--slate); }
.btn-sm { min-height: 2.75rem; padding: .45rem 1.05rem; }
.btn-mint { background: var(--lcd); color: var(--night); }
.btn-mint:hover { background: #E4F0E5; }
.btn-ghost { border-color: rgba(212, 230, 214, .5); color: var(--paper); }
.btn-ghost:hover { border-color: var(--lcd); background: rgba(212, 230, 214, .08); }
.tlink { text-decoration: underline; text-decoration-color: currentColor; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; margin-right: auto; color: var(--slate); text-decoration: none; }
.brand-mark { width: 2.25rem; height: 2.25rem; flex: none; }
.brand-mark rect { fill: var(--slate); }
.brand-mark path { fill: none; stroke: var(--lcd); stroke-width: 2; stroke-linecap: round; }
.brand-text { display: grid; }
.brand-name { font-size: 1.375rem; font-weight: 600; font-stretch: 75%; line-height: 1.15; }
.brand-sub { font-size: .8125rem; color: var(--slate-2); line-height: 1.35; }
.site-nav { display: none; }
.site-nav ul { display: flex; gap: clamp(1.1rem, 2vw, 2rem); margin: 0; padding: 0; list-style: none; }
.site-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--fs-sm); text-decoration: none; color: var(--slate);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .55rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hide-sm { display: none; }
@media (min-width: 480px) { .hide-sm { display: inline; } }
@media (min-width: 960px) {
  .site-nav { display: block; margin-right: 1rem; }
}

.concept-row { padding-top: .85rem; }
.concept {
  display: inline-block; font-size: var(--fs-xs); line-height: 1.5; color: var(--slate-2);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: .2rem .8rem;
}

/* ---------- reveal (the one config) ---------- */
[data-reveal] { transition: opacity var(--dur) var(--ease) var(--d, 0s), transform var(--dur) var(--ease) var(--d, 0s); }
html.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(1.25rem); }

.ph { display: inline-block; }
html.motion .ph { clip-path: inset(-.4em -.2em -.5em -.2em); }
html.motion .ph > span {
  display: inline-block; transform: translateY(150%);
  transition: transform 1.1s var(--ease) calc(.1s + var(--i, 0) * .1s);
}
html.motion [data-split].is-in .ph > span { transform: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(1.75rem, 1rem + 3vw, 4.5rem) 0 clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.hero-grid { display: grid; gap: 2.5rem; }
.hero-title {
  font-size: var(--fs-display); font-weight: 600; font-stretch: 75%;
  line-height: 1.2; letter-spacing: -.005em; margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
}
.hero-title .ph { display: block; }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--slate-2); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.slot-chip {
  display: inline-flex; align-items: center; gap: .65rem; margin: 1.5rem 0 0;
  padding: .45rem 1rem .45rem .85rem; border-radius: 999px; background: var(--mist);
  font-size: var(--fs-sm); line-height: 1.5;
}
.slot-dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--sage-deep); }
.slot-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--sage-deep); opacity: 0;
}
html.motion .slot-dot::after { animation: ping 2.4s var(--ease) 1.4s 3; }
@keyframes ping { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.slot-chip.is-full .slot-dot { background: var(--dirt); }
.slot-chip.is-full .slot-dot::after { animation: none; }

.hero-media { position: relative; margin: 0 0 0 auto; width: min(78%, 26rem); }
.hero-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--mist); }
.hero-frame img {
  width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(.97);
  transition: transform 1.8s var(--ease) .3s;
}
.hero-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(147, 168, 151, .1), rgba(44, 56, 61, .14));
}
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 2; background: var(--sand);
  transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease-io) .35s;
}
html.motion .hero:not(.is-in) .hero-frame::before { transform: scaleY(1); }
html.motion .hero:not(.is-in) .hero-frame img { transform: scale(1.12); }
.price-tag {
  position: absolute; z-index: 3; left: -26%; bottom: 1.25rem; margin: 0;
  display: grid; gap: .1rem; padding: .85rem 1.1rem .8rem; border-radius: 14px;
  background: var(--sand); box-shadow: 0 10px 30px -12px rgba(34, 44, 48, .35);
}
.pt-what { font-size: var(--fs-xs); color: var(--slate-2); line-height: 1.45; }
.pt-from { font-size: var(--fs-sm); font-weight: 500; line-height: 1.3; }
.pt-from .num { font-size: 2.25rem; font-weight: 600; line-height: 1.1; }
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: end; gap: clamp(2rem, 5vw, 5rem); }
  .hero-media { width: 100%; margin: 0; }
  .price-tag { left: -2.5rem; bottom: 2.5rem; }
}

/* ---------- section scaffolding ---------- */
.section { padding-block: var(--pad-section); }
.section-mist { background: var(--mist); }
.sec-head { max-width: 42rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.sec-head h2 { font-size: var(--fs-h2); font-weight: 600; font-stretch: 75%; line-height: 1.22; margin-bottom: .8rem; }
.sec-head p { color: var(--slate-2); max-width: 36em; margin: 0; }
.sec-head a { color: var(--slate); }
.list-title {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem;
  font-size: var(--fs-h3); font-weight: 600; font-stretch: 85%; line-height: 1.4; margin-bottom: .75rem;
}
.list-unit { font-size: var(--fs-xs); font-weight: 400; font-stretch: 100%; color: var(--slate-2); }
.fine { font-size: var(--fs-xs); line-height: 1.6; color: var(--slate-2); margin: 1rem 0 0; }

/* ---------- calculator (signature) ---------- */
.calc-sec { padding-block: clamp(3.5rem, 2.5rem + 4vw, 7rem); border-top: 1px solid var(--line); }
.calc { display: block; } /* block on phones so the sticky readout can travel the whole form */
.calc-keys {
  display: grid; gap: 1.6rem; min-width: 0;
  padding: clamp(1.1rem, .8rem + 2vw, 2.25rem); border-radius: 28px; background: var(--sand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field legend {
  display: block; width: 100%; padding: 0; margin-bottom: .65rem;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.5;
}
.legend-hint { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--slate-2); }
.field-note, .field-msg { font-size: var(--fs-xs); color: var(--slate-2); margin: .65rem 0 0; line-height: 1.55; }
.field-note { max-width: 17em; }
.field-msg:empty { display: none; }
.field-row { display: grid; gap: 1.6rem; }

.keys { display: grid; gap: .55rem; }
.keys-type { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.keys-btu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.keys-btu .key:last-child { grid-column: 1 / -1; }
.keys-wash { grid-template-columns: minmax(0, 1fr); }
.keys-when { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) {
  .keys-btu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .keys-btu .key:last-child { grid-column: auto; }
  .keys-wash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: auto minmax(0, 1fr); gap: 2rem; }
}

.key { position: relative; display: block; cursor: pointer; }
.key input {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer;
}
.key-face {
  position: relative; display: flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 3.25rem; padding: .6rem .7rem; border-radius: 14px;
  background: var(--key); border: 1px solid var(--key-edge); box-shadow: 0 3px 0 var(--key-shadow);
  color: var(--slate); font-size: var(--fs-sm); line-height: 1.35; text-align: center;
  transition: transform .16s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.key-face .num { font-size: .9375rem; font-weight: 500; letter-spacing: .01em; }
.key-face::after {
  content: ""; position: absolute; top: .5rem; right: .55rem; width: 6px; height: 6px; border-radius: 50%;
  background: var(--led); opacity: 0; transform: scale(.3);
  transition: opacity .2s, transform .45s var(--ease);
}
.key:hover .key-face { background: #F8F4EC; }
.key input:active + .key-face { transform: translateY(2px); box-shadow: 0 1px 0 var(--key-shadow); }
.key input:checked + .key-face {
  background: var(--slate); border-color: var(--slate); color: var(--paper);
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, .28); transform: translateY(2px);
}
.key input:checked + .key-face::after { opacity: 1; transform: none; }
.key input:focus-visible + .key-face { outline: 2px solid var(--focus); outline-offset: 3px; }
.key input:disabled { cursor: not-allowed; }
.key input:disabled + .key-face {
  background: transparent; border-style: dashed; box-shadow: none; color: var(--slate-2); opacity: .55;
}
.key-tall .key-face { flex-direction: column; min-height: 5.5rem; padding: .75rem .5rem .7rem; }
.key-ico { width: 2.6rem; height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.key-name { font-weight: 600; }
.key-face-left { align-items: flex-start; justify-content: flex-start; text-align: left; gap: .2rem; padding: .85rem 1.6rem .85rem 1rem; }
.key-desc { font-size: var(--fs-xs); line-height: 1.55; color: var(--slate-2); transition: color .25s; }
.key input:checked + .key-face .key-desc { color: #C9D3CF; }

.stepper {
  display: inline-flex; align-items: center; gap: .35rem; padding: .35rem;
  border-radius: 999px; background: var(--key); border: 1px solid var(--key-edge);
}
.step-btn {
  display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: 50%;
  background: var(--slate); color: var(--paper); cursor: pointer;
  box-shadow: 0 3px 0 #141B1E; transition: transform .14s var(--ease), opacity .2s;
}
.step-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #141B1E; }
.step-btn:disabled { opacity: .3; cursor: not-allowed; transform: none; box-shadow: none; }
.step-btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.step-out { min-width: 3.75rem; text-align: center; font-family: var(--font-num); font-size: 2rem; font-weight: 600; line-height: 1.15; }

/* readout — the LCD */
.calc-readout {
  position: sticky; z-index: 5; bottom: calc(.5rem + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .35rem 1rem;
  margin-top: 1rem; padding: .8rem .8rem .8rem 1.15rem; border-radius: 22px;
  background: var(--night); color: var(--lcd);
  box-shadow: 0 -6px 28px -8px rgba(34, 44, 48, .4);
}
.lcd { min-width: 0; position: relative; }
.lcd-label { margin: 0; font-size: var(--fs-xs); line-height: 1.4; color: var(--lcd-muted); }
.lcd-total {
  display: flex; align-items: baseline; gap: .45rem; margin: 0;
  font-family: var(--font-num); font-weight: 600; font-size: 2.25rem; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.lcd-unit { font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--lcd-muted); }
.lcd-sum { margin: 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--lcd-muted); }
.lcd-lines { display: none; margin: 0; font-size: var(--fs-xs); color: var(--lcd-muted); }
.lcd-lines div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px dashed rgba(212, 230, 214, .2); }
.lcd-lines dt { margin: 0; }
.lcd-lines dd { margin: 0; text-align: right; color: var(--lcd); }
.lcd::after {
  content: ""; position: absolute; inset: -.4rem -.6rem; border-radius: 12px; pointer-events: none;
  background: rgba(212, 230, 214, .09); opacity: 0;
}
.lcd.is-bump::after { animation: bump .5s var(--ease); }
@keyframes bump { 0% { opacity: 1; } 100% { opacity: 0; } }
.btn-book { background: var(--lcd); color: var(--night); padding-inline: 1.1rem; }
.btn-book:hover { background: #E6F2E7; }
.calc-note { display: none; margin: 0; font-size: var(--fs-xs); line-height: 1.55; color: var(--lcd-muted); }
.calc-readout noscript .calc-note { display: block; grid-column: 1 / -1; }

@media (min-width: 900px) {
  .calc { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 1fr); gap: clamp(1rem, 2vw, 1.75rem); align-items: start; }
  .calc-readout {
    top: calc(var(--header-h) + 1.25rem); bottom: auto; margin-top: 0;
    grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.5rem; border-radius: 28px; box-shadow: none;
  }
  .lcd-total { font-size: clamp(3.25rem, 1.6rem + 3vw, 4.75rem); line-height: 1.1; margin-top: .25rem; }
  .lcd-sum { margin: .5rem 0 1rem; font-size: var(--fs-sm); }
  .lcd-lines { display: block; }
  .calc-note { display: block; }
  .btn-book { min-height: 3.5rem; font-size: var(--fs-base); }
}

/* odometer digits (built by script.js; plain text without it) */
.odo { display: inline-flex; }
.odo-col { display: inline-block; height: 1.15em; clip-path: inset(0 -.2em); } /* clip, not overflow: keeps the digit baseline */
.odo-strip { display: block; transition: transform .75s var(--ease); }
.odo-strip > span { display: block; height: 1.15em; line-height: 1.15; text-align: center; }

/* ---------- prices ---------- */
.prices-grid { display: grid; gap: 3.5rem; }
@media (min-width: 960px) { .prices-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); } }
.ptable { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.ptable th, .ptable td { padding: .65rem .5rem; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: baseline; }
.ptable th:first-child { padding-left: 0; }
.ptable td:last-child, .ptable thead th:last-child { padding-right: 0; }
.ptable thead th { font-size: var(--fs-xs); color: var(--slate-2); border-bottom-color: var(--line-strong); }
.ptable thead th + th, .ptable td { text-align: right; }
.ptable td { font-family: var(--font-num); font-size: 1.125rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.ptable tbody th[scope="row"] { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.pt-group th { padding-top: 1.6rem; font-size: var(--fs-base); font-weight: 600; font-stretch: 85%; border-bottom-color: var(--line-strong); }
.ptable tr.is-current th, .ptable tr.is-current td { background: rgba(147, 168, 151, .26); }
.ptable tr.is-current th[scope="row"] { padding-left: .5rem; }
.ptable tr.is-current td.is-pick { color: var(--sage-deep); font-weight: 600; }
.ptable th, .ptable td { transition: background-color .4s var(--ease); }

.plists { display: grid; gap: 3rem; align-content: start; }
.plist ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.plist li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.pl-name { min-width: 0; line-height: 1.55; }
.pl-name small { display: block; font-size: var(--fs-xs); color: var(--slate-2); }
.pl-amt { flex: none; white-space: nowrap; text-align: right; }
.pl-amt .num { font-size: 1.125rem; font-weight: 500; }
.pl-from, .pl-per { font-size: var(--fs-xs); color: var(--slate-2); }
.pl-from { margin-right: .35rem; }

/* ---------- photos ---------- */
.photo { margin: 0; }
.photo-frame { overflow: hidden; border-radius: 6px; background: var(--sand); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76) contrast(.96) sepia(.05); transition: transform 1.6s var(--ease) var(--d, 0s); }
html.motion .photo:not(.is-in) .photo-frame img { transform: scale(1.08); }
.photo figcaption { margin-top: .75rem; font-size: var(--fs-xs); color: var(--slate-2); }
.visit-photo .photo-frame { aspect-ratio: 1 / 1; }
.area-photo .photo-frame { aspect-ratio: 4 / 3; }

/* ---------- visit steps ---------- */
.visit-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .visit-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; } }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.1rem; padding-bottom: 1.9rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 1.5rem; top: 3.25rem; bottom: .3rem; width: 1px; background: var(--line-strong);
}
.step-n {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-strong); font-size: 1.125rem; font-weight: 600;
}
.steps h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.4; margin: .5rem 0 .3rem; }
.steps p { margin: 0; color: var(--slate-2); max-width: 32em; }

/* ---------- before / after ---------- */
.results-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .results-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; } }
.cmp { margin: 0; }
.cmp-frame {
  position: relative; aspect-ratio: 900 / 635; overflow: hidden; border-radius: 6px; background: var(--sand);
  touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none;
}
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(.97); pointer-events: none; }
/* the before layer is a sliding window: outer moves right, inner moves back, so only transforms change */
.cmp-before { position: absolute; inset: 0; overflow: hidden; transform: translateX(calc(var(--pos) - 100%)); }
.cmp-before-inner { position: absolute; inset: 0; transform: translateX(calc(100% - var(--pos))); }
.cmp-before .cmp-img { filter: sepia(.32) saturate(.7) brightness(.86) contrast(.93); }
.grime { position: absolute; inset: 0; width: 100%; height: 100%; }
.cmp-tag {
  position: absolute; top: .75rem; z-index: 2; padding: .2rem .7rem; border-radius: 999px;
  background: rgba(34, 44, 48, .78); color: var(--paper); font-size: var(--fs-xs); line-height: 1.6; pointer-events: none;
}
.cmp-tag-before { left: .75rem; }
.cmp-tag-after { right: .75rem; }
.cmp-handle { position: absolute; inset: 0; z-index: 3; pointer-events: none; transform: translateX(var(--pos)); }
.cmp.is-moving .cmp-handle, .cmp.is-moving .cmp-before, .cmp.is-moving .cmp-before-inner { transition: none; }
.cmp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--paper); box-shadow: 0 0 0 1px rgba(34, 44, 48, .35); }
.cmp-knob {
  position: absolute; left: 0; top: 50%; display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: 50%; background: var(--paper); color: var(--slate); border: 1px solid rgba(34, 44, 48, .55);
  transform: translate(-50%, -50%); box-shadow: 0 6px 18px rgba(20, 27, 30, .25);
}
.cmp-knob svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cmp-range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.cmp-range:focus-visible + .cmp-handle .cmp-knob { outline: 2px solid var(--paper); outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus); }
.cmp.is-hint .cmp-handle, .cmp.is-hint .cmp-before, .cmp.is-hint .cmp-before-inner { transition: transform 1.1s var(--ease-io); }
.cmp figcaption { margin-top: .75rem; }

.readings dl { margin: 0; border-top: 1px solid var(--line-strong); }
.rd { padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--line); }
.rd dt { font-size: var(--fs-sm); color: var(--slate-2); margin-bottom: .2rem; }
.rd dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.5rem; margin: 0; font-size: var(--fs-sm); }
.rd .num { font-size: 2rem; font-weight: 600; line-height: 1.2; margin-right: .1rem; }
.rd-b { color: var(--dirt); }
.rd-a { color: var(--sage-deep); }

/* ---------- area ---------- */
.area-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .area-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.zone { padding: 1.35rem 0 1.5rem; border-top: 1px solid var(--line-strong); }
.zone:last-child { border-bottom: 1px solid var(--line-strong); }
.zone-title { font-size: var(--fs-h3); font-weight: 600; font-stretch: 85%; line-height: 1.4; }
.zone-tech { margin: .15rem 0 .85rem; font-size: var(--fs-sm); color: var(--slate-2); }
.districts { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.districts li { padding: .3rem .85rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.5; }
@media (min-width: 640px) {
  .zone { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: .25rem 2rem; }
  .zone-title, .zone-tech { grid-column: 1; }
  .districts { grid-column: 2; grid-row: 1 / span 2; align-content: start; padding-top: .3rem; }
}

/* ---------- reviews ---------- */
.sec-head-split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; }
.sec-head-split h2 { margin-bottom: 0; }
.rating { display: flex; align-items: center; gap: .9rem; font-size: var(--fs-sm); line-height: 1.5; }
.sec-head .rating { color: var(--slate-2); }
.rating-n { font-size: 3.25rem; font-weight: 600; line-height: 1; color: var(--slate); }
.quotes { display: grid; gap: 2.25rem; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2rem, 5vw, 4.5rem); } }
.quote { margin: 0; padding-top: 1.35rem; border-top: 1px solid var(--line-strong); }
.stars { margin: 0; font-size: var(--fs-sm); letter-spacing: .12em; color: var(--dirt); }
.quote blockquote { margin: .6rem 0 1rem; }
.quote blockquote p { margin: 0; font-size: var(--fs-lead); line-height: 1.7; }
.quote figcaption { font-size: var(--fs-sm); color: var(--slate-2); line-height: 1.55; }
.quote figcaption strong { display: block; color: var(--slate); }

/* ---------- faq ---------- */
.faq-grid { display: grid; gap: .5rem; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary {
  position: relative; display: block; min-height: 44px; padding: 1.1rem 2.75rem 1.1rem 0;
  font-weight: 600; line-height: 1.55; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: 1.25rem; height: 1.25rem; margin-top: -.625rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .45s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--sage-deep); }
.faq details p { margin: 0 0 1.35rem; color: var(--slate-2); max-width: 40em; }
html.motion .faq details[open] p { animation: faq-in .6s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-.4rem); } to { opacity: 1; transform: none; } }

/* ---------- contact ---------- */
.contact { background: var(--night); color: #DCE5DF; padding-block: var(--pad-section); }
.contact-title { font-size: clamp(2.5rem, 1.4rem + 5vw, 5.75rem); font-weight: 600; font-stretch: 75%; line-height: 1.2; color: var(--paper); }
.contact-title .ph { display: block; }
.contact .contact-lead { max-width: 32em; margin: 1.5rem 0 0; font-size: var(--fs-lead); color: #C9D6CE; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.contact-grid {
  display: grid; gap: 2rem; margin-top: clamp(3rem, 2rem + 4vw, 5rem); padding-top: 2rem;
  border-top: 1px solid rgba(212, 230, 214, .2);
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); } }
.contact h3 { margin-bottom: .5rem; font-size: var(--fs-sm); font-weight: 500; color: var(--lcd-muted); }
.contact p { margin: 0 0 .75rem; line-height: 1.8; }
.contact a { color: var(--paper); text-decoration-color: rgba(212, 230, 214, .5); }
.contact a:hover { text-decoration-color: currentColor; }
.contact-links { list-style: none; margin: 0; padding: 0; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; }
.contact .btn { text-decoration: none; }
.contact .btn-mint { color: var(--night); }

/* ---------- footer, PV Dev strip ---------- */
.site-footer { padding-block: 2.5rem 2rem; }
.footer-inner { display: grid; gap: 1.5rem; }
.brand-foot { margin-right: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-sm); color: var(--slate); }
.footer-legal { grid-column: 1 / -1; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--slate-2); }
@media (min-width: 768px) { .footer-inner { grid-template-columns: auto minmax(0, 1fr); align-items: center; } .footer-links { justify-content: flex-end; } }

.pvdev { background: var(--night-2); color: #C9D2CD; }
.pvdev p { margin: 0; padding-block: .95rem; font-size: var(--fs-xs); line-height: 1.6; }
.pvdev a { color: var(--lcd); text-decoration: underline; text-decoration-color: rgba(212, 230, 214, .5); }
.pvdev a:hover { text-decoration-color: currentColor; }

/* ---------- mobile contact bar ---------- */
.mbar { display: none; }
@media (max-width: 899.98px) {
  body { padding-bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom)); }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr 1.35fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--paper); border-top: 1px solid var(--line-strong);
    transition: transform .5s var(--ease), visibility 0s;
  }
  html.calc-on .mbar { transform: translateY(105%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
  html.calc-on { scroll-padding-bottom: calc(10rem + env(safe-area-inset-bottom)); }
  .mbar a {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: var(--mbar-h); color: var(--slate); text-decoration: none; font-size: var(--fs-sm); font-weight: 600;
  }
  .mbar a + a { border-left: 1px solid var(--line); }
  .mbar svg { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .mbar .m-main { background: var(--slate); color: var(--paper); border-left: 0; }
  .mbar a:active { background: var(--mist); }
  .mbar .m-main:active { background: #3B4A50; }
  html { scroll-padding-bottom: calc(var(--mbar-h) + 1rem + env(safe-area-inset-bottom)); }
}

/* ---------- reduced motion, print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
}
@media print {
  .site-header, .mbar, .pvdev, .calc-readout .btn { display: none; }
  .calc-readout { position: static; }
  html.motion [data-reveal] { opacity: 1 !important; transform: none !important; }
}
