/* LHP Student Village: forest green and butter, a light serif for headlines, and very little bold. */
:root {
  --forest: #1f4d3a;
  --forest-deep: #163a2b;
  --forest-line: #3b6b56;
  --butter: #f3d98b;
  --butter-deep: #e8c766;
  --paper: #fbf7ea;
  --sage: #dde7d6;
  --blush: #efb8a0;
  --clay: #a9553b;
  --white: #ffffff;
  --ink: #1f2a1f;
  --ink-soft: #4c584d;
  --on-forest: #fbf7ea;
  --on-forest-soft: #d6e0d2;

  --pl-room: #f3d98b;
  --pl-bath: #c7dcd9;
  --pl-kitchen: #cfdfbd;
  --pl-porch: #efc9b5;
  --pl-dim: #a9b3b8;
  --pl-bg: #f4f0df;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 3.4vw, 44px);
  --r-lg: 22px;
  --r-md: 14px;
  --spring: cubic-bezier(.2, 1.3, .4, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--paper); overflow-x: clip; font-synthesis: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 7px var(--ink); border-radius: 4px; }
.sprite { position: absolute; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--butter); border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(100%, 1320px); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2 { font-family: var(--serif); font-weight: var(--h-weight); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; font-variant-numeric: lining-nums; }
h2 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
h3 { font-family: var(--serif); font-weight: var(--h-weight); font-size: 1.4rem; line-height: 1.18; font-variant-numeric: lining-nums; }
.sec { padding-block: clamp(56px, 8vw, 112px); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.45; max-width: 52ch; }
.note { font-size: .95rem; margin-top: 1rem; color: var(--ink-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; font-weight: 500; text-decoration: none; border: 1.5px solid transparent; line-height: 1.15; text-align: center; transition: transform .16s var(--spring), background-color .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-butter { background: var(--butter); color: var(--ink); }
.btn-butter:hover { background: var(--paper); }
.btn-line-light { border-color: var(--on-forest); color: var(--on-forest); }
.btn-line-light:hover { background: var(--on-forest); color: var(--forest); }
.btn-ink { background: var(--forest); color: var(--on-forest); }
.btn-ink:hover { background: var(--forest-deep); }
.btn-line { border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding-inline: max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter))); background: var(--forest); color: var(--on-forest); }
.brand { font-family: var(--serif); font-weight: var(--h-weight); font-size: 1.9rem; line-height: 1; text-decoration: none; color: var(--butter); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.nav a { text-decoration: none; padding: 8px 2px; }
.nav a:not(.nav-cta):hover { color: var(--butter); }
.nav a.nav-cta { padding: 9px 18px; border-radius: 999px; background: var(--butter); color: var(--ink); font-weight: 500; }
.nav a.nav-cta:hover { background: var(--paper); }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: none; border: 1.5px solid var(--on-forest); border-radius: 999px; color: var(--on-forest); }

/* Hero */
.hero { position: relative; background: var(--forest); color: var(--on-forest); overflow: hidden; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: center; min-height: calc(100dvh - 64px - 58px); padding-block: clamp(24px, 4vw, 56px); }
.hero h1 { font-size: clamp(3.6rem, 8vw, 7.4rem); line-height: .98; color: var(--on-forest); }
.hero-lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.4; max-width: 36ch; margin-top: clamp(18px, 2.4vw, 30px); color: var(--on-forest); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.tags { position: relative; height: clamp(380px, 48vw, 590px); }
.tag { position: absolute; display: flex; flex-direction: column; align-items: center; width: clamp(126px, 14.5vw, 188px); padding: 16px 12px 20px; border: 0; border-radius: 20px 20px 56px 56px; color: var(--ink); text-align: center; transform: rotate(var(--rot)); transition: transform .22s var(--spring); animation: tag-in .7s var(--spring) both; }
.tag strong { font-family: var(--serif); font-weight: var(--h-weight); font-size: clamp(4.2rem, 7.6vw, 6.8rem); line-height: 1; font-variant-numeric: lining-nums; }
.tag span:last-child { font-size: 1rem; margin-top: 2px; }
.tag-hole { display: block; width: 24px; height: 24px; border-radius: 50%; background: var(--forest); margin-bottom: 16px; }
.tag-a { --rot: -8deg; left: 4%; top: 5%; background: var(--butter); animation-delay: .1s; }
.tag-b { --rot: 6deg; right: 2%; top: 13%; background: var(--paper); animation-delay: .22s; }
.tag-c { --rot: 4deg; left: 22%; bottom: 3%; background: var(--blush); animation-delay: .34s; }
.tag:hover, .tag:focus-visible { transform: rotate(0deg) scale(1.05); z-index: 2; }
@keyframes tag-in { from { opacity: 0; transform: translateY(70px) rotate(calc(var(--rot) * 3)); } to { opacity: 1; transform: rotate(var(--rot)); } }
.sticker { position: absolute; right: 3%; bottom: 7%; display: grid; place-content: center; justify-items: center; width: clamp(128px, 12.5vw, 166px); aspect-ratio: 1; border-radius: 50%; background: var(--forest-deep); border: 1.5px solid var(--butter); color: var(--on-forest); transform: rotate(-10deg); text-align: center; line-height: 1.15; font-size: .95rem; }
.sticker strong { font-family: var(--serif); font-weight: var(--h-weight); font-size: clamp(1.9rem, 2.7vw, 2.4rem); color: var(--butter); line-height: 1.05; white-space: nowrap; font-variant-numeric: lining-nums; }

.ticker { background: var(--butter); color: var(--ink); overflow: hidden; height: 58px; display: flex; align-items: center; }
.ticker-track { display: flex; align-items: center; gap: 24px; width: max-content; flex: none; animation: slide 40s linear infinite; font-family: var(--serif); font-size: 1.45rem; white-space: nowrap; }
.ticker-track svg { width: 14px; height: 14px; flex: none; fill: currentColor; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Room picker */
.picker { padding-top: clamp(48px, 6vw, 84px); }
.picker-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px 32px; align-items: end; margin-bottom: clamp(20px, 3vw, 34px); }
.controls { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.2fr) auto; gap: 18px clamp(20px, 3vw, 44px); align-items: center; background: var(--forest); color: var(--on-forest); border-radius: var(--r-lg); padding: 20px clamp(18px, 2.4vw, 30px); margin-bottom: 18px; }
.budget { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px; }
.budget output { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--butter); font-variant-numeric: lining-nums tabular-nums; }
.budget input { grid-column: 1 / -1; width: 100%; height: 32px; margin: 4px 0 0; background: transparent; cursor: grab; -webkit-appearance: none; appearance: none; accent-color: var(--butter); touch-action: pan-y; }
.budget input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: var(--forest-line); }
.budget input::-moz-range-track { height: 6px; border-radius: 6px; background: var(--forest-line); }
.budget input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--butter); border: 0; }
.budget input::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--butter); border: 0; }
.budget-ends { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: .875rem; color: var(--on-forest-soft); }
.toggles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.toggles-label { width: 100%; }
.toggle { min-height: 44px; padding: 8px 16px; border-radius: 999px; background: transparent; border: 1.5px solid var(--on-forest-soft); color: var(--on-forest); transition: background-color .12s, color .12s, border-color .12s; }
.toggle:hover { border-color: var(--butter); color: var(--butter); }
.toggle[aria-pressed="true"] { background: var(--butter); border-color: var(--butter); color: var(--ink); }
.match { text-align: right; line-height: 1.15; min-width: 84px; }
.match strong { display: block; font-family: var(--serif); font-weight: var(--h-weight); font-size: 2.9rem; line-height: 1; color: var(--butter); font-variant-numeric: lining-nums tabular-nums; }

