/* ==========================================================================
   Misty Meadows: site styles (2026 redesign)
   Mobile-first, no framework. --accent and --charcoal come from Admin → Site Settings.

   Design rules
   - Palette: cream / charcoal / natural wood (accent, the only accent) / muted forest (surfaces only).
   - Type: Cormorant Garamond for display (heritage hill-station hospitality), Geist for UI and body.
   - Shape: interactive controls (buttons, chips, steppers) are pill; images, panels and inputs use --r (4px).
     Chat bubbles are the one documented exception (14px).
   - Theme: light by default, full dark tokens under prefers-color-scheme. The video chapter and the
     footer are always charcoal: one deliberate "night" chapter at the end of the page.
   - z-index scale: header 50, mobile bar 60, chatbot 70, mobile menu 90, mobile date sheet 150,
     lightbox / video 200, toast 300.
   ========================================================================== */
:root{
  --accent:#93623c; --charcoal:#1b1e1c;
  --bg:#f2efe8; --bg-2:#e9e5db; --surface:#faf8f3; --ink:#1b1e1c; --muted:#555a54;
  --line:rgba(27,30,28,.14); --line-2:rgba(27,30,28,.08);
  --forest:#33483b; --forest-soft:#dfe3da;
  --accent-ink:color-mix(in srgb,var(--accent) 82%,#000);
  --accent-text:var(--accent);
  --on-dark:#ece8df; --on-dark-muted:rgba(236,232,223,.72); --on-dark-line:rgba(236,232,223,.14);
  --ok:#2f6b45; --err:#a93a2e;
  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --sans:"Geist",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --r:4px;
  --shadow:0 30px 60px -30px rgba(27,30,28,.35);
  --ease:cubic-bezier(.16,1,.3,1);
  --header-h:64px;
  --gutter:clamp(16px,4.5vw,48px);
  --max:1320px;
  --section:clamp(80px,11vw,152px);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#141715; --bg-2:#1a1e1b; --surface:#1f2420; --ink:#ebe7de; --muted:#a9ada5;
    --line:rgba(235,231,222,.14); --line-2:rgba(235,231,222,.07);
    --forest:#2b3d31; --forest-soft:#1d2821;
    --accent-text:color-mix(in srgb,var(--accent) 58%,#fff);
    --shadow:0 30px 60px -30px rgba(0,0,0,.7);
    color-scheme:dark;
  }
}
@media (min-width:1024px){:root{--header-h:72px}}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 12px);-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--sans);font-size:17px;line-height:1.65;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
img,video{max-width:100%;display:block}
a{color:inherit}
button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;padding:0}
figure{margin:0}
.ic{flex:none;display:inline-block;vertical-align:middle}
.wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
.skip{position:absolute;left:-999px;top:8px;z-index:400;background:var(--surface);color:var(--ink);padding:10px 16px;border-radius:var(--r)}
.skip:focus{left:8px}
:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}
::selection{background:color-mix(in srgb,var(--accent) 30%,transparent)}

