/* Outfit, self-hosted (assets/fonts, Google Fonts v15, SIL Open Font License); the pages preload the latin file. One variable
   file covers weights 300-700. "Outfit Fallback" is Arial set to Outfit's width and height, so lines keep their length and
   breaks while the font loads (no Georgia serif flash on the headings). Speed pass 2026-10-27. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/outfit-latin-v15.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/outfit-latin-ext-v15.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit Fallback'; src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Roboto'); size-adjust: 100.2%; ascent-override: 99.8%; descent-override: 25.9%; line-gap-override: 0%; }
/* ==========================================================================
   STAY ARI · base.css  (foundation: tokens, type, layout, components)
   Plain CSS. No build step. Pages add their own page CSS on top of this.
   ========================================================================== */

/* ---------- Tokens ---------- */
/* The screen height full-screen sections use. site.js pins both to px on phones, because browsers that resize the page as their
   bars slide away (Firefox and Chrome on iPhone, in-app browsers) move even 100svh mid-scroll, and the sections below jump with it. */
:root { --stage-h: 100vh; --stage-vh: 100vh; }
@supports (height: 100svh) { :root { --stage-h: 100svh; } }
:root {
  /* Bright palette matched to stayari.jp (Outfit, #ff5100 orange, warm brown text, cream) */
  --bg: #ffffff;
  --bg-2: #faf9f7;
  --panel: #ffffff;
  --cream: #faf9f7;
  --sand: #f3ede4;
  --ink: #2f2a25;
  --text: #413b32;
  --muted: #6b645b;
  --orange: #ff5100;               /* brand orange: fills, rules, dots */
  --sage: #d14400;                 /* button fill: orange deep enough for white text (AA) */
  --sage-2: #b83a00;
  --gold: #cf4100;                 /* accent text on white (AA) */
  --gold-deep: #b83a00;            /* accent text on cream (AA) */
  --line: rgba(65, 59, 50, .16);
  --line-soft: rgba(65, 59, 50, .09);
  --radius: 14px;
  --pill: 999px;
  --shadow-1: 0 8px 24px rgba(65, 45, 25, .08);
  --shadow-2: 0 18px 44px rgba(65, 45, 25, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 700ms;
  --serif: 'Outfit', 'Outfit Fallback', 'Noto Sans JP', 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', 'Outfit Fallback', 'Noto Sans JP', 'Montserrat', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --header-h: 78px;
  --gutter: 24px;
  --bar-offset: 0px;               /* was the signup bar's height (bar retired 2026-10-27); page CSS still reads it */
}
@media (max-width: 760px) {
  :root { --header-h: 64px; --gutter: 20px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; touch-action: manipulation; }
/* The page itself never moves sideways (Cameron 11-06). clip, not hidden: it makes no scroll container, so sticky bars and
   vertical scrolling stay exactly as they were, and photo rows and filter chips still swipe inside themselves. Phones also
   stop a swipe at the end of a row from dragging the page; desktop keeps its two-finger back gesture. */
html, body { overflow-x: hidden; overflow-x: clip; }
@media (pointer: coarse) { html, body { overscroll-behavior-x: none; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

/* Email box above the footer (Cameron 11-06) */
.offer-band { background: var(--bg); border-top: 1px solid var(--line-soft); padding: clamp(40px, 6vw, 64px) var(--gutter); text-align: center; }
.offer-inner { max-width: 460px; margin-inline: auto; }
.offer-title { margin: 0 0 18px; font-size: clamp(1.4rem, 3.4vw, 1.75rem); color: var(--ink); }
.offer-form .input { display: block; width: 100%; min-height: 50px; padding: 0 16px; font-size: 16px; text-align: left; background: #fff; color: var(--ink); border: 1px solid rgba(65, 59, 50, .22); border-radius: 12px; }
.offer-form .input::placeholder { color: rgba(65, 59, 50, .45); }
.offer-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 16px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: left; cursor: pointer; }
.offer-consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--gold); }
.offer-error { margin: 8px 0 0; font-size: 13px; color: #b3321b; text-align: left; }
.offer-ok { margin: 0; font-size: 16px; color: var(--ink); }
body.modal-open, body.menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; color: transparent; }   /* a photo still loading shows no description text */
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(255, 81, 0, 0.35); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--pill); transition: top .3s var(--ease); }
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; line-height: 1.12; }
h1, .h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); }
h2, .h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3, .h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
h4, .h4 { font-size: 1.2rem; }
.it, h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.eyebrow {
  display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.eyebrow--line { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow--line::before, .eyebrow--line::after { content: ''; width: 34px; height: 1px; background: var(--line); }
.lead { font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.85; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
/* the " · " between things (site.js markSeps): about 20% bigger, with a little more room either side (Cameron 2026-11-05) */
.sep { display: inline-block; font-size: 1.2em; line-height: 0; margin: 0 .06em; vertical-align: -.1em; }
.center { text-align: center; }
.center .lead, .lead.center { margin-inline: auto; }
.upper { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 500; }
.gold { color: var(--gold); }
.hr-gold { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 0; }
.orn { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); font-size: 12px; }
.orn::before, .orn::after { content: ''; width: 60px; height: 1px; background: var(--line); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.container--wide { max-width: 1360px; }
.section { position: relative; padding-block: clamp(72px, 10vw, 136px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--dark { background: var(--bg); color: var(--text); }
.section--bg2 { background: var(--bg-2); color: var(--text); }
.section--cream, .section--sand { color: var(--ink); }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--cream .lead, .section--sand .lead, .section--cream .muted, .section--sand .muted { color: #6b645b; }
.section--cream .eyebrow, .section--sand .eyebrow { color: var(--gold-deep); }
.section--cream .it, .section--sand .it, .section--cream em, .section--sand em { color: var(--gold-deep); }
.section--cream .eyebrow--line::before, .section--cream .eyebrow--line::after,
.section--sand .eyebrow--line::before, .section--sand .eyebrow--line::after { background: rgba(207, 65, 0, 0.50); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); display: grid; gap: 18px; justify-items: center; }
.section-head p { color: var(--muted); max-width: 52ch; }
.section--cream .section-head p, .section--sand .section-head p { color: #6b645b; }
.page-top { padding-top: var(--header-h); }
.grid { display: grid; gap: 28px; }
.stay-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: var(--stack, 18px); }
.media-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.60) 32%, rgba(255, 255, 255, 0.60) 62%, rgba(255, 255, 255, 0.90) 100%), linear-gradient(90deg, rgba(255, 255, 255, 0.60), transparent 60%); }
/* horizontal rail (snap carousel, hidden scrollbar) */
.rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px var(--gutter) 28px; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; }

/* ---------- Buttons ---------- */
.btn, .btn-ghost, .btn-light, .btn-ink {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 30px; border-radius: var(--pill); border: 1px solid transparent;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .03em; line-height: 1; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
}
.btn { background: var(--sage); color: #fff; box-shadow: 0 6px 20px rgba(255, 81, 0, 0.25); }
.btn:hover { background: var(--sage-2); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 81, 0, 0.40); }
.btn:active, .btn-ghost:active, .btn-light:active, .btn-ink:active { transform: translateY(0) scale(.985); }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(65, 59, 50, 0.03); }
.btn-ghost:hover { background: rgba(255, 81, 0, 0.12); border-color: var(--gold); transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(65, 45, 25, 0.10); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #2a312a; transform: translateY(-2px); }
.section--cream .btn-ghost, .section--sand .btn-ghost { color: var(--ink); border-color: rgba(65, 59, 50, 0.30); }
.section--cream .btn-ghost:hover, .section--sand .btn-ghost:hover { background: rgba(207, 65, 0, 0.12); border-color: var(--gold-deep); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 13px; }
.btn-lg { min-height: 56px; padding: 0 38px; font-size: 15px; }
.btn-block { width: 100%; }
.btn .arr, .link-arrow .arr { transition: transform .5s var(--ease); }
.btn:hover .arr, .link-arrow:hover .arr { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.link-arrow:hover { color: #ff5100; }

/* ---------- Forms ---------- */
.input {
  width: 100%; min-height: 48px; padding: 0 22px; border-radius: var(--pill);
  background: rgba(65, 59, 50, 0.06); border: 1px solid var(--line); color: var(--text);
  font-size: 14px; transition: border-color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.input::placeholder { color: rgba(65, 59, 50, 0.55); }
.input:focus { outline: none; border-color: var(--gold); background: rgba(65, 59, 50, 0.09); box-shadow: 0 0 0 4px rgba(255, 81, 0, 0.14); }
.input.is-error { border-color: #d98b7a; box-shadow: 0 0 0 4px rgba(217, 139, 122, .15); }
.input--light { background: #fff; color: var(--ink); border-color: rgba(65, 59, 50, 0.22); }
.input--light::placeholder { color: rgba(27, 31, 26, .45); }
.input--light:focus { background: #fff; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color .5s var(--ease);
}
.card--pad { padding: clamp(24px, 3vw, 36px); }
.card.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: rgba(65, 59, 50, 0.33); }
.card--light { background: var(--cream); color: var(--ink); border-color: rgba(65, 59, 50, 0.15); box-shadow: 0 14px 40px rgba(65, 45, 25, 0.08); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pill);
  font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(14, 18, 13, .6); border: 1px solid var(--line-soft); color: var(--text);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.chip--gold { color: var(--gold); border-color: var(--line); }

/* ---------- Photo placeholder ---------- */
.ph {
  position: relative; display: grid; place-content: center; justify-items: center; gap: 14px; min-height: 180px;
  background: radial-gradient(120% 90% at 30% 15%, rgba(255, 81, 0, 0.09), transparent 60%), linear-gradient(150deg, #1f281e 0%, #121711 100%);
  color: var(--muted); overflow: hidden; text-align: center;
}
.ph::after { content: ''; position: absolute; inset: 12px; border: 1px solid var(--line-soft); border-radius: 10px; pointer-events: none; }
.ph-mark {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); font-family: var(--serif); font-size: 17px; letter-spacing: .08em; color: var(--gold);
  box-shadow: 0 0 40px rgba(255, 81, 0, 0.14);
}
.ph-text { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(169, 176, 163, .85); }
.ph--16x9 { aspect-ratio: 16 / 9; } .ph--4x5 { aspect-ratio: 4 / 5; } .ph--1x1 { aspect-ratio: 1; }
.stay-media > .ph { position: absolute; inset: 0; min-height: 0; }

/* ---------- Stay card ---------- */
.stay-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(65, 45, 25, 0.11);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color .6s var(--ease);
}
.stay-card.stay-card:hover, .stay-card.stay-card:focus-within { transform: translateY(-2px); box-shadow: 0 30px 64px rgba(65, 45, 25, 0.17), 0 0 40px rgba(255, 81, 0, 0.08); border-color: rgba(65, 59, 50, 0.35); }
.stay-media { position: relative; aspect-ratio: var(--card-ar, 4 / 4.2); overflow: hidden; background: #0f130e; }
.stay-media::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(20, 25, 19, .72)); z-index: 2; }
.stay-media > img, .stay-media > video, .stay-layer {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease), opacity .9s var(--ease);
}
.stay-card:hover .stay-media > img, .stay-card:hover .stay-media > video, .stay-card:hover .stay-layer { transform: scale(1.02); }
.stay-media .stay-layer.is-off { opacity: 0; }
.stay-chips { position: absolute; left: 14px; top: 14px; z-index: 4; display: flex; gap: 8px; flex-wrap: wrap; }
.stay-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.stay-loc { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.stay-title { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.2; }
.stay-title a::after { content: ''; position: absolute; inset: 0; z-index: 3; }   /* whole card is the link */
.stay-meta { margin-bottom: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stay-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.stay-price { font-size: 13px; color: var(--muted); }
.stay-price b { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--text); margin: 0 2px; }
.stay-cta { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); white-space: nowrap; transition: letter-spacing .5s var(--ease), color .4s; }
.stay-card:hover .stay-cta { letter-spacing: .27em; color: #ff5100; }
.dn-toggle {
  position: absolute; right: 14px; top: 14px; z-index: 5; display: inline-flex; padding: 3px; border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.62); border: 1px solid var(--line-soft); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dn-toggle button { position: relative; width: 32px; height: 28px; border-radius: var(--pill); display: grid; place-items: center; color: var(--muted); transition: background-color .4s var(--ease), color .4s var(--ease); }
.dn-toggle button svg { width: 15px; height: 15px; }
.dn-toggle button[aria-pressed="true"] { background: rgba(255, 81, 0, 0.20); color: var(--gold); }

/* ---------- Header ----------
   Desktop: logo · Stays menu + links · Reserve Your Stay. Phones (<=960): menu button · logo in the middle · Book now.
   The logo is the owner's horizontal mark (assets/img/brand/stay-ari-horizontal.svg, black). */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--text);
  transition: background-color .6s var(--ease), box-shadow .6s var(--ease), height .5s var(--ease), border-color .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header::before { content: ''; position: absolute; inset: 0 0 -30px 0; pointer-events: none; z-index: -1; background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent); opacity: 1; transition: opacity .6s var(--ease); }
.site-header.is-solid, body.header-solid .site-header {
  background: rgba(255, 255, 255, 0.93); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--line-soft); box-shadow: 0 10px 40px rgba(65, 45, 25, 0.10);
}
.site-header.is-solid::before, body.header-solid .site-header::before { opacity: 0; }
.hdr-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.logo { display: inline-flex; align-items: center; justify-self: start; padding: 6px 0; transition: opacity .4s var(--ease); }
.logo:hover { opacity: .78; }
.logo-img { display: block; height: 32px; width: auto; max-width: none; transition: filter .6s var(--ease); }
/* the round "SA" badge a page hero may still use (home.css .hero-lockup) */
.logo-mark {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 12px; letter-spacing: .06em;
  transition: box-shadow .6s var(--ease), background-color .6s var(--ease);
}
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 46px); }
.main-nav > a, .nav-trigger {
  position: relative; font-size: 13px; letter-spacing: .06em; font-weight: 500; padding: 8px 0; display: inline-flex; align-items: center; gap: 7px;
  color: rgba(65, 59, 50, 0.88); transition: color .4s var(--ease);
}
.main-nav > a::after, .nav-trigger::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.main-nav > a:hover, .nav-trigger:hover, .nav-item:hover .nav-trigger, .main-nav > a[aria-current="page"] { color: var(--ink); }
.main-nav > a:hover::after, .nav-item:hover .nav-trigger::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-trigger .caret { width: 9px; height: 9px; transition: transform .5s var(--ease); }
.nav-item { position: relative; }
.nav-item:hover .caret, .nav-item.open .caret { transform: rotate(180deg); }
.nav-drop {
  position: fixed; top: var(--header-h); left: 0; right: 0; padding: 26px 0 30px;
  transform: translateY(10px); opacity: 0; visibility: hidden; pointer-events: none;
  background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line-soft); box-shadow: 0 30px 60px rgba(65, 45, 25, 0.16);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .5s;
}
.nav-drop::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }   /* hover bridge */
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop, .nav-item.open .nav-drop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s;
}
.drop-inner { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.drop-eyebrow { display: flex; align-items: center; gap: 18px; }
.drop-eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--line-soft); }
/* the eight buildings, in catalog order, two rows of four */
.drop-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.dt { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--panel); isolation: isolate; transition: border-color .5s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); }
.dt:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: var(--shadow-1); }
.dt img, .dt-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.dt:hover img { transform: scale(1.06); }
.dt-ph, .mm-ph { background: #ece4da url("../img/brand/stay-ari-icon.svg") center 40% / auto 34% no-repeat; }
.dt::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 34%, rgba(255, 255, 255, 0.9) 100%); }
.dt-cap { position: absolute; left: 14px; right: 12px; bottom: 12px; display: grid; gap: 3px; }
.dt-cap b { font-family: var(--serif); font-weight: 500; font-size: 15.5px; line-height: 1.2; color: var(--ink); }
.dt-cap small { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.drop-all { display: flex; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.drop-pill { min-height: 44px; padding: 0 26px; border-radius: var(--pill); display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .02em; text-transform: none; }
.ur { width: 12px; height: 12px; }
.hdr-actions { display: flex; align-items: center; gap: 14px; justify-self: end; grid-row: 1; grid-column: -2; }
.hdr-cta { min-height: 40px; padding: 0 22px; font-size: 13px; }
.cta-short { display: none; }
body.page-property .site-header .hdr-cta { display: none; }
.hdr-inner--promo { grid-template-columns: 1fr auto; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .6s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21.5px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; padding: calc(var(--header-h) + 6px) var(--gutter) 32px; overflow-y: auto;
  background: radial-gradient(90% 50% at 50% 0%, rgba(255, 81, 0, 0.18), transparent 70%), var(--bg);
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s linear .6s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mm-h { font-family: var(--serif); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); text-align: center; margin: 14px 0 6px; font-weight: 500; }
.mm-stays { display: grid; gap: 10px; }
.mm-stays:empty { display: none; }
.mm-stay { display: flex; align-items: center; gap: 14px; padding: 6px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px; transition: border-color .4s, background-color .4s; }
.mm-stay:hover, .mm-stay:active { border-color: var(--line); background: var(--bg-2); }
.mm-stay img, .mm-ph { width: 96px; height: 68px; flex: none; border-radius: 8px; object-fit: cover; background-color: #ece4da; }
.mm-t { display: grid; gap: 3px; min-width: 0; padding-right: 8px; }
.mm-t b { font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--ink); }
.mm-t small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mm-all { align-self: center; margin-top: 6px; min-height: 44px; padding: 0 28px; border-radius: var(--pill); display: inline-flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: .02em; font-size: 14px; }
.mm-quick { display: grid; gap: 10px; }
.mm-quick a { display: block; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 10px; font-size: 16px; transition: border-color .4s; }
.mm-quick a:hover { border-color: var(--line); }
.mm-foot { margin-top: auto; padding-top: 22px; display: grid; gap: 14px; }
.mm-tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
/* the language switch (i18n.js puts it right after .hdr-actions): beside the button on desktop, in the phone menu on phones */
.hdr-inner > .lang-switch { grid-row: 1; grid-column: -2; justify-self: end; }
.hdr-inner > .hdr-actions { margin-right: 124px; }   /* the switch's room is kept from first paint (i18n.js mounts it at DOMContentLoaded), so the button never slides left */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .hdr-inner { gap: 10px; }
  .burger { display: block; grid-row: 1; grid-column: 1; justify-self: start; margin-left: -10px; }
  .logo { grid-row: 1; grid-column: 2; justify-self: center; }
  .hdr-inner--promo .logo { grid-column: 1; justify-self: start; }
  .hdr-inner > .lang-switch { display: none; }
  .hdr-inner > .hdr-actions { margin-right: 0; }
  .logo-img { height: 24px; }
  .site-header .hdr-cta { min-height: 38px; padding: 0 16px; font-size: 13px; box-shadow: none; }
  .hdr-cta .cta-long { display: none; }
  .hdr-cta .cta-short { display: inline; }
}
@media (max-width: 600px) {   /* phones: a smaller "Book now" (Cameron 11-05: it looked very large) */
  .site-header .hdr-cta { min-height: 32px; padding: 0 12px; font-size: 12px; }
}
@media (max-width: 379px) {
  .logo-img { height: 22px; }
  .site-header .hdr-cta { padding: 0 10px; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }
/* A page may put the header over a dark hero: <body class="header-over">. Until the page scrolls (or a menu opens) the
   header is clear, with the logo and links in white over a soft shade; then it turns white with the black logo. */
body.header-over .site-header:not(.is-solid):not(:has(.nav-item:hover, .nav-item.open, .nav-item:focus-within)) {
  background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.header-over .site-header:not(.is-solid):not(:has(.nav-item:hover, .nav-item.open, .nav-item:focus-within))::before { display: block; opacity: 1; inset: 0 0 -40px 0; background: linear-gradient(180deg, rgba(30, 22, 16, .45), rgba(30, 22, 16, 0)); }
body.header-over .site-header:not(.is-solid):not(:has(.nav-item:hover, .nav-item.open, .nav-item:focus-within)) .logo-img { filter: brightness(0) invert(1); }
body.header-over .site-header:not(.is-solid):not(:has(.nav-item:hover, .nav-item.open, .nav-item:focus-within)) :is(.main-nav > a, .nav-trigger) { color: #fff; }
body.header-over .site-header:not(.is-solid):not(:has(.nav-item:hover, .nav-item.open, .nav-item:focus-within)) .burger span { background: #fff; }

/* ---------- Footer ----------
   The owner's full logo and one line, then Quick menu · Stays · Contact us; the operator below (no licence numbers, owner 10-29).
   Phones first: one centred column (contact as one list card), the logo large and hanging from the footer's top edge, its top
   cropped (owner 10-29); 761px+: two columns; 1100px+: four. */
.site-footer { position: relative; color: var(--text); background: var(--sand); border-top: 1px solid var(--line-soft); padding: clamp(56px, 8vw, 104px) 0 calc(24px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; gap: 44px; justify-items: center; text-align: center; }
.foot-brand { display: grid; justify-items: center; gap: 16px; max-width: 340px; }
.foot-logo { display: block; margin-bottom: 4px; transition: opacity .4s var(--ease); }
.foot-logo:hover { opacity: .8; }
.foot-logo img { width: 120px; height: auto; }
@media (max-width: 760px) {
  .site-footer { padding-top: 0; }
  .foot-logo { overflow: hidden; margin-bottom: 0; }
  .foot-logo img { width: min(60vw, 250px); margin-top: calc(min(60vw, 250px) * -.28); }   /* crops the plain top of the bookmark */
}
.foot-blurb { color: var(--text); font-size: 15px; line-height: 1.6; max-width: 32ch; }
.foot-proof { display: grid; justify-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.foot-proof li { display: inline-flex; align-items: center; gap: 8px; }
.foot-proof svg { width: 15px; height: 15px; flex: none; color: var(--gold); }
.foot-proof b { color: var(--ink); font-weight: 600; }
.foot-col { width: 100%; }
.foot-col h3, .foot-legal h3 { font-family: var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 500; line-height: 1.5; margin: 0 0 12px; text-wrap: balance; }
.foot-col a { color: var(--text); font-size: 15px; display: inline-flex; align-items: center; min-height: 40px; transition: color .3s; }
.foot-col a:hover { color: var(--gold-deep); }
.foot-menu ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; max-width: 340px; margin-inline: auto; }
.foot-stays-list { display: grid; justify-items: center; }
.foot-col a.foot-stay { gap: 10px; }
.fs-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255, 81, 0, .13); color: var(--gold); }
.fs-ic svg { width: 13px; height: 13px; }
.foot-ct-note { max-width: 30ch; margin: -2px auto 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.foot-col .sa-ch { max-width: 400px; margin-inline: auto; }
.foot-col a.sa-ch-a { display: flex; min-height: 60px; font-size: inherit; }
.foot-col a.sa-ch-a:hover { color: var(--text); }
.foot-col a.foot-group { gap: 9px; margin-top: 10px; font-size: 14px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.foot-group svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.foot-legal { margin-top: clamp(44px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 30px; text-align: center; }
.foot-op-name { font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; }
.foot-op-name small { font-size: .78em; color: var(--muted); }
.foot-op dl { display: grid; gap: 8px; margin: 0; font-size: 13.5px; }
.foot-op dl > div { display: grid; gap: 0; }
.foot-op dt { color: var(--muted); font-size: 11.5px; letter-spacing: .06em; }
.foot-op dd { margin: 0; color: var(--text); }
.foot-base { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12.5px; color: var(--muted); }
.foot-pol { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.foot-pol a { display: inline-flex; align-items: center; min-height: 36px; }
.foot-pol a:hover, .foot-base a:hover { color: var(--ink); }
/* "Powered by SelectBNBs Media" under the © line: smaller than it, same muted colour (5.0:1 on --sand, AA) */
.foot-credit { margin: 10px 0 0; text-align: center; font-size: 11px; letter-spacing: .03em; color: var(--muted); }
.foot-credit a { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; }
.foot-credit a:hover { color: var(--ink); }
.foot-credit-mark { width: 15px; height: 12px; flex: none; margin-left: 1px; }
@media (min-width: 761px) {
  .foot-grid { grid-template-columns: 1fr 1fr; justify-items: stretch; align-items: start; text-align: left; gap: 48px clamp(28px, 5vw, 64px); }
  .foot-brand { justify-items: start; }
  .foot-logo img { width: 168px; }
  .foot-proof { justify-items: start; }
  .foot-menu ul { margin: 0; }
  .foot-stays-list { justify-items: start; }
  .foot-ct-note { margin-inline: 0; }
  .foot-col .sa-ch { margin-inline: 0; max-width: 360px; }
  .foot-col a.sa-ch-a { gap: 10px; min-height: 54px; padding: 9px 12px 9px 10px; }
  .foot-col .sa-ch .sa-ci { width: 32px; height: 32px; }
  .foot-col .sa-ch .sa-ci svg { width: 16px; height: 16px; }
  .foot-col .sa-ch .sa-ct b { font-size: 14.5px; }
  .foot-col .sa-ch .sa-ct small { font-size: 12px; }
  .foot-col .sa-ch .ur { display: none; }
  .foot-legal { text-align: left; }
  .foot-op dl > div { grid-template-columns: 112px 1fr; gap: 10px; }
  .foot-base { flex-direction: row; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; text-align: left; }
}
@media (min-width: 1100px) {
  .foot-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, 1.15fr) minmax(0, 1fr); }
  .foot-logo img { width: 176px; }
  .foot-menu ul { grid-template-columns: 1fr; }
}
/* Stay pages on phones and tablets: the fixed booking bar (property.css .m-bar, 75px + the home indicator) must not hide the
   footer's last lines (copyright, policies). */
@media (max-width: 980px) { body.page-property .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); } }
/* the short footer of the promo page (book-now.html) */
.site-footer--min { padding-top: 48px; }
.foot-min { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.foot-min .logo-img { height: 26px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13px; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }

/* ---------- "Ask Ari" (site.js initAriLauncher): bottom-right on every page, above the phone booking bar and the compare tray ---------- */
.ari-fab {
  position: fixed; right: 16px; bottom: calc(var(--bar-offset, 0px) + 16px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 18px 6px 8px; border-radius: var(--pill);
  background: #fbf7ef; color: var(--ink); border: 1px solid rgba(65, 59, 50, .18); box-shadow: 0 10px 28px rgba(65, 45, 25, .2);
  font: 600 15px/1 var(--sans); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease), bottom .8s var(--ease);
}
.ari-fab svg { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #fff; padding: 2px; }
.ari-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(65, 45, 25, .26); }
.ari-fab:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 980px) { body.has-mbar .ari-fab { bottom: calc(var(--bar-offset, 0px) + 86px + env(safe-area-inset-bottom, 0px)); } }
body.cmpt-on .ari-fab { bottom: calc(var(--bar-offset, 0px) + 96px); }
body:has(.sa-dialog) .ari-fab, body:has(.sa-pop) .ari-fab, body:has(.sa-modal) .ari-fab { display: none; }
@media (max-width: 640px) { body:has(.staging-pill) .ari-fab { bottom: calc(var(--bar-offset, 0px) + 36px + env(safe-area-inset-bottom, 0px)); } }
@media print { .ari-fab { display: none; } }
/* Phones, after the first scroll: a 56px round face in the same corner. The label stays for screen readers ("Ask Ari" / "아리에게 물어보기"). */
@media (max-width: 699px) {
  .ari-fab span { max-width: 160px; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease), opacity .2s; }
  .ari-fab { transition: transform .3s var(--ease), box-shadow .3s var(--ease), bottom .8s var(--ease), min-height .35s var(--ease), padding .35s var(--ease), gap .35s var(--ease), width .35s var(--ease); }
  .ari-fab.is-compact { width: 56px; min-height: 56px; height: 56px; padding: 5px; gap: 0; justify-content: center; }
  .ari-fab.is-compact svg { width: 44px; height: 44px; }
  .ari-fab.is-compact span { max-width: 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .ari-fab, .ari-fab span { transition: none; } }

/* ---------- Staging pill ---------- */
.staging-pill {
  position: fixed; left: 14px; bottom: calc(var(--bar-offset) + 14px); z-index: 70; pointer-events: none;
  padding: 7px 14px; border-radius: var(--pill); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.78); border: 1px solid var(--line); color: var(--gold); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: bottom .8s var(--ease);
}
/* Phones: a thin full-width strip at the bottom edge, so it never sits over card text or inputs. */
@media (max-width: 640px) { .staging-pill { left: 0; right: 0; bottom: var(--bar-offset, 0px); border-radius: 0; border-width: 1px 0 0; text-align: center; font-size: 8.5px; letter-spacing: .1em; padding: 4px 8px; background: #f3ede4; -webkit-backdrop-filter: none; backdrop-filter: none; } body:has(.staging-pill) { padding-bottom: 22px; } }

/* ---------- Reveal on scroll ---------- */
/* .reveal: no fade-up (speed pass 2026-10-27). It started only once a section was on screen, so a quick scroll met empty
   space, and the first screen was drawn, hidden when site.js started, then faded back in. The class stays harmless. */

/* ==========================================================================
   Envelope invitation  (.invite) in the inline section (.invite-section): pinned + scroll-linked, or timed
   The letter rides in a sleeve clipped at the envelope's lower edge, so it slides
   out of the pocket instead of fading in. Stage height is fixed before opening.
   ========================================================================== */
.invite {
  --ew: min(460px, calc(100vw - 40px)); --eh: calc(var(--ew) * .64);
  --cw: calc(var(--ew) * .88); --ch: calc(584px + var(--eh) * .26); --tuck: calc(var(--eh) * .56);
  --paper-ink: #1d221c; --paper-soft: #4b5247; --paper-mute: #676c5e; --paper-gold: #86682f;
  --liner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='38.11' viewBox='0 0 22 38.11'%3E%3Cpath d='M-22 0L0 0M-11 -19.05L0 0M-11 -6.35L0 0M-11 6.35L0 0M-11 19.05L0 0M-11 19.05L0 12.7M-11 19.05L0 25.4M-11 19.05L0 38.11M-11 19.05L11 19.05M-11 31.75L0 38.11M0 -12.7L0 0M0 0L0 12.7M0 0L11 -19.05M0 0L11 -6.35M0 0L11 6.35M0 0L11 19.05M0 0L22 0M0 12.7L11 19.05M0 25.4L0 38.11M0 25.4L11 19.05M0 38.11L11 19.05M0 38.11L11 31.75M11 -19.05L22 0M11 -6.35L22 0M11 6.35L11 19.05M11 6.35L22 0M11 19.05L11 31.75M11 19.05L22 0M11 19.05L22 12.7M11 19.05L22 25.4M11 19.05L22 38.11M11 19.05L33 19.05M11 31.75L22 38.11M22 -12.7L22 0M22 0L22 12.7M22 0L33 -19.05M22 0L33 -6.35M22 0L33 6.35M22 0L33 19.05M22 0L44 0M22 12.7L33 19.05M22 25.4L22 38.11M22 25.4L33 19.05M22 38.11L33 19.05M22 38.11L33 31.75' fill='none' stroke='%23ffffff' stroke-opacity='.22' stroke-width='.6'/%3E%3C/svg%3E") 0 0 / 22px 38.11px;
  position: relative; width: 100%; display: grid; justify-items: center;
}
.inv-stage { position: relative; width: var(--ew); height: calc(var(--ch) - var(--tuck) + var(--eh) + 14px); }
.inv-glow {
  position: absolute; left: 50%; bottom: calc(var(--eh) * .45); width: calc(var(--ew) * 1.6); height: calc(var(--ch) * 1.1); transform: translateX(-50%) scale(.7); opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 81, 0, 0.11), rgba(255, 81, 0, 0.07) 55%, transparent 75%);
  transition: opacity 1.1s var(--ease) .35s, transform 1.3s var(--ease) .35s;
}
/* No filter on the moving envelope (a drop-shadow filter repaints every frame while the flap turns); its shadow sits on .inv-back. */
.inv-env { position: absolute; left: 0; bottom: 0; width: var(--ew); height: var(--eh); perspective: 1400px; transition: transform .95s cubic-bezier(.65, 0, .35, 1); }
.inv-back, .inv-front, .inv-flap { position: absolute; inset: 0; }
/* inside of the envelope: an asanoha (hemp-leaf) liner */
.inv-back { z-index: 1; border-radius: 5px; background: linear-gradient(180deg, rgba(8, 12, 9, .1), rgba(8, 12, 9, .6) 70%), var(--liner), #18241b; box-shadow: inset 0 0 0 1px rgba(255, 81, 0, 0.30), inset 0 14px 26px rgba(0, 0, 0, .4); }
.inv-front { z-index: 4; pointer-events: none; }
.inv-front svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.inv-front .iv-edge { fill: none; stroke: rgba(255, 81, 0, 0.55); stroke-width: 1; vector-effect: non-scaling-stroke; }
.inv-front .iv-rim { fill: none; stroke: rgba(255, 81, 0, 0.38); stroke-width: 1; vector-effect: non-scaling-stroke; }
.inv-wordmark { position: absolute; z-index: 5; left: 0; right: 0; bottom: 9%; text-align: center; font-family: var(--serif); letter-spacing: .34em; text-indent: .34em; font-size: clamp(13px, 3.6vw, 17px); color: rgba(242, 243, 238, .82); pointer-events: none; }
.inv-wordmark small { display: block; margin-top: 5px; font-family: var(--sans); font-size: 8px; letter-spacing: .36em; color: var(--gold); opacity: .8; }
.inv-flap { z-index: 6; height: 58%; bottom: auto; transform-origin: 50% 0; transform-style: preserve-3d; transition: transform .62s cubic-bezier(.5, 0, .25, 1) .04s, z-index 0s linear .34s; }
.inv-flap .f { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 53.5% 95%, 50% 100%, 46.5% 95%); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.f-out { background: radial-gradient(90% 120% at 50% 0%, rgba(65, 59, 50, 0.05), transparent 60%), linear-gradient(180deg, #2b392d, #1f2b21); }
.inv-flap .f-in { clip-path: polygon(0 100%, 100% 100%, 53.5% 5%, 50% 0, 46.5% 5%); }
.f-in { background: linear-gradient(0deg, rgba(8, 12, 9, .15), rgba(8, 12, 9, .45)), var(--liner), #18241b; transform: rotateX(180deg); }
.inv-flap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.inv-flap path { fill: none; stroke: rgba(255, 81, 0, 0.62); stroke-width: 1; vector-effect: non-scaling-stroke; }
/* gold wax seal */
.inv-seal {
  position: absolute; z-index: 8; left: 50%; top: 58%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%;
  color: #6c5222; font-family: var(--serif); font-size: 17px; letter-spacing: .08em; text-shadow: 0 1px 0 rgba(255, 238, 196, .55), 0 -1px 0 rgba(70, 50, 15, .35);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); transition: opacity .35s var(--ease), transform .55s var(--ease), filter .5s var(--ease);
}
.inv-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.inv-seal span { position: relative; padding-left: .08em; }
.inv-seal .wax-ring { fill: none; stroke: rgba(98, 74, 30, .45); stroke-width: 1; }
.inv-seal .wax-ring2 { fill: none; stroke: rgba(255, 236, 190, .35); stroke-width: .8; }
.inv-seal:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)) drop-shadow(0 0 14px rgba(255, 81, 0, 0.25)); }
.inv-seal:focus-visible { outline-offset: 4px; border-radius: 50%; }
.inv-hint { position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); transition: opacity .35s, transform .95s cubic-bezier(.65, 0, .35, 1); pointer-events: none; }
/* the letter */
.inv-sleeve { position: absolute; z-index: 3; left: -44px; right: -44px; bottom: 0; top: calc(var(--tuck) - var(--ch) - 44px); overflow: hidden; pointer-events: none; }
.inv-card {
  position: absolute; left: calc(44px + (var(--ew) - var(--cw)) / 2); top: calc(var(--ch) - var(--tuck) + 44px + 8px); width: var(--cw); height: var(--ch);
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 34px 0; border-radius: 3px; color: var(--paper-ink);
  border: 1.5px solid transparent;
  background: radial-gradient(120% 55% at 50% 0%, rgba(255, 255, 255, .7), transparent 70%) padding-box, linear-gradient(180deg, #f9f5ec, #f0e8d8) padding-box,
    linear-gradient(140deg, #e8d6a8, #a5844a 34%, #e6d09c 62%, #9a7a40) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 1px 2px rgba(0, 0, 0, .25), 0 22px 46px rgba(0, 0, 0, .36);
  transform: translateY(0); transition: transform .92s cubic-bezier(.2, .72, .2, 1) .36s;
}
/* the part of the paper still inside the pocket sits in shade */
.inv-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--tuck) + 24px); background: linear-gradient(180deg, transparent, rgba(70, 52, 20, .1)); pointer-events: none; }
.inv-card :focus-visible { outline-color: #6c5222; }
.inv-form-wrap { display: contents; }
.inv-crest { position: relative; flex: none; width: 118px; height: 58px; display: grid; place-items: center; }
.inv-crest::before, .inv-crest::after { content: ''; position: absolute; top: 3px; width: 23px; height: 54px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 104' fill='none' stroke='%236b645b' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 98C13 80 9 38 29 6' stroke-width='1.2'/%3E%3Cpath d='M24.1 89.8C22.8 82.7 14.1 84.1 8.4 86.4C12.4 89.7 19.5 94 24.1 89.8M19.9 80.5C26.8 79.9 26.9 72 26.1 66.9C21.7 70 16.3 76 19.9 80.5M16.9 68.9C18.3 62.2 10.2 60.4 4.4 60.5C6.7 64.9 11.4 71.1 16.9 68.9M15.6 56.2C21.9 57.3 24 50.2 24.5 45.4C19.8 47.2 13.5 51.3 15.6 56.2M16.1 43.9C19.1 38.8 12.9 35.1 8.1 33.6C8.9 37.8 11 44.2 16.1 43.9M18.3 31.3C23.3 33.5 26.2 28 27.4 24.2C23.3 24.8 17.4 26.9 18.3 31.3M22 19.9C25.6 16.9 21.9 12.7 18.8 10.4C18.3 13.7 18.2 18.9 22 19.9M29 6C33.8 6.5 35.7 0.5 36.3 -3.5C32.7 -1.7 27.8 2.1 29 6' stroke-width='1' fill='%236b645b' fill-opacity='.08'/%3E%3Cpath d='M24.1 89.8Q17.8 87.4 14.1 86.4M19.9 80.5Q23 75 24.6 71.7M16.9 68.9Q12.2 64.7 9.3 62.5M15.6 56.2Q19.8 52 22 49.4M16.1 43.9Q13.4 39.1 11.6 36.6M18.3 31.3Q22.4 28.7 24.7 27M22 19.9Q21.3 15.8 20.6 13.5M29 6Q32.4 2.3 34.3 0' stroke-width='.7' stroke-opacity='.75'/%3E%3C/svg%3E") no-repeat center / contain; }
.inv-crest::before { left: 17px; transform: rotate(-16deg); }
.inv-crest::after { right: 17px; transform: scaleX(-1) rotate(-16deg); }
.inv-mono { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; padding-left: .08em; font-family: var(--serif); font-size: 15px; letter-spacing: .08em; color: var(--paper-gold); text-shadow: 0 1px 0 rgba(255, 255, 255, .85);
  box-shadow: inset 0 0 0 1px rgba(207, 65, 0, 0.75), inset 0 0 0 4px #f8f3e9, inset 0 0 0 4.8px rgba(207, 65, 0, 0.40); }
.inv-kicker { margin-top: 10px; font-size: 8.5px; letter-spacing: .36em; text-indent: .36em; text-transform: uppercase; color: var(--paper-gold); }
.inv-title { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 4.8vw, 2.35rem); line-height: 1.06; color: var(--paper-ink); }
.inv-title .it { color: var(--paper-gold); }
.inv-text { margin-top: 12px; max-width: 29ch; font-family: var(--serif); font-style: italic; font-size: 15.5px; line-height: 1.6; color: var(--paper-soft); }
.inv-text b { color: var(--paper-ink); font-weight: 500; }
.inv-form { width: 100%; display: grid; gap: 8px; margin-top: 20px; text-align: left; }
.inv-card .signup-label { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--paper-mute); }
.inv-card .inv-form .input { min-height: 48px; padding: 0 14px; border-radius: 3px; font-size: 16px; text-align: left; background: #fffdf8; color: var(--paper-ink); border: 1px solid #cbbd99; box-shadow: inset 0 1px 2px rgba(80, 60, 20, .07); }
.inv-card .inv-form .input:focus { background: #fff; border-color: #a5844a; box-shadow: 0 0 0 3px rgba(165, 132, 74, .2); }
.inv-card .inv-form .input.is-error { border-color: #b04a3a; box-shadow: 0 0 0 3px rgba(176, 74, 58, .14); }
.inv-card .input::placeholder { color: #8a8d80; }
.inv-card .signup-error { color: #9f3027; }
.inv-card .inv-form .btn { width: 100%; min-height: 48px; margin-top: 4px; border-radius: 3px; background: #2d3c2e; color: #f6f1e4; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 81, 0, 0.50), 0 8px 18px rgba(30, 40, 28, .2); }
.inv-card .inv-form .btn:hover { background: #3a4c3b; box-shadow: inset 0 0 0 1px rgba(255, 81, 0, 0.75), 0 12px 24px rgba(30, 40, 28, .26); }
.inv-fine { margin-top: 10px; font-size: 10.5px; letter-spacing: .03em; line-height: 1.5; color: var(--paper-mute); }
.inv-signature { margin-top: auto; padding: 12px 0 calc(var(--tuck) + 14px); display: grid; justify-items: center; gap: 1px; font-family: var(--serif); color: #3a4136; }
.inv-signature em { font-size: 13px; color: var(--paper-mute); }
.inv-signature b { font-weight: 400; font-style: italic; font-size: 25px; line-height: 1.25; }
.inv-signature small { margin-top: 3px; font-family: var(--sans); font-size: 8px; letter-spacing: .32em; text-indent: .32em; text-transform: uppercase; color: var(--paper-gold); }
.inv-ok { display: none; flex: 1; align-content: center; justify-items: center; gap: 14px; padding-bottom: calc(var(--tuck) + 12px); }
.inv-ok .tick { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--paper-gold); box-shadow: inset 0 0 0 1px rgba(207, 65, 0, 0.75), inset 0 0 0 4px #f8f3e9, inset 0 0 0 4.8px rgba(207, 65, 0, 0.40); }
.inv-ok .inv-text { margin-top: 0; }
.inv-card .btn-ghost { color: var(--paper-ink); border-color: #cf4100; border-radius: 3px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.invite[data-done="1"] .inv-form-wrap { display: none; }
.invite[data-done="1"] .inv-ok { display: grid; animation: invOk 1s var(--ease) both; }
@keyframes invOk { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.inv-replay { visibility: hidden; opacity: 0; color: var(--gold); font-size: 11px; letter-spacing: .12em; padding: 14px 8px 0; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
/* closed: the envelope waits mid-stage; opening lowers it while the letter rises (seal 0-.35s, flap .04-.66s,
   envelope 0-.95s, letter .36-1.28s: about 1.3 s in all). Closing ("Open again") runs the other way round: letter into
   the pocket first, then the flap, then the seal. */
.invite { --inv-drop: calc((var(--ch) - var(--tuck) + 14px) * -.42); }
.invite[data-state="closed"] .inv-env, .invite[data-state="closed"] .inv-hint { transform: translateY(var(--inv-drop)); }
.invite[data-state="closed"] .inv-card { transition: transform .5s cubic-bezier(.5, 0, .75, 0); }
.invite[data-state="closed"] .inv-flap { transition: transform .5s cubic-bezier(.5, 0, .25, 1) .42s, z-index 0s linear .66s; }
.invite[data-state="closed"] .inv-seal { transition: opacity .35s var(--ease) .8s, transform .5s var(--ease) .8s, filter .5s var(--ease); }
.invite[data-state="closed"] .inv-env { transition: transform .8s cubic-bezier(.65, 0, .35, 1) .2s; }
.invite[data-state="closed"] .inv-hint { transition: transform .8s cubic-bezier(.65, 0, .35, 1) .2s, opacity .35s .8s; }
.invite[data-state="closed"] .inv-glow { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.invite[data-state="open"] .inv-flap { transform: rotateX(180deg); z-index: 2; }
.invite[data-state="open"] .inv-seal { opacity: 0; transform: translateY(-14px) scale(.85); pointer-events: none; }
.invite[data-state="open"] .inv-hint { opacity: 0; }
.invite[data-state="open"] .inv-glow { opacity: 1; transform: translateX(-50%) scale(1); }
.invite[data-state="open"] .inv-card { transform: translateY(calc(var(--tuck) - var(--ch) - 8px)); pointer-events: auto; }
.invite[data-state="open"] .inv-env { transform: none; }
.invite[data-state="open"] .inv-replay { visibility: visible; opacity: 1; transition: opacity .6s var(--ease) 1.3s, visibility 0s; }
@media (max-width: 520px) {
  .invite { --cw: calc(var(--ew) * .9); --ch: calc(548px + var(--eh) * .26); }
  .inv-card { padding: 26px 22px 0; }
  .inv-text { font-size: 15px; }
  .inv-seal { width: 54px; height: 54px; margin: -27px 0 0 -27px; font-size: 15px; }
  .inv-wordmark { bottom: 7%; }
  .inv-hint { font-size: 9px; letter-spacing: .22em; }
}
@media (max-width: 359px) {
  .invite { --cw: calc(var(--ew) * .92); --ch: calc(566px + var(--eh) * .26); }
  .inv-card { padding: 22px 17px 0; }
  .inv-crest { transform: scale(.92); }
  .inv-title { font-size: 1.65rem; }
  .inv-text { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .invite *, .invite[data-state="open"] * { transition: none !important; animation: none !important; } }

/* inline section (clip, not hidden: a hidden overflow would stop position: sticky from holding the envelope) */
.invite-section { position: relative; overflow: hidden; overflow: clip; overflow-anchor: none; padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(72px, 9vw, 120px); background: radial-gradient(70% 55% at 50% 60%, rgba(255, 81, 0, 0.16), transparent 70%), var(--bg); display: grid; justify-items: center; gap: 28px; }
.invite-section .is-head { text-align: center; display: grid; gap: 12px; justify-items: center; max-width: 560px; }
.inv-track { position: relative; justify-self: stretch; width: 100%; }
.inv-pin { display: grid; justify-items: center; }
.inv-run { display: none; }
/* Pinned (site.js pinInvite): the envelope holds on screen for --inv-run px of scrolling, centred below the header and
   scaled (--inv-k, never under .84) to fit the screen with the browser bars showing. */
.invite-section.is-pinned { background: var(--bg); padding-bottom: clamp(40px, 6vw, 80px); }
.invite-section.is-pinned .inv-pin { position: sticky; top: var(--pin-top, 90px); height: var(--pin-h, auto); align-items: start; background: radial-gradient(70% 55% at 50% 60%, rgba(255, 81, 0, 0.16), transparent 70%); }
.invite-section.is-pinned .invite { transform: scale(var(--inv-k, 1)); transform-origin: 50% 0; }
.invite-section.is-pinned .inv-run { display: block; height: var(--inv-run, 0px); }
.invite-section.is-pinned .inv-replay { display: none; }
/* Scroll-linked: site.js writes --sv (seal) --fv (flap) --lv (letter + envelope) --gv (glow), each 0..1. */
.invite.is-scrub .inv-env, .invite.is-scrub .inv-hint, .invite.is-scrub .inv-flap, .invite.is-scrub .inv-seal, .invite.is-scrub .inv-card, .invite.is-scrub .inv-glow { transition: none; }
.invite.is-scrub .inv-env, .invite.is-scrub .inv-flap, .invite.is-scrub .inv-card { will-change: transform; }
.invite.is-scrub .inv-seal, .invite.is-scrub .inv-glow, .invite.is-scrub .inv-hint { will-change: transform, opacity; }
.invite.is-scrub .inv-env { transform: translate3d(0, calc(var(--inv-drop) * (1 - var(--lv, 0))), 0); }
.invite.is-scrub .inv-hint { transform: translate3d(0, calc(var(--inv-drop) * (1 - var(--lv, 0))), 0); opacity: calc(1 - var(--sv, 0)); }
.invite.is-scrub .inv-flap { transform: rotateX(calc(var(--fv, 0) * 180deg)); }
.invite.is-scrub.flap-in .inv-flap { z-index: 2; }
.invite.is-scrub .inv-seal { opacity: calc(1 - var(--sv, 0)); transform: translate3d(0, calc(var(--sv, 0) * -14px), 0) scale(calc(1 - var(--sv, 0) * .15)); }
.invite.is-scrub .inv-card { transform: translate3d(0, calc((var(--tuck) - var(--ch) - 8px) * var(--lv, 0)), 0); }
.invite.is-scrub .inv-glow { opacity: var(--gv, 0); transform: translateX(-50%) scale(calc(.7 + var(--gv, 0) * .3)); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ==========================================================================
   Dialog (.sa-dialog): the contact panel. Opens only from a tap (Message us, Group booking enquiry).
   ========================================================================== */
.sa-dialog { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; padding: 18px; background: rgba(8, 12, 8, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s var(--ease); }
.sa-dialog.show { opacity: 1; }
.sa-dlg-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px); overflow: auto; background: linear-gradient(170deg, #222b21, #181f17); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2); transform: translateY(10px); opacity: 0; transition: transform .35s var(--ease), opacity .3s var(--ease); }
.sa-dialog.show .sa-dlg-card { transform: none; opacity: 1; }
.sa-dlg-x { position: absolute; right: 12px; top: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(20, 25, 19, .6); display: grid; place-items: center; font-size: 22px; line-height: 1; color: var(--text); transition: background-color .4s, transform .5s var(--ease); }
.sa-dlg-x:hover { background: rgba(255, 81, 0, 0.16);  }
.sa-dlg-body { padding: clamp(28px, 4vw, 42px); display: grid; gap: 14px; align-content: center; }
.sa-dlg-body h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
/* the owner's channels, one list card (footer "Contact us" and the contact panel; site.js contactRows) */
.sa-ch { display: grid; background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; text-align: left; box-shadow: 0 6px 18px rgba(65, 45, 25, .05); }
.sa-ch li + li { border-top: 1px solid var(--line-soft); }
.sa-ch-a { display: flex; align-items: center; gap: 13px; min-height: 60px; padding: 10px 16px 10px 12px; color: var(--text); transition: background-color .3s var(--ease); }
.sa-ch-a:hover { background: var(--cream); }
.sa-ch-a:focus-visible { outline-offset: -3px; border-radius: 14px; }
.sa-ch .sa-ci { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--ink); }
.sa-ch .sa-ci svg { width: 19px; height: 19px; }
.sa-ch .sa-ct { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.sa-ch .sa-ct b { font-weight: 600; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.sa-ch .sa-ct small { font-size: 12.5px; color: var(--muted); word-break: keep-all; }
.sa-ch .ur { flex: none; width: 13px; height: 13px; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.sa-ch-a:hover .ur { transform: translate(2px, -2px); color: var(--gold-deep); }
/* contact panel: a centred card; on phones a bottom sheet clear of the home indicator */
.sa-dlg--contact .sa-dlg-card { width: min(460px, 100%); }
.sa-cp { gap: 12px; padding: 34px 28px 28px; }
.sa-cp h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); padding-right: 36px; }
.sa-cp-lede { font-size: 15px; line-height: 1.6; color: var(--muted); }
.sa-cp-cancel { margin: 16px 0 8px; }
.sa-cp-or { margin: 0 0 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sa-cp-list { margin-top: 4px; }
.sa-cp-group { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line-soft); font-size: 14px; line-height: 1.55; }
.sa-cp-group b { font-weight: 600; color: var(--ink); }
.sa-cp-gi { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); }
.sa-cp-gi svg { width: 18px; height: 18px; }
/* change or cancel a booking (site.js openChange): the message the guest sends, and the hours with the policy link */
.sa-cp-msg { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line-soft); white-space: pre-line; overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; color: var(--ink); }
.sa-cp-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sa-cp-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sa-grab { display: none; }
@media (max-width: 640px) {
  .sa-dlg--contact { padding: 0; align-items: end; justify-items: stretch; }
  .sa-dlg--contact .sa-dlg-card { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 22px 22px 0 0; border-width: 1px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); opacity: 1; transform: translateY(102%); transition: transform .45s cubic-bezier(.22, .8, .25, 1); }
  .sa-dlg--contact.show .sa-dlg-card { transform: none; }
  .sa-grab { display: block; width: 40px; height: 4px; margin: -16px auto 4px; border-radius: 4px; background: var(--line); }
  .sa-cp { padding: 26px 18px 20px; }
  .sa-cp h2 { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .sa-dialog, .sa-dlg-card { transition-duration: .01s; transition-delay: 0s; } }
.sa-dlg-body h2 { text-wrap: balance; }

/* Invitation and signup: deliberate opening, comfortable phone forms. */
.signup-label { font-size: 11px; letter-spacing: .1em; text-align: left; color: var(--muted); }
.signup-error { color: #f2b9a8; font-size: 12px; line-height: 1.4; text-align: left; }
.signup-error[hidden] { display: none; }
.inv-form .input { font-size: 16px; }
@media (hover: none) {
  .stay-card.stay-card:hover, .stay-card.stay-card:focus-within { transform: none; }
  .stay-card:hover .stay-media > img, .stay-card:hover .stay-media > video, .stay-card:hover .stay-layer { transform: none; }
}

.staging-pill { background: #f3ede4; }

/* ---------- Buildings in the Stays menu (from /api/catalog) ---------- */
.drop-all { align-items: center; gap: 18px 28px; flex-wrap: wrap; }
.drop-feat { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.drop-feat-k { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.drop-feat-a { color: rgba(65, 59, 50, 0.86); border-bottom: 1px solid var(--line-soft); padding-bottom: 1px; transition: color .3s, border-color .3s; }
.drop-feat-a:hover, .drop-feat-a:focus-visible { color: var(--gold); border-color: var(--gold); }
.mm-feat { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 14px 2px 0; font-size: 13.5px; }
.mm-feat span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); flex-basis: 100%; }
.mm-feat-a { color: rgba(65, 59, 50, 0.88); padding: 6px 0; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }

/* ---------- Dev-only banner (?fixture=1) ---------- */
.fixture-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 400; padding: 3px 10px; text-align: center; background: #b3412b; color: #fff; font: 600 10.5px/1.4 var(--sans); letter-spacing: .12em; pointer-events: none; }

/* ---------- Bright theme (stayari.jp look) ---------- */
h1, h2, h3, h4, .serif { font-weight: 500; letter-spacing: -.015em; }
.it, h1 em, h2 em, h3 em { font-style: normal; font-weight: 600; color: var(--gold); }
.section--cream .lead, .section--sand .lead, .section--cream .muted, .section--sand .muted,
.section--cream .section-head p, .section--sand .section-head p { color: var(--muted); }
.btn { box-shadow: 0 6px 18px rgba(209, 68, 0, .22); font-weight: 600; }
.btn:hover { box-shadow: 0 10px 26px rgba(209, 68, 0, .3); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ink:hover { background: #413b32; }
.card, .stay-card { box-shadow: var(--shadow-1); }
.site-header, .site-header.is-solid, body.header-solid .site-header {
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--line-soft); box-shadow: 0 4px 20px rgba(65, 45, 25, .06); color: var(--text);
}
.site-header::before { display: none; }
.main-nav > a:hover, .nav-trigger:hover, .nav-item:hover .nav-trigger, .main-nav > a[aria-current="page"] { color: var(--gold); }
.logo-mark { background: var(--orange); border-color: var(--orange); color: #fff; }
/* leftover dark surfaces -> warm light */
.ph { background: radial-gradient(120% 90% at 30% 15%, rgba(255, 81, 0, .08), transparent 60%), linear-gradient(150deg, #f3ede4 0%, #ece4da 100%); }
.stay-media { background: #ece4da; }
.mm-stay:hover, .mm-stay:active { background: #faf9f7; }
.sa-dlg-card { background: #fff; color: var(--text); }
.sa-dlg-x { background: rgba(255, 255, 255, .9); color: var(--text); }
.btn-ink:hover { background: #413b32; }
/* invitation envelope: brand orange instead of forest green */
.inv-back { background: linear-gradient(180deg, rgba(120, 40, 0, .05), rgba(120, 40, 0, .3) 70%), var(--liner), #e64a00; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), inset 0 14px 26px rgba(120, 40, 0, .25), 0 22px 34px -8px rgba(120, 50, 10, .3); }
.inv-wordmark { color: #fff; }
.inv-wordmark small { color: #fff; }
.inv-front .iv-edge, .inv-front .iv-rim, .inv-flap path { stroke: rgba(255, 255, 255, .45); }
.inv-card .inv-form .btn { background: var(--sage); color: #fff; }
.f-out { background: radial-gradient(90% 120% at 50% 0%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(180deg, #ff6a26, #f25200); }
.f-in { background: linear-gradient(0deg, rgba(120, 40, 0, .1), rgba(120, 40, 0, .3)), var(--liner), #e64a00; }
/* Fable review 2026-10-19: photo chips kept the dark glass background but inherited brown text (unreadable). White on glass. */
.chip { color: #fff; }
.chip--gold { color: #ffb48f; }

/* ---------- Showtime 2026-10-19: envelope as one orange object with a brown wax seal; letter in brown ink, one orange word ---------- */
.invite { --paper-ink: #2f2a25; --paper-soft: #413b32; --paper-mute: #6b645b; --paper-gold: #7a5236; }
.inv-title .it { color: var(--gold-deep); }
.inv-card { background: radial-gradient(120% 55% at 50% 0%, rgba(255, 255, 255, .7), transparent 70%) padding-box, linear-gradient(180deg, #ffffff, #f6f1ea) padding-box, linear-gradient(140deg, #ffd2bd, #ff8a52 34%, #ffe1d1 62%, #f25200) border-box; }
.inv-card .inv-form .input { border-color: rgba(65, 59, 50, .22); }
.inv-card .inv-form .input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 81, 0, .14); }
.inv-card .input::placeholder { color: rgba(65, 59, 50, .5); }
.inv-card .inv-form .btn { box-shadow: 0 8px 18px rgba(209, 68, 0, .22); }
.inv-card .inv-form .btn:hover { background: var(--sage-2); box-shadow: 0 10px 24px rgba(209, 68, 0, .3); }
.inv-card :focus-visible { outline-color: var(--gold-deep); }
.inv-signature { color: var(--ink); }
.inv-seal { color: #f3ede4; text-shadow: 0 1px 0 rgba(0, 0, 0, .28); filter: drop-shadow(0 6px 10px rgba(120, 40, 0, .3)); }
.inv-seal .wax-ring { stroke: rgba(30, 15, 5, .45); }
.inv-seal .wax-ring2 { stroke: rgba(255, 222, 196, .3); }
.inv-seal:hover { filter: drop-shadow(0 10px 14px rgba(120, 40, 0, .35)) drop-shadow(0 0 14px rgba(255, 81, 0, .25)); }

/* ---------- Showtime 2026-10-19: photo chips as white pills with ink text (were green-black glass) ---------- */
.chip { background: rgba(255, 255, 255, .92); color: var(--ink); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 2px 8px rgba(65, 45, 25, .12); }
.chip--gold { color: var(--gold-deep); }

/* ---------- Showtime 2026-10-19: fewer orange labels; the heading accent word stays the one orange per screen ---------- */
.eyebrow, .section--cream .eyebrow, .section--sand .eyebrow { color: var(--muted); }
.stay-loc, .mm-t small { color: var(--muted); }
.stay-cta { color: var(--text); }
.section--cream .eyebrow--line::before, .section--cream .eyebrow--line::after,
.section--sand .eyebrow--line::before, .section--sand .eyebrow--line::after { background: var(--line); }

/* ---------- Showtime 2026-10-19: readable form errors on white; a warm, lighter dialog backdrop ---------- */
.signup-error { color: #a5483b; }
.sa-dialog { background: rgba(47, 42, 37, .55); }

/* ---------- Showtime 2026-10-19: no dark band across the bottom of stay-card photos ---------- */
.stay-media::after { display: none; }

/* ---------- Showtime 2026-10-19: the consent line under every email form (small, muted); busy button ---------- */
.inv-consent { margin-top: 8px; font-size: 10.5px; line-height: 1.45; }
.inv-form .btn:disabled { opacity: .65; cursor: progress; }

/* apartment card feature line (api.js unitSubHTML), Cameron 2026-11-01 */
.stay-card .ut-sub { font-size: 14px; color: rgba(65, 59, 50, 0.78); margin-top: 2px; }
.stay-card .ut-sub span:first-child { color: var(--gold-deep); font-weight: 500; }
.section--dark .stay-card .ut-sub { color: inherit; opacity: .85; }
.stay-card .unit-beds { margin-top: 10px; }

/* "Ask Ari" steps aside over the envelope */
.ari-fab { transition: opacity .25s ease, transform .25s ease; }
.ari-fab.is-away { opacity: 0; transform: translateY(8px); pointer-events: none; }
/* The envelope's moving parts stay on their own layers while the scroll drives them, so a repaint never lands on the page */
.invite.is-scrub .inv-env, .invite.is-scrub .inv-card, .invite.is-scrub .inv-flap, .invite.is-scrub .inv-seal, .invite.is-scrub .inv-glow { will-change: transform, opacity; }
.invite[data-state="open"] .inv-env, .invite[data-state="open"] .inv-card, .invite[data-state="open"] .inv-flap, .invite[data-state="open"] .inv-seal, .invite[data-state="open"] .inv-glow { will-change: auto; }

/* ---------- Analytics banner (site.js acShow): the same banner as selectbnbs.com in this site's colors. Sits over the Ask Ari button and
   under dialogs, and clear of the phone booking bar and the compare tray. ---------- */
.ac {
  box-sizing: border-box; position: fixed; z-index: 120; left: 0; right: 0; bottom: var(--bar-offset, 0px); width: 100%; max-width: 448px; max-height: 100dvh; overflow: auto; margin: 0 auto;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.1); border-radius: 16px 16px 0 0; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); font-family: var(--sans); text-align: left;
}
.ac[hidden] { display: none; }
.ac h2 { margin: 0; font: 700 18px/1.4 var(--sans); letter-spacing: 0; color: #fff; }
.ac p { margin: 0; font-size: 14px; line-height: 1.625; color: rgba(255,255,255,.8); }
.ac-actions { display: flex; flex-direction: column; gap: 12px; }
.ac-actions button { box-sizing: border-box; width: 100%; min-height: 44px; padding: 12px 16px; border-radius: 8px; font: 700 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ac-accept { border: 1px solid #fff; background: #fff; color: var(--ink); }
.ac-actions .ac-decline { border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-weight: 500; }
.ac-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding-top: 4px; }
.ac-links a { color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.ac-links a:hover { color: #fff; }
.ac-actions button:focus-visible, .ac-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html[lang="ko"] .ac { word-break: keep-all; }
@media (max-width: 980px) { body.has-mbar .ac { bottom: calc(var(--bar-offset, 0px) + 86px + env(safe-area-inset-bottom, 0px)); padding-bottom: 24px; } }
body.cmpt-on .ac { bottom: calc(var(--bar-offset, 0px) + 96px); padding-bottom: 24px; }
@media print { .ac { display: none; } }

/* "Finish your booking" (site.js initFinishBar, 2026-11-13; flow review finding 3): phones a white bar on the bottom edge,
   desktop the same bar floating, 560px, centred. In the bottom slot (--bar-offset) the cookie banner, Ari and the compare
   tray already sit above; on a stay page it stands in for the "Reserve" bar while it is up. */
.finish-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; color: var(--text); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
.finish-bar-in { display: flex; align-items: center; gap: 12px; }
.finish-bar p { flex: 1 1 auto; min-width: 0; margin: 0; line-height: 1.35; }
.finish-bar p b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.finish-bar p > span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.finish-bar .btn { flex: none; min-height: 44px; padding: 0 18px; }
.finish-bar-x { flex: none; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; }
html.has-finish-bar body { padding-bottom: var(--bar-offset, 0px); }
html.has-finish-bar .m-bar { display: none; }
@media (min-width: 900px) {
  .finish-bar { left: 50%; right: auto; bottom: 16px; width: 560px; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 28px rgba(0, 0, 0, .12); padding: 10px 16px; }
}