/* Room size drives width, so the map shows at a glance how much space you get */
.map { display: flex; flex-wrap: wrap; gap: 14px 10px; }
.map-row { display: flex; gap: 10px; flex: 1 1 100%; min-width: 0; }
.bld { min-width: 0; flex: var(--area) 1 0; }
.bld-name { font-family: var(--sans); font-weight: 500; font-size: 1rem; margin-bottom: 6px; line-height: 1.2; }
.bld-tiles { display: flex; gap: 6px; }
.tile { flex: var(--size) 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; min-height: 208px; padding: 10px 10px 10px 12px; border-radius: var(--r-md); background: var(--white); border: 1.5px solid #cdd5d9; text-align: left; transition: background-color .16s, border-color .16s, transform .16s var(--spring), opacity .18s; position: relative; }
.tile:hover, .tile:focus-visible { background: var(--butter); border-color: var(--ink); transform: translateY(-4px); z-index: 2; }
.tile:active { transform: scale(.98); }
.t-num { font-family: var(--serif); font-weight: var(--h-weight); font-size: clamp(2.8rem, 4.2vw, 3.8rem); line-height: 1; font-variant-numeric: lining-nums; }
.t-rent { font-weight: 500; font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; margin-top: 4px; }
.t-size { font-size: .95rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.t-tag { font-size: .875rem; line-height: 1.15; margin-top: 3px; color: var(--ink-soft); }
.t-btn { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; padding-top: 10px; font-weight: 500; font-size: .92rem; white-space: nowrap; color: var(--forest); }
.t-btn .ico { width: 17px; height: 17px; }
.tile:hover .t-btn, .tile:focus-visible .t-btn { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.map.filtering .tile:not(.out) { background: var(--butter); border-color: var(--ink); }
.map.filtering .tile:not(.out) .t-tag, .map.filtering .tile:not(.out) .t-btn { color: var(--ink); }
.tile.out { opacity: .32; border-style: dashed; }
.tile.out:hover, .tile.out:focus-visible { opacity: 1; }
.none { width: 100%; padding: 26px; border: 1.5px dashed var(--ink); border-radius: var(--r-md); margin-bottom: 14px; }
.none[hidden] { display: none; }
.every { margin-top: 20px; max-width: 66ch; color: var(--ink-soft); }
.noscript-table { width: 100%; border-collapse: collapse; }
.noscript-table th, .noscript-table td { text-align: left; padding: 8px; border-top: 1px solid var(--ink); }

/* Gallery */
.gallery { padding-top: 0; }
.gallery-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px 32px; align-items: end; margin-bottom: clamp(20px, 3vw, 34px); }
.shots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 14px; }
.shot { min-width: 0; display: flex; flex-direction: column; }
/* To add a photo: replace the placeholder <span> inside .photo with <img src="assets/your-photo.jpg" alt="..."> */
.photo { position: relative; flex: 1; min-height: 210px; border-radius: var(--r-lg); overflow: hidden; background: var(--sage); display: grid; place-items: center; color: var(--ink-soft); font-size: .95rem; text-align: center; padding: 12px; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { padding-top: 12px; }
.shot figcaption p { margin-top: 4px; max-width: 54ch; }
.s-lapa { grid-column: span 8; grid-row: span 2; }
.s-lapa .photo { background: var(--butter); color: var(--ink); min-height: 380px; }
.s-lapa h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.s-garden { grid-column: span 4; }
.s-kitchen { grid-column: span 4; }
.s-lounge { grid-column: span 4; }
.s-laundry { grid-column: span 4; }
.s-kitchen .photo { background: var(--pl-kitchen); }
.s-lounge .photo { background: var(--blush); color: var(--ink); }
.s-laundry .photo { background: var(--pl-bath); color: var(--ink); }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.extra { border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); }
.extra h3 { font-size: 1.7rem; margin-bottom: 8px; }
.x-hart { background: var(--butter); }
.x-rent { background: var(--sage); }
.x-team { background: var(--forest); color: var(--on-forest); }
.plain li { padding: 6px 0; border-top: 1px solid rgba(31, 42, 31, .25); line-height: 1.3; }

/* Nearby: a route line from the front door */
.nearby { background: var(--sage); }
.nearby-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px 32px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.route-name { font-family: var(--sans); font-weight: 500; font-size: 1rem; margin-bottom: 14px; }
.route + .route-name { margin-top: 40px; }
.route { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.route li { position: relative; padding: 32px 14px 0 0; min-width: 0; }
.route li::before { content: ''; position: absolute; z-index: 1; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--sage); border: 3px solid var(--forest); }
.route li:not(:last-child)::after { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 4px; background: var(--forest); }
.route li.start::before { background: var(--forest); }
.route.drive li:not(:last-child)::after { background: repeating-linear-gradient(90deg, var(--forest) 0 12px, transparent 12px 20px); }
.route strong { display: block; font-family: var(--serif); font-weight: var(--h-weight); font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; font-variant-numeric: lining-nums; }
.route strong small { font-family: var(--sans); font-size: 1rem; }
.route li > span { display: block; line-height: 1.25; margin-top: 4px; }
.nearby-map { margin-top: 34px; }
.nearby-map a { font-weight: 500; text-underline-offset: 3px; }

/* Safety */
.safety { background: var(--forest-deep); color: var(--on-forest); }
.safety-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px clamp(28px, 5vw, 72px); align-items: start; }
.safety-head { position: sticky; top: 96px; }
.safety-parents { color: var(--butter); font-size: 1.1rem; margin-bottom: 12px; }
.layers { counter-reset: lay; }
.layers li { counter-increment: lay; display: grid; grid-template-columns: 62px minmax(0, 1fr); padding: 20px 0; border-top: 1px solid var(--forest-line); }
.layers li::before { content: counter(lay); grid-row: 1 / span 2; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--butter); font-variant-numeric: lining-nums; }
.layers p { margin-top: 4px; color: var(--on-forest-soft); }

/* Details */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(24px, 3vw, 38px) 0 14px; }
.tab { min-height: 46px; padding: 8px 20px; border-radius: 999px; background: transparent; border: 1.5px solid var(--ink); transition: background-color .12s, color .12s; }
.tab:hover { background: var(--butter); }
.tab[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.panel { background: var(--white); border: 1.5px solid #cdd5d9; border-radius: var(--r-lg); padding: clamp(20px, 3.4vw, 42px); }
.panel[hidden] { display: none; }
.panel h3 { margin-bottom: 8px; }
.h-gap { margin-top: 28px; }
.cost-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(28px, 5vw, 64px); }
.costs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 10px 0; border-top: 1px solid rgba(31, 42, 31, .2); }
.costs dd { font-weight: 500; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.panel-intro { margin-bottom: 14px; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px clamp(20px, 4vw, 48px); }
.checklist label { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.checklist input { flex: none; width: 24px; height: 24px; accent-color: var(--forest); cursor: pointer; }
.checklist input:checked + span { text-decoration: line-through; color: var(--ink-soft); }
.checklist em { font-style: normal; font-weight: 500; }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(28px, 5vw, 64px); }
.rules h3 { margin-bottom: 4px; font-size: 1.25rem; }

/* Apply */
.apply { background: var(--forest); color: var(--on-forest); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.steps { counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 54px minmax(0, 1fr); padding: 16px 0; border-top: 1px solid var(--forest-line); }
.steps li::before { content: counter(st); grid-row: 1 / span 2; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--butter); font-variant-numeric: lining-nums; }
.steps p { margin-top: 3px; color: var(--on-forest-soft); }
.enquiry { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); }
.enquiry h3 { font-size: 2rem; margin-bottom: 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 500; margin-bottom: 5px; }
.field input, .field select { width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--white); font-size: 1rem; }
.help { font-size: .95rem; color: var(--ink-soft); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.person-name { font-weight: 500; margin-bottom: 8px; }
.person .btn { width: 100%; margin-bottom: 6px; padding-inline: 14px; }
.link-row { display: flex; align-items: center; gap: 9px; min-height: 42px; font-size: .95rem; overflow-wrap: anywhere; line-height: 1.2; text-underline-offset: 3px; }

/* Footer */
.foot { background: var(--butter); color: var(--ink); padding-block: clamp(32px, 4vw, 56px) 28px; }
.foot-big { font-family: var(--serif); font-size: clamp(2.8rem, 8.6vw, 8.2rem); line-height: 1; letter-spacing: -.012em; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 22px; }
.foot address { font-style: normal; }

/* Floorplan dialog */
.plan-dialog { width: min(1280px, calc(100vw - 32px)); height: min(840px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--white); color: var(--ink); overflow: hidden; }
.plan-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr) 400px; animation: pop .28s var(--ease); }
.plan-dialog::backdrop { background: rgba(0, 0, 0, .62); animation: fade .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.pd-stage { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 0; padding: 16px; background: var(--pl-bg); }
.pd-svg { flex: 1; width: 100%; min-height: 0; position: relative; }
.pd-svg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seg { display: inline-flex; padding: 3px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); }
.seg-btn { min-height: 40px; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; }
.seg-btn[aria-pressed="true"] { background: var(--forest); color: var(--on-forest); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .92rem; padding-top: 8px; }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend li[hidden] { display: none; }
.sw { width: 16px; height: 16px; border: 1.5px solid var(--ink); border-radius: 4px; }
.sw-room { background: var(--pl-room); } .sw-bath { background: var(--pl-bath); } .sw-kitchen { background: var(--pl-kitchen); } .sw-porch { background: var(--pl-porch); }
.pd-sheet { overflow-y: auto; padding: 16px 26px 24px; overscroll-behavior: contain; }
.pd-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.pd-nav { display: flex; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; transition: background-color .12s, color .12s; }
.icon-btn:hover { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
#pd-title { font-size: clamp(2.8rem, 4.6vw, 4rem); }
.pd-where { margin-top: 2px; color: var(--ink-soft); }
.pd-facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 20px; margin-top: 10px; }
.pd-facts strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.pd-feats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pd-feats li { padding: 5px 12px; border-radius: 999px; background: var(--sage); font-size: .95rem; line-height: 1.2; }
.pd-sheet h3 { margin-top: 20px; margin-bottom: 4px; }
.pd-costs > div { padding: 7px 0; }
.pd-costs .total { font-weight: 500; border-top: 2px solid var(--ink); }
.pd-sheet .note { font-size: .92rem; margin-top: 8px; }
.pd-cta { display: grid; gap: 8px; margin-top: 14px; }

