/* Lumiere Aesthetic Surgery: editorial, graphite and gold, map-led */
@view-transition { navigation: auto; }
:root {
  --paper: #F4F0E8; --card: #FFFDF8; --ink: #1B1C1F; --graphite: #26282C; --gold: #C6A15B; --gold-d: #84622A; --muted: #5C5A55;
  --line: rgba(27, 28, 31, .14); --line-l: rgba(244, 240, 232, .18); --stone: #E8E2D6;
  --serif: 'Libre Caslon Display', 'Times New Roman', serif; --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --r: 2px; --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--gold-d); }
.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
.small { font-size: .9rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic .dot { fill: var(--gold); stroke: none; }
.ic .dot-s { stroke: var(--gold); stroke-width: 2; }
.ic.big { width: 46px; height: 46px; }
:focus-visible { outline: 2px solid var(--gold-d); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 60px; }
.progress { position: fixed; left: 0; right: 0; top: 48px; height: 2px; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 18px; }
.eyebrow .ic { width: 18px; height: 18px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; font: 600 .95rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); background: none; color: inherit; }
.btn .ic { width: 19px; height: 19px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #D7B672; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #3A3C41; }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-line.light { color: var(--paper); }
.btn-line.light:hover { background: var(--paper); color: var(--ink); }
.btn.sm { min-height: 44px; padding: 8px 16px; font-size: .86rem; }
.btn[aria-pressed="true"] { background: var(--graphite); color: var(--paper); border-color: var(--graphite); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-d); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 100; transition: background .4s, box-shadow .4s; }
.head-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 18px clamp(16px, 3vw, 40px); transition: padding .4s var(--ease); }
.site-head.scrolled { background: rgba(244, 240, 232, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-head.scrolled .head-in { padding-block: 10px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav-r { justify-content: flex-end; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 10px 0; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold-d); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .mark { width: 46px; height: 46px; color: var(--ink); }
.wm { display: flex; flex-direction: column; line-height: 1; }
.wm b { font: 400 1.75rem/1 var(--serif); letter-spacing: .02em; }
.wm small { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.map-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font: 600 .9rem var(--sans); cursor: pointer; color: var(--ink); }
.map-btn:hover { border-color: var(--gold-d); }
.map-btn .ic { color: var(--gold-d); }
.head-book { min-height: 44px; padding: 10px 18px; }
.bottom-bar { display: none; }
@media (max-width: 1080px) {
  .nav-l, .nav-r > a:not(.btn) { display: none; }
  .head-in { grid-template-columns: auto 1fr; }
  .logo { order: -1; }
  .nav-r { gap: 10px; }
}
@media (max-width: 720px) {
  .head-book { display: none; }
  .wm small { display: none; }
  .wm b { font-size: 1.5rem; }
  .logo .mark { width: 40px; height: 40px; }
  .map-btn span { display: none; }
  .map-btn { width: 46px; justify-content: center; padding: 0; }
  .bottom-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 110; background: var(--graphite); color: var(--paper); border-radius: 18px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
  .bottom-bar a, .bottom-bar button { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; justify-content: center; font: 600 .72rem var(--sans); text-decoration: none; background: none; border: 0; color: inherit; border-radius: 12px; cursor: pointer; }
  .bottom-bar .ic { width: 21px; height: 21px; color: var(--gold); }
  .bottom-bar [aria-current] { background: rgba(255,255,255,.08); }
  body { padding-bottom: 76px; }
}

/* map sheet (main navigation) */
.sheet { position: fixed; inset: 0; z-index: 2147483000; background: var(--graphite); color: var(--paper); overflow-y: auto; }
.sheet-in { width: min(1320px, 100% - 32px); margin: 0 auto; padding: 66px 0 40px; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.sheet-top .eyebrow { color: var(--gold); margin: 0; }
.sheet-x { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-l); border-radius: 999px; background: none; color: var(--paper); font: 600 .9rem var(--sans); cursor: pointer; }
.sheet-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.sheet-list { list-style: none; margin: 0; padding: 0; columns: 1; }
.sheet-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-l); text-decoration: none; font: 400 1.3rem/1.2 var(--serif); }
.sheet-list a:hover, .sheet-list a[aria-current] { color: var(--gold); }
.sheet-list .ic { width: 18px; height: 18px; color: var(--gold); }
.sheet-foot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 18px; color: #CFC8BA; font-size: .9rem; }
.sheet-foot a { color: var(--paper); }
@media (max-width: 860px) { .sheet-grid { grid-template-columns: minmax(0, 1fr); } .sheet-in { padding-top: 60px; } }

/* the drawn map */
.map-frame { position: relative; aspect-ratio: 1000 / 690; width: 100%; }
.mapsvg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mapsvg .plot { fill: var(--card); stroke: var(--line); stroke-width: 2; stroke-dasharray: 8 8; }
.mapsvg .room { fill: var(--paper); stroke: var(--ink); stroke-width: 3; transition: fill .4s; }
.mapsvg .room.here { fill: #F1E3C4; }
.mapsvg .rlab { font: 600 17px var(--sans); fill: var(--muted); letter-spacing: .04em; }
.mapsvg .rlab.dim { font-size: 14px; }
.mapsvg .furn { fill: none; stroke: var(--muted); stroke-width: 1.4; opacity: .7; }
.mapsvg .garden { fill: url(#hatch); stroke: var(--muted); stroke-width: 1.4; }
.mapsvg .hatch { stroke: rgba(92, 90, 85, .22); stroke-width: 1.4; }
.mapsvg .tree circle { fill: var(--card); stroke: var(--muted); stroke-width: 1.5; }
.mapsvg .tree circle + circle { fill: none; stroke-dasharray: 3 4; }
.mapsvg .pond { fill: #E9E2D2; stroke: var(--muted); stroke-width: 1.4; }
.mapsvg .gpath { fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; }
.mapsvg .drive { stroke: var(--ink); stroke-width: 3; }
.mapsvg .arrowhead { fill: none; stroke: var(--ink); stroke-width: 3; }
.mapsvg .route-bg { fill: none; stroke: rgba(198, 161, 91, .28); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.mapsvg .route { fill: none; stroke: var(--gold-d); stroke-width: 3.5; stroke-dasharray: .012 .01; stroke-linecap: round; }
.mapsvg .branch { fill: none; stroke: var(--gold-d); stroke-width: 2; stroke-dasharray: 4 6; }
.mapsvg .mcomp circle { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; }
.mapsvg .mcomp path { fill: var(--gold); }
.mapsvg .mcomp text { font: 600 16px var(--sans); fill: var(--ink); }
.sheet .mapsvg .plot { fill: rgba(255,255,255,.03); stroke: var(--line-l); }
.sheet .mapsvg .room { fill: rgba(255,255,255,.04); stroke: #CFC8BA; stroke-width: 2.4; }
.sheet .mapsvg .rlab, .sheet .mapsvg .mcomp text { fill: #CFC8BA; }
.sheet .mapsvg .furn, .sheet .mapsvg .tree circle, .sheet .mapsvg .garden, .sheet .mapsvg .pond, .sheet .mapsvg .gpath { stroke: #8F897E; fill: none; }
.sheet .mapsvg .hatch { stroke: rgba(255,255,255,.08); }
.sheet .mapsvg .drive, .sheet .mapsvg .arrowhead { stroke: #CFC8BA; }
.sheet .mapsvg .route { stroke: var(--gold); }
.sheet .mapsvg .mcomp circle { fill: var(--graphite); stroke: #CFC8BA; }
.pin { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; text-decoration: none; color: var(--ink); z-index: 2; }
.pin .pn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--graphite); color: var(--paper); font: 600 .95rem var(--sans); box-shadow: 0 0 0 4px rgba(198,161,91,.35); transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.pin:hover .pn, .pin[aria-pressed="true"] .pn { background: var(--gold); color: var(--ink); transform: scale(1.12); box-shadow: 0 0 0 8px rgba(198,161,91,.28); }
.pin .pt { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 4px); font: 600 .8rem var(--sans); background: var(--paper); color: var(--ink); padding: 5px 10px; border-radius: 999px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.pin:hover .pt, .pin:focus-visible .pt { opacity: 1; transform: translate(-50%, 0); }
.sheet .pin .pn { background: var(--gold); color: var(--ink); }
.sheet .pin:hover .pn, .sheet .pin[aria-current] .pn { background: var(--paper); }
.pin.static .pn { width: 26px; height: 26px; font-size: .7rem; box-shadow: none; }
.pin.static.is-here .pn { background: var(--gold); color: var(--ink); box-shadow: 0 0 0 6px rgba(198,161,91,.35); animation: here 2.4s infinite; }
@keyframes here { 0%, 100% { box-shadow: 0 0 0 4px rgba(198,161,91,.45); } 50% { box-shadow: 0 0 0 14px rgba(198,161,91,0); } }
@media (max-width: 860px) { .sheet .pin .pt { display: none; } .mapsvg .rlab { display: none; } }

/* home hero */
.hero { padding: clamp(18px, 3vw, 40px) 0 60px; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 5.2vw, 4.7rem); margin-bottom: 22px; }
@media (max-width: 600px) { .masthead span:nth-child(2) { display: none; } .masthead { letter-spacing: .1em; } .pin .pn { width: 32px; height: 32px; font-size: .82rem; box-shadow: 0 0 0 3px rgba(198,161,91,.35); } }
.hero h1 em { font-style: italic; }
.masthead { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 10px 0; margin-bottom: 30px; font: 600 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero-map { position: relative; }
.hero-map .map-frame { filter: drop-shadow(0 30px 50px rgba(38, 40, 44, .12)); }
.st-card { position: relative; margin-top: 16px; background: var(--graphite); color: var(--paper); padding: 22px 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; min-height: 120px; }
.st-card .n { font: 400 3.2rem/1 var(--serif); color: var(--gold); }
.st-card h3 { margin: 0 0 4px; font-size: 1.45rem; }
.st-card p { margin: 0; color: #D9D3C6; font-size: .95rem; }
.st-card .btn { white-space: nowrap; }
.st-nav { display: flex; gap: 8px; }
.st-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-l); background: none; color: var(--paper); cursor: pointer; display: grid; place-items: center; }
.st-nav button:first-child .ic { transform: scaleX(-1); }
.motion-ok .hero-map .route-bg { animation: draw 3.2s .5s var(--ease) both; stroke-dasharray: 1; }
.motion-ok .hero-map .route { animation: fadein 1.2s 2.4s both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.motion-ok .tree { animation: sway 7s ease-in-out infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
@keyframes sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(6deg) scale(1.03); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .st-card { grid-template-columns: auto 1fr; }
  .st-card .actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
}

/* page hero with mini map */
.phero { padding: clamp(18px, 3vw, 36px) 0 56px; border-bottom: 1px solid var(--line); }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 70px); align-items: end; }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.crumbs a { color: var(--muted); }
.vt-title { view-transition-name: page-title; }
.minimap { background: var(--card); border: 1px solid var(--line); padding: 14px; }
.minimap .mapsvg .room { stroke-width: 4; }
.here-cap { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 10px 0 0; font-size: .9rem; }
.here-cap .ic { color: var(--gold-d); }
.here-cap .linkish { margin-left: auto; }
@media (max-width: 860px) { .phero-grid { grid-template-columns: minmax(0, 1fr); } }

/* sections */
.sec { padding: clamp(64px, 8vw, 120px) 0; position: relative; }
.sec.tight { padding-top: 40px; }
.sec.dark { background: var(--graphite); color: var(--paper); }
.sec.dark .eyebrow, .sec.dark em { color: var(--gold); }
.sec.dark .lead, .sec.dark .muted { color: #CFC8BA; }
.sec.stone { background: var(--stone); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 30px; align-items: end; margin-bottom: clamp(30px, 4vw, 56px); }
.sec-head h2 { margin: 0; }
.sec-head p { color: var(--muted); margin: 0; }
.sec.dark .sec-head p { color: #CFC8BA; }
.sec-head.solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }
.muted { color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid2, .split { grid-template-columns: minmax(0, 1fr); } .split.rev > :first-child { order: 0; } }
@media (max-width: 560px) { .grid3, .grid4 { grid-template-columns: minmax(0, 1fr); } }

/* photos and art */
.ph { margin: 0; position: relative; aspect-ratio: var(--ar, 4/3); background: linear-gradient(135deg, #DDD5C5, #CFC6B4); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph:hover img { transform: scale(1.03); }
.motion-ok [data-mask] { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.motion-ok [data-mask].unmasked { clip-path: inset(0 0 0 0); }
.lineart { width: 100%; height: auto; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lineart .dot { fill: var(--gold); stroke: none; }
.sec.dark .lineart { stroke: var(--paper); }
.art-panel { background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; padding: 30px; aspect-ratio: var(--ar, 4/3); }
.art-panel.dark { background: var(--graphite); }
.art-panel.dark .lineart { stroke: var(--paper); }
.art-panel.gold { background: #EBD9B2; }
.rays { width: 100%; height: auto; }
.rays line { stroke: var(--gold); stroke-width: 1; opacity: .55; }
.rays circle { fill: var(--gold); }
.rays .ring { fill: none; stroke: var(--gold); stroke-width: 1; }
.cap { font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* contents list (procedures index) */
.toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto 32px; gap: 18px; align-items: baseline; padding: 24px 0; text-decoration: none; transition: padding .4s var(--ease), color .3s; }
.toc .n { font: 400 1.1rem var(--serif); color: var(--gold-d); }
.toc .t { font: 400 clamp(1.6rem, 3.4vw, 2.8rem)/1.05 var(--serif); }
.toc .d { display: block; font: 400 .95rem/1.5 var(--sans); color: var(--muted); margin-top: 8px; max-width: 54ch; }
.toc .f { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.toc .ic { align-self: center; color: var(--gold-d); transition: transform .4s var(--ease); }
.toc a:hover { padding-left: 14px; }
.toc a:hover .ic { transform: translateX(6px); }
@media (max-width: 640px) { .toc a { grid-template-columns: 44px minmax(0, 1fr) 24px; } .toc .f { grid-column: 2; } .toc .ic { grid-row: 1; grid-column: 3; } }

/* journey stations (home + about) */
.stations { position: relative; display: grid; gap: 0; }
.stations .line { position: absolute; left: 31px; top: 0; bottom: 0; width: 2px; height: 100%; overflow: visible; }
.stations .line path { stroke: var(--gold-d); stroke-width: 2; fill: none; }
.stations .line .bgp { stroke: var(--line); }
.sec.dark .stations .line .bgp { stroke: var(--line-l); }
.station { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 26px; padding: 26px 0; align-items: start; border-bottom: 1px solid var(--line); position: relative; }
.station .dotn { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--gold-d); font: 400 1.5rem var(--serif); color: var(--gold-d); position: relative; z-index: 1; }
.sec.dark .station .dotn { background: var(--graphite); color: var(--gold); border-color: var(--gold); }
.station h3 { margin: 6px 0 6px; }
.station .when { font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); }
.sec.dark .station .when { color: var(--gold); }
.station p { margin: 0; }
.sec.dark .station { border-color: var(--line-l); }
@media (max-width: 760px) { .station { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; } .station .dotn { width: 52px; height: 52px; font-size: 1.2rem; } .station > p { grid-column: 2; } .stations .line { left: 25px; } }

/* stat band */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-l); }
.stats div { padding: 28px 22px 10px 0; border-right: 1px solid var(--line-l); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font: 400 clamp(2.6rem, 5vw, 4.2rem)/1 var(--serif); color: var(--gold); }
.stats span { display: block; margin-top: 10px; font-size: .92rem; color: #CFC8BA; max-width: 24ch; }
.stats.light { border-color: var(--line); }
.stats.light div { border-color: var(--line); }
.stats.light b { color: var(--gold-d); }
.stats.light span { color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div:nth-child(2) { border-right: 0; } }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 32px); position: relative; }
.card h3 { margin-bottom: 10px; }
.card .ic.lg { width: 38px; height: 38px; color: var(--gold-d); margin-bottom: 16px; }
.card.dark { background: var(--graphite); color: var(--paper); border: 0; }
.card.dark p { color: #D9D3C6; }
.card.gold { background: #EBD9B2; border: 0; }
.sec.dark .card:not(.dark) { color: var(--ink); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento > * { grid-column: span 2; }
.bento > .w3 { grid-column: span 3; }
.bento > .w4 { grid-column: span 4; }
@media (max-width: 900px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento > *, .bento > .w3, .bento > .w4 { grid-column: auto; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.ticks .ic { width: 20px; height: 20px; color: var(--gold-d); margin-top: 3px; }
.sec.dark .ticks .ic, .card.dark .ticks .ic { color: var(--gold); }
.quote { font: 400 clamp(1.7rem, 3.3vw, 2.8rem)/1.2 var(--serif); margin: 0; max-width: 28ch; }
.quote-by { margin-top: 22px; font-size: .9rem; color: var(--muted); }
.sec.dark .quote-by { color: #CFC8BA; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review p { font: 400 1.2rem/1.4 var(--serif); margin: 0; }
.review .by { font-size: .86rem; color: var(--muted); margin-top: auto; }
.stars { display: flex; gap: 3px; color: var(--gold-d); }
.stars .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
@media (max-width: 860px) { .reviews { grid-template-columns: minmax(0, 1fr); } }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.person h3 { margin: 14px 0 2px; font-size: 1.35rem; }
.person .role { color: var(--gold-d); font-weight: 600; font-size: .88rem; margin: 0 0 6px; }
.person p { font-size: .94rem; color: var(--muted); }
@media (max-width: 960px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .people { grid-template-columns: minmax(0, 1fr); } }

/* procedure cards */
.plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .plist { grid-template-columns: minmax(0, 1fr); } }
.pcard { background: var(--card); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 6px; position: relative; transition: border-color .3s, box-shadow .4s; }
.pcard:hover { border-color: var(--gold-d); box-shadow: 0 18px 40px rgba(38,40,44,.08); }
.pcard .pnum { font: 400 1rem var(--serif); color: var(--gold-d); }
.pcard h3 { margin: 0 0 4px; }
.pcard > p { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 4px 0 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: .93rem; }
.prow { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.price { font-weight: 700; display: flex; flex-direction: column; }
.price small { font-weight: 500; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-f { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: 600 .9rem var(--sans); cursor: pointer; color: var(--ink); }
.chip-f[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--paper); }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.search { position: relative; flex: 1 1 260px; max-width: 380px; }
.search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { padding-left: 46px; }
.empty { padding: 30px; text-align: center; border: 1px dashed var(--line); }

/* tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .94rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 600 .76rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
tbody th { font-weight: 600; }

/* faq */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; cursor: pointer; font: 400 1.3rem/1.3 var(--serif); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--gold-d); transition: transform .4s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 70ch; }
.sec.dark .faq { border-color: var(--paper); }
.sec.dark .faq details { border-color: var(--line-l); }
.sec.dark .faq details p { color: #CFC8BA; }

/* forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
label, .lbl-t { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(27,28,31,.3); border-radius: var(--r); background: var(--card); font: 400 16px var(--sans); color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-d); outline-offset: 1px; border-color: var(--gold-d); }
[aria-invalid="true"] { border-color: #A3312A; }
.err { display: block; color: #A3312A; font-size: .86rem; margin-top: 4px; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--graphite); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: flex; flex-direction: column; gap: 4px; min-height: 64px; padding: 14px 16px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .25s, background .25s; font-weight: 600; }
.opt span small { font-weight: 400; color: var(--muted); font-size: .84rem; }
.opt input:checked + span { border-color: var(--graphite); background: #EFE6D3; box-shadow: inset 0 0 0 1px var(--graphite); }
.opt input:focus-visible + span { outline: 2px solid var(--gold-d); outline-offset: 2px; }
.thanks { background: var(--graphite); color: var(--paper); padding: clamp(24px, 4vw, 44px); }
.thanks .ic.big { color: var(--gold); margin-bottom: 14px; }
.thanks h3 { font-size: 2rem; }
.thanks p { color: #D9D3C6; }
.thanks .demo-note { font-size: .84rem; margin: 0; }
.panel { background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 3vw, 40px); }

/* wizard + calendar */
.steps-nav { display: flex; gap: 6px; margin-bottom: 24px; list-style: none; padding: 0; counter-reset: s; flex-wrap: wrap; }
.steps-nav li { flex: 1 1 0; min-width: 0; border-top: 2px solid var(--line); padding-top: 10px; font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.steps-nav li.on { border-color: var(--gold-d); color: var(--ink); }
.steps-nav li.done { border-color: var(--graphite); }
.wz-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.cal { border: 1px solid var(--line); background: var(--card); padding: 16px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-head b { font: 400 1.3rem var(--serif); }
.cal-head button { width: 44px; height: 44px; border: 1px solid var(--line); background: none; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.cal-head button:first-child .ic { transform: scaleX(-1); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-grid .dow { font-size: .72rem; text-align: center; color: var(--muted); font-weight: 600; padding: 4px 0; }
.cal-grid button { aspect-ratio: 1; min-height: 40px; border: 1px solid transparent; background: var(--paper); font: 600 .9rem var(--sans); cursor: pointer; color: var(--ink); position: relative; }
.cal-grid button:disabled { background: none; color: #A8A399; cursor: not-allowed; text-decoration: line-through; }
.cal-grid button.few::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-d); transform: translateX(-50%); }
.cal-grid button[aria-pressed="true"] { background: var(--graphite); color: var(--paper); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.slots button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font: 600 .9rem var(--sans); color: var(--ink); }
.slots button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); }
.slots button:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: 10px; }
.summary { display: grid; gap: 0; margin: 0; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }

/* journey planner (signature) */
.planner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.planner .panel { position: sticky; top: 120px; }
@media (max-width: 960px) { .planner { grid-template-columns: minmax(0, 1fr); } .planner .panel { position: static; } }
.jr { background: var(--graphite); color: var(--paper); padding: clamp(22px, 3vw, 40px); position: relative; overflow: hidden; }
.jr h3 { font-size: 1.9rem; margin-bottom: 6px; }
.jr .muted { color: #CFC8BA; }
.jr-route { list-style: none; margin: 26px 0 0; padding: 0; position: relative; }
.jr-route::before { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; border-left: 2px dashed rgba(198,161,91,.55); }
.jr-route li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; padding: 12px 0; position: relative; align-items: start; }
.jr-route .k { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); background: var(--graphite); display: grid; place-items: center; color: var(--gold); position: relative; z-index: 1; }
.jr-route .k .ic { width: 20px; height: 20px; }
.jr-route li.wait .k { border-style: dashed; }
.jr-route b { display: block; font: 400 1.2rem/1.25 var(--serif); }
.jr-route p { margin: 2px 0 0; font-size: .9rem; color: #CFC8BA; }
.jr-route .date { font: 600 .8rem var(--sans); color: var(--gold); white-space: nowrap; text-align: right; }
.jr-note { margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(198,161,91,.5); font-size: .92rem; color: #E6DFD0; display: flex; gap: 10px; }
.jr-note .ic { color: var(--gold); }
.jr-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.jr-sum div { border-top: 1px solid var(--line-l); padding-top: 10px; }
.jr-sum b { display: block; font: 400 1.6rem var(--serif); color: var(--gold); }
.jr-sum span { font-size: .8rem; color: #CFC8BA; }
@media (max-width: 520px) { .jr-route li { grid-template-columns: 44px minmax(0, 1fr); } .jr-route .date { grid-column: 2; text-align: left; } .jr-sum { grid-template-columns: minmax(0, 1fr); } }

/* estimator */
.est { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .est { grid-template-columns: minmax(0, 1fr); } }
.est-out { background: var(--graphite); color: var(--paper); padding: clamp(22px, 3vw, 36px); }
.est-out .big { font: 400 clamp(1.6rem, 2.8vw, 2.3rem)/1.15 var(--serif); color: var(--gold); margin: 6px 0 16px; }
.est-out .summary div { border-color: var(--line-l); }
.est-out .summary dt { color: #CFC8BA; }
.range { display: grid; gap: 6px; }
input[type=range] { padding: 0; min-height: 44px; accent-color: var(--gold-d); background: none; border: 0; }

/* discussion list drawer */
.dl-btn { position: fixed; left: 20px; bottom: 20px; z-index: 105; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: var(--card); color: var(--ink); border: 1px solid var(--gold-d); font: 600 .9rem var(--sans); cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.dl-btn b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: var(--gold); font-size: .8rem; }
.drawer-ov { position: fixed; inset: 0; z-index: 2147483100; background: rgba(27,28,31,.5); }
.drawer { position: absolute; right: 0; top: 48px; bottom: 0; width: min(440px, 100%); background: var(--paper); padding: 74px 26px 26px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.drawer h2 { font-size: 2rem; margin: 0; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer li button { min-height: 44px; min-width: 44px; border: 1px solid var(--line); background: none; cursor: pointer; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.drawer .x { position: absolute; right: 18px; top: 16px; }
@media (max-width: 720px) { .dl-btn { bottom: 88px; left: 12px; } }

/* cta band */
.cta-sec { padding-top: 0; }
.cta-band { background: var(--graphite); color: var(--paper); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 30px; align-items: end; position: relative; overflow: hidden; }
.cta-band .rays { position: absolute; right: -90px; top: -110px; width: 420px; opacity: .3; pointer-events: none; }
.cta-band > div { position: relative; }
.cta-band p { color: #D9D3C6; max-width: 56ch; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr); } .cta-band .btn-row { justify-content: flex-start; } }

/* article */
.article { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 720px); gap: clamp(20px, 5vw, 80px); }
.article aside { font-size: .9rem; color: var(--muted); position: sticky; top: 120px; align-self: start; }
.article .body p { font-size: 1.08rem; }
.article .body h2 { font-size: 2rem; margin-top: 1.4em; }
.article .body p:first-of-type::first-letter { font: 400 4.6rem/.8 var(--serif); float: left; margin: 8px 12px 0 0; color: var(--gold-d); }
.pull { font: 400 1.8rem/1.25 var(--serif); border-left: 2px solid var(--gold); padding-left: 22px; margin: 34px 0; }
@media (max-width: 860px) { .article { grid-template-columns: minmax(0, 1fr); } .article aside { position: static; } }
.acard { display: grid; gap: 14px; text-decoration: none; }
.acard h3 { margin: 0; transition: color .3s; }
.acard:hover h3 { color: var(--gold-d); }
.acard .meta { font: 600 .76rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.marquee .track { display: flex; gap: 48px; width: max-content; font: 400 clamp(1.4rem, 2.6vw, 2.1rem) var(--serif); white-space: nowrap; }
.marquee .track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee .track span::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.motion-ok .marquee .track { animation: mq 46s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }

/* contact map art */
.areamap { background: var(--card); border: 1px solid var(--line); aspect-ratio: 4/3; position: relative; }
.areamap svg { width: 100%; height: 100%; }
.areamap .road { fill: none; stroke: #CFC6B4; stroke-width: 14; stroke-linecap: round; }
.areamap .road2 { fill: none; stroke: #DDD5C5; stroke-width: 7; stroke-linecap: round; }
.areamap .river { fill: none; stroke: #C9D3CF; stroke-width: 22; }
.areamap text { font: 600 13px var(--sans); fill: var(--muted); }
.areamap .me { fill: var(--gold); stroke: var(--ink); stroke-width: 2; }

/* footer */
.foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 100px) 0 30px; margin-top: clamp(64px, 8vw, 120px); }
.foot-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 46px; border-bottom: 1px solid var(--line-l); }
.foot .foot-big { font: 400 clamp(2rem, 4.6vw, 3.8rem)/1.08 var(--serif); margin: 0; max-width: 18ch; }
.foot-big em { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; padding: 44px 0; }
.foot .logo .mark { color: var(--paper); }
.foot .wm small { color: #B8B1A3; }
.foot p { color: #CFC8BA; font-size: .94rem; margin-top: 14px; }
.foot h2 { font: 600 .76rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot ul a { text-decoration: none; color: #E6DFD0; display: inline-block; padding: 6px 0; }
.foot ul a:hover { color: var(--gold); }
.disclaimer { font-size: .84rem !important; color: #A9A49A !important; border-top: 1px solid var(--line-l); padding-top: 20px; }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: #A9A49A; }
.lowdata-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line-l); border-radius: 999px; background: none; color: var(--paper); font: 500 .86rem var(--sans); cursor: pointer; }
.lowdata-btn .sw { width: 34px; height: 20px; border-radius: 999px; background: #55575C; position: relative; transition: background .3s; }
.lowdata-btn .sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); transition: transform .3s; }
.lowdata-btn[aria-pressed="true"] .sw { background: var(--gold-d); }
.lowdata-btn[aria-pressed="true"] .sw::after { transform: translateX(14px); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.fab-wa { position: fixed; left: 20px; bottom: 20px; z-index: 104; width: 54px; height: 54px; border-radius: 50%; background: #1F7A4D; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.fab-wa svg { width: 28px; height: 28px; }
.has-dl .fab-wa { bottom: 80px; }
@media (max-width: 720px) { .fab-wa { display: none; } }

/* Vablus chat */
.chat-btn { position: fixed; right: 20px; bottom: 20px; z-index: 106; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 20px 8px 8px; border-radius: 999px; border: 0; background: var(--graphite); color: var(--paper); font: 600 .92rem var(--sans); cursor: pointer; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.chat-av { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; flex: none; }
.chat-av svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.chat-av svg .dot { fill: var(--ink); }
.chat { position: fixed; right: 20px; bottom: 86px; z-index: 2147483200; width: min(390px, calc(100vw - 24px)); max-height: min(620px, calc(100vh - 160px)); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.chat-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--graphite); color: var(--paper); }
.chat-head b { display: block; font-size: .95rem; }
.chat-head small { color: #CFC8BA; font-size: .78rem; }
.chat-x { margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: var(--paper); cursor: pointer; display: grid; place-items: center; }
.chat-x svg, .rv-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 160px; }
.msg { max-width: 88%; padding: 11px 14px; font-size: .93rem; line-height: 1.5; }
.msg.bot { background: var(--card); border: 1px solid var(--line); align-self: flex-start; }
.msg.me { background: var(--graphite); color: var(--paper); align-self: flex-end; }
.msg a { color: var(--gold-d); font-weight: 600; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
@media (max-width: 720px) { .chat-chips { flex-wrap: nowrap; overflow-x: auto; } .chat-chips .chip { flex: none; } }
.chat-chips .chip { min-height: 40px; padding: 6px 12px; border: 1px solid var(--gold-d); background: none; border-radius: 999px; font: 600 .8rem var(--sans); cursor: pointer; color: var(--ink); }
.chat-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.chat-form input { min-height: 46px; }
.chat-form button { min-height: 46px; padding: 0 16px; border: 0; background: var(--gold); font: 600 .9rem var(--sans); cursor: pointer; color: var(--ink); }
@media (max-width: 720px) { .chat-btn { bottom: 88px; right: 12px; padding: 7px; } .chat-btn .chat-lbl { display: none; } .chat { right: 12px; bottom: 150px; max-height: calc(100vh - 230px); } }

/* Receivly modal */
.rv-ov { position: fixed; inset: 0; z-index: 2147483300; background: rgba(20,20,22,.6); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.rv { width: min(460px, 100%); background: #fff; color: #141518; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.4); }
.rv-top { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-bottom: 1px solid #ECECEC; }
.rvl { width: 34px; height: 34px; }
.rv-top b { display: block; }
.rv-sub { display: block; font-size: .8rem; color: #5D6066; }
.rv-x { margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: #141518; }
.rv-body { padding: 18px; display: grid; gap: 14px; }
.rv-sum { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: #F3F5F4; padding: 14px; border-radius: 10px; }
.rv-sum b { font-size: 1.2rem; }
.rv-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #F0F0F0; padding: 4px; border-radius: 10px; }
.rv-tabs button { min-height: 44px; border: 0; background: none; border-radius: 8px; font: 600 .9rem var(--sans); cursor: pointer; color: #141518; }
.rv-tabs [aria-selected="true"] { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.rv-form { display: grid; gap: 10px; }
.rv-form input { border-radius: 8px; }
.rv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rv-bank { margin: 0; display: grid; gap: 8px; }
.rv-bank div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #EEE; }
.rv-bank dt { color: #5D6066; } .rv-bank dd { margin: 0; font-weight: 600; text-align: right; }
.rv-pay { min-height: 50px; border: 0; border-radius: 10px; background: #14201C; color: #fff; font: 600 1rem var(--sans); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; }
.rv-ghost { min-height: 50px; border: 1px solid #CCC; border-radius: 10px; background: #fff; font: 600 .95rem var(--sans); cursor: pointer; padding: 0 18px; color: #141518; }
.rv-note { font-size: .8rem; color: #5D6066; margin: 0; }
.rv-receipt { display: grid; gap: 10px; text-align: left; }
.rv-receipt h3 { font-family: var(--sans); font-weight: 700; font-size: 1.3rem; margin: 0; }
.rv-ok { width: 54px; height: 54px; border-radius: 50%; background: #DDF5EA; display: grid; place-items: center; }
.rv-ok svg { width: 28px; height: 28px; fill: none; stroke: #137A4B; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rv-receipt dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .92rem; }
.rv-receipt dt { color: #5D6066; } .rv-receipt dd { margin: 0; font-weight: 600; text-align: right; }
.rv-actions { display: flex; gap: 10px; flex-wrap: wrap; } .rv-actions > * { flex: 1; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* motion states: content is visible unless JS confirms motion */
.motion-ok [data-reveal]:not([data-stagger]), .motion-ok [data-reveal][data-stagger] > *, .motion-ok [data-hero] .h-in, .motion-ok [data-hero-pop] { opacity: 0; }
.lowdata *, .lowdata *::before, .lowdata *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .site-head, .bottom-bar, .chat-btn, .chat, .fab-wa, .foot, #covorn-ribbon, .dl-btn { display: none !important; } .rv-ov { position: static; background: none; } }