/* ---------- Type ---------- */
h1,h2,h3{font-family:var(--serif);font-weight:500;letter-spacing:-.012em;line-height:1.05;margin:0;text-wrap:balance}
.display{font-size:clamp(44px,7.4vw,104px);line-height:.98;letter-spacing:-.02em}
.h2{font-size:clamp(36px,4.8vw,64px);line-height:1.02}
.statement{font-size:clamp(32px,4.4vw,60px);line-height:1.1;max-width:22ch;letter-spacing:-.015em}
.lead{font-size:clamp(17px,1.5vw,19px);line-height:1.6;color:var(--muted);max-width:52ch;margin:18px 0 0}
.prose p{margin:0 0 16px;color:var(--muted);max-width:60ch}
.prose p:last-child{margin-bottom:0}
.h2 + .prose{margin-top:24px}
.floor-num,.facts dd,.rate-big,.book-rate strong,.quote strong,.dp-title,.dp-day,.footer-word{font-variant-numeric:lining-nums}
.eyebrow{font:500 12px/1.2 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--accent-text);margin:0 0 20px;display:inline-flex;align-items:center;gap:12px}
.eyebrow::before{content:"";width:24px;height:1px;background:currentColor}
.eyebrow-light{color:rgba(255,255,255,.88)}
.mini-h{font:600 12px/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:36px 0 14px}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 26px;border-radius:999px;font:500 15px/1 var(--sans);letter-spacing:.01em;text-decoration:none;white-space:nowrap;border:1px solid transparent;transition:transform .5s var(--ease),background-color .3s,color .3s,border-color .3s}
.btn .ic{transition:transform .5s var(--ease)}
.btn:hover .ic:last-child{transform:translateX(3px)}
.btn:active{transform:scale(.98)}
.btn-sm{min-height:40px;padding:0 18px;font-size:14px}
.btn-lg{min-height:56px;padding:0 30px;font-size:16px}
.btn-block{width:100%}
.btn-accent{background:var(--accent);color:#fff}
.btn-accent:hover{background:var(--accent-ink)}
.btn-glass{color:#fff;border-color:rgba(255,255,255,.45);background:rgba(20,23,21,.28);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.btn-glass:hover{background:rgba(20,23,21,.46);border-color:rgba(255,255,255,.7)}
.btn-outline{border-color:var(--line);color:var(--ink);background:transparent}
.btn-outline:hover{border-color:var(--ink)}
.link-arrow{display:inline-flex;align-items:center;gap:10px;margin-top:40px;font-weight:500;text-decoration:none;color:var(--ink);padding-bottom:6px;border-bottom:1px solid var(--line);transition:gap .4s var(--ease),border-color .3s}
.link-arrow:hover{gap:16px;border-color:var(--ink)}
.center-cta{text-align:center;margin-top:48px}

/* ---------- Header ---------- */
.site-header{position:absolute;top:0;left:0;right:0;z-index:50;height:var(--header-h);color:var(--ink);transition:background-color .4s,color .4s,box-shadow .4s}
.site-header.is-sticky{position:fixed}
.site-header.over-hero{color:#fff}
.site-header.solid{background:var(--bg);box-shadow:0 1px 0 var(--line-2)}
.site-header.scrolled{background:color-mix(in srgb,var(--bg) 90%,transparent);-webkit-backdrop-filter:saturate(1.3) blur(14px);backdrop-filter:saturate(1.3) blur(14px);color:var(--ink);box-shadow:0 1px 0 var(--line-2)}
.header-inner{height:100%;display:flex;align-items:center;gap:28px}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;flex:none}
.brand-logo{max-height:40px;width:auto}
.brand-mark svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.brand-mark svg path+path{stroke-width:1.6;opacity:.7}
.brand-name{font-family:var(--serif);font-size:25px;font-weight:600;letter-spacing:.005em;line-height:1}
.main-nav{display:none;margin-left:auto}
.main-nav ul{list-style:none;display:flex;gap:2px;margin:0;padding:0}
.main-nav a{display:block;padding:8px 11px;font-size:14.5px;text-decoration:none;opacity:.86;position:relative;transition:opacity .3s}
.main-nav a::after{content:"";position:absolute;left:11px;right:11px;bottom:2px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .5s var(--ease)}
.main-nav a:hover,.main-nav a.active{opacity:1}
.main-nav a:hover::after,.main-nav a.active::after{transform:scaleX(1)}
.header-actions{display:flex;align-items:center;gap:14px;margin-left:auto}
.header-phone{display:none;align-items:center;gap:8px;text-decoration:none;font-size:14px}
.header-cta{display:none}
.menu-toggle{width:44px;height:44px;display:grid;place-content:center;gap:7px;margin-right:-8px}
.menu-toggle span{display:block;width:24px;height:1.5px;background:currentColor;transition:transform .4s var(--ease)}
.menu-toggle span+span{width:16px;justify-self:end}
.menu-toggle:hover span+span{transform:scaleX(1.5);transform-origin:right}
@media (min-width:560px){.header-cta{display:inline-flex}}
@media (min-width:1100px){.main-nav{display:block}.menu-toggle{display:none}.header-actions{margin-left:8px}}
@media (min-width:1360px){.header-phone{display:inline-flex}}

/* mobile menu */
.mobile-menu{position:fixed;inset:0;z-index:90;background:var(--charcoal);color:var(--on-dark);display:flex;flex-direction:column;padding:0 var(--gutter) calc(20px + env(safe-area-inset-bottom));opacity:0;transition:opacity .4s var(--ease);overflow-y:auto}
.mobile-menu.open{opacity:1}
.mm-top{height:var(--header-h);display:flex;align-items:center;justify-content:space-between;flex:none}
.menu-close{width:48px;height:48px;display:grid;place-items:center;margin-right:-12px}
.mm-nav{display:flex;flex-direction:column;margin:auto 0;padding:28px 0}
.mm-nav a{font-family:var(--serif);font-size:clamp(36px,10vw,52px);line-height:1.18;text-decoration:none;padding:2px 0;opacity:0;transform:translateY(16px);transition:opacity .6s var(--ease),transform .6s var(--ease);transition-delay:calc(var(--i) * 45ms + 80ms)}
.mobile-menu.open .mm-nav a{opacity:1;transform:none}
.mm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex:none}
.mm-act{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border-radius:999px;border:1px solid var(--on-dark-line);text-decoration:none;font-weight:500}
.mm-book{grid-column:1 / -1}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:flex-end;color:#fff;background:var(--charcoal);overflow:hidden;isolation:isolate}
.hero-media,.hero-media img,.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-media{z-index:-2}
.hero-img{animation:settle 2.6s var(--ease) both}
.hero-video{opacity:0;transition:opacity 1.6s ease}
.hero-video.playing{opacity:1}
.hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(14,17,15,.55) 0%,rgba(14,17,15,0) 26%,rgba(14,17,15,0) 42%,rgba(14,17,15,.72) 100%)}
.hero-content{padding-top:calc(var(--header-h) + 48px);padding-bottom:clamp(72px,10vh,120px)}
.hero-title{font-size:clamp(50px,8.4vw,120px);line-height:.95;letter-spacing:-.025em;max-width:12ch;text-shadow:0 2px 40px rgba(0,0,0,.25)}
.hero-sub{font-size:clamp(17px,1.6vw,20px);line-height:1.55;max-width:44ch;margin:24px 0 0;color:rgba(255,255,255,.9)}
.hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}
.hero [data-anim]{animation:rise 1.1s var(--ease) both}
.hero [data-anim]:nth-child(2){animation-delay:.12s}
.hero [data-anim]:nth-child(3){animation-delay:.24s}
.hero [data-anim]:nth-child(4){animation-delay:.36s}
.hero-pause{position:absolute;right:var(--gutter);bottom:clamp(24px,4vh,40px);display:inline-flex;align-items:center;gap:10px;min-height:40px;padding:0 16px;border-radius:999px;color:#fff;font-size:13px;border:1px solid rgba(255,255,255,.35);background:rgba(20,23,21,.3);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hp-ic{width:9px;height:11px;border-left:3px solid currentColor;border-right:3px solid currentColor}
.hero-pause.paused .hp-ic{width:0;height:0;border:0;border-left:9px solid currentColor;border-top:5.5px solid transparent;border-bottom:5.5px solid transparent}
@media (max-width:719px){
  .hero-ctas .btn{flex:1 1 100%}
  .hero-content{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
  .hero-pause{top:calc(var(--header-h) + 8px);bottom:auto;min-height:36px}
}

/* atmospheric mist: two slow drifting layers, purely decorative */
.mist{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;opacity:.6}
.mist span{position:absolute;left:-40%;width:180%;height:55%;background:radial-gradient(38% 50% at 30% 50%,rgba(255,255,255,.22),transparent 70%),radial-gradient(30% 45% at 72% 58%,rgba(255,255,255,.14),transparent 70%);filter:blur(24px);animation:mist 46s linear infinite alternate}
.mist span:first-child{top:28%}
.mist span:last-child{top:52%;animation-duration:64s;animation-direction:alternate-reverse;opacity:.75}

/* ---------- Inner-page hero ---------- */
.page-hero{position:relative;padding-top:calc(var(--header-h) + clamp(48px,8vw,96px));padding-bottom:clamp(48px,7vw,88px);background:var(--bg);isolation:isolate}
.page-hero.has-image{min-height:clamp(440px,72vh,680px);display:flex;align-items:flex-end;color:#fff;background:var(--charcoal);overflow:hidden}
.page-hero-media,.page-hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.page-hero-media{z-index:-2}
.page-hero-media img{animation:settle 2.6s var(--ease) both}
.page-hero.has-image::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(14,17,15,.55),rgba(14,17,15,.1) 35%,rgba(14,17,15,.75))}
.page-hero-content{width:100%}
.page-hero .display{max-width:16ch}
.page-hero .lead{max-width:56ch}
.page-hero.has-image .lead{color:rgba(255,255,255,.88)}
.page-hero.has-image .eyebrow{color:rgba(255,255,255,.88)}
.crumbs{display:flex;gap:10px;font-size:14px;opacity:.8;margin-bottom:28px}
.crumbs a{text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.page-hero [data-anim]{animation:rise 1s var(--ease) both}
.page-hero [data-anim]:nth-child(3){animation-delay:.1s}
.page-hero [data-anim]:nth-child(4){animation-delay:.2s}

/* ---------- Sections ---------- */
.section{padding:var(--section) 0;position:relative}
.sec-head{margin-bottom:clamp(40px,5vw,64px);max-width:760px}

/* introduction: editorial collage with an A-frame gable on the lead photo */
.intro .statement{margin-bottom:clamp(48px,6vw,88px)}
.intro-grid{display:grid;gap:40px}
.intro-a{overflow:hidden;aspect-ratio:4/5;clip-path:polygon(50% 0,100% 16%,100% 100%,0 100%,0 16%)}
.intro-a img{width:100%;height:100%;object-fit:cover}
.intro-b{overflow:hidden;aspect-ratio:4/3;border-radius:var(--r);width:78%;justify-self:end}
.intro-b img{width:100%;height:100%;object-fit:cover}
.facts{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:12px 44px;margin:40px 0 0;padding-top:28px;border-top:1px solid var(--line)}
.facts div{display:flex;flex-direction:column-reverse;gap:6px}
.facts dt{font-size:13px;color:var(--muted)}
.facts dd{margin:0;font-family:var(--serif);font-size:54px;line-height:.9}
.facts .facts-word{font-size:34px;line-height:1.05;padding-top:12px}
@media (min-width:860px){
  .intro-grid{grid-template-columns:5fr 1fr 5fr;grid-template-rows:auto auto;align-items:start;gap:0}
  .intro-a{grid-column:1;grid-row:1 / span 2}
  .intro-copy{grid-column:3;grid-row:1;padding-top:6%}
  .intro-b{grid-column:3;grid-row:2;margin-top:64px;width:82%}
}
@media (max-width:520px){.facts{grid-template-columns:repeat(2,auto);gap:22px 36px}.facts dd{font-size:46px}}

/* A-frame experience: sticky copy beside a tall image stack */
.experience{background:var(--bg-2)}
.exp-grid{display:grid;gap:48px}
.exp-points{list-style:none;margin:32px 0 0;padding:0;display:grid;gap:14px}
.exp-points li{display:flex;align-items:center;gap:16px;font-size:16px}
.exp-points li::before{content:"";flex:none;width:14px;height:12px;background:var(--accent);clip-path:polygon(50% 0,100% 100%,0 100%)}
.exp-media{display:grid;gap:24px}
.exp-main,.exp-side{overflow:hidden;border-radius:var(--r)}
.exp-main{aspect-ratio:4/5}
.exp-side{aspect-ratio:3/4;width:62%;justify-self:end}
.exp-main img,.exp-side img{width:100%;height:100%;object-fit:cover}
@media (min-width:900px){
  .exp-grid{grid-template-columns:5fr 6fr;gap:clamp(48px,7vw,112px);align-items:start}
  .exp-sticky{position:sticky;top:calc(var(--header-h) + 64px)}
  .exp-side{margin-top:-28%;width:52%;position:relative;justify-self:start;margin-left:-12%;box-shadow:0 0 0 10px var(--bg-2)}
}

/* accommodation */
.stay-grid{display:grid;gap:20px}
.floors{display:grid;gap:20px}
.floor{background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.floor-img{aspect-ratio:16/10;overflow:hidden}
.floor-img img{width:100%;height:100%;object-fit:cover}
.floor-body{padding:clamp(26px,3vw,40px);display:flex;flex-direction:column;gap:24px;flex:1;position:relative}
.floor-body::before{content:"";position:absolute;top:0;left:clamp(26px,3vw,40px);width:36px;height:3px;background:var(--accent)}
.floor-title{font-size:clamp(30px,3vw,40px)}
.floor-cap{display:flex;align-items:baseline;gap:10px;margin:0;color:var(--muted);font-size:15px;line-height:1.3}
.floor-num{font-family:var(--serif);font-size:clamp(72px,8vw,104px);line-height:.8;color:var(--ink)}
.ticks{list-style:none;margin:0;padding:20px 0 0;border-top:1px solid var(--line);display:grid;gap:12px}
.ticks li{display:flex;gap:12px;align-items:flex-start;font-size:16px}
.ticks .ic{color:var(--accent-text);margin-top:4px}
.capacity-line{display:flex;align-items:center;gap:12px;margin:4px 0 0;padding:18px 22px;border-radius:var(--r);background:var(--forest-soft);font-size:16px}
.capacity-line strong{font-weight:600}
.rate-card{background:var(--forest);color:var(--on-dark);border-radius:var(--r);padding:clamp(28px,3vw,40px);display:flex;flex-direction:column;gap:6px;align-self:start}
.rate-h{font:500 12px/1.2 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--on-dark-muted);margin-bottom:10px}
.offer{align-self:flex-start;margin:0 0 6px;padding:6px 14px;border-radius:999px;background:var(--accent);color:#fff;font-size:13px;font-weight:500}
.rate-big{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;font-family:var(--serif);font-size:clamp(46px,5vw,62px);line-height:1}
.rate-big s{font-size:.5em;opacity:.55}
.rate-big small{font-family:var(--sans);font-size:15px;color:var(--on-dark-muted)}
.rate-big.rate-muted{font-size:clamp(24px,2.4vw,30px);line-height:1.2}
.rate-label{margin:4px 0 0;font-size:14px;color:var(--on-dark-muted)}
.rate-table{margin:22px 0 0;display:grid;gap:10px;padding-top:18px;border-top:1px solid var(--on-dark-line)}
.rate-table div{display:flex;justify-content:space-between;gap:16px;font-size:15px}
.rate-table dt{color:var(--on-dark-muted)}
.rate-table dd{margin:0;text-align:right}
.rate-table small{opacity:.7}
.rate-note{margin:14px 0 0;font-size:14px;color:var(--on-dark-muted)}
.rate-ctas{display:grid;gap:10px;margin-top:26px}
.rate-card .btn-outline{color:var(--on-dark);border-color:var(--on-dark-line)}
.rate-card .btn-outline:hover{border-color:var(--on-dark)}
@media (min-width:760px){.floors{grid-template-columns:1fr 1fr}.capacity-line{grid-column:1 / -1}}
@media (min-width:1100px){.stay-grid{grid-template-columns:1fr 360px;gap:24px}.rate-card{position:sticky;top:calc(var(--header-h) + 24px)}}

/* views: full-bleed photograph */
.views{position:relative;min-height:92vh;min-height:92svh;display:flex;align-items:flex-end;color:#fff;overflow:hidden;isolation:isolate;background:var(--charcoal)}
.views-media{position:absolute;inset:-8% 0;z-index:-2}
.views-media img{width:100%;height:100%;object-fit:cover}
.views-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(14,17,15,0) 30%,rgba(14,17,15,.7))}
.views-content{padding-bottom:clamp(64px,10vw,128px)}
.views .display{max-width:14ch}
.views .lead{color:rgba(255,255,255,.88)}

/* amenities bento */
.amen-bento{display:grid;gap:16px}
.amen-photo{overflow:hidden;border-radius:var(--r);aspect-ratio:4/3}
.amen-photo img{width:100%;height:100%;object-fit:cover}
.amen-group{background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r);padding:clamp(24px,2.6vw,36px)}
.amen-group:nth-of-type(1){background:var(--forest);color:var(--on-dark);border-color:transparent}
.amen-group:nth-of-type(1) .ic{color:var(--on-dark)}
.amen-group h3{font-size:30px;margin-bottom:22px}
.amen-group ul{list-style:none;margin:0;padding:0;display:grid;gap:14px 24px}
.amen-group li{display:flex;align-items:center;gap:14px;font-size:16px}
.amen-group .ic{color:var(--accent-text)}
.amen-group small{display:block;font-size:13px;opacity:.75}
@media (min-width:700px){.amen-group ul{grid-template-columns:1fr 1fr}}
@media (min-width:1000px){
  .amen-bento{grid-template-columns:repeat(3,1fr)}
  .amen-bento .amen-group ul{grid-template-columns:1fr}
  .amen-bento.has-image .amen-photo{grid-row:span 2;aspect-ratio:auto;min-height:100%}
  .amen-bento.has-image .amen-group:last-child:nth-of-type(3){grid-column:span 2}
  .amen-bento.has-image .amen-group:last-child:nth-of-type(3) ul{grid-template-columns:repeat(3,1fr)}
}

/* dining */
.dining-grid{display:grid;gap:48px;align-items:center}
.dine-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.dine-list li{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 18px 0 14px;border-radius:999px;border:1px solid var(--line);font-size:15px}
.dine-list .ic{color:var(--accent-text)}
.services{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.services li{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line-2)}
.svc-ic{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--bg-2);color:var(--accent-text)}
.svc-t strong{display:block;font-family:var(--serif);font-size:24px;font-weight:500;line-height:1.1}
.svc-t span{font-size:14px;color:var(--muted)}
.services em{font-style:normal;font-size:13px;color:var(--muted);text-align:right}
.dining-media{overflow:hidden;border-radius:var(--r);aspect-ratio:4/3;background:var(--charcoal);position:relative}
.dining-media video,.dining-media img{width:100%;height:100%;object-fit:cover}
.dining-media figcaption{position:absolute;left:0;right:0;bottom:0;padding:48px 22px 18px;color:#fff;font-size:14px;background:linear-gradient(transparent,rgba(14,17,15,.7))}
@media (min-width:900px){.dining-grid{grid-template-columns:6fr 5fr;gap:clamp(48px,7vw,112px)}}

/* nearby places index */
.nearby{background:var(--bg-2)}
.places{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(16px,3vw,40px)}
.place{display:flex;flex-direction:column;gap:6px;padding:24px 0 28px;border-top:1px solid var(--line)}
.place::before{content:"";width:12px;height:10px;background:var(--forest);clip-path:polygon(50% 0,100% 100%,0 100%);margin-bottom:10px;opacity:.8}
.place strong{font-family:var(--serif);font-size:clamp(23px,2.2vw,30px);font-weight:500;line-height:1.1}
.place-d{font-size:15px;color:var(--muted)}
.place-km{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--accent-text)}
.place-img{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:var(--r);margin-bottom:8px}
.place-img img{width:100%;height:100%;object-fit:cover}
@media (min-width:900px){.places{grid-template-columns:repeat(4,1fr)}}
@media (max-width:420px){.places{grid-template-columns:1fr}.place{padding:20px 0}}