/* Plan drawing */
.pl-room { cursor: pointer; }
.pl-room polygon { fill: #fff; stroke: var(--pl-dim); stroke-width: 2.5; stroke-linejoin: round; transition: fill .15s; }
.pl-room:hover polygon { fill: #e4f5fd; }
.pl-room:focus-visible { outline: none; box-shadow: none; }
.pl-room:focus-visible polygon { stroke: var(--clay); stroke-width: 6; }
.pl-room.on polygon { fill: var(--pl-room); stroke: var(--ink); stroke-width: 5; }
.pl-draw { animation: wall-draw .6s var(--ease) both; stroke-dasharray: 1; }
@keyframes wall-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.z rect { stroke: var(--pl-dim); stroke-width: 1.5; fill: #f4f6f7; }
.z-bath rect { fill: #eaf6fc; } .z-kitchen rect { fill: #eef6e6; } .z-porch rect { fill: #fdf0e6; }
.z-common rect { fill: none; stroke-dasharray: 5 5; }
.z-hall rect { fill: #e6eaec; }
.z-cup rect, .z-fit rect { fill: rgba(255, 255, 255, .3); }
.on .z-bath rect, .z-bath.on rect { fill: var(--pl-bath); stroke: var(--ink); stroke-width: 2; }
.on .z-kitchen rect { fill: var(--pl-kitchen); stroke: var(--ink); stroke-width: 2; }
.on .z-porch rect { fill: var(--pl-porch); stroke: var(--ink); stroke-width: 2.5; }
.on .z-cup rect, .on .z-fit rect, .z-fit.on rect { stroke: var(--ink); stroke-width: 1.5; }
.pl-t { font-family: var(--sans); font-size: 15px; font-weight: 500; fill: #5c666b; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.on .pl-t, .on.z .pl-t { fill: var(--ink); }
.pl-fx { fill: none; stroke: #8b959a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.on .pl-fx, .pl-fx.on { stroke: var(--ink); }
.pl-name { font-family: var(--serif); font-weight: var(--h-weight); font-size: 34px; fill: #5c666b; pointer-events: none; font-variant-numeric: lining-nums; }
.pl-size { font-family: var(--sans); font-size: 22px; fill: #5c666b; pointer-events: none; }
.on .pl-name, .on .pl-size { fill: var(--ink); }
.pl-door { fill: none; stroke: var(--pl-dim); stroke-width: 1.5; pointer-events: none; }
.pl-leaf { stroke: var(--pl-dim); stroke-width: 3.5; pointer-events: none; }
.pl-gap { stroke: var(--pl-bg); stroke-width: 7.5; pointer-events: none; }
.on .pl-door { stroke: var(--ink); }
.on .pl-leaf { stroke: var(--ink); stroke-width: 4.5; }
.pl-outline { fill: none; stroke: var(--pl-dim); stroke-width: 3; }

/* Laptop and tablet */
@media (max-width: 1180px) {
  .controls { grid-template-columns: minmax(0, 1fr) auto; }
  .toggles { grid-column: 1 / -1; grid-row: 2; }
  .map-row { flex-wrap: wrap; }
  .bld { flex: 1 1 calc(50% - 5px); }
  .bld[data-b="M"], .bld[data-b="CG"], .bld[data-b="CF"], .bld[data-b="D"] { flex-basis: 100%; }
  .tile { min-height: 190px; }
  .plan-dialog[open] { grid-template-columns: minmax(0, 1fr) 350px; }
  .s-lapa { grid-column: span 12; grid-row: auto; }
  .s-garden, .s-kitchen, .s-lounge, .s-laundry { grid-column: span 6; }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-team { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; background: var(--forest); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; font-size: 1.15rem; border-top: 1px solid var(--forest-line); }
  .nav a.nav-cta { text-align: center; margin-top: 10px; border-top: 0; }
  .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero h1 { font-size: 12vw; }
  .tags { height: clamp(340px, 62vw, 480px); }
  .tag { width: clamp(126px, 22vw, 186px); }
  .sticker { width: clamp(128px, 20vw, 166px); }
  .safety-in { grid-template-columns: minmax(0, 1fr); }
  .safety-head { position: static; }
  /* The route runs downwards once it no longer fits across */
  .route { grid-template-columns: minmax(0, 1fr); }
  .route li { padding: 0 0 22px 36px; }
  .route li:last-child { padding-bottom: 0; }
  .route li::before { top: 8px; }
  .route li:not(:last-child)::after { left: 7px; right: auto; top: 12px; bottom: -12px; width: 4px; height: auto; }
  .route.drive li:not(:last-child)::after { background: repeating-linear-gradient(180deg, var(--forest) 0 12px, transparent 12px 20px); }
}

/* Phone */
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(3.4rem, 17vw, 6rem); }
  .tags { height: 470px; }
  .picker-head, .gallery-head, .nearby-head { grid-template-columns: minmax(0, 1fr); }
  .controls { padding: 16px; }
  .toggle { flex: 1 1 auto; }
  .bld { flex-basis: 100%; }
  .bld-tiles { flex-wrap: wrap; }
  .tile { flex: 1 1 calc(50% - 3px); min-height: 178px; }
  .t-num { font-size: 3.2rem; }
  .shots, .extras { display: flex; flex-direction: column; }
  .s-lapa .photo { min-height: 260px; }
  .photo { flex: none; }
  .cost-cols, .rules, .checklist, .apply-grid, .people { grid-template-columns: minmax(0, 1fr); }
  .foot-row { flex-direction: column; }
  .foot-big { font-size: 17vw; }

  .plan-dialog { width: 100vw; height: 100dvh; border-radius: 0; }
  .plan-dialog[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 46dvh) minmax(0, 1fr); }
  .pd-stage { padding: 10px; }
  .seg-btn { min-height: 38px; }
  .legend { font-size: .82rem; gap: 2px 10px; }
  .pd-sheet { padding: 10px 16px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- The look: slate, wheat and sage ---------- */
:root { --h-weight: 500; }
.budget output, .ticker-track, .layers li::before, .steps li::before, .foot-big { font-weight: var(--h-weight); }

:root {
  --forest: #1c2a33; --forest-deep: #121c23; --forest-line: #475a64;
  --butter: #e5c07b; --butter-deep: #d3a95a; --paper: #f3f1ea; --sage: #dae1dc; --blush: #8fb09c; --clay: #8a5a1c;
  --on-forest: #f4f2ea; --on-forest-soft: #d5dbdb; --ink: #171c1f; --ink-soft: #4b5459;
  --pl-room: #e5c07b; --pl-bath: #cbdad9; --pl-kitchen: #d5e0cf; --pl-porch: #e6cdb0; --pl-bg: #ebe9df;
  --serif: 'Familjen Grotesk', system-ui, sans-serif; --sans: 'Instrument Sans', system-ui, sans-serif;
}

/* Grown-up details: tighter type, sharper corners, calmer tags */
h1, h2 { letter-spacing: -.022em; }
:root { --r-lg: 14px; --r-md: 10px; }
.btn, .toggle, .tab, .nav a.nav-cta, .seg, .seg-btn, .menu-toggle { border-radius: 10px; }
.fm-field input[type], .fm-field select, .fm-field textarea, .fm-seg-opt span { border-radius: 8px !important; }
.tag { border-radius: 12px 12px 34px 34px; }
.tag-a { --rot: -5deg; }
.tag-b { --rot: 4deg; }
.tag-c { --rot: 2deg; }
.tag-hole { width: 18px; height: 18px; }
.sticker { transform: rotate(0deg); }
.hero-in { padding-block: clamp(32px, 5vw, 64px); }


/* Forms */
[hidden] { display: none !important; }
.enquiry { scroll-margin-top: 76px; }
.contacts { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--forest-line); }
.contacts .people { margin-top: 12px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.fm-note { font-size: .95rem; color: var(--ink-soft); margin-bottom: 14px; }
.fm-req { color: #b3261e; }
.fm-opt { font-weight: 400; color: var(--ink-soft); font-size: .92rem; }
.fm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.enquiry .fm-head h3 { margin: 0; font-size: 1.7rem; }
.fm-head h3:focus { outline: none; box-shadow: none; }
.fm-count { font-size: .92rem; color: var(--ink-soft); white-space: nowrap; }
.fm-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-bottom: 20px; }
.fm-bar span { height: 6px; border-radius: 6px; background: rgba(0, 0, 0, .13); transition: background-color .2s; }
.fm-bar span.on { background: var(--forest); }
.fm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; align-items: start; }
.fm-full { grid-column: 1 / -1; }
.fm-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.fm-divided { padding-bottom: 18px; border-bottom: 1px solid rgba(0, 0, 0, .15); }
.fm-sub { margin: 0; font-family: var(--serif); font-weight: var(--h-weight); font-size: 1.2rem; }
.fm-label { display: block; font-weight: 500; margin-bottom: 6px; padding: 0; }
.fm-field input[type="text"], .fm-field input[type="tel"], .fm-field input[type="email"], .fm-field input[type="date"], .fm-field select, .fm-field textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid rgba(0, 0, 0, .35); border-radius: 12px; background: #fff; font-size: 1rem; font-family: var(--sans); }
.fm-field textarea { resize: vertical; }
.fm-field input:focus-visible, .fm-field select:focus-visible, .fm-field textarea:focus-visible { border-color: var(--forest); outline: 3px solid var(--forest); outline-offset: 1px; box-shadow: none; border-radius: 12px; }
.has-err input[type="text"], .has-err input[type="tel"], .has-err input[type="email"], .has-err input[type="date"], .has-err select { border-color: #b3261e; }
.fm-help { font-size: .92rem; color: var(--ink-soft); margin-top: 5px; line-height: 1.35; }
.fm-link a { color: var(--ink); text-underline-offset: 3px; }
.fm-err { color: #b3261e; font-size: .95rem; font-weight: 600; margin-top: 5px; line-height: 1.3; }
.fm-global { margin-top: 14px; }
.fm-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fm-seg-opt { position: relative; display: block; cursor: pointer; }
.fm-seg-opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.fm-seg-opt span { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px 10px; border: 1.5px solid rgba(0, 0, 0, .35); border-radius: 12px; background: #fff; text-align: center; line-height: 1.15; font-weight: 500; transition: background-color .12s, color .12s; }
.fm-seg-opt:hover span { background: var(--paper); }
.fm-seg-opt input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.fm-seg-opt input:focus-visible + span { outline: 3px solid var(--forest); outline-offset: 2px; }
.fm-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; }
.fm-check input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--forest); cursor: pointer; }
.fm-link { padding-left: 36px; margin-top: 0; }
.fm-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }
.fm-nav .fm-next { margin-left: auto; }
.fm-review { padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .04); }
.fm-review-title { font-weight: 700; margin-top: 12px; }
.fm-review dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 12px; padding: 4px 0; font-size: .95rem; }
.fm-review dt { color: var(--ink-soft); }
.fm-review dd { overflow-wrap: anywhere; }
.fm-done h3 { margin-bottom: 8px; }
.fm-done h3:focus { outline: none; box-shadow: none; }
.fm-send { margin-top: 18px; }
.fm-send li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px; padding: 16px 0; border-top: 1px solid rgba(0, 0, 0, .15); }
.fm-send h4 { margin: 0 0 3px; font-size: 1.1rem; font-weight: 700; }
.fm-send .btn { margin-top: 10px; }
.fm-tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--butter); color: var(--ink); font-weight: 700; }
.is-done .fm-tick { background: var(--forest); color: var(--on-forest); }
.fm-after { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, .15); }
.fm-linkbtn { min-height: 44px; padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
@media (max-width: 720px) {
  .fm-grid { grid-template-columns: minmax(0, 1fr); }
  .fm-nav .btn { padding-inline: 16px; }
}

/* Privacy notice page */
.privacy { max-width: 760px; padding-block: 40px 72px; }
.privacy h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin: 18px 0 14px; }
.privacy h2 { font-size: 1.6rem; margin: 32px 0 8px; }
.privacy p + p { margin-top: 10px; }
.privacy ul { list-style: disc; padding-left: 22px; }
.privacy li { margin-top: 4px; }

