/* Variant A — "Home Away", contemporary pass.
   Same identity as the live site (navy #3a416f / #141727, action blue #304bc6,
   gold #f4b83a, full-bleed photo banner, the live slide headlines) with a
   modern build: inset rounded hero, pill search, bento features, story-style
   slide progress, expanding location panels, a Talia chat panel.

   Polish, 2026-09-25: every size now comes from one type scale (--fs-*) shared
   by all three pages. Only the hero keeps capitals, a size down. The roommate
   heading, the closer, the inner-page titles and the stats band are brought
   down to conversational volume. The nav condenses with a scroll-progress line,
   and Talia greets on arrival. */
:root {
  --navy: #3a416f;
  --navy-deep: #141727;
  --ink: #132947;
  --blue: #304bc6;
  --blue-2: #2439a6;
  --blue-soft: #eef2ff;
  --gold: #f4b83a;
  --gold-soft: #fff5de;
  --red: #d33a2c;
  --green: #178a52;
  --paper: #f5f6fa;
  --line: #e3e6ee;
  --text: #4a5068;
  --muted: #676d84;              /* was #7d8399, 3.8:1 on white — under AA for the 18px ledes */
  --r-lg: 24px;
  --r: 16px;
  --r-sm: 10px;
  --wrap: 1240px;
  --shadow: 0 24px 60px -30px rgba(19, 41, 71, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* type scale */
  --fs-micro: 12.5px;            /* eyebrows, kickers, badges, field labels */
  --fs-xs: 13px;                 /* captions, fine print, meta */
  --fs-sm: 14.5px;               /* secondary text, chips, card meta */
  --fs-ui: 15.5px;               /* buttons, nav, form controls */
  --fs-body: 16px;
  --fs-md: 17px;                 /* ledes, card titles, FAQ questions */
  --fs-lg: 19px;                 /* tile and panel titles */
  --fs-xl: 22px;                 /* inner-page section titles */
  --fs-2xl: 24px;                /* feature tile, CTA cards, open location */
  /* second pass, same day: "no heavy large fonts" — every heading a step down again */
  --fs-h2: clamp(26px, 2.5vw, 34px);
  --fs-h1: clamp(28px, 2.9vw, 40px);
  --fs-display: clamp(34px, 3.9vw, 56px);
  --fs-stat: clamp(28px, 2.4vw, 36px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Jost', system-ui, sans-serif; color: var(--text); background: #fff; font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; margin: 0; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.i { width: 20px; height: 20px; flex: none; }
::selection { background: var(--gold); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.hero :focus-visible, .band :focus-visible, .closer :focus-visible, .page-hero :focus-visible, .helpcard :focus-visible, footer :focus-visible, .panel:focus-visible { outline-color: var(--gold); }

/* hand-drawn underline under one word in a heading */
.scribble { position: relative; white-space: nowrap; z-index: 0; }
.scribble svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .42em; z-index: -1; color: var(--gold); overflow: visible; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 600; font-size: var(--fs-ui); line-height: 1; transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .i.go { transform: translateX(3px); }
.btn-navy { background: var(--navy-deep); color: #fff; }
.btn-navy:hover { background: var(--navy); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(48, 75, 198, .8); }
.btn-blue:hover { background: var(--blue-2); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #f7c65c; }
.btn-white { background: #fff; color: var(--navy-deep); }
.btn-white:hover { background: var(--gold); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.24); }
.link { color: var(--blue); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.link .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link:hover .i { transform: translateX(4px); }

/* ---------- announcement + nav ---------- */
.announce { background: var(--navy-deep); color: #c9cde0; font-size: var(--fs-xs); }
.announce .wrap { display: flex; align-items: center; gap: 20px; height: 40px; }
.announce a { display: inline-flex; gap: 6px; align-items: center; }
.announce a:hover { color: #fff; }
.announce .i { width: 15px; height: 15px; }
.announce .rot { flex: 1; text-align: center; position: relative; height: 20px; overflow: hidden; }
.announce .rot span { position: absolute; inset: 0; transition: transform .6s var(--ease), opacity .6s; }
.announce .rot span b { color: var(--gold); font-weight: 600; }
.announce .rot span:not(.on) { transform: translateY(110%); opacity: 0; }

/* The nav condenses from 78px to 64px once the page scrolls. The 14px it gives
   up moves to margin-bottom, so the page below never shifts (a height change
   on a sticky element otherwise nudges every section up under the reader). */
.nav { position: sticky; top: 0; z-index: 70; height: 78px; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s, height .35s var(--ease-out), margin-bottom .35s var(--ease-out); }
.nav.stuck { height: 64px; margin-bottom: 14px; box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(19,41,71,.4); }
.nav .wrap { display: flex; align-items: center; height: 100%; gap: 34px; }
.nav .logo img { height: 46px; width: auto; transition: height .35s var(--ease-out); }
.nav.stuck .logo img { height: 40px; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; font-weight: 500; color: var(--ink); font-size: var(--fs-ui); }
.nav ul a { padding: 9px 14px; border-radius: 999px; transition: background .25s, color .25s; }
.nav ul a:hover { background: var(--paper); }
.nav ul a.on { background: var(--blue-soft); color: var(--blue); }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); font-size: var(--fs-ui); }
.nav .dash { display: inline-flex; gap: 7px; align-items: center; padding: 9px 14px; border-radius: 999px; }
.nav .dash:hover { background: var(--paper); }
.burger { display: none; background: var(--paper); border: 0; color: var(--ink); width: 44px; height: 44px; border-radius: 50%; place-items: center; }
/* reading progress: a gold hairline along the bottom of the stuck nav */
.nav-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; opacity: 0; transition: opacity .3s; }
.nav.stuck .nav-prog { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .nav-prog { animation: ta-prog linear both; animation-timeline: scroll(root block); }
}
@keyframes ta-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- hero ---------- */
.hero-shell { padding: 0 16px; }
.hero { position: relative; height: min(84vh, 760px); min-height: 580px; overflow: hidden; background: var(--navy-deep); border-radius: var(--r-lg); isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transform: scale(1.08); transition: transform 8s linear; }
.slide.on img { transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,23,39,.35) 0%, rgba(20,23,39,0) 28%, rgba(20,23,39,.1) 50%, rgba(20,23,39,.86) 100%),
              linear-gradient(90deg, rgba(20,23,39,.5), rgba(20,23,39,0) 60%); }
.hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 138px; color: #fff; }
.hero-copy .wrap { padding: 0 56px; max-width: none; }
.kicker { display: inline-flex; gap: 10px; align-items: center; font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); padding: 7px 14px 7px 8px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.kicker b { background: var(--gold); color: var(--navy-deep); border-radius: 99px; padding: 2px 9px; letter-spacing: .06em; font-size: 11px; }
/* the one loud moment on the page — still capitals, a size and a weight down */
.hero h1 { color: #fff; font-weight: 600; font-size: var(--fs-display); letter-spacing: -.025em; line-height: 1.02; margin: 18px 0 12px; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .02em; }
.hero h1 .ln > span { display: inline-block; transition: transform .9s var(--ease), opacity .9s; }
.hero.swap h1 .ln > span { transform: translateY(105%); opacity: 0; transition: none; }
.hero-copy p { font-size: var(--fs-md); max-width: 44ch; color: #e7e9f3; transition: opacity .6s; }
.hero.swap .hero-copy p { opacity: 0; transition: none; }
.hero-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

.story { position: absolute; z-index: 3; left: 56px; bottom: 100px; display: flex; gap: 8px; }
.story button { background: none; border: 0; padding: 8px 0; width: 64px; }
.story button span { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.story button span i { display: block; height: 100%; width: 0; background: #fff; }
.story button.done span i { width: 100%; }
.story button.on span i { animation: fill var(--dur, 6.5s) linear forwards; }
.story.paused button.on span i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
/* The organisation's own main banners (live fixes C3, 2026-11-11): the darkness the admin chose over each photo, and room for a
   title of up to 80 characters. The built-in slides have neither and look exactly as before. */
.slide .shade { position: absolute; inset: 0; background: var(--navy-deep); pointer-events: none; }
.hero-actions [hidden] { display: none !important; }   /* the touch floor's `header a` display would otherwise show a hidden button */
.hero h1.custom { max-width: 20ch; font-size: clamp(30px, 3.4vw, 50px); overflow-wrap: anywhere; }

/* Announcement strip below the main banners and the search bar (2026-11-12, founder): the organisation's announcement banners, 1600:210
   in shape, one at a time, 30% narrower than the main banner and dressed like it (same corner, same dark base and the same soft shade
   from the site's own colours) so any artwork sits in the page. a-live.js moves it on gently, pausing on hover or focus and never for
   people who ask for less motion. On phones it keeps the full width: 30% off would make the artwork too small to read. */
.ann-strip { padding: 30px 16px 0; }
.ann-track { display: flex; gap: 12px; width: 70%; margin: 0 auto; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-lg); scrollbar-width: none; box-shadow: var(--shadow); }
.ann-track::-webkit-scrollbar { display: none; }
.ann-track:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.ann-item { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1600 / 210; min-height: 56px; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-deep); isolation: isolate; }
.ann-item > a, .ann-item img { display: block; width: 100%; height: 100%; }
.ann-item img { object-fit: cover; }
.ann-item::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--navy-deep) 34%, transparent), color-mix(in srgb, var(--navy-deep) 6%, transparent) 55%, color-mix(in srgb, var(--navy-deep) 16%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--navy-deep) 10%, transparent); }
.ann-strip + .marquee { margin-top: 30px; }
@media (max-width: 900px) { .ann-track { width: 100%; } .ann-track, .ann-item { border-radius: 16px; } }
/* Phones (2026-11-17): the 56px floor made the strip taller than 1600:210 below ~430px, so the cover crop cut both ends of the
   artwork (the right end is where banners carry their name and button). Keep the true shape instead. */
@media (max-width: 480px) { .ann-item { min-height: 0; } }
/* Strip controls (2026-11-17, founder: "I can't find the scroller"): arrows either side of a dot per banner, under the strip, in the
   rooms rail's round-button look. Dots are 24px tap targets with a small drawn dot; the one in view stretches into a bar. */
.ann-ctl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.ann-nav { width: 44px; height: 44px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s; }
.ann-nav:hover { background: var(--navy-deep); color: #fff; box-shadow: none; }
.ann-nav:focus-visible, .ann-dots button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.ann-dots { display: flex; align-items: center; gap: 2px; }
.ann-dots button { height: 24px; min-width: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; border-radius: 999px; }
.ann-dots button::before { content: ''; display: block; width: 9px; height: 9px; border-radius: 999px; background: color-mix(in srgb, var(--navy) 28%, transparent); transition: width .3s var(--ease), background .3s; }
.ann-dots button:hover::before { background: color-mix(in srgb, var(--navy) 55%, transparent); }
.ann-dots button[aria-current="true"]::before { width: 26px; background: var(--navy-deep); }

.float { position: absolute; z-index: 3; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); font-size: 14px; display: flex; gap: 12px; align-items: center; }
.float b { display: block; font-size: var(--fs-ui); }
.float small { color: var(--muted); font-size: var(--fs-micro); }
.float.f1 { right: 40px; top: 36px; animation: bob 6s ease-in-out infinite; }
.float.f2 { right: 64px; bottom: 150px; animation: bob 7s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.avs { display: flex; }
.avs span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -9px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.avs span:first-child { margin-left: 0; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #22b566; box-shadow: 0 0 0 0 rgba(34,181,102,.6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,181,102,0); } 100% { box-shadow: 0 0 0 0 rgba(34,181,102,0); } }

/* As the banner scrolls away the photo drifts a little slower than the page
   and the copy lifts and fades. Scroll-driven, so nothing runs on the main
   thread; browsers without scroll timelines simply keep the static banner. */
@supports (animation-timeline: view()) {
  .hero { view-timeline: --hero block; }
  .slide img { animation: ta-drift linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
  .hero-copy, .story { animation: ta-lift linear both; animation-timeline: --hero; animation-range: exit 0% exit 60%; }
}
@keyframes ta-drift { to { translate: 0 16%; } }
@keyframes ta-lift { to { translate: 0 -32px; opacity: .1; } }

/* pill search */
.search { position: relative; z-index: 6; margin-top: -58px; }
.search .card { background: #fff; border-radius: 999px; box-shadow: var(--shadow), 0 2px 6px rgba(19,41,71,.06); padding: 8px; display: grid; grid-template-columns: 1.35fr 1fr 1fr auto; align-items: center; max-width: 1060px; margin: 0 auto; }
.search .field { padding: 10px 26px; border-radius: 999px; transition: background .2s; position: relative; display: flex; gap: 12px; align-items: center; cursor: pointer; }
.search .field + .field::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.search .field:hover { background: var(--paper); }
.search .field:hover + .field::before, .search .field:hover::before { opacity: 0; }
.search .field:focus-within { background: var(--paper); }
.search .field .i { color: var(--blue); }
.search .fl { display: block; font-size: var(--fs-micro); font-weight: 600; color: var(--ink); }
.search select { border: 0; outline: 0; font: inherit; color: var(--muted); background: transparent; width: 100%; padding: 0; appearance: none; cursor: pointer; font-size: var(--fs-ui); }
.search .field > div { flex: 1; min-width: 0; }
.search .go-btn { height: 60px; padding: 0 28px; font-size: var(--fs-ui); }
.modes { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.modes button { border: 0; background: var(--paper); color: var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: var(--fs-sm); display: inline-flex; gap: 7px; align-items: center; }
.modes button.on { background: var(--navy-deep); color: #fff; }
.modes .sep { width: 1px; background: var(--line); margin: 4px 6px; }
.modes .tick { display: inline-flex; gap: 6px; align-items: center; font-size: var(--fs-sm); color: var(--muted); padding: 8px 6px; }
.modes .tick .i { width: 16px; height: 16px; color: var(--green); }

/* ---------- marquee ---------- */
.marquee { margin-top: 44px; border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { display: inline-flex; gap: 12px; align-items: center; font-size: var(--fs-md); font-weight: 500; color: var(--ink); white-space: nowrap; }
.marquee span .i { color: var(--blue); width: 22px; height: 22px; }
.marquee span::after { content: '✦'; color: var(--gold); margin-left: 36px; font-size: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 110px 0; }
/* #locations has no top padding, so an anchor jump would tuck its heading
   under the sticky nav; the other sections' own padding already clears it */
#locations, #stats, #closer { scroll-margin-top: 88px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.eyebrow { color: var(--blue); font-weight: 600; font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head h2, h2.big { font-size: var(--fs-h2); letter-spacing: -.028em; line-height: 1.08; max-width: 18ch; text-wrap: balance; }
.sec-head p, .lede { max-width: 52ch; color: var(--muted); font-size: var(--fs-md); line-height: 1.55; margin-top: 16px; }
.bg-paper { background: var(--paper); }

/* promo image */
.promo { padding: 48px 0 0; }
.promo a { display: block; border-radius: var(--r); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.promo a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo img { width: 100%; height: 150px; object-fit: cover; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 250px 250px auto; gap: 16px;
  grid-template-areas: "a a b c" "a a d e" "f g g g"; }
.tile { border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--paper); padding: 24px; display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-size: var(--fs-lg); letter-spacing: -.015em; }
.tile p { font-size: var(--fs-sm); margin-top: 6px; }
.tile .i.big { width: 30px; height: 30px; color: var(--blue); margin-bottom: auto; }
.tile.photo { padding: 0; color: #fff; justify-content: flex-end; }
.tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile.photo:hover img { transform: scale(1.05); }
.tile.photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(20,23,39,.85)); }
.tile.photo > div { position: relative; z-index: 2; padding: 24px; }
.tile.photo h3 { color: #fff; }
.tile.photo p { color: #dfe2ee; }
.t-a { grid-area: a; }
.t-a h3 { font-size: var(--fs-2xl); max-width: 14ch; }
.t-a .tag { position: absolute; z-index: 2; top: 20px; left: 20px; background: var(--gold); color: var(--navy-deep); font-weight: 600; font-size: var(--fs-xs); padding: 6px 12px; border-radius: 99px; }
.t-b { grid-area: b; }
.t-c { grid-area: c; background: var(--navy-deep); color: #aab0c9; }
.t-c h3 { color: #fff; }
.t-d { grid-area: d; background: var(--blue); color: #dbe2ff; }
.t-d h3 { color: #fff; }
.t-d .i.big { color: var(--gold); }
.t-e { grid-area: e; }
.t-f { grid-area: f; background: var(--gold-soft); }
.t-g { grid-area: g; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.bars { display: flex; gap: 5px; align-items: flex-end; height: 44px; margin-bottom: auto; }
.bars i { width: 9px; border-radius: 3px; background: var(--gold); animation: bar 1.6s ease-in-out infinite; }
.bars i:nth-child(1) { height: 30%; } .bars i:nth-child(2) { height: 55%; animation-delay: .15s; } .bars i:nth-child(3) { height: 78%; animation-delay: .3s; } .bars i:nth-child(4) { height: 100%; animation-delay: .45s; }
@keyframes bar { 50% { opacity: .35; } }
.pair { display: flex; align-items: center; margin-bottom: auto; }
.pair span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; border: 3px solid var(--gold-soft); }
.pair span + span { margin-left: -12px; }
.pair em { font-style: normal; font-size: 22px; margin: 0 10px; color: var(--red); }
.t-g .chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.t-g .chips-row span { display: inline-flex; gap: 8px; align-items: center; background: var(--paper); border-radius: 999px; padding: 9px 16px; color: var(--ink); font-weight: 500; font-size: var(--fs-sm); }
.t-g .chips-row .i { color: var(--blue); width: 18px; height: 18px; }
.t-g .head { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; flex-wrap: wrap; }

/* ---------- room cards + rail ---------- */
.filterbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filterbar button { background: #fff; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 500; font-size: var(--fs-ui); color: var(--ink); display: inline-flex; gap: 8px; align-items: center; transition: background .2s, color .2s, box-shadow .2s; }
.filterbar button small { background: var(--paper); border-radius: 99px; padding: 0 7px; font-size: var(--fs-micro); color: var(--muted); }
.filterbar button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.filterbar button.on { background: var(--navy-deep); color: #fff; box-shadow: none; }
.filterbar button.on small { background: rgba(255,255,255,.18); color: #fff; }
/* overscroll contain: a sideways trackpad swipe that reaches the end of the
   rail no longer turns into the browser's swipe-back gesture */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 4px 4px 20px; margin: -4px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-foot { display: flex; align-items: center; gap: 24px; margin-top: 18px; }
.rail-prog { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.rail-prog i { display: block; height: 100%; background: var(--navy-deep); border-radius: 3px; width: 30%; transition: transform .2s, width .2s; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s; }
.rail-nav button:hover { background: var(--navy-deep); color: #fff; box-shadow: none; }

.room { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); transition: transform .35s var(--ease); position: relative; }
.room:hover { transform: translateY(-4px); }
.room .ph { position: relative; aspect-ratio: 4/3.4; overflow: hidden; border-radius: var(--r); background: var(--paper); }
.room .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s var(--ease); }
.room .ph img.alt { opacity: 0; }
#sim .room .ph { aspect-ratio: 4/2.38; }   /* room page "Similar rooms": photos 30% shorter than the listing cards (2026-09-26) */
.room:hover .ph img.alt { opacity: 1; }
.room:hover .ph img { transform: scale(1.04); }
.badge { position: absolute; z-index: 2; left: 12px; top: 12px; background: #fff; color: var(--ink); font-size: var(--fs-micro); font-weight: 600; padding: 5px 11px; border-radius: 99px; }
.badge.gold { background: var(--gold); color: var(--navy-deep); }
.badge.full { background: var(--navy-deep); color: #fff; }
.save { position: absolute; z-index: 2; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; transition: transform .2s var(--ease); }
.save:hover { transform: scale(1.1); }
.save .i { width: 18px; height: 18px; }
.save.on { color: var(--red); }
.save.on .i { --ifill: currentColor; }
.price-pill { position: absolute; z-index: 2; left: 12px; bottom: 12px; background: rgba(20,23,39,.72); backdrop-filter: blur(8px); color: #fff; border-radius: 99px; padding: 6px 12px; font-weight: 600; font-size: var(--fs-sm); }
.price-pill small { font-weight: 400; opacity: .75; font-size: var(--fs-micro); }
.room .body { padding: 14px 4px 4px; display: flex; flex-direction: column; gap: 4px; }
.room h3 { font-size: var(--fs-md); letter-spacing: -.01em; }
.room .loc { font-size: var(--fs-sm); color: var(--muted); display: flex; gap: 5px; align-items: center; }
.room .loc .i { width: 15px; height: 15px; }
.room .loc small { color: var(--muted); }
.room .loc { color: var(--ink); font-weight: 500; }
.room .meta { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-xs); margin-top: 8px; gap: 10px; }
.meter { flex: 1; max-width: 90px; height: 5px; background: var(--line); border-radius: 5px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--green); border-radius: 5px; }
.meter.low i { background: var(--red); }
.left { color: var(--green); font-weight: 600; white-space: nowrap; }
.left.low { color: var(--red); }
.left.none { color: var(--muted); }

/* ---------- roommate matcher ---------- */
.match { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.match-pic { position: relative; }
.match-pic > img { border-radius: var(--r-lg); aspect-ratio: 4/4.4; object-fit: cover; width: 100%; }
.bubble { position: absolute; background: #fff; border-radius: 18px; padding: 10px 16px; font-size: var(--fs-sm); box-shadow: 0 16px 36px -16px rgba(19,41,71,.5); color: var(--ink); font-weight: 500; }
.bubble.b1 { left: -24px; top: 12%; border-bottom-left-radius: 4px; }
.bubble.b2 { right: -20px; top: 26%; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.bubble.b3 { left: 8%; bottom: -18px; background: var(--gold); color: var(--navy-deep); }
/* was 64px, weight 800, all capitals — now the same voice as every other section title */
.match h2 { font-size: var(--fs-h2); letter-spacing: -.028em; line-height: 1.08; max-width: 14ch; }
.match h2 em { font-style: normal; color: var(--blue); white-space: nowrap; }
.quiz { margin: 30px 0 24px; display: grid; gap: 18px; }
.quiz .q small { display: block; font-size: var(--fs-micro); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.seg { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 9px 16px; font-weight: 500; font-size: var(--fs-ui); color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -2px rgba(19,41,71,.2); }
.result { background: var(--blue-soft); border-radius: var(--r); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; color: var(--ink); margin-bottom: 26px; min-height: 84px; }
.result .i { color: var(--blue); width: 24px; height: 24px; margin-top: 2px; }
.result b { color: var(--blue); }

/* ---------- expanding locations ---------- */
.accordion { display: flex; gap: 14px; height: 520px; }
.panel { position: relative; flex: 1; border-radius: var(--r-lg); overflow: hidden; color: #fff; transition: flex .7s var(--ease); display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.panel.open { flex: 3.2; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel.open img { transform: scale(1.03); }
.panel::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,23,39,.1) 30%, rgba(20,23,39,.9)); }
.panel > div { position: relative; z-index: 2; padding: 26px; }
.panel .st { font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; display: block; }
.panel h3 { color: #fff; font-size: var(--fs-lg); margin: 8px 0 0; line-height: 1.12; }
.panel.open h3 { font-size: var(--fs-2xl); }
.panel .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease), opacity .4s; opacity: 0; }
.panel.open .more { grid-template-rows: 1fr; opacity: 1; }
.panel .more > div { overflow: hidden; }
.panel .more p { color: #dfe2ee; margin: 10px 0 18px; max-width: 46ch; }
.panel .facts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.panel .facts span { background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border-radius: 99px; padding: 5px 12px; font-size: var(--fs-xs); display: inline-flex; gap: 6px; align-items: center; }
.panel .facts .i { width: 15px; height: 15px; }
.panel .num { position: absolute; z-index: 2; top: 22px; right: 22px; font-size: var(--fs-xs); font-weight: 600; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border-radius: 99px; padding: 4px 10px; }

/* ---------- stats ---------- */
/* numerals were 76px bold over a 180px watermark; now a third of the volume */
.band { background: var(--navy-deep); color: #fff; border-radius: var(--r-lg); margin: 0 16px; padding: 32px 0;   /* 2026-09-26: 30% shorter */ position: relative; overflow: hidden; }
.band::after { content: ''; position: absolute; right: -6px; bottom: -24px; font-size: 84px; font-weight: 700; letter-spacing: -.045em; color: rgba(255,255,255,.018); white-space: nowrap; pointer-events: none; }
.band .wrap { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; z-index: 1; }   /* as many equal columns as there are figures (2026-11-08): a figure the organisation has not set leaves no empty half */
.band .s { padding: 0 30px; border-left: 1px solid rgba(255,255,255,.12); }
.band .s:first-child { border: 0; padding-left: 0; }
.band b { display: block; font-size: var(--fs-stat); font-weight: 500; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.band b sup { font-size: .5em; color: var(--gold); vertical-align: top; margin-left: 3px; position: relative; top: .06em; }
.band span { color: #b3b8cf; font-size: var(--fs-sm); display: block; margin-top: 6px; }
.closer + .band { margin-top: 16px; }   /* 2026-09-26: the band now sits between the closer and the footer, one gutter from each */

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.rv { background: var(--paper); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.rv blockquote { margin: 0; color: var(--ink); font-size: var(--fs-body); }
.rv.feature { position: relative; overflow: hidden; color: #fff; justify-content: flex-end; min-height: 340px; padding: 30px; }
.rv.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv.feature::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,23,39,.25) 0%, rgba(20,23,39,.82) 38%, rgba(20,23,39,.96) 100%); }
.rv.feature > * { position: relative; z-index: 2; }
.rv.feature blockquote { color: #fff; font-size: 19px; line-height: 1.4; letter-spacing: -.01em; }
.rv.feature .qm { font-size: 56px; line-height: .5; color: var(--gold); height: 30px; font-weight: 700; }
.who { display: flex; gap: 12px; align-items: center; font-size: var(--fs-sm); margin-top: auto; }
.who b { display: block; color: var(--ink); font-size: var(--fs-ui); }
.rv.feature .who b { color: #fff; }
.rv.feature .who { color: #c9cde0; margin-top: 0; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; flex: none; }
.stars { color: var(--gold); display: flex; gap: 2px; }
.stars .i { width: 17px; height: 17px; --ifill: currentColor; }
.ph-note { font-size: var(--fs-micro); color: var(--muted); }
.rv.feature .ph-note { color: #aab0c9; }

/* ---------- timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; counter-reset: s; }
.timeline::before { content: ''; position: absolute; left: 28px; right: 10%; top: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.timeline li { position: relative; counter-increment: s; }
.timeline .dot { width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; color: var(--blue); margin-bottom: 20px; position: relative; transition: background .3s, color .3s, box-shadow .3s; }
.timeline .dot::after { content: counter(s); position: absolute; right: -4px; top: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.timeline li:hover .dot { background: var(--blue); color: #fff; box-shadow: none; }
.timeline b { display: block; color: var(--ink); font-size: var(--fs-md); margin-bottom: 8px; font-weight: 600; letter-spacing: -.01em; }
.timeline span { font-size: var(--fs-sm); color: var(--muted); display: block; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .9fr 1.3fr; gap: 70px; align-items: start; }
.helpcard { background: var(--navy-deep); color: #aab0c9; border-radius: var(--r-lg); padding: 30px; margin-top: 30px; }
.helpcard h3 { color: #fff; font-size: var(--fs-lg); margin-bottom: 8px; }
.helpcard .ways { display: grid; gap: 10px; margin-top: 20px; }
.helpcard .ways a, .helpcard .ways button { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.06); border: 0; border-radius: 14px; padding: 13px 16px; color: #fff; font-weight: 500; text-align: left; transition: background .2s; width: 100%; }
.helpcard .ways a:hover, .helpcard .ways button:hover { background: rgba(255,255,255,.12); }
.helpcard .ways small { display: block; color: #8f95b0; font-weight: 400; font-size: var(--fs-xs); }
.helpcard .ways .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 50px 22px 0; font-size: var(--fs-md); color: var(--ink); font-weight: 500; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23132947' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
details[open] summary::after { transform: rotate(45deg); background-color: var(--gold); }
details .ans { padding: 0 50px 24px 0; font-size: var(--fs-body); }
details:first-of-type { border-top: 1px solid var(--line); }
/* answers slide open instead of snapping, where the browser can animate to height:auto */
@supports selector(::details-content) {
  details { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
  details[open]::details-content { height: auto; }
}

/* ---------- CTA ---------- */
.cta2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.cta2 > div { border-radius: var(--r-lg); padding: 44px; position: relative; overflow: hidden; }
.cta2 .app { background: var(--blue-soft); display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.cta2 .app h3 { font-size: var(--fs-2xl); letter-spacing: -.025em; }
.cta2 .app p { margin: 12px 0 24px; }
.cta2 .app .phone { width: 180px; margin: 0 -8px -44px 0; transform: rotate(6deg); filter: drop-shadow(0 24px 30px rgba(19,41,71,.3)); transition: transform .5s var(--ease); }
.cta2 .app:hover .phone { transform: rotate(2deg) translateY(-8px); }
.cta2 .call { background: var(--gold); color: var(--navy-deep); }
.cta2 .call h3 { font-size: var(--fs-2xl); letter-spacing: -.025em; }
.cta2 .call form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.cta2 .call input { background: rgba(255,255,255,.6); border: 1.5px solid transparent; border-radius: 999px; padding: 14px 18px; color: var(--navy-deep); font: inherit; outline: 0; }
.cta2 .call input:focus { border-color: var(--navy-deep); background: #fff; }
.cta2 .call input::placeholder { color: #6b5a2b; }
.cta2 .call .btn { grid-column: span 2; }
.cta2 .ok { font-weight: 600; margin-top: 16px; display: flex; gap: 8px; align-items: center; }

.closer { margin: 0 16px; border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 288px; padding: 36px 0;   /* 2026-09-26: 40% shorter (was 480px) */ display: flex; align-items: center; color: #fff; }
.closer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.closer::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,23,39,.92) 0%, rgba(20,23,39,.6) 45%, rgba(20,23,39,.1)); }
.closer .wrap { position: relative; z-index: 2; width: 100%; padding-left: 64px; }
/* was 80px, weight 800, all capitals */
.closer h2 { color: #fff; font-size: var(--fs-h1); letter-spacing: -.03em; line-height: 1.04; max-width: 13ch; }
.closer h2 em { font-style: normal; color: var(--gold); }
.closer p { color: #d7dbea; font-size: var(--fs-md); margin: 10px 0 20px; max-width: 40ch; }

/* ---------- footer ---------- */
footer { background: var(--navy-deep); color: #9ea4bf; padding: 80px 0 28px; margin-top: 16px; font-size: var(--fs-sm); border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
footer h4 { color: #fff; font-size: var(--fs-ui); margin-bottom: 16px; font-weight: 600; letter-spacing: 0; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a:hover { color: #fff; }
footer .logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 12px; margin-bottom: 18px; }
footer .logo img { height: 40px; }
footer .socials { display: flex; gap: 8px; margin-top: 20px; }
footer .socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; transition: background .2s; }
footer .socials a:hover { background: var(--blue); }
footer .socials .i { width: 18px; height: 18px; }
footer .news { display: flex; margin-top: 14px; background: rgba(255,255,255,.07); border-radius: 999px; padding: 5px; }
footer .news input { flex: 1; min-width: 0; background: none; border: 0; padding: 8px 14px; color: #fff; font: inherit; outline: 0; }
footer .news button { padding: 10px 18px; }
footer .word { font-size: min(6vw, 84px); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin: 70px 0 0; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); white-space: nowrap; }
footer .base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; font-size: var(--fs-xs); flex-wrap: wrap; }

/* ---------- inner pages ---------- */
.page-hero { margin: 0 16px; border-radius: var(--r-lg); position: relative; min-height: 340px; display: flex; align-items: flex-end; color: #fff; padding: 0 0 90px; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,23,39,.92), rgba(20,23,39,.35)); }
.page-hero .wrap { position: relative; z-index: 2; width: 100%; padding-left: 56px; max-width: none; }
.crumbs { font-size: var(--fs-sm); color: #c9cde0; display: flex; gap: 8px; margin-bottom: 14px; align-items: center; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs.dark { color: var(--muted); }
.crumbs.dark a:hover { color: var(--blue); }
/* was 76px, weight 800, all capitals */
.page-hero h1 { color: #fff; font-size: var(--fs-h1); letter-spacing: -.03em; line-height: 1.04; }
.page-hero p { color: #d7dbea; margin-top: 10px; font-size: var(--fs-md); }
.search.inner { margin-top: -44px; }

.listing { display: grid; grid-template-columns: 290px 1fr; gap: 44px; padding: 56px 24px 110px; }
.filters { position: sticky; top: 90px; align-self: start; background: var(--paper); border-radius: var(--r-lg); padding: 24px; }
.filters .fh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters .fh b { color: var(--ink); font-size: var(--fs-md); }
.filters .fh button { border: 0; background: none; color: var(--blue); font-weight: 600; font-size: var(--fs-sm); }
.filters h4 { font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 24px 0 10px; font-weight: 600; }
.filters .fh + h4 { margin-top: 16px; }
.filters label.ck { display: flex; gap: 10px; align-items: center; padding: 7px 0; color: var(--ink); cursor: pointer; }
.filters label.ck span { margin-left: auto; color: var(--muted); font-size: var(--fs-xs); background: #fff; border-radius: 99px; padding: 0 8px; }
.filters input[type=checkbox] { accent-color: var(--blue); width: 18px; height: 18px; }
.filters [hidden] { display: none !important; }
.filters label.ck { line-height: 1.3; }
.filters label.ck input { flex: none; }
.filters label.ck span { flex: none; min-width: 1.6em; text-align: center; }
.filters .more { margin-top: 6px; padding: 6px 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 600; font-size: var(--fs-sm); cursor: pointer; }
.filters .more:hover { text-decoration: underline; }
.filters .more:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.filters .pills { gap: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills button { border: 0; background: #fff; color: var(--ink); border-radius: 99px; padding: 8px 14px; min-height: 36px; cursor: pointer; font-size: var(--fs-sm); font-weight: 500; }
.pills button.on { background: var(--navy-deep); color: #fff; }
.range { width: 100%; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--blue) var(--p, 100%), var(--line) var(--p, 100%)); outline: 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); cursor: pointer; }
.range:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.rng { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--ink); font-weight: 500; margin-top: 10px; }
.switch { display: flex; justify-content: space-between; align-items: center; color: var(--ink); cursor: pointer; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked { background: var(--blue); }
.switch input:checked::after { transform: translateX(18px); }
.res-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 20px; flex-wrap: wrap; }
.res-bar h2 { font-size: var(--fs-xl); }
.res-bar select { border: 0; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 99px; padding: 10px 16px; font: inherit; color: var(--ink); background: #fff; }
.active { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; min-height: 8px; }
.active button { border: 0; background: var(--blue-soft); color: var(--blue); border-radius: 99px; padding: 6px 12px; font-size: var(--fs-sm); font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.active .i { width: 14px; height: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.empty { background: var(--paper); border-radius: var(--r-lg); padding: 56px 30px; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.empty h3 { margin-bottom: 8px; }
.mobile-filter { display: none; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 10px; border-radius: var(--r-lg); overflow: hidden; margin-top: 22px; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: filter .3s, transform .6s var(--ease); }
.gallery img:hover { filter: brightness(1.08); }
.gallery img:first-child { grid-row: span 2; }
.gallery img:nth-child(4) { grid-column: span 2; }
.gallery .all { position: absolute; right: 16px; bottom: 16px; }
/* Fewer than four photos (2026-11-12): the grid follows the number of photos, so no cell is left empty.
   One photo sits at the top of the main column, so the price card rises beside it and travels the whole page. */
.gallery.g1 { grid-template-columns: 1fr; grid-template-rows: 500px; margin-top: 0; }
.gallery.g1 img:first-child { grid-row: auto; }
.gallery.g2, .gallery.g3 { grid-template-columns: 2fr 1fr; }
.gallery.g2 img:nth-child(2) { grid-row: span 2; }
.detail.has-gal { padding-top: 22px; }
.title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.title-row h1 { font-size: var(--fs-h2); letter-spacing: -.028em; }
.title-row .sub { color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.title-row .sub span { display: inline-flex; gap: 6px; align-items: center; }
.title-row .sub .i { width: 18px; height: 18px; color: var(--blue); }
.title-row .acts { display: flex; gap: 8px; }
.detail { display: grid; grid-template-columns: 1fr 390px; gap: 64px; padding-top: 36px; }
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 30px 0; }
.highlights div { background: var(--paper); border-radius: var(--r); padding: 18px; }
.highlights .i { color: var(--blue); margin-bottom: 10px; }
.highlights small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.highlights b { color: var(--ink); font-weight: 600; font-size: var(--fs-ui); }
.detail h2 { font-size: var(--fs-xl); margin: 46px 0 18px; letter-spacing: -.02em; }
.detail .prose { font-size: var(--fs-md); line-height: 1.65; color: var(--text); }
.feat { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.feat div { display: flex; gap: 10px; align-items: center; color: var(--ink); background: var(--paper); border-radius: 12px; padding: 12px 14px; font-size: var(--fs-sm); font-weight: 500; }
.feat .i { color: var(--blue); }
.mapbox { border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.mapbox iframe { width: 100%; height: 320px; border: 0; display: block; }
.mapbox .cap { padding: 18px 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--fs-sm); }
.know { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.know div { border-radius: var(--r); padding: 20px; box-shadow: inset 0 0 0 1.5px var(--line); }
.know .i { color: var(--blue); margin-bottom: 10px; }
.know b { display: block; color: var(--ink); margin-bottom: 4px; }
.know p { font-size: var(--fs-sm); }
.book { position: sticky; top: 90px; align-self: start; border-radius: var(--r-lg); padding: 28px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.book .p { font-size: 34px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.book .p small { font-size: var(--fs-sm); font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 999px; padding: 4px; margin: 20px 0 6px; }
.plan button { border: 0; background: none; border-radius: 999px; padding: 10px; font-weight: 600; color: var(--muted); font-size: var(--fs-sm); transition: background .2s, color .2s; }
.plan button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -2px rgba(19,41,71,.2); }
.book table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: var(--fs-sm); }
.book td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.book td:last-child { text-align: right; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.book tr.tot td { border: 0; font-weight: 600; color: var(--ink); padding-top: 14px; font-size: var(--fs-md); }
.book tr.later td { border: 0; color: var(--muted); font-size: var(--fs-xs); padding-top: 0; }
.book .btn { width: 100%; margin-top: 10px; }
.book .fine { font-size: var(--fs-xs); color: var(--muted); margin-top: 14px; text-align: center; }
.avail { border-radius: 14px; padding: 14px 16px; margin-top: 16px; font-size: var(--fs-sm); background: var(--gold-soft); color: var(--ink); }
.avail.ok { background: #e8f6ee; }
.avail .bar { height: 6px; background: rgba(0,0,0,.08); border-radius: 9px; margin-top: 10px; overflow: hidden; }
.avail .bar i { display: block; height: 100%; background: var(--navy-deep); border-radius: 9px; }
.sticky-book { display: none; }
.lb { position: fixed; inset: 0; background: rgba(12,14,24,.94); z-index: 120; display: none; place-items: center; padding: 60px 70px; overscroll-behavior: contain; }
.lb.on { display: grid; }
.lb img { max-height: 82vh; max-width: 100%; border-radius: 14px; }
.lb .x, .lb .nv { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; }
.lb .x { top: 20px; right: 20px; }
.lb .nv.l { left: 20px; top: 50%; } .lb .nv.r { right: 20px; top: 50%; }
.lb .ct { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #c9cde0; font-size: var(--fs-sm); }

/* ---------- scroll reveal (only when JS + motion allowed) ---------- */
/* `translate`, not `transform`: a revealed tile keeps its own hover lift
   (.tile:hover transform), which the old transform-based reveal overrode */
.js-motion .reveal { opacity: 0; translate: 0 22px; transition: opacity .8s var(--ease-out), translate 1s var(--ease-out), transform .4s var(--ease); }
.js-motion .reveal.in { opacity: 1; translate: none; }
.js-motion .reveal.d1 { transition-delay: .07s; } .js-motion .reveal.d2 { transition-delay: .14s; } .js-motion .reveal.d3 { transition-delay: .21s; }
.js-motion .reveal.in:hover { transition-delay: 0s; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .rail { grid-auto-columns: calc((100% - 48px) / 3); }
  .nav ul a { padding: 9px 10px; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .feat { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: 300px 220px 220px auto auto; grid-template-areas: "a a" "b c" "d e" "f f" "g g"; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .rv.feature { grid-row: auto; grid-column: span 2; min-height: 420px; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
}
@media (max-width: 900px) {
  .announce .hide-sm, .nav ul, .nav .right .dash, .nav .right .btn { display: none; }
  .burger { display: grid; }
  .nav.open ul { display: flex; flex-direction: column; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; background: #fff; padding: 12px; border-radius: 20px; box-shadow: var(--shadow); }
  .nav.open ul a { display: block; padding: 12px 16px; }
  .hero-copy .wrap { padding: 0 28px; }
  .story { left: 28px; }
  .float.f1 { display: none; }
  .float.f2 { right: 20px; top: 20px; bottom: auto; }
  .search .card { grid-template-columns: 1fr; border-radius: 24px; padding: 10px; }
  .search .field + .field::before { left: 20px; right: 20px; top: 0; bottom: auto; width: auto; height: 1px; }
  .search .field { border-radius: 14px; padding: 12px 16px; }
  .search .go-btn { height: 54px; margin-top: 6px; }
  .search { margin-top: -40px; }
  .match, .cta2, .detail, .listing, .faq { grid-template-columns: 1fr; gap: 50px; }
  .accordion { flex-direction: column; height: auto; }
  .panel { flex: none; min-height: 110px; }
  .panel.open { flex: none; min-height: 440px; }
  .band .wrap { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .band .s:nth-child(3) { border: 0; padding-left: 0; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; top: 12vh; z-index: 110; border-radius: 24px 24px 0 0; overflow-y: auto; overscroll-behavior: contain; transform: translateY(105%); transition: transform .35s var(--ease); box-shadow: 0 -20px 60px rgba(0,0,0,.3); background: #fff; }
  .filters.open { transform: none; }
  .mobile-filter { display: inline-flex; }
  .book { position: static; }
  .sticky-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; background: #fff; box-shadow: 0 -10px 30px -12px rgba(19,41,71,.3); padding: 12px 16px; align-items: center; gap: 12px; justify-content: space-between; }
  .sticky-book b { color: var(--ink); font-size: var(--fs-md); display: block; line-height: 1.1; }
  .sticky-book small { color: var(--muted); font-size: var(--fs-xs); }
  .highlights { grid-template-columns: 1fr 1fr; }
  .know { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: start; }
  .closer .wrap, .page-hero .wrap { padding-left: 28px; }
  .bubble.b1 { left: 8px; } .bubble.b2 { right: 8px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero-shell { padding: 0 8px; }
  .ann-strip { padding: 22px 8px 0; }
  .hero { min-height: 640px; border-radius: 20px; }
  .hero-copy { bottom: 110px; }
  .hero-copy .wrap { padding: 0 20px; }
  .story { left: 20px; bottom: 76px; }
  .hero-copy p { font-size: var(--fs-body); }
  .kicker { font-size: 11.5px; }
  section { padding: 76px 0; }
  /* 76px of section padding sits right at the stuck nav's edge on a phone */
  section[id] { scroll-margin-top: 16px; }
  #locations { scroll-margin-top: 88px; }
  .rail { grid-auto-columns: 80%; }
  .bento { grid-template-columns: 1fr; grid-template-rows: 340px 220px 200px 200px 220px auto auto; grid-template-areas: "a" "b" "c" "d" "e" "f" "g"; }
  .grid3, .reviews, footer .cols { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr 1fr; gap: 8px; }
  .feat div { font-size: 14px; padding: 10px 12px; }
  .rv.feature { grid-column: auto; }
  .rv.feature blockquote { font-size: 20px; }
  .timeline { grid-template-columns: 1fr; }
  .cta2 > div { padding: 30px; }
  .cta2 .app { grid-template-columns: 1fr; }
  .cta2 .app .phone { display: none; }
  .cta2 .call form { grid-template-columns: 1fr; }
  .cta2 .call .btn { grid-column: auto; }
  .band, .closer, .page-hero { margin: 0 8px; }
  .band { padding: 28px 0; }
  .band .s { padding: 0 16px; }
  .closer { min-height: 264px; padding: 32px 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 130px; }
  .gallery img:first-child { grid-row: auto; grid-column: span 2; }
  .gallery img:nth-child(4) { display: none; }
  .gallery .all { right: 10px; bottom: 10px; padding: 10px 14px; font-size: 14px; }
  .gallery.g1 { grid-template-rows: 260px; }
  .gallery.g1 img:first-child { grid-column: auto; }
  .gallery.g2, .gallery.g3 { grid-template-columns: 1fr 1fr; }
  .gallery.g2 img:nth-child(2) { grid-row: auto; grid-column: span 2; }
  .promo img { height: 90px; }
  .match-pic > img { aspect-ratio: 1; }
  footer .word { font-size: 10.4vw; }
  .page-hero { padding-bottom: 70px; min-height: 280px; }
  .modes .sep, .modes .tick { display: none; }
  .listing { padding: 40px 16px 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  details::details-content { transition: none !important; }
  .marquee .track { transform: none; }
  .story button.on span i { width: 100%; }
}

/* Touch floor (2026-10-31 polish): 44px targets and 16px form text up to tablet width, so iOS does not zoom on focus. */
@media (max-width: 1023px) {
  button, select, textarea,
  input:not([type=hidden]):not([type=checkbox]):not([type=radio]) { min-height: 44px !important; }
  select, textarea, input:not([type=checkbox]):not([type=radio]) { font-size: 16px !important; }
  button.save, button#taliaBtn, button#chatX { min-width: 44px; }
  nav a, header a, footer a, a.link { display: inline-flex; align-items: center; min-height: 44px; }
}

/* the Call me back card's result line (2026-10-31) */
.call-note { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.call-note.ok { background: #fff; color: #17803d; }
.call-note.bad { background: #fff; color: #b3261e; }

/* Live price schedule: old price crossed out, next price line (2026-11-03) */
.was { text-decoration: line-through; opacity: .6; font-weight: 400; font-size: .85em; margin-right: 2px; }
.next-price { font-size: 12px; opacity: .75; font-weight: 400; margin-top: 2px; line-height: 1.35; }

/* ---------- price block + availability chip on room cards (2026-11-08) ---------- */
.room .body .hd, .card .body .hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.room .body .hd h3, .card .body .hd h3 { flex: 1; min-width: 0; }
.left { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; font-size: var(--fs-micro); font-weight: 600; letter-spacing: .01em; white-space: nowrap; background: rgba(23,138,82,.1); color: var(--green); flex: none; }
.left::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.left.low { background: rgba(211,58,44,.1); color: var(--red); }
.left.none { background: rgba(103,109,132,.12); color: var(--muted); }
.pb { display: flex; flex-direction: column; gap: 3px; margin-top: 2px; }
.pb-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; }
.pb-now { font-size: var(--fs-md); font-weight: 700; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pb-per { font-size: var(--fs-xs); color: var(--muted); margin-left: -4px; }
.pb-was { font-size: var(--fs-xs); color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; font-variant-numeric: tabular-nums; }
.pb-save { font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: rgba(23,138,82,.1); color: var(--green); line-height: 1.3; }
.pb-loc, .pb-next { display: flex; align-items: center; gap: 5px; font-size: var(--fs-xs); color: var(--muted); font-weight: 500; line-height: 1.35; }
.pb-loc .i, .pb-next .i { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* The next-price line (2026-11-17, founder: "a little bit conspicuous, not too"): a soft gold tag, quieter than the price.
   #7a4f00 on --gold-soft is 6.6:1 (AA); the icon takes the gold a shade darker. */
.pb-next { align-self: flex-start; margin-top: 3px; padding: 3px 10px 3px 8px; border-radius: 8px; background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(244,184,58,.45); color: #7a4f00; font-weight: 600; }
.pb-next .i { color: #c98a0c; }
.pb-next span { color: var(--muted); font-weight: 400; }
.pb.lg { gap: 6px; margin-bottom: 10px; }
.pb.lg .pb-now { font-size: var(--fs-2xl); }
.pb.lg .pb-per, .pb.lg .pb-was { font-size: var(--fs-sm); }
.pb.lg .pb-next { font-size: var(--fs-sm); padding: 4px 12px 4px 10px; }
.card .body { padding: 12px 4px 4px; display: flex; flex-direction: column; gap: 4px; }
.card .body h3 { font-size: var(--fs-md); letter-spacing: -.01em; }