/* gallery */
.filters{display:flex;gap:8px;margin:0 calc(var(--gutter) * -1) 28px;padding:0 var(--gutter) 4px;overflow-x:auto;scrollbar-width:none}
.filters::-webkit-scrollbar{display:none}
.chip{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line);font-size:15px;transition:background-color .3s,color .3s,border-color .3s}
.chip span{font-size:12px;color:var(--muted)}
.chip:hover{border-color:var(--ink)}
.chip.is-active{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.chip.is-active span{color:inherit;opacity:.7}
@media (min-width:760px){.filters{flex-wrap:wrap;margin:0 0 36px;padding:0;overflow:visible}}
.masonry{columns:2;column-gap:10px}
.tile{break-inside:avoid;margin:0 0 10px;position:relative;overflow:hidden;border-radius:var(--r);transition:opacity .3s,transform .4s var(--ease)}
.tile button{display:block;width:100%}
.tile img{width:100%;height:auto;background:var(--bg-2);transition:transform 1.2s var(--ease),opacity .6s}
.tile img:not(.loaded){opacity:.01}
.tile figcaption{position:absolute;left:0;right:0;bottom:0;padding:40px 16px 14px;color:#fff;font-size:14px;background:linear-gradient(transparent,rgba(14,17,15,.66));opacity:0;transform:translateY(8px);transition:opacity .4s,transform .5s var(--ease);pointer-events:none}
.tile:hover img{transform:scale(1.04)}
.tile:hover figcaption,.tile:focus-within figcaption{opacity:1;transform:none}
.tile.fading{opacity:0;transform:scale(.98)}
.tile.hidden{display:none}
@media (hover:none){.tile figcaption{display:none}}
@media (min-width:760px){.masonry{columns:3;column-gap:14px}.tile{margin-bottom:14px}}
@media (min-width:1200px){.masonry{columns:4}}

/* videos: the charcoal "night" chapter with a horizontal rail */
.videos{background:var(--charcoal);color:var(--on-dark);overflow:hidden}
.videos .lead{color:var(--on-dark-muted)}
.rail{position:relative}
.rail-track{display:flex;gap:clamp(14px,2vw,24px);overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:max(var(--gutter),calc((100vw - var(--max)) / 2 + var(--gutter)));padding:0 max(var(--gutter),calc((100vw - var(--max)) / 2 + var(--gutter))) 8px;scrollbar-width:none;overscroll-behavior-x:contain}
.rail-track::-webkit-scrollbar{display:none}
.rail-track:focus-visible{outline-offset:-2px}
.vcard{flex:none;width:min(74vw,360px);scroll-snap-align:start}
.vcard-lead{width:min(88vw,680px)}
.vcard-media{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:var(--r);background:#0d0f0e}
.vcard-media img,.vcard-media video{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.vcard-media:hover img,.vcard-media:hover video{transform:scale(1.04)}
.vcard-play{position:absolute;left:16px;bottom:16px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(20,23,21,.4);border:1px solid rgba(255,255,255,.4);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background-color .3s,transform .5s var(--ease)}
.vcard-media:hover .vcard-play{background:var(--accent);border-color:var(--accent);transform:scale(1.06)}
.vcard h3{font-size:clamp(24px,2.2vw,30px);margin-top:18px}
.vcard p{margin:6px 0 0;font-size:15px;color:var(--on-dark-muted);max-width:44ch}
.rail-nav{display:flex;gap:10px;justify-content:flex-start;max-width:var(--max);margin:28px auto 0;padding:0 var(--gutter)}
.rail-btn{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--on-dark-line);color:var(--on-dark);transition:background-color .3s,opacity .3s}
.rail-btn:hover:not(:disabled){background:rgba(236,232,223,.1)}
.rail-btn:disabled{opacity:.3;cursor:default}
.videos .sec-head{margin-bottom:clamp(36px,4vw,56px)}

/* booking */
.book{background:var(--bg)}
.book-grid{display:grid;gap:48px}
.book-rate{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin:32px 0 0;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.book-rate > span{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);flex-basis:100%}
.book-rate strong{font-family:var(--serif);font-size:38px;font-weight:500;line-height:1.1}
.book-rate s{font-size:.6em;opacity:.55}
.book-rate small{font-size:15px;color:var(--muted)}
.book-img{margin-top:32px;overflow:hidden;border-radius:var(--r);aspect-ratio:16/10}
.book-img img{width:100%;height:100%;object-fit:cover}
.contact-list{list-style:none;margin:32px 0 0;padding:0;display:grid;gap:18px}
.contact-list li{display:flex;gap:16px;align-items:flex-start}
.contact-list > li > .ic{color:var(--accent-text);margin-top:3px}
.contact-list span{display:block;font-size:13px;color:var(--muted)}
.contact-list a,.contact-list em,.contact-list address{font-style:normal;text-decoration:none;font-size:16px}
.contact-list em{display:block;color:var(--muted)}
.contact-list a:hover{color:var(--accent-text)}
.map-link{display:inline-flex!important;align-items:center;gap:6px;margin-top:6px;font-size:14px!important;color:var(--accent-text)}
.map-embed{margin-top:28px;border-radius:var(--r);overflow:hidden;aspect-ratio:16/10}
.map-embed iframe{width:100%;height:100%;border:0}
.house-rules{margin-top:28px;padding:22px 24px;border-radius:var(--r);background:var(--surface);border:1px solid var(--line-2)}
.house-rules h3{font-size:24px;margin-bottom:10px}
.house-rules ul{margin:0;padding-left:18px;color:var(--muted);font-size:15px}
.directions{margin-top:20px;color:var(--muted);font-size:15px}
.book-form{position:relative;background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r);padding:clamp(24px,3.4vw,44px);box-shadow:var(--shadow);display:grid;gap:18px;align-self:start}
.book-form h3{font-size:clamp(30px,3vw,38px);margin-bottom:2px}
.f-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.f{display:grid;gap:8px;min-width:0}
.f-l{font-size:14px;font-weight:500;color:var(--ink)}
.f-l i{font-style:normal;font-weight:400;color:var(--muted)}
.f input,.f textarea{width:100%;min-height:52px;font:400 16px var(--sans);color:var(--ink);padding:13px 15px;border-radius:var(--r);border:1px solid var(--line);background:var(--bg);transition:border-color .2s,box-shadow .2s}
.f textarea{resize:vertical;min-height:96px}
.f input::placeholder,.f textarea::placeholder{color:var(--muted);opacity:.9}
.f input:focus,.f textarea:focus{outline:none;border-color:var(--accent-text);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
.f .invalid,.f input.invalid{border-color:var(--err)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cap-hint{margin:-6px 0 0;font-size:14px;color:var(--accent-text)}
.quote{background:var(--forest-soft);border-radius:var(--r);padding:16px 18px;font-size:14px}
.quote .q-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.quote strong{font-family:var(--serif);font-size:28px;font-weight:600}
.quote small{display:block;color:var(--muted);margin-top:4px}
.quote.is-unavailable{background:color-mix(in srgb,var(--err) 12%,var(--surface))}
.quote.is-unavailable small{color:var(--err);font-weight:500}
.form-msg{margin:0;font-size:15px}
.form-msg:empty{display:none}
.form-msg.err{color:var(--err)}
.form-msg.ok{color:var(--ok)}
.form-fine{margin:0;font-size:13px;color:var(--muted);text-align:center}
.form-fine a{color:inherit}
.book-form .success{text-align:center;padding:28px 4px;display:grid;gap:10px;justify-items:center}
.book-form .success .ic{color:var(--ok);width:56px;height:56px}
.book-form .success h3{font-size:34px}
.book-form .success p{margin:0;color:var(--muted)}
@media (min-width:1000px){.book-grid{grid-template-columns:5fr 6fr;gap:clamp(56px,7vw,112px);align-items:start}.book-form{position:sticky;top:calc(var(--header-h) + 24px)}}
@media (max-width:420px){.f-row:not(.f-guests){grid-template-columns:1fr}}
@media (max-width:999px){
  .book-grid{gap:28px}
  .book-info{display:contents}
  .book-form{order:2}
  .contact-list,.house-rules,.directions,.map-embed{order:3}
  .contact-list{margin-top:12px}
  .book-img{display:none}
}

/* date range picker */
.dates{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border:1px solid var(--line);border-radius:var(--r);background:var(--bg);transition:border-color .2s}
.dates.invalid{border-color:var(--err)}
.date-btn{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 15px;text-align:left;min-height:62px;border-radius:var(--r);transition:background-color .2s}
.date-btn:hover{background:var(--bg-2)}
.date-btn.active{box-shadow:inset 0 0 0 1.5px var(--accent-text)}
.db-l{font-size:12px;color:var(--muted)}
.db-v{font-size:16px;color:var(--muted)}
.date-btn.has-value .db-v{color:var(--ink);font-weight:500}
.date-arrow{color:var(--muted)}
.dp{position:absolute;left:0;top:calc(100% + 8px);z-index:20;width:min(640px,calc(100vw - 32px));background:var(--surface);color:var(--ink);border-radius:var(--r);box-shadow:0 30px 70px -20px rgba(0,0,0,.4),0 0 0 1px var(--line);padding:18px;opacity:0;transform:translateY(-6px);transition:opacity .25s var(--ease),transform .25s var(--ease)}
.dp.open{opacity:1;transform:none}
@media (min-width:1000px){.dp{left:auto;right:0}}
.dp-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.dp-hint{font-size:14px;font-weight:500;color:var(--accent-text)}
.dp-nav{width:44px;height:44px;border-radius:50%;font-size:22px;line-height:1}
.dp-nav:hover:not(:disabled){background:var(--bg-2)}
.dp-nav:disabled{opacity:.25;cursor:default}
.dp-months{display:grid;gap:24px}
@media (min-width:720px){.dp-months{grid-template-columns:1fr 1fr}}
.dp-title{text-align:center;font-family:var(--serif);font-size:22px;margin-bottom:8px}
.dp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px 0}
.dp-dow{font-size:11px;font-weight:600;color:var(--muted);text-align:center;padding:4px 0}
.dp-day{aspect-ratio:1;min-height:40px;display:grid;place-items:center;font-size:14px;font-weight:500;border-radius:50%;position:relative;transition:background-color .15s,color .15s}
.dp-day:hover:not(:disabled){background:var(--bg-2)}
.dp-day:disabled{color:var(--muted);opacity:.45;cursor:default}
.dp-day.is-blocked{text-decoration:line-through;color:var(--err);opacity:.7}
.dp-day.is-today::after{content:"";position:absolute;bottom:5px;width:4px;height:4px;border-radius:50%;background:var(--accent)}
.dp-day.in-range{background:var(--forest-soft);border-radius:0}
.dp-day.is-start,.dp-day.is-end{background:var(--ink)!important;color:var(--bg);border-radius:50%;opacity:1}
.dp-foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.dp-legend{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:6px;margin-right:auto}
.dp-legend i{width:16px;height:2px;background:var(--err);display:inline-block}
.dp-nights{font-weight:600;font-size:14px}
.dp-clear{font-size:14px;color:var(--muted);text-decoration:underline;padding:8px}
.dp-foot .dp-done{margin-left:4px}
@media (max-width:719px){
  .dp{position:fixed;left:0;right:0;bottom:0;top:auto;width:100%;border-radius:14px 14px 0 0;padding:20px 16px calc(20px + env(safe-area-inset-bottom));transform:translateY(30px);max-height:88svh;overflow:auto;z-index:150}
  .dp.open{transform:none}
  .dp-legend{flex-basis:100%}.dp-nights{margin-right:auto}
}

/* steppers */
.stepper{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;border:1px solid var(--line);border-radius:999px;background:var(--bg);overflow:hidden;min-height:52px}
.stepper button{height:100%;font-size:20px;color:var(--ink);transition:background-color .2s}
.stepper button:hover{background:var(--bg-2)}
.stepper input{border:0!important;background:transparent!important;text-align:center;box-shadow:none!important;-moz-appearance:textfield;appearance:textfield;padding:8px 2px!important;min-height:0!important;font-weight:500}
.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* cta band + rooms extras */
.cta-band{background:var(--bg-2)}
.cta-inner{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:28px}
.extras{margin-top:56px;max-width:760px}
.extras .mini-h{margin-top:0}

/* article + 404 */
.prose-page{max-width:720px}
.prose-page h2{font-size:clamp(28px,3vw,36px);margin:44px 0 12px}
.prose-page h3{font-size:24px;margin:28px 0 8px}
.prose-page p,.prose-page li{color:var(--muted)}
.prose-page a{color:var(--accent-text)}
.notfound{padding:calc(var(--header-h) + 96px) 0 var(--section)}
.nf-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px}

/* ---------- Footer ---------- */
.site-footer{background:var(--charcoal);color:var(--on-dark-muted);padding:clamp(64px,8vw,112px) 0 calc(32px + env(safe-area-inset-bottom));font-size:15px}
.footer-hero{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:28px;padding-bottom:clamp(40px,5vw,64px);border-bottom:1px solid var(--on-dark-line)}
.footer-word{margin:0;font-family:var(--serif);font-size:clamp(56px,11vw,168px);line-height:.85;letter-spacing:-.03em;color:var(--on-dark)}
.footer-grid{display:grid;gap:36px;padding-top:clamp(40px,5vw,64px)}
.site-footer .brand{color:var(--on-dark);margin-bottom:16px}
.f-brand p{margin:0;max-width:34ch}
.f-col{display:flex;flex-direction:column;gap:10px}
.f-col h2{font:500 12px/1.2 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--on-dark);margin:0 0 6px}
.f-col a{text-decoration:none;align-self:flex-start}
.f-col a:hover{color:var(--on-dark)}
.socials{display:flex;gap:10px;margin-top:18px}
.socials a{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--on-dark-line)}
.socials a:hover{border-color:var(--on-dark);color:var(--on-dark)}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:56px;padding-top:24px;border-top:1px solid var(--on-dark-line);font-size:14px}
.to-top{text-decoration:none}
.to-top:hover{color:var(--on-dark)}
@media (min-width:800px){.footer-grid{grid-template-columns:1.6fr 1fr 1fr 1fr}}
@media (min-width:900px){.footer-bottom{padding-right:150px}}