.fm-seg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fm-callout { padding: 12px 14px; border-radius: 8px; background: var(--sage); line-height: 1.35; }
.fm-field input[readonly] { background: rgba(0, 0, 0, .05); }

/* Application page */
.apply-page { background: var(--paper); }
.apply-main { max-width: 800px; padding-block: clamp(32px, 5vw, 56px) 72px; }
.apply-main h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 12px; }
.apply-card { margin-top: 24px; background: #fff; border: 1.5px solid rgba(0, 0, 0, .14); }
@media (max-width: 720px) { .fm-seg-3 { grid-template-columns: minmax(0, 1fr); } }


/* Fonts, shared by all looks */
:root { --serif: 'Syne', system-ui, sans-serif; --sans: 'DM Sans', system-ui, sans-serif; --h-weight: 600; }
h1, h2 { letter-spacing: -.015em; }
@media (max-width: 720px) { .hero h1 { font-size: 13.4vw; } }

/* Bright accents: small amounts only. They mark things, and never fill a large area. */
:root { --a-sky: #5bc8f5; --a-lime: #9bd34f; --a-orange: #ff6f00; --a-yellow: #ffc72c; }

/* A thin four-colour line under the top bar */
.bar { position: sticky; }
.bar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--a-sky) 0 25%, var(--a-lime) 25% 50%, var(--a-orange) 50% 75%, var(--a-yellow) 75% 100%); }

/* Hero key tags */
.tag-a { background: var(--a-orange); }
.tag-b { background: var(--a-sky); }
.tag-c { background: var(--a-lime); }
.sticker strong { color: var(--a-yellow); }
.ticker-track svg { fill: var(--a-orange); }

/* A small colour square helps you tell the buildings apart */
.bld-name::before { content: ''; display: inline-block; width: 11px; height: 11px; margin-right: 7px; border-radius: 2px; background: var(--bld); }
.bld[data-b="A"], .bld[data-b="B"] { --bld: var(--a-sky); }
.bld[data-b="M"] { --bld: var(--a-orange); }
.bld[data-b="CG"], .bld[data-b="CF"] { --bld: var(--a-lime); }
.bld[data-b="D"] { --bld: var(--a-yellow); }

/* Life at the village: one colour line per card */
.x-hart { box-shadow: inset 0 5px 0 var(--a-orange); }
.x-rent { box-shadow: inset 0 5px 0 var(--a-lime); }
.x-team { box-shadow: inset 0 5px 0 var(--a-sky); }

/* Nearby: your front door and campus stand out on the route */
.route li.start::before { background: var(--a-orange); }
.route.drive li:last-child::before { background: var(--a-sky); }

/* Safety and form progress */
.layers li::before { color: var(--a-yellow); }
.fm-bar span.on { background: var(--a-orange); }
.is-done .fm-tick { background: var(--a-lime); color: var(--ink); }

/* No beige or cream: cool neutrals, with yellow for main actions */
:root {
  --butter: #ffc72c; --butter-deep: #f2b705; --paper: #f4f6f7; --sage: #e3e9ec; --on-forest: #ffffff; --on-forest-soft: #d7dfe3;
  --pl-room: #ffdc6b; --pl-bath: #c4e8f8; --pl-kitchen: #d3ecb4; --pl-porch: #ffcfa8; --pl-bg: #eef2f4;
  --a-pale: #dff3fc;
}
.ticker-track svg { fill: var(--ink); }
.foot { background: var(--forest-deep); color: var(--on-forest); }
.foot a { color: var(--on-forest); }
.foot-big { color: var(--a-yellow); }
.tile:hover, .tile:focus-visible, .map.filtering .tile:not(.out) { background: var(--a-pale); }
.x-hart { background: var(--a-pale); }
.s-lapa .photo { background: var(--a-pale); }
.fm-tick { background: var(--a-pale); }
.enquiry { background: #fff; }


/* Brand: colours measured from the logo, and Montserrat to match its lettering */
:root {
  --a-sky: #5fd0fc; --a-lime: #a0de50; --a-orange: #ff6600; --a-yellow: #ffd242;
  --brand-blue: #06548a; --brand-green: #00a85a;
  --forest: #4e5a60; --forest-deep: #3b454a; --forest-line: #7a868c;
  --butter: #ffd242; --butter-deep: #f0bf22; --ink: #2a3236; --ink-soft: #566066;
  --pl-room: #ffe28a; --pl-bath: #c6ecfd; --pl-kitchen: #d6f0b4; --pl-porch: #ffcda6;
  --serif: 'Montserrat', system-ui, sans-serif; --sans: 'Montserrat', system-ui, sans-serif; --h-weight: 500;
}
html { scroll-padding-top: 88px; }
body { font-size: 1rem; }
h1, h2 { letter-spacing: -.025em; line-height: 1.08; }
h3 { letter-spacing: -.01em; }

/* The logo needs a white background: its grey and blue would vanish on slate */
.bar { height: 76px; background: #fff; color: var(--ink); }
.brand { display: block; line-height: 0; }
.brand img { height: 62px; width: auto; }
.nav a:not(.nav-cta):hover { color: var(--brand-blue); }
.menu-toggle { border-color: var(--ink); color: var(--ink); }
.hero-in { min-height: calc(100dvh - 76px - 58px); }
.hero h1 { font-size: clamp(3rem, 6.8vw, 6.4rem); line-height: 1.02; }
.t-btn { color: var(--brand-blue); }
.nearby-map a, .fm-link a, .privacy a { color: var(--brand-blue); }
.enquiry { scroll-margin-top: 88px; }
.foot-big { font-size: clamp(2.4rem, 7.4vw, 7rem); }
@media (max-width: 980px) {
  .nav { top: 76px; background: #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .12); }
  .nav a { border-top-color: rgba(0, 0, 0, .12); }
  .hero h1 { font-size: 10.4vw; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(2.4rem, 11vw, 4.6rem); }
  .foot-big { font-size: 15vw; }
  .t-num { font-size: 2.8rem; }
}
.t-btn { font-size: .84rem; gap: 4px; }


/* Hero video, with a slate shade so the words stay readable */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: var(--forest); }
.hero-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(43, 51, 56, .86) 0%, rgba(43, 51, 56, .68) 50%, rgba(43, 51, 56, .28) 100%); }
.hero-pause { position: absolute; z-index: 2; right: var(--gutter); bottom: 72px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(43, 51, 56, .8); color: #fff; }
.hero-pause:hover { background: var(--forest-deep); }
.ticker { position: relative; z-index: 1; }

/* Gallery: village big, garden and lapa beside it, then lounge, kitchen and laundry */
.photo { flex: none; aspect-ratio: 4 / 3; min-height: 0; padding: 0; background: var(--sage); }
.s-village { grid-column: span 8; grid-row: span 2; }
.s-village .photo { flex: 1; aspect-ratio: auto; min-height: 380px; background: var(--sage); }
.s-village h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.s-lapa { grid-column: span 4; grid-row: auto; }
.s-lapa .photo { min-height: 0; background: var(--sage); }
.s-lapa h3 { font-size: 1.4rem; }
.s-garden, .s-lounge, .s-kitchen, .s-laundry { grid-column: span 4; }
.s-kitchen .photo, .s-lounge .photo, .s-laundry .photo { background: var(--sage); }
.s-laundry .photo img { object-position: center 72%; }
@media (max-width: 1180px) {
  .s-village { grid-column: span 12; grid-row: auto; }
  .s-garden, .s-lapa { grid-column: span 6; }
  .s-lounge, .s-kitchen, .s-laundry { grid-column: span 4; }
}
@media (max-width: 720px) {
  .hero-shade { background: rgba(43, 51, 56, .72); }
  .hero-pause { bottom: 68px; }
  .s-village .photo { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
}

/* Floorplans in the logo's colours */
:root { --pl-room: #ffd242; --pl-bath: #5fd0fc; --pl-kitchen: #a0de50; --pl-porch: #ff6600; --pl-bg: #ffffff; --pl-dim: #b4bdc2; }
.pd-stage { border-right: 1px solid #e3e8eb; }
.pl-room polygon { fill: #fff; }
.pl-room:hover polygon { fill: #eaf8fe; }
.pl-room.on polygon { fill: var(--pl-room); stroke: var(--forest); }
.z rect { fill: #f7f9fa; }
.z-bath rect { fill: #e6f7fe; }
.z-kitchen rect { fill: #f0f9e3; }
.z-porch rect { fill: #fff0e6; }
.z-hall rect { fill: #eef1f3; }
.on .z-bath rect, .z-bath.on rect { stroke: var(--forest); }
.on .z-kitchen rect { stroke: var(--forest); }
.on .z-porch rect { stroke: var(--forest); }
.on .z-cup rect, .on .z-fit rect, .z-fit.on rect { stroke: var(--forest); fill: rgba(255, 255, 255, .35); }
.on .z-porch .pl-t { fill: #1f272b; }
.on .pl-leaf, .on .pl-door { stroke: var(--forest); }
.sw { border-color: var(--forest); }


/* Hero: the video gets the whole space, with the words low on the left */
.hero-in { grid-template-columns: minmax(0, 1fr); align-items: end; }
.hero-copy { max-width: 760px; }
.hero-shade { background: linear-gradient(75deg, rgba(43, 51, 56, .84) 0%, rgba(43, 51, 56, .55) 42%, rgba(43, 51, 56, .04) 72%); }

/* Key tags now sit beside "Pick your room" */
.picker-head { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.picker-head .lede { margin-top: 12px; }
.tags { position: static; height: auto; display: flex; align-items: center; gap: 10px; }
.tag, .tag-a, .tag-b, .tag-c { position: relative; inset: auto; width: 112px; padding: 10px 8px 14px; border-radius: 10px 10px 28px 28px; }
.tag strong { font-size: 3rem; line-height: 1.05; }
.tag span:last-child { font-size: .85rem; }
.tag-hole { width: 12px; height: 12px; margin-bottom: 6px; background: var(--paper); }
.sticker { position: static; width: 112px; background: var(--forest); border: 0; font-size: .85rem; }
.sticker strong { font-size: 1.35rem; }

/* Team: frames in the shapes of the logo's panels */
.team-sec { background: var(--forest); color: var(--on-forest); }
.team-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px 32px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.member { text-align: center; }
.member p { margin-top: 12px; font-size: 1.3rem; font-weight: 500; }
.frame { position: relative; aspect-ratio: 4 / 5; padding: 14px; transition: transform .25s var(--spring); }
.frame::before { content: ''; position: absolute; inset: 0; background: var(--panel); clip-path: var(--shape); }
.frame img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; clip-path: var(--shape); }
.member:hover .frame { transform: translateY(-6px) rotate(-1deg); }
.m-addie { --panel: var(--a-sky); --shape: polygon(0 9%, 100% 0, 100% 100%, 0 90%); }
.m-yobi { --panel: var(--a-lime); --shape: polygon(0 0, 100% 7%, 100% 92%, 0 100%); }
.m-david { --panel: var(--a-orange); --shape: polygon(0 7%, 100% 0, 100% 97%, 4% 100%); }
.m-thabang { --panel: var(--a-yellow); --shape: polygon(4% 0, 100% 8%, 96% 100%, 0 91%); }
.extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Floorplans: clean and modern */
:root { --pl-bg: #f4f6f7; --pl-room: #ffffff; --pl-bath: #dcf3fd; --pl-kitchen: #e6f6d0; --pl-porch: #ffe8d9; --pl-dim: #c3cbd0; }
.pd-stage { background: var(--pl-bg); border-right: 0; }
.seg { border-color: #cdd5d9; }
.seg-btn[aria-pressed="true"] { background: var(--forest); }
.pl-room polygon { fill: transparent; stroke: var(--pl-dim); stroke-width: 2; }
.pl-room:hover polygon { fill: #fff; }
.pl-room.on polygon, .pl-room.on:hover polygon { fill: #fff; stroke: var(--forest); stroke-width: 6; }
.z rect, .z-bath rect, .z-kitchen rect, .z-porch rect, .z-hall rect { fill: transparent; stroke: var(--pl-dim); stroke-width: 1.2; }
.z-common rect { stroke-dasharray: 5 6; }
.on .z-bath rect, .z-bath.on rect { fill: var(--pl-bath); stroke: var(--forest); stroke-width: 1.5; }
.on .z-kitchen rect { fill: var(--pl-kitchen); stroke: var(--forest); stroke-width: 1.5; }
.on .z-porch rect { fill: var(--pl-porch); stroke: var(--forest); stroke-width: 1.5; stroke-dasharray: 6 5; }
.on .z-cup rect, .on .z-fit rect, .z-fit.on rect { fill: rgba(255, 255, 255, .55); stroke: rgba(78, 90, 96, .55); stroke-width: 1; }
.pl-fx { stroke: #bdc5ca; stroke-width: 1.5; }
.on .pl-fx, .pl-fx.on { stroke: var(--forest); stroke-width: 1.5; }
.pl-name { fill: #9aa4a9; font-weight: 500; font-size: 30px; letter-spacing: -.01em; }
.pl-size { fill: #9aa4a9; font-size: 20px; }
.on .pl-name { fill: var(--ink); }
.on .pl-size { fill: var(--ink-soft); }
.pl-t { font-size: 14px; font-weight: 500; fill: #9aa4a9; }
.on .pl-t, .on.z .pl-t { fill: var(--ink-soft); }
.pl-leaf { stroke: var(--pl-dim); stroke-width: 2; }
.pl-door { stroke: var(--pl-dim); stroke-width: 1; }
.on .pl-leaf { stroke: var(--forest); stroke-width: 3; }
.on .pl-door { stroke: var(--forest); stroke-width: 1; stroke-dasharray: 3 3; }
.pl-outline { stroke: var(--pl-dim); stroke-width: 2; }
.sw { border: 1px solid var(--forest); }
/* "This room" shows the room only, with nothing from next door */
.pd-svg svg.focus .pl-shared, .pd-svg svg.focus .pl-outline, .pd-svg svg.focus .pl-room:not(.on), .pd-svg svg.focus [data-rooms]:not(.on) { display: none; }

@media (max-width: 1180px) {
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero h1 { font-size: 10.4vw; }
  .picker-head { grid-template-columns: minmax(0, 1fr); }
  .tags { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .hero-in { min-height: 72dvh; padding-bottom: 28px; }
  .hero-shade { background: linear-gradient(0deg, rgba(43, 51, 56, .9) 0%, rgba(43, 51, 56, .62) 48%, rgba(43, 51, 56, .08) 80%); }
  .hero-pause { top: 14px; bottom: auto; }
  .tags { gap: 6px; }
  .tag, .tag-a, .tag-b, .tag-c { width: 78px; padding: 8px 4px 10px; border-radius: 8px 8px 20px 20px; }
  .tag strong { font-size: 2.1rem; }
  .tag span:last-child { font-size: .72rem; }
  .sticker { width: 80px; font-size: .72rem; }
  .sticker strong { font-size: 1rem; }
  .team-head { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame { padding: 9px; }
}


/* Nearby map */
.nearby { background: #fff; }
.near-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.near-map-wrap { position: relative; isolation: isolate; min-height: 600px; border-radius: var(--r-lg); overflow: hidden; background: var(--sage); }
.near-map { position: absolute; inset: 0; background: var(--sage); font-family: var(--sans); }
/* Calm the map's colours so the route and brand stand out */
.near-map .leaflet-tile-pane { filter: grayscale(.82) contrast(.92) brightness(1.04); }
.near-map .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; color: var(--ink); }
.near-chip { position: absolute; z-index: 500; left: 14px; bottom: 26px; display: grid; gap: 1px; max-width: calc(100% - 28px); padding: 10px 16px; border-radius: 10px; background: var(--forest); color: #fff; line-height: 1.25; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.near-chip strong { font-weight: 500; font-size: 1.02rem; }
.near-chip span { font-size: .92rem; color: var(--a-yellow); }
.near-fallback { padding: 24px; }
.pin-home { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 3px solid var(--forest); box-shadow: 0 4px 14px rgba(0, 0, 0, .28); }
.pin-home img { width: 38px; height: 38px; display: block; }
.pin-place { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--forest); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: background-color .15s, border-color .15s; }
.pin-place.on { border-color: var(--a-orange); background: var(--a-yellow); }
.pin-mover { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: #fff; border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.pin-mover svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pin-mover.is-walking svg { animation: step .5s ease-in-out infinite alternate; }
@keyframes step { from { transform: translateY(-1px); } to { transform: translateY(1px); } }
.near-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.near-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 10px; background: var(--sage); }
.near-mode button { min-height: 44px; border: 0; border-radius: 8px; background: transparent; font-weight: 500; }
.near-mode button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.near-group + .near-group { margin-top: 14px; }
.near-group h3 { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 4px; }
.near-item { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 44px; padding: 9px 12px; border: 0; border-radius: 8px; background: transparent; text-align: left; line-height: 1.25; transition: background-color .12s; }
.near-item:hover { background: var(--paper); }
.near-item.on { background: var(--sage); box-shadow: inset 4px 0 0 var(--a-orange); }
.near-name { font-weight: 500; }
.near-time { flex: none; font-size: .92rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 899px) {
  .near-grid { grid-template-columns: minmax(0, 1fr); }
  .near-map-wrap { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .pin-mover.is-walking svg { animation: none; }
}


/* Have these ready */
.ready { margin-top: 24px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--forest-deep); }
.ready h3 { margin-bottom: 10px; }
.ready-list li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; line-height: 1.35; }
.ready-list .ico { margin-top: 1px; color: var(--a-lime); }
.ready p { margin-top: 10px; font-size: .95rem; color: var(--on-forest-soft); }

/* Included in your rent */
.incl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 6px 0 32px; }
.incl li { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; border-radius: var(--r-md); background: var(--paper); line-height: 1.25; font-weight: 500; font-size: .95rem; }
.incl-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--ink); }
.incl-ico .ico { width: 24px; height: 24px; stroke-width: 1.6; }
.i-a { --tint: #c6ecfd; }
.i-b { --tint: #dff3bd; }
.i-c { --tint: #ffd9c2; }
.i-d { --tint: #ffedb0; }
@media (max-width: 980px) { .incl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .incl li:last-child { grid-column: 1 / -1; }
}


/* Map background comes from the map style itself, so no colour filter is needed */
.near-map .leaflet-tile-pane { filter: none; }
.near-fallback-over { position: absolute; z-index: 500; top: 14px; right: 14px; max-width: 70%; padding: 10px 14px; border-radius: 8px; background: #fff; }

/* Contact us */
.contacts-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.contacts .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.contacts .link-row { font-size: .9rem; overflow-wrap: normal; gap: 8px; }
.contacts .link-row .ico { width: 18px; height: 18px; }

/* Notes */
.shot figcaption p + p { margin-top: 8px; }
.extras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.extra p + p { margin-top: 10px; }
.extra strong { font-weight: 600; }
.extra-price { font-weight: 600; }
.x-garden { background: var(--sage); box-shadow: inset 0 5px 0 var(--a-sky); }
@media (max-width: 980px) { .extras { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .contacts .link-row { font-size: .8rem; gap: 6px; }
  .contacts .link-row .ico { width: 16px; height: 16px; }
}
@media (max-width: 720px) { .near-chip { bottom: 44px; } .near-map .leaflet-control-attribution { font-size: 10px; line-height: 1.2; } }


/* What to expect in your room */
.every { display: none; }
.expect { margin-top: 18px; }
.expect-toggle { display: flex; align-items: center; gap: 16px; width: 100%; padding: 14px 18px; border: 0; border-radius: var(--r-lg); background: var(--forest); color: var(--on-forest); text-align: left; transition: background-color .15s; }
.expect-toggle:hover { background: var(--forest-deep); }
.expect-icons { display: flex; flex: none; }
.expect-icons i { display: grid; place-items: center; width: 42px; height: 42px; margin-left: -8px; border-radius: 10px; border: 2px solid var(--forest); background: var(--tint); color: var(--ink); }
.expect-icons i:first-child { margin-left: 0; }
.expect-words { display: grid; flex: 1; min-width: 0; gap: 1px; line-height: 1.3; }
.expect-words strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.expect-words span { font-size: .95rem; color: var(--on-forest-soft); }
.expect-chev { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--a-yellow); color: var(--ink); transition: transform .2s var(--ease); }
.expect-toggle[aria-expanded="true"] .expect-chev { transform: rotate(180deg); }
.expect-panel { padding: clamp(20px, 3vw, 34px) 0 6px; animation: panel-in .28s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.expect-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px clamp(20px, 3vw, 40px); margin-bottom: 22px; }
.expect-intro h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.12; }
.exp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.exp-card { padding: 18px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid #dfe5e8; }
.exp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.exp-card li { position: relative; padding: 5px 0 5px 22px; line-height: 1.3; font-size: .97rem; }
.exp-card li::before, .pd-inc li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 11px; height: 6px; border-left: 2px solid var(--brand-green); border-bottom: 2px solid var(--brand-green); transform: rotate(-45deg); }
.expect-foot { margin-top: 14px; color: var(--ink-soft); }
.expect-foot a { color: var(--brand-blue); font-weight: 500; text-underline-offset: 3px; }
.pd-inc li { position: relative; padding: 3px 0 3px 22px; line-height: 1.3; font-size: .95rem; }

/* Contact us */
.contacts { margin-top: clamp(28px, 4vw, 48px); padding: clamp(18px, 2.4vw, 28px); border: 0; border-radius: var(--r-lg); background: var(--forest-deep); }
.contacts-top { align-items: center; }
.contacts-top h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.contacts-top p { margin-top: 3px; color: var(--on-forest-soft); }
#contact-toggle .ico { transition: transform .2s var(--ease); }
#contact-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.person-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; animation: panel-in .28s var(--ease); }
.person-card { display: flex; overflow: hidden; border-radius: var(--r-md); background: #fff; color: var(--ink); }
.person-mark { position: relative; flex: none; width: clamp(92px, 11vw, 140px); }
.person-mark::before { content: ''; position: absolute; inset: 0; background: var(--panel); clip-path: polygon(0 0, 100% 9%, 84% 100%, 0 100%); }
.person-mark span { position: absolute; inset: 0; display: grid; place-items: center; padding-right: 10%; font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 5vw, 4.4rem); color: var(--ink); }
.p-sky { --panel: var(--a-sky); }
.p-orange { --panel: var(--a-orange); }
.person-body { flex: 1; min-width: 0; padding: 18px 20px 14px 14px; }
.person-body h4 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.person-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.person-actions .btn { flex: 1 1 auto; min-height: 46px; padding: 8px 14px; font-size: .95rem; white-space: nowrap; }
.person-mail { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; font-size: .92rem; color: var(--brand-blue); overflow-wrap: normal; line-height: 1.2; text-underline-offset: 3px; }
.person-mail .ico { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expect-intro { grid-template-columns: minmax(0, 1fr); }
  .person-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .exp-grid { grid-template-columns: minmax(0, 1fr); }
  .expect-toggle { padding: 12px; gap: 10px; }
  .expect-icons i:nth-child(n + 2) { display: none; }
  .contacts-top .btn { width: 100%; }
}

.extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .extras { grid-template-columns: minmax(0, 1fr); } }


/* Inside the rooms */
.room-shots { margin-top: clamp(32px, 4vw, 52px); }
.room-shots-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; align-items: end; margin-bottom: 14px; }
.room-shots-head h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
.room-shots-head p { color: var(--ink-soft); }
.rs-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.rs-item { position: relative; grid-column: span 3; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: var(--sage); }
.rs-item.wide { grid-column: span 4; }
.rs-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.rs-item:hover img { transform: scale(1.04); }
.rs-item span { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 6px; background: var(--forest); color: #fff; font-size: .85rem; }
.expect { margin-top: 14px; }

/* Photo viewer */
.photo-box { width: min(1200px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-lg); background: #111; overflow: hidden; }
.photo-box::backdrop { background: rgba(0, 0, 0, .8); }
.photo-box img { display: block; width: 100%; max-height: calc(100dvh - 72px); object-fit: contain; }
.pb-cap { padding: 11px 16px; color: #fff; font-size: .95rem; }
.pb-btn { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); }
.pb-close { top: 12px; right: 12px; }
.pb-prev { left: 12px; top: 50%; margin-top: -22px; }
.pb-next { right: 12px; top: 50%; margin-top: -22px; }

/* Sticky notes */
.sticky { position: absolute; z-index: 2; display: grid; place-items: center; padding: 14px 12px; background: var(--a-yellow); color: var(--ink); font-family: 'Caveat', cursive; font-weight: 600; line-height: 1; text-align: center; box-shadow: 0 8px 16px rgba(0, 0, 0, .18); }
.sticky::before { content: ''; position: absolute; top: -10px; left: 50%; width: 58px; height: 20px; margin-left: -29px; background: rgba(255, 255, 255, .6); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); transform: rotate(-4deg); }

/* Hartskos */
.hartskos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); margin-top: clamp(32px, 4vw, 52px); border-radius: var(--r-lg); background: #fff; }
.hart-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 52px); }
.hart-copy h3 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.08; margin-bottom: 14px; padding-right: 40px; }
.hart-price { margin-top: 18px; font-size: 1.1rem; }
.hart-price strong { font-family: var(--serif); font-weight: 500; font-size: 2.3rem; color: var(--a-orange); }
.hart-img { min-width: 0; overflow: hidden; border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.hart-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sticky-opt { top: -16px; right: -30px; width: 128px; height: 112px; font-size: 2.1rem; transform: rotate(6deg); }

/* Cleaning */
.cleaning { position: relative; margin-top: 14px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--forest); color: var(--on-forest); }
.cleaning > h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; padding-right: 130px; }
.clean-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px clamp(24px, 4vw, 56px); }
.clean-cols h4 { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--a-yellow); }
.sticky-inc { top: -14px; right: 26px; width: 112px; height: 100px; font-size: 1.65rem; transform: rotate(-5deg); }

@media (max-width: 900px) {
  .hartskos { grid-template-columns: minmax(0, 1fr); }
  .hart-img { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .sticky-opt { top: -14px; right: 12px; width: 112px; height: 98px; font-size: 1.8rem; }
  .hart-copy h3 { padding-right: 100px; }
}
@media (max-width: 720px) {
  .room-shots-head { grid-template-columns: minmax(0, 1fr); }
  .rs-item { grid-column: span 6; }
  .rs-item.wide { grid-column: span 12; }
  .rs-item:last-child { grid-column: span 12; }
  .clean-cols { grid-template-columns: minmax(0, 1fr); }
}
.cleaning > h3 { padding-right: 0; }


/* ==================== Phone: behaves like an app ==================== */
.tabbar, .read-more { display: none; }
@media (min-width: 721px) { .shot figcaption .read-more { display: none; } }
@media (max-width: 720px) {
  :root { --gutter: 16px; --tabbar: calc(62px + env(safe-area-inset-bottom)); }
  html { scroll-padding-top: 72px; -webkit-tap-highlight-color: transparent; }
  body { padding-bottom: var(--tabbar); }
  .desk-only { display: none; }
  .sec { padding-block: 40px; }
  h2 { font-size: 2.05rem; line-height: 1.12; }
  .lede { font-size: 1.05rem; margin-top: 6px; }
  .btn:hover { transform: none; }
  .btn:active, .tile:active, .tab-link:active { opacity: .75; }

  /* Bottom tabs, within thumb reach */
  .tabbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: var(--tabbar); padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -1px 0 #dfe5e8, 0 -6px 18px rgba(0, 0, 0, .07); }
  .tab-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; color: var(--ink-soft); font-size: .72rem; font-weight: 500; text-decoration: none; }
  .tab-link .ico { width: 24px; height: 24px; }
  .tab-link.on { color: var(--ink); }
  .tab-link.on .ico { color: var(--a-orange); }
  .tab-link[data-tab="apply"] span { color: var(--ink); }
  .tab-link[data-tab="apply"] .ico { width: 34px; height: 26px; padding: 4px 6px; border-radius: 8px; background: var(--a-yellow); color: var(--ink); }
  .is-typing .tabbar { display: none; }
  .is-typing { padding-bottom: 0; }

  /* Top bar stays slim */
  .bar { height: 60px; }
  .brand img { height: 50px; }
  .menu-toggle { min-height: 42px; padding: 6px 12px; }
  .nav { top: 60px; }
  .nav a.nav-cta { display: none; }

  /* Hero fills exactly one screen */
  .hero-in { min-height: calc(100dvh - 60px - 58px - var(--tabbar)); padding-block: 24px; }
  .hero-actions .btn { flex: 1 1 0; padding-inline: 10px; }
  .hero-pause { top: 12px; right: 12px; bottom: auto; }

  /* Swipe rows, with the next item peeking in */
  .shots, .rs-grid, .layers { display: flex; flex-direction: row; gap: 10px; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; align-items: flex-start; }
  .shots::-webkit-scrollbar, .rs-grid::-webkit-scrollbar, .layers::-webkit-scrollbar, .near-list::-webkit-scrollbar, .tabs::-webkit-scrollbar, .toggles::-webkit-scrollbar { display: none; }

  /* Room picker: a clean list instead of a wall of tiles */
  .picker { padding-top: 32px; }
  .picker-head { gap: 14px; margin-bottom: 14px; }
  .tags { justify-content: space-between; }
  .controls { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 14px; margin-bottom: 8px; }
  .budget input { height: 44px; }
  .budget-ends { margin-top: -6px; }
  .budget output { font-size: 1.6rem; }
  .match strong { font-size: 2.3rem; }
  .toggles { flex-wrap: nowrap; margin-inline: -14px; padding-inline: 14px; overflow-x: auto; scrollbar-width: none; }
  .toggles-label { display: none; }
  .toggle { flex: none; white-space: nowrap; }
  .map, .map-row { gap: 14px; }
  .map-row { flex-direction: column; }
  .bld, .bld[data-b] { flex: none; width: 100%; }
  .bld:not(:has(.tile:not(.out))) { display: none; }
  .bld-name { margin: 6px 0 4px; }
  .bld-tiles { flex-direction: column; flex-wrap: nowrap; gap: 0; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid #dfe5e8; }
  .tile { flex: none; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; grid-template-areas: "num tag rent" "num size btn"; align-items: center; gap: 0 8px; width: 100%; min-height: 66px; padding: 9px 12px; border: 0; border-radius: 0; border-top: 1px solid #e9edef; }
  .tile:first-child { border-top: 0; }
  .tile:hover, .tile:focus-visible { transform: none; }
  .map.filtering .tile:not(.out) { background: #fff; border-color: #e9edef; }
  .tile.out { display: none; }
  .t-num { grid-area: num; font-size: 2.1rem; }
  .t-tag { grid-area: tag; margin: 0; font-size: .95rem; font-weight: 500; color: var(--ink); }
  .map.filtering .tile:not(.out) .t-tag { color: var(--ink); }
  .t-size { grid-area: size; font-size: .88rem; color: var(--ink-soft); }
  .t-rent { grid-area: rent; margin: 0; text-align: right; }
  .t-btn { grid-area: btn; margin: 0; padding: 0; justify-self: end; font-size: .85rem; }

  /* Room photos */
  .room-shots { margin-top: 28px; }
  .room-shots-head h3 { font-size: 1.5rem; }
  .room-shots-head p { font-size: .92rem; }
  .rs-item, .rs-item.wide, .rs-item:last-child { flex: 0 0 80%; scroll-snap-align: start; }
  .rs-item:hover img { transform: none; }
  .expect-words strong { font-size: 1.08rem; }
  .expect-words span { font-size: .85rem; }

  /* Life at the village */
  .gallery { padding-top: 0; }
  .gallery-head { margin-bottom: 12px; }
  .shots { gap: 12px; }
  .shot { flex: 0 0 84%; scroll-snap-align: start; }
  .photo, .s-village .photo, .s-lapa .photo { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .s-village h3, .s-lapa h3 { font-size: 1.3rem; }
  .shot figcaption { padding-top: 10px; font-size: .95rem; }
  .can-fold.folded p:not(:first-of-type) { display: none; }
  .can-fold.folded p:first-of-type { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .read-more { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--brand-blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
  .hartskos { margin-top: 20px; }
  .hart-copy { padding: 20px; }
  .hart-copy h3 { font-size: 1.6rem; }
  .cleaning { padding: 20px; }
  .cleaning > h3 { font-size: 1.45rem; }

  /* Team */
  .team-head { margin-bottom: 18px; }
  .member p { margin-top: 6px; font-size: 1.05rem; }

  /* Nearby: the map stays put while places swipe below it */
  .nearby-head { margin-bottom: 14px; }
  .near-map-wrap { min-height: 340px; }
  .near-chip { bottom: 30px; left: 10px; padding: 8px 12px; }
  .near-side { gap: 10px; }
  .near-list { display: flex; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
  .near-group, .near-group ul, .near-group li { display: contents; }
  .near-group h3 { display: none; }
  .near-item { flex: 0 0 170px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 6px; min-height: 84px; padding: 11px 12px; border: 1px solid #dfe5e8; border-radius: var(--r-md); background: #fff; }
  .near-item.on { background: var(--sage); border-color: var(--a-orange); box-shadow: none; }
  .near-name { font-size: .95rem; }
  .nearby-map { margin-top: 12px; font-size: .92rem; }

  /* Safety */
  .safety-in { gap: 16px; }
  .layers li { flex: 0 0 80%; scroll-snap-align: start; grid-template-columns: 42px minmax(0, 1fr); align-self: stretch; padding: 16px; border: 0; border-radius: var(--r-md); background: var(--forest); }
  .layers li::before { font-size: 2rem; }
  .layers h3 { font-size: 1.1rem; }

  /* Costs and rules */
  .tabs { flex-wrap: nowrap; margin: 16px calc(var(--gutter) * -1) 10px; padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .tab { flex: none; white-space: nowrap; }
  .panel { padding: 16px; }
  .incl { gap: 8px; margin-bottom: 22px; }
  .incl li { flex-direction: row; align-items: center; gap: 8px; padding: 8px; font-size: .85rem; }
  .incl-ico { flex: none; width: 36px; height: 36px; }
  .incl-ico .ico { width: 20px; height: 20px; }
  .costs > div { font-size: .93rem; gap: 12px; }
  .costs dd { max-width: 42%; white-space: normal; }

  /* Enquiry first, the supporting details after */
  .apply-grid { display: flex; flex-direction: column-reverse; gap: 24px; margin-top: 16px; }
  .enquiry { padding: 16px; }
  .fm-nav .btn { min-height: 50px; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); padding: 12px 0; }
  .steps li::before { font-size: 1.9rem; }
  .steps h3 { font-size: 1.1rem; }
  .ready { padding: 16px; }
  .contacts { margin-top: 24px; padding: 16px; }
  .person-mark { width: 74px; }
  .person-mark span { font-size: 2.6rem; }
  .person-body { padding: 14px 12px 8px 8px; }

  /* Footer */
  .foot { padding-block: 28px 20px; }
  .foot-big { font-size: 2.4rem; line-height: 1.05; }
  .foot-row { font-size: .9rem; }

  /* Floorplan: the Enquire button is always in reach */
  .pd-sheet { padding-bottom: 0; }
  .pd-cta { position: sticky; bottom: 0; z-index: 2; margin: 12px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 #e3e8eb; }
  .pd-scale { padding-bottom: 12px; }
  .pd-sheet { display: flex; flex-direction: column; }
  .pd-cta { order: 10; }
}
@media (max-width: 720px) { .enquiry { scroll-margin-top: 0; } }

/* Phone hero: full-screen video with the words on top, like the website */
@media (max-width: 720px) {
  .hero { display: flex; flex-direction: column; min-height: calc(100dvh - 60px - var(--tabbar)); }
  .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero-shade { display: block; background: linear-gradient(0deg, rgba(30, 37, 41, .92) 0%, rgba(30, 37, 41, .72) 38%, rgba(30, 37, 41, .12) 68%, rgba(30, 37, 41, 0) 100%); }
  .hero-pause { top: 10px; right: 10px; bottom: auto; }
  .hero-in { flex: 1; min-height: 0; align-items: end; padding-block: 20px; }
  .hero h1 { font-size: clamp(2.3rem, min(12vw, 6.6dvh), 3.4rem); }
  .hero-lede { margin-top: 8px; font-size: clamp(.95rem, 2.2dvh, 1.1rem); line-height: 1.35; }
  .hero-actions { margin-top: clamp(10px, 2dvh, 20px); }
  .ticker { flex: none; height: 46px; }
  .ticker-track { font-size: 1.1rem; }
}
@media (max-width: 720px) and (max-height: 600px) {
  .hero-in { padding-block: 12px; }
  .hero-lede { font-size: .9rem; line-height: 1.3; }
  .hero-actions .btn { min-height: 46px; padding-block: 8px; }
}


/* Arrows and counters for phone photo rows */
.car-ctl { display: none; }
@media (max-width: 720px) {
  /* One whole item at a time, so nothing is cut off at the edge */
  .rs-grid, .shots, .layers { gap: var(--gutter); }
  .rs-item, .rs-item.wide, .rs-item:last-child, .shot, .layers li { flex: 0 0 100%; min-width: 0; }
  .car-ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
  .car-count { font-size: .95rem; font-weight: 500; text-align: center; }
  .car-btn { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--a-yellow); color: var(--ink); }
  .car-btn:disabled { background: rgba(120, 130, 136, .22); color: rgba(60, 68, 72, .55); cursor: default; }
  .safety .car-btn:disabled { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .5); }

  /* Key tags share the width evenly */
  .tags { gap: 6px; padding-inline: 2px; }
  .tag, .tag-a, .tag-b, .tag-c { flex: 1 1 0; width: auto; min-width: 0; }
  .sticker { flex: 1 1 0; width: auto; min-width: 0; aspect-ratio: 1; padding: 2px; }
  .sticker strong { font-size: clamp(.82rem, 3.8vw, 1rem); }

  /* Budget and filters: everything visible */
  .budget label { white-space: nowrap; }
  .budget output { font-size: clamp(1.25rem, 6vw, 1.6rem); }
  .toggles { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .toggle { flex: 1 1 auto; white-space: normal; padding-inline: 12px; }

  /* Nearby places: all visible in two columns, tap to see the route on the map */
  .near-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; padding: 0; overflow: visible; }
  .near-item { width: 100%; height: 100%; min-width: 0; }

  /* Costs and rules tabs: all four visible */
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; }
  .tab { width: 100%; padding-inline: 8px; white-space: normal; }

  .person-actions .btn { white-space: normal; }
}

@media (max-width: 720px) {
  .seg-btn { min-height: 44px; }
  .person-body { min-width: 0; }
  .person-mail { overflow-wrap: anywhere; }
  .person-mail span { min-width: 0; }
}
@media (max-width: 400px) {
  .person-mark { width: 52px; }
  .person-mark span { font-size: 2rem; padding-right: 14%; }
  .person-actions .btn { flex: 1 1 100%; }
}


/* Back and Next at the bottom of Costs and rules */
.panel-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(31, 42, 31, .16); }
.panel-next { margin-left: auto; }
@media (max-width: 720px) {
  .panel-nav .btn { flex: 1 1 100%; margin-left: 0; }
  .panel-next { order: -1; }
}

@media (max-width: 720px) {
  .incl li { min-width: 0; overflow-wrap: anywhere; }
  .shots { align-items: flex-start; }
}
@media (max-width: 380px) {
  .incl { grid-template-columns: minmax(0, 1fr); }
  .incl li:last-child { grid-column: auto; }
}
@media (max-width: 720px) { .hartskos { margin-top: 34px; } }


/* Nearby on phones: one place at a time, left to right, and the page stays still */
html { overflow-x: clip; }
.near-ctl { display: none; }
@media (max-width: 720px) {
  .near-side { position: static; }
  .near-list { display: flex; gap: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .near-item { flex: 0 0 100%; height: auto; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 12px 14px; scroll-snap-align: start; }
  .near-name { min-width: 0; }
  .near-time { flex: none; font-weight: 500; color: var(--ink); }
  .near-ctl { display: flex; }
}


/* Map, Drive/Walk, place and arrows all fit on one phone screen */
@media (max-width: 720px) {
  .near-map-wrap { min-height: 0; height: clamp(170px, calc(100dvh - 60px - var(--tabbar) - 228px), 400px); }
  .near-side { gap: 8px; }
  .near-grid { gap: 10px; }
  .near-chip { bottom: 22px; left: 8px; padding: 6px 10px; }
  .near-chip strong { font-size: .92rem; }
  .near-chip span { font-size: .85rem; }
  .near-map .leaflet-control-attribution { font-size: 9px; white-space: nowrap; }
  .near-item { min-height: 58px; padding-block: 8px; }
  .near-mode button { min-height: 44px; }
}
@media (max-width: 900px) { .hart-img { aspect-ratio: 1400 / 1172; } .hart-img img { height: 100%; } }


/* Fixes from the full test */
.fm-field textarea[readonly] { resize: none; background: rgba(0, 0, 0, .05); line-height: 1.35; }
.hart-price strong { color: #c24e00; }
.tag-a { color: #14191b; }
@media (max-width: 720px) {
  body:not(:has(.tabbar)) { padding-bottom: 0; }
  .tab-link { font-size: .75rem; }
  .tag span:last-child, .sticker { font-size: .75rem; }
  .tag-a span:last-child { letter-spacing: -.01em; }
  /* Whole building view: fewer, larger labels */
  .pd-svg svg:not(.focus) .pl-name { font-size: 54px; }
  .pd-svg svg:not(.focus) .pl-size, .pd-svg svg:not(.focus) .pl-t { display: none; }
}


/* Phone hero: the whole video frame with nothing cropped, headline on top of it, details below */
@media (max-width: 720px) {
  .hero { --hh: clamp(2.1rem, 10.5vw, 3rem); min-height: 0; display: block; }
  .hero-video { position: relative; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
  .hero-shade { display: block; inset: 0 0 auto 0; height: auto; aspect-ratio: 16 / 9; background: linear-gradient(0deg, rgba(47, 56, 61, 1) 0%, rgba(47, 56, 61, .72) 34%, rgba(47, 56, 61, 0) 68%); }
  .hero-in { min-height: 0; margin-top: calc(var(--hh) * -2.04 - 10px); padding-block: 0 20px; align-items: start; }
  .hero h1 { font-size: var(--hh); line-height: 1.02; }
  .hero-lede { margin-top: 14px; font-size: 1.02rem; line-height: 1.4; }
  .hero-actions { margin-top: 16px; }
  .hero { background: #2f383d; }
}
@media (max-width: 720px) and (max-height: 600px) {
  .hero-in { padding-block: 0 14px; }
  .hero-lede { margin-top: 10px; font-size: .95rem; }
}

@media (max-width: 720px) {
  .hero-shade { background: linear-gradient(0deg, rgba(47, 56, 61, .78) 0%, rgba(47, 56, 61, .42) 30%, rgba(47, 56, 61, 0) 58%); }
  .hero h1 { text-shadow: 0 1px 14px rgba(0, 0, 0, .6), 0 0 3px rgba(0, 0, 0, .35); }
}
@media (max-width: 720px) { .foot-big { font-size: 7.7vw; line-height: 1.1; white-space: nowrap; } }
@media (max-width: 720px) { .pd-svg svg:not(.focus) .pl-name { font-size: 40px; } }

/* Privacy notice on top of the form */
.privacy-box { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); max-width: none; padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; color: var(--ink); overflow: hidden; }
.privacy-box[open] { display: flex; flex-direction: column; }
.privacy-box::backdrop { background: rgba(0, 0, 0, .6); }
.privacy-box-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 22px; border-bottom: 1px solid #e3e8eb; }
.privacy-box-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.privacy-box-x { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); }
.privacy-box-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 24px; line-height: 1.55; }
.privacy-box-body:focus { outline: none; }
.privacy-box-body .lede { font-size: 1.05rem; }
.privacy-box-body h2 { font-size: 1.25rem; margin: 22px 0 6px; }
.privacy-box-body p + p { margin-top: 10px; }
.privacy-box-body ul { list-style: disc; padding-left: 22px; }
.privacy-box-body li { margin-top: 4px; }
.privacy-box-body a { color: var(--brand-blue); }
.privacy-box-foot { padding: 12px 22px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #e3e8eb; }
.privacy-box-foot .btn { width: 100%; }
@media (max-width: 720px) {
  .privacy-box { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .privacy-box-top, .privacy-box-body, .privacy-box-foot { padding-inline: 16px; }
}

/* Phone: keep fields clear of the bottom tabs when the page scrolls to them */
@media (max-width: 720px) { html { scroll-padding-bottom: calc(var(--tabbar) + 12px); } }


/* Facebook and Instagram */
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); }
.social-label { width: 100%; font-weight: 500; }
.social-link { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 8px 18px; border: 1.5px solid currentColor; border-radius: 10px; text-decoration: none; font-weight: 500; transition: background-color .15s, color .15s; }
.social-link:hover { background: var(--a-yellow); border-color: var(--a-yellow); color: var(--ink); }
.contact-social { margin-top: 6px; color: var(--on-forest-soft); }
.contact-social a { color: var(--a-yellow); text-underline-offset: 3px; }
@media (max-width: 720px) { .social-link { flex: 1 1 0; justify-content: center; } }


/* Picture-tile map (used when a phone can't draw the vector map): soften to match */
.near-tiles { filter: saturate(.35) brightness(1.05) contrast(.95); }