/* ---------- Mobile action bar ---------- */
.mobile-bar{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:60;display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:6px;padding:6px;border-radius:999px;background:color-mix(in srgb,var(--charcoal) 94%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 18px 40px -14px rgba(0,0,0,.55);transform:translateY(150%);transition:transform .6s var(--ease)}
.mobile-bar.show{transform:none}
.mobile-bar a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;border-radius:999px;color:var(--on-dark);text-decoration:none;font-size:14px;font-weight:500}
.mobile-bar a:active{background:rgba(236,232,223,.08)}
.mobile-bar .mb-book{background:var(--accent);color:#fff}
@media (min-width:900px){.mobile-bar{display:none}}
@media (max-width:899px){.site-footer{padding-bottom:calc(112px + env(safe-area-inset-bottom))}}

/* ---------- Lightbox + video modal ---------- */
.lightbox,.vmodal{position:fixed;inset:0;z-index:200;background:rgba(12,14,13,.96);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .35s}
.lightbox.open,.vmodal.open{opacity:1}
.lb-stage{max-width:min(92vw,1600px);max-height:86svh;display:flex;flex-direction:column;align-items:center;gap:14px}
.lb-stage img{max-height:78svh;width:auto;border-radius:var(--r);object-fit:contain;transition:opacity .3s,transform .5s var(--ease)}
.lb-stage img.swap{opacity:0;transform:scale(.985)}
.lb-stage figcaption{color:rgba(255,255,255,.85);font-size:15px;text-align:center}
.lb-close{position:absolute;top:12px;right:12px;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:#fff;z-index:2}
.lb-prev,.lb-next{position:absolute;top:50%;transform:translateY(-50%);width:56px;height:56px;border-radius:50%;display:grid;place-items:center;color:#fff;border:1px solid rgba(255,255,255,.2);transition:background-color .3s}
.lb-prev{left:16px}.lb-next{right:16px}
.lb-prev:hover,.lb-next:hover,.lb-close:hover{background:rgba(255,255,255,.12)}
.lb-count{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.65);font-size:13px;letter-spacing:.08em}
@media (max-width:640px){.lb-prev,.lb-next{top:auto;bottom:12px;transform:none}}
.vm-stage{width:min(94vw,1200px)}
.vm-stage video{width:100%;max-height:80svh;border-radius:var(--r);background:#000}
.vm-title{color:rgba(255,255,255,.85);text-align:center;margin:14px 0 0}

/* ---------- Toast ---------- */
.toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));transform:translate(-50%,16px);z-index:300;background:var(--ink);color:var(--bg);padding:14px 20px;border-radius:var(--r);font-size:15px;max-width:calc(100vw - 32px);opacity:0;transition:opacity .4s var(--ease),transform .4s var(--ease);box-shadow:var(--shadow)}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ---------- Chat assistant ---------- */
.chatbot{--cb-w:390px;position:fixed;right:20px;bottom:24px;z-index:70;font-size:15px}
.cb-launch{display:inline-flex;align-items:center;gap:10px;height:54px;padding:0 22px 0 18px;border-radius:999px;background:var(--charcoal);color:var(--on-dark);border:1px solid var(--on-dark-line);box-shadow:0 18px 40px -14px rgba(0,0,0,.5);transition:transform .5s var(--ease)}
.cb-launch:hover{transform:translateY(-2px)}
.cb-launch-ic{display:grid;place-items:center}
.cb-x{display:none}
.chatbot.open .cb-open{display:none}
.chatbot.open .cb-x{display:grid}
.cb-launch-t{font-weight:500}
.cb-teaser{position:absolute;right:0;bottom:66px;display:flex;align-items:center;gap:10px;white-space:nowrap;background:var(--surface);color:var(--ink);padding:10px 10px 10px 16px;border-radius:var(--r);font-size:14px;box-shadow:var(--shadow);border:1px solid var(--line-2);cursor:pointer;animation:rise .7s var(--ease) both}
.cb-teaser button{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:var(--muted)}
.cb-teaser button:hover{background:var(--bg-2)}
.cb-panel{position:absolute;right:0;bottom:70px;width:var(--cb-w);max-width:calc(100vw - 32px);height:min(620px,calc(100svh - 130px));background:var(--surface);color:var(--ink);border-radius:var(--r);border:1px solid var(--line-2);box-shadow:0 40px 90px -30px rgba(0,0,0,.5);display:flex;flex-direction:column;overflow:hidden;transform-origin:bottom right;opacity:0;transform:translateY(12px) scale(.98);transition:opacity .35s var(--ease),transform .45s var(--ease)}
.chatbot.open .cb-panel{opacity:1;transform:none}
.cb-head{display:flex;align-items:center;gap:14px;padding:18px 16px 18px 20px;background:var(--charcoal);color:var(--on-dark)}
.cb-head strong{display:block;font-family:var(--serif);font-size:22px;font-weight:500;line-height:1.1}
.cb-avatar{width:42px;height:42px;flex:none;display:grid;place-items:center;font:600 14px var(--sans);letter-spacing:.06em;color:#fff;background:var(--accent);clip-path:polygon(50% 0,100% 100%,0 100%);padding-top:12px}
.cb-status{display:block;font-size:13px;color:var(--on-dark-muted)}
.cb-close{margin-left:auto;width:44px;height:44px;border-radius:50%;display:grid;place-items:center}
.cb-close:hover{background:rgba(236,232,223,.1)}
.cb-body{flex:1;overflow-y:auto;padding:20px 16px 10px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.cb-msg{max-width:86%;padding:12px 15px;border-radius:14px;line-height:1.55;animation:pop .4s var(--ease) both;overflow-wrap:anywhere}
.cb-msg.bot{align-self:flex-start;background:var(--bg);border:1px solid var(--line-2);border-bottom-left-radius:4px}
.cb-msg.user{align-self:flex-end;background:var(--ink);color:var(--bg);border-bottom-right-radius:4px}
.cb-msg a{color:var(--accent-text);font-weight:500}
.cb-actions{display:flex;flex-wrap:wrap;gap:8px;align-self:flex-start;max-width:92%;animation:pop .4s var(--ease) both}
.cb-actions a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;background:var(--accent);color:#fff;text-decoration:none;font-size:14px;font-weight:500}
.cb-actions a:hover{background:var(--accent-ink)}
.cb-typing{align-self:flex-start;display:flex;gap:4px;padding:15px 16px;background:var(--bg);border:1px solid var(--line-2);border-radius:14px;border-bottom-left-radius:4px}
.cb-typing i{width:6px;height:6px;border-radius:50%;background:var(--muted);opacity:.4;animation:blink 1.2s infinite}
.cb-typing i:nth-child(2){animation-delay:.15s}.cb-typing i:nth-child(3){animation-delay:.3s}
.cb-quick{display:flex;gap:8px;overflow-x:auto;padding:10px 14px;scrollbar-width:none;flex:none;border-top:1px solid var(--line-2)}
.cb-quick:empty{display:none}
.cb-quick::-webkit-scrollbar{display:none}
.cb-quick button{flex:none;min-height:38px;padding:0 15px;border-radius:999px;border:1px solid var(--line);font-size:14px;transition:background-color .25s,color .25s,border-color .25s}
.cb-quick button:hover{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.cb-input{display:flex;gap:8px;padding:12px 14px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line-2)}
.cb-input input{flex:1;min-width:0;min-height:48px;border:1px solid var(--line);border-radius:999px;padding:0 18px;font:400 16px var(--sans);color:var(--ink);background:var(--bg)}
.cb-input input::placeholder{color:var(--muted)}
.cb-input input:focus{outline:none;border-color:var(--accent-text)}
.cb-input button{width:48px;height:48px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;flex:none}
@media (max-width:899px){
  .chatbot{right:14px;bottom:calc(84px + env(safe-area-inset-bottom))}
  .cb-launch{width:52px;height:52px;padding:0;justify-content:center}
  .cb-launch-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .cb-teaser{bottom:62px}
}
@media (max-width:560px){
  .chatbot.open .cb-launch{display:none}
  .cb-panel{position:fixed;inset:0;width:100%;max-width:none;height:100%;border-radius:0;border:0}
  .cb-teaser{display:none}
}

/* ---------- Motion ---------- */
@keyframes rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes settle{from{transform:scale(1.08)}to{transform:scale(1)}}
@keyframes mist{from{transform:translateX(-10%)}to{transform:translateX(10%)}}
@keyframes pop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes blink{0%,100%{opacity:.25}50%{opacity:.9}}
@keyframes drift-y{from{transform:translateY(5%) scale(1.1)}to{transform:translateY(-5%) scale(1.1)}}
@keyframes views-pan{from{transform:translateY(-4%)}to{transform:translateY(4%)}}

/* scroll reveal (only when JS is running; content stays visible without it) */
.js [data-reveal]{opacity:0;transform:translateY(28px);transition:opacity 1s var(--ease),transform 1.1s var(--ease);transition-delay:var(--d,0ms)}
.js [data-reveal].in{opacity:1;transform:none}

/* image movement tied to scroll, where the browser supports scroll-driven animation */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .drift{animation:drift-y linear both;animation-timeline:view();animation-range:entry 0% exit 100%}
    .views-img{animation:views-pan linear both;animation-timeline:view();animation-range:entry 0% exit 100%}
  }
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .js [data-reveal]{opacity:1;transform:none}
  .mist{display:none}
}
@media (prefers-reduced-transparency:reduce){
  .btn-glass,.hero-pause,.vcard-play{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(20,23,21,.8)}
  .site-header.scrolled,.mobile-bar{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--bg)}
  .mobile-bar{background:var(--charcoal)}
}
