/* Lovain property sites: one stylesheet for every property. White pages
   alternating with deep "night" sections, one accent colour per property (its theme tokens are
   appended by the build, with the map and photo-tone rules). Display type is
   Bodoni Moda; text and labels are Jost. No inline styles: the CSP forbids
   them. */

@font-face { font-family: "Bodoni Moda"; src: url("/assets/fonts/bodoni-moda-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; src: url("/assets/fonts/bodoni-moda-macrons-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0100-0101, U+0112-0113, U+012A-012B, U+014C-014D, U+016A-016B; }
@font-face { font-family: "Jost"; src: url("/assets/fonts/jost-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; src: url("/assets/fonts/jost-macrons-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-0101, U+0112-0113, U+012A-012B, U+014C-014D, U+016A-016B; }

:root {
  color-scheme: only light;
  /* Defaults; each property's theme overrides these. */
  --white: #FFFFFF;
  --ink: #121614;
  --ink-2: #3A413D;
  --muted: #5C6560;
  --line: #E0E3E1;
  --line-strong: #C3C9C5;
  --surface: #F3F4F3;
  --night: #0E1311;
  --night-2: #161C19;
  --on-night: #F2F3F1;
  --on-night-2: #B6BEB9;
  --accent: #A57A48;
  --accent-text: #7D592D;
  --accent-dark: #CFAB7B;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 80rem;
  --section: clamp(5.5rem, 11vw, 10rem);
  --header-h: 4.5rem;
  --radius: 0;
  --ease: cubic-bezier(.22, .7, .18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); background: var(--white); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums proportional-nums;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--accent) 28%, white); color: var(--ink); }

.is-locked { overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--white); padding: .75rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.125rem; height: 1.125rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon .fill { fill: currentColor; stroke: none; }

/* Type */
.eyebrow { display: flex; align-items: center; gap: 1rem; font-size: .75rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: var(--accent); flex: none; }
.eyebrow--light { color: var(--on-night-2); }
.hero .eyebrow--light { color: #E3E7E4; }
.eyebrow--light::before { background: var(--accent-dark); }
.display { font-family: var(--display); font-variation-settings: "opsz" 16; font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.display--light { color: var(--on-night); }
.lede { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.38; letter-spacing: -.005em; color: var(--ink); text-wrap: pretty; }
.kicker { font-size: .75rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem; }
.fineprint { margin-top: 2.5rem; font-size: .8125rem; line-height: 1.6; color: var(--muted); max-width: 52rem; }

/* Buttons: ink on white is the primary action; white on photos and night. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .8rem 1.6rem;
  font-family: var(--sans); font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 2.75rem; padding: .6rem 1.15rem; font-size: .75rem; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #2C332F; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: color-mix(in srgb, var(--accent-dark) 22%, white); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .6); color: var(--on-night); background: rgba(10, 14, 12, .14); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: var(--on-night); }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; min-height: 2.75rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--header-h);
  color: var(--on-night);
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0 0 -2.5rem; background: linear-gradient(to bottom, rgba(8, 11, 10, .5), rgba(8, 11, 10, 0)); pointer-events: none; transition: opacity .45s var(--ease); }
.site-header.is-solid { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-solid::before { opacity: 0; }
.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; flex-direction: column; justify-content: center; min-height: 2.75rem; text-decoration: none; line-height: 1.05; }
.wordmark__name { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.4rem; font-weight: 400; letter-spacing: -.01em; }
.wordmark__place { font-size: .625rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; opacity: .8; margin-top: .25rem; }
.site-nav { display: flex; gap: clamp(1rem, 2vw, 2.1rem); }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; opacity: .88; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .55rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-header__end { display: flex; align-items: center; gap: .75rem; }
.btn--header { background: var(--white); color: var(--ink); }
.site-header.is-solid .btn--header { background: var(--ink); color: var(--white); }
.menu-toggle { display: none; min-height: 2.75rem; min-width: 2.75rem; padding: 0 .9rem; background: transparent; border: 1px solid currentColor; border-radius: var(--radius); font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .btn--header { display: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0;
    padding: 1rem var(--gutter) 2rem; background: var(--white); color: var(--ink);
    box-shadow: 0 1px 0 var(--line), 0 24px 48px rgba(18, 22, 20, .12);
    visibility: hidden; opacity: 0; transform: translateY(-.5rem);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .site-nav a { min-height: 3.5rem; font-size: .8125rem; border-bottom: 1px solid var(--line); opacity: 1; }
  .site-nav a::after { display: none; }
  .site-header.is-menu { background: var(--white); color: var(--ink); }
  .site-header.is-menu::before { opacity: 0; }
}

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-night); background: var(--night); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; animation: hero-settle 2.8s var(--ease) both; }
@keyframes hero-settle { from { transform: scale(1.07); opacity: .001; } to { transform: none; opacity: 1; } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to right, rgba(8, 11, 10, .66) 0%, rgba(8, 11, 10, .4) 40%, rgba(8, 11, 10, 0) 70%),
  linear-gradient(to top, rgba(8, 11, 10, .86) 0%, rgba(8, 11, 10, .5) 38%, rgba(8, 11, 10, .06) 66%, rgba(8, 11, 10, .25) 100%); }
@media (max-width: 700px) {
  .hero__shade { background: linear-gradient(to top, rgba(8, 11, 10, .93) 0%, rgba(8, 11, 10, .82) 42%, rgba(8, 11, 10, .62) 66%, rgba(8, 11, 10, .42) 84%, rgba(8, 11, 10, .48) 100%); }
}
.hero__content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 8vh, 5.5rem); text-shadow: 0 1px 18px rgba(8, 11, 10, .35); }
.hero__content .btn { text-shadow: none; }
.hero__title { font-family: var(--display); font-variation-settings: "opsz" 12; font-weight: 400; font-size: clamp(3.5rem, 10.5vw, 9.75rem); line-height: .92; letter-spacing: -.035em; margin: 0 0 1.6rem; text-wrap: balance; }
.hero__lead { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: clamp(1.3rem, 2.2vw, 1.85rem); line-height: 1.32; max-width: 38rem; color: #EEF0EE; text-wrap: pretty; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 0; margin-top: 2rem; font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #E2E6E3; }
.hero__facts li { display: inline-flex; align-items: baseline; gap: .4rem; }
.hero__facts li + li::before { content: ""; display: inline-block; width: 1.5rem; height: 1px; margin: 0 1rem; align-self: center; background: rgba(255, 255, 255, .45); }
.hero__fact-num { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.15rem; letter-spacing: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__sale { display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; align-items: baseline; gap: .25rem .8rem; margin-top: 1.75rem; font-size: .9375rem; color: #EEF0EE; }
.hero__sale-label { font-size: .6875rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-dark); }
@media (max-width: 700px) {
  .hero__content { padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 2.25rem; }
  .hero__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; margin-top: 1.5rem; }
  .hero__facts li + li::before { display: none; }
  .hero__actions { margin-top: 1.75rem; }
  .hero__actions .btn { flex: 1 1 auto; }
}
@media (max-aspect-ratio: 4/5) { .hero__img { object-position: 40% 45%; } }

/* Sections */
.section { padding-block: var(--section); position: relative; }
.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); max-width: 56rem; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; }
.section-head__aside { color: var(--ink-2); max-width: 34rem; }
.section-head__aside p + p { margin-top: 1rem; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }

/* Night sections: the page moves between light and deep night (hero, the home's
   story, the gallery when there is no story, the film, the schools, the agents),
   so no long run of white. Inside one the tokens turn over, so every component
   (type, lines, chips, buttons, cards) reads light on night without its own rule. */
.section--night {
  --ink: var(--on-night); --ink-2: var(--on-night-2); --muted: #98A29C;
  --line: rgba(255, 255, 255, .12); --line-strong: rgba(255, 255, 255, .26);
  --accent-text: var(--accent-dark); --white: var(--night);
  background: var(--night); color: var(--on-night);
}
.section--night .eyebrow::before { background: var(--accent-dark); }
.section--night + .section--night, .section--night + .film, .film + .section--night { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }

/* Overview */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.intro__lead .display { font-size: clamp(2.3rem, 4.4vw, 4rem); }
.intro__body > p + p { margin-top: 1.5rem; color: var(--ink-2); }
.intro__body > .lede { font-size: clamp(1.2rem, 1.55vw, 1.42rem); line-height: 1.52; }
.facts { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.facts__item { padding: 1.4rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.facts__item:not(:nth-child(3n + 1)) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts dt { font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.3; margin-top: .5rem; }
.intro__media { margin-top: clamp(3.5rem, 7vw, 6rem); }
.intro__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; aspect-ratio: 21 / 9; }
.intro__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.intro__btn:hover .intro__img { transform: scale(1.02); }
.intro__media figcaption { margin-top: 1rem; font-size: .875rem; color: var(--muted); }
@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__btn { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__item:nth-child(n) { padding-left: 0; border-left: 0; }
  .facts__item:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .facts__item:nth-child(n) { padding: 1.1rem 0; border-left: 0; }
}

/* Architecture */
.architecture { background: var(--night); color: var(--on-night); }
.architecture__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.architecture__media { overflow: hidden; aspect-ratio: 4 / 5; }
.architecture__img { width: 100%; height: 100%; object-fit: cover; }
.architecture__text > p { margin-top: 1.25rem; color: var(--on-night-2); max-width: 36rem; }
.architecture__text > .architecture__lede { margin-top: 2rem; font-family: var(--display); font-variation-settings: "opsz" 16; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.4; color: var(--on-night); }
.architects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.architects dt { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.35rem; color: var(--on-night); }
.architects dd { margin-top: .4rem; font-size: .9375rem; line-height: 1.6; color: var(--on-night-2); }
@media (max-width: 900px) { .architecture__grid { grid-template-columns: 1fr; } .architecture__media { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .architects { grid-template-columns: 1fr; } }

/* The home, level by level */
.story { display: grid; gap: clamp(4rem, 9vw, 8rem); }
.story__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story__row--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.story__row--flip .story__media { order: 2; }
.story__media { overflow: hidden; aspect-ratio: 4 / 3; }
.story__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.story__row:hover .story__img { transform: scale(1.03); }
.story__title { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: clamp(1.85rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 1.25rem; text-wrap: balance; }
.story__text > p:last-child { color: var(--ink-2); max-width: 30rem; }
@media (max-width: 900px) {
  .story__row, .story__row--flip { grid-template-columns: 1fr; }
  .story__row--flip .story__media { order: 0; }
}

/* Full-bleed photo band */
.band { position: relative; min-height: clamp(28rem, 82vh, 52rem); display: flex; align-items: flex-end; color: var(--on-night); background: var(--night); overflow: hidden; isolation: isolate; }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 11, 10, .78) 0%, rgba(8, 11, 10, .3) 40%, rgba(8, 11, 10, 0) 65%); }
.band__content { padding-block: clamp(3rem, 8vw, 6rem); }
.band__text { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: 1.08; letter-spacing: -.02em; max-width: 46rem; text-wrap: balance; }

/* Key features */
.features { background: var(--night-2); color: var(--on-night); }
.features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.feature { padding: 2rem 2rem 0 0; border-top: 1px solid var(--accent-dark); }
.feature + .feature { padding-left: 2rem; border-left: 1px solid rgba(255, 255, 255, .1); }
.feature__title { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.65rem; line-height: 1.15; margin-bottom: 1rem; }
.feature__text { font-size: .9375rem; line-height: 1.65; color: var(--on-night-2); }
@media (max-width: 1000px) {
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .feature:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .features__grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .feature:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
}

/* Gallery */
.gallery__filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip__count { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: .95rem; letter-spacing: 0; opacity: .7; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; position: relative; }
.gallery__btn::after { content: ""; position: absolute; inset: 0; background: rgba(18, 22, 20, 0); transition: background-color .5s var(--ease); }
.gallery__btn:hover::after { background: rgba(18, 22, 20, .08); }
.gallery__img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery__btn:hover .gallery__img { transform: scale(1.035); }
.js .gallery.is-collapsed .gallery__item.is-extra { display: none; }
@media (max-width: 1100px) { .js .gallery.is-collapsed .gallery__item:nth-child(12) { display: none; } }
.gallery__more { display: flex; justify-content: center; margin-top: 2.5rem; }
.gallery.is-filtered .gallery__item:first-child { grid-column: auto; grid-row: auto; }
@media (max-width: 1100px) { .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .gallery__item:first-child { grid-row: auto; } }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #090C0B; color: var(--on-night); overflow: hidden; }
.lightbox::backdrop { background: #090C0B; }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 4.5rem clamp(1rem, 7vw, 6rem) 0; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; animation: fade .4s var(--ease); background: transparent; }
.lightbox__caption { padding: 1.1rem clamp(1rem, 7vw, 6rem) 1.5rem; font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.1rem; color: #E6EAE7; max-width: 60rem; }
.lightbox__count { position: absolute; left: clamp(1rem, 3vw, 2rem); top: 1.35rem; font-size: .75rem; font-weight: 500; letter-spacing: .2em; color: var(--on-night-2); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: rgba(9, 12, 11, .55); color: var(--on-night); cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.lightbox__btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }
.lightbox__btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { right: clamp(.75rem, 3vw, 2rem); top: .75rem; }
.lightbox__prev { left: clamp(.75rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.75rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
  .lightbox__prev { left: auto; right: 4.5rem; }
  .lightbox__caption { padding-right: 9rem; min-height: 5rem; }
}

/* Film */
.film { background: var(--night); color: var(--on-night); }
.film__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.film__lede { margin-top: 1.75rem; font-family: var(--display); font-variation-settings: "opsz" 16; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.4; color: #E6EAE7; max-width: 32rem; }
.film__frame { position: relative; width: min(22.5rem, 78vw); aspect-ratio: 9 / 16; background: #000; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px rgba(0, 0, 0, .45); justify-self: end; }
.film__poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.film__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s var(--ease); }
.film__poster:hover .film__img { transform: scale(1.03); filter: brightness(.92); }
.film__play { position: absolute; left: 50%; bottom: 1.5rem; display: inline-flex; align-items: center; gap: .65rem; min-height: 3rem; padding: 0 1.3rem 0 1rem; transform: translateX(-50%); border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); transition: background-color .4s var(--ease); }
.film__play svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.film__poster:hover .film__play { background: #fff; }
.film__length { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1rem; letter-spacing: 0; color: var(--muted); }
.film__grid--wide { grid-template-columns: 1fr; }
.film__frame--wide { width: 100%; max-width: 64rem; aspect-ratio: 16 / 9; border-radius: .5rem; justify-self: start; }
.film__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
  .film__grid { grid-template-columns: 1fr; }
  .film__frame { justify-self: center; }
}

/* Floor plans */
.plans__tabs { display: inline-flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .55rem 1.3rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.plans__layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.plan { background: var(--white); border: 1px solid var(--line); padding: clamp(1rem, 3vw, 2.5rem); }
.plan__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.plan__img { width: auto; max-width: 100%; max-height: 72vh; margin-inline: auto; background: none; }
.plan__caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.5rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); }
.plan__hint { color: var(--muted); }
.rooms__title { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.6rem; line-height: 1.2; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); }
.rooms__item { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.rooms__item dd { font-variant-numeric: lining-nums tabular-nums; color: var(--ink-2); white-space: nowrap; }
.rooms__note { margin-top: 1rem; font-size: .875rem; color: var(--muted); }
@media (max-width: 1000px) { .plans__layout { grid-template-columns: 1fr; } .rooms__list { columns: 2; column-gap: 2rem; } .rooms__item { break-inside: avoid; } }
@media (max-width: 560px) { .rooms__list { columns: 1; } }

/* Location */
.location { background: var(--surface); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line-strong); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.stats__item { padding: 1.5rem 1.5rem 1.5rem 0; }
.stats__item + .stats__item { padding-left: 1.5rem; border-left: 1px solid var(--line-strong); }
.stats dt { font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin-top: .4rem; font-size: .9375rem; color: var(--ink-2); }
.stats__num { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 2.6rem; line-height: 1; color: var(--ink); margin-right: .2rem; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats__item:nth-child(n + 3) { border-top: 1px solid var(--line-strong); }
}
.location__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.location__grid--list { grid-template-columns: 1fr; }
.location__grid--list .places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 4vw, 3.5rem); }
.location__grid--list .places__group + .places__group { margin-top: 0; }
@media (max-width: 1000px) { .location__grid--list .places { grid-template-columns: 1fr; } }
.map { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.seg { display: inline-flex; padding: .25rem; border: 1px solid var(--line-strong); border-radius: 999px; margin-bottom: 1rem; background: var(--white); }
.seg__btn { min-height: 2.75rem; padding: 0 1.2rem; border: 0; border-radius: 999px; background: transparent; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.map__canvas { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line-strong); background: var(--map-land, #ECEEEC); }
.map__base { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; opacity: 0; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.map__labels li, .map__pins li { visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.map__label { position: absolute; transform: translate(-50%, -50%); font-size: .625rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #4F5753; white-space: nowrap; pointer-events: none; }
.map__label--water { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: .9rem; letter-spacing: .04em; text-transform: none; color: #355057; }
@media (max-width: 600px) { .map__label--minor { display: none; } }
.pin { position: absolute; width: 0; height: 0; z-index: 1; }
.pin__dot { position: absolute; left: -.34rem; top: -.34rem; width: .68rem; height: .68rem; border-radius: 50%; background: var(--ink-2); box-shadow: 0 0 0 2px var(--white); transition: transform .35s var(--ease), background-color .35s var(--ease); }
.pin--school .pin__dot { background: var(--ink); border-radius: 1px; transform: rotate(45deg); }
.pin__label { position: absolute; left: 50%; bottom: .75rem; transform: translate(-50%, .25rem); padding: .35rem .6rem; background: var(--ink); color: var(--white); font-size: .75rem; font-weight: 500; letter-spacing: .04em; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.pin.is-active { z-index: 3; }
.pin.is-active .pin__dot { transform: scale(1.6); background: var(--accent); }
.pin--school.is-active .pin__dot { transform: rotate(45deg) scale(1.6); }
.pin.is-active .pin__label { opacity: 1; transform: translate(-50%, 0); }
.pin--home { z-index: 2; }
.pin--home .pin__dot { left: -.7rem; top: -.7rem; width: 1.4rem; height: 1.4rem; background: var(--accent); box-shadow: 0 0 0 3px var(--white), 0 6px 16px rgba(18, 22, 20, .25); }
.pin--home .pin__dot::after { content: ""; position: absolute; inset: -.6rem; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: ping 2.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.pin--home .pin__label { opacity: 1; transform: translate(-50%, 0); bottom: 1.2rem; background: var(--accent-text); }
.map__legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1rem; font-size: .8125rem; color: var(--muted); }
.legend { display: inline-flex; align-items: center; gap: .5rem; }
.legend::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink-2); }
.legend--home::before { width: .8rem; height: .8rem; background: var(--accent); }
.legend--school::before { border-radius: 1px; transform: rotate(45deg); background: var(--ink); }
.places__group + .places__group { margin-top: 2.5rem; }
.places__title { font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); padding-bottom: .9rem; border-bottom: 1px solid var(--line-strong); }
.place { border-bottom: 1px solid var(--line-strong); }
.place__btn { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1.5rem; width: 100%; padding: 1rem .25rem; border: 0; background: none; text-align: left; cursor: pointer; transition: background-color .3s var(--ease); }
button.place__btn:hover, button.place__btn.is-active { background: rgba(255, 255, 255, .8); }
.place__btn--static { cursor: default; }
.place__name { grid-column: 1; font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.2rem; line-height: 1.3; }
.place__note { grid-column: 1; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.place__time { grid-column: 2; grid-row: 1 / span 2; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.place__min { font-size: .9375rem; font-weight: 500; white-space: nowrap; }
.place__km { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 1000px) {
  .location__grid { grid-template-columns: 1fr; }
  .map { position: relative; top: 0; }
}

/* Schools */
.schools__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.school { display: flex; flex-direction: column; padding: 2rem 1.75rem 2rem 0; border-bottom: 1px solid var(--line); }
.school + .school { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.school__years { font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); }
.school__name { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.6rem; line-height: 1.15; margin: .75rem 0 .6rem; text-wrap: balance; }
.school__type { font-size: .875rem; color: var(--muted); }
.school__note { margin-top: 1rem; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.school__distance { margin-top: auto; padding-top: 1.5rem; display: flex; flex-direction: column; }
.school__min { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.4rem; line-height: 1.25; }
.school__km { font-size: .8125rem; color: var(--muted); }
.school__link { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; margin-top: .75rem; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; }
.school__link .icon { width: .9rem; height: .9rem; }
.nearby { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); }
.nearby__title { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.6rem; line-height: 1.15; }
.nearby__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.nearby__name { font-weight: 500; display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; }
.nearby__dist { font-size: .8125rem; font-weight: 400; color: var(--muted); }
.nearby__detail { margin-top: .4rem; font-size: .9375rem; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 1100px) {
  .schools__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .school:nth-child(odd) { padding-left: 0; border-left: 0; }
  .nearby { grid-template-columns: 1fr; }
}
@media (max-width: 800px) { .nearby__list { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .schools__list { grid-template-columns: 1fr; }
  .school:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
}

/* Around you */
.around { border-top: 1px solid var(--line); }
.around__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.spot { display: flex; flex-direction: column; padding: 2rem 1.75rem 2.25rem 0; border-bottom: 1px solid var(--line); }
.spot:not(:nth-child(3n + 1)) { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.spot__kind { font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); }
.spot__title { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.55rem; line-height: 1.15; margin: .6rem 0 .75rem; text-wrap: balance; }
.spot__text { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.spot__time { margin-top: auto; padding-top: 1.25rem; font-size: .875rem; font-weight: 500; }
.spot__km { font-weight: 400; color: var(--muted); }
@media (max-width: 1000px) {
  .around__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot:nth-child(n) { padding-left: 0; border-left: 0; }
  .spot:nth-child(even) { padding-left: 1.75rem; border-left: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .around__grid { grid-template-columns: 1fr; }
  .spot:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
}

/* Viewings */
.visit { background: var(--surface); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.visit__text { position: sticky; top: calc(var(--header-h) + 2rem); }
.visit__text .lede { margin-top: 1.75rem; max-width: 30rem; }
.visit__cards { display: grid; gap: 1rem; }
@media (max-width: 900px) { .visit__grid { grid-template-columns: 1fr; } .visit__text { position: static; } }
.visit-card { background: var(--white); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.25rem); }
.visit-card--sale { border-top: 2px solid var(--accent); }
.visit-card__label { font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); }
.visit-card__when { margin-top: .75rem; font-family: var(--display); font-variation-settings: "opsz" 16; font-size: clamp(1.75rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.01em; }
.visit-card__time { margin-top: .7rem; font-size: 1.0625rem; font-weight: 500; }
.visit-card__note { margin-top: .75rem; color: var(--ink-2); font-size: .9375rem; }
.visit-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.openhomes { margin-top: 1rem; border-top: 1px solid var(--line); }
.openhome { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.openhome__when { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .9rem; }
.openhome__when time { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.25rem; }
.openhome__time { font-size: .9375rem; color: var(--ink-2); }
.openhome__cal { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .8125rem; font-weight: 500; letter-spacing: .06em; }
.visit-none { margin-top: 1rem; color: var(--ink-2); }
.directions { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; font-size: .875rem; font-weight: 500; justify-self: start; }

/* Share kit */
.share { border-top: 1px solid var(--line); }
.share__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.share__lede { margin-top: 1.5rem; color: var(--ink-2); max-width: 34rem; }
.share__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.qr { justify-self: end; width: min(100%, 20rem); padding: 1.75rem; border: 1px solid var(--line); text-align: center; }
.qr__img { width: 100%; height: auto; image-rendering: pixelated; }
.qr__caption { display: grid; gap: .35rem; margin-top: 1.25rem; }
.qr__title { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: 1.25rem; }
.qr__links { font-size: .875rem; color: var(--muted); }
.qr__links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .25rem; color: var(--ink); }
@media (max-width: 900px) { .share__grid { grid-template-columns: 1fr; } .qr { justify-self: start; } }
@media (max-width: 480px) { .share__actions .btn { flex: 1 1 calc(50% - .3rem); } }

/* Agents */
.agents { background: var(--night); color: var(--on-night); }
.agents .section-head__aside { color: var(--on-night-2); }
.agents__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.agent-card { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .025); }
.agent-card__head { display: flex; align-items: center; gap: 1.5rem; }
.agent-card__portrait { flex: none; width: 7rem; height: 7rem; border-radius: 50%; overflow: hidden; background: var(--night-2); }
.agent-card__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.agent-card__name { font-family: var(--display); font-variation-settings: "opsz" 16; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -.01em; }
.agent-card__role { margin-top: .5rem; font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--on-night-2); }
.agent-card__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.agent-card__actions .btn { padding-inline: 1.15rem; }
.agent-card__links { display: flex; flex-wrap: wrap; gap: 0 1.75rem; margin-top: 1.25rem; font-size: .875rem; }
.agent-card__links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; color: var(--on-night); }
.agent-card__links .icon { width: 1rem; height: 1rem; color: var(--accent-dark); }
.agent-card__office { margin-top: .75rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; line-height: 1.6; color: var(--on-night-2); }
.agent-card__office a { color: var(--on-night); }
.agents__links { display: flex; flex-wrap: wrap; gap: .25rem 2rem; margin-top: 2rem; font-size: .875rem; }
.agents__links a { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; color: var(--on-night); }
.agents__links .icon { width: .9rem; height: .9rem; }
@media (max-width: 1000px) { .agents__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .agent-card__head { gap: 1.1rem; }
  .agent-card__portrait { width: 5.5rem; height: 5.5rem; }
  .agent-card__actions .btn { flex: 1 1 auto; }
  .agent-card__actions .btn--light { flex-basis: 100%; }
}

/* Footer */
.site-footer { background: var(--night-2); color: var(--on-night-2); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; font-size: .875rem; }
.site-footer a { color: var(--on-night); }
.site-footer__inner { display: grid; gap: 2.5rem; }
.wordmark--footer { color: var(--on-night); }
.wordmark--footer .wordmark__name { font-size: 2.1rem; }
.site-footer__sale { margin-top: .75rem; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 2rem; border-block: 1px solid rgba(255, 255, 255, .12); }
.site-footer__cols p { line-height: 1.75; }
.site-footer__cols a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer__label { font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #98A19C; margin-bottom: .5rem; }
.site-footer__legal { display: grid; gap: .75rem; font-size: .75rem; line-height: 1.7; color: #A2AAA5; max-width: 60rem; }
.site-footer__credit a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer .link-button { color: var(--on-night); }
@media (max-width: 800px) { .site-footer__cols { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 700px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
    padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .95); box-shadow: 0 -1px 0 var(--line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .action-bar.is-shown { transform: none; }
  .action-bar__btn { min-height: 3rem; padding-inline: .75rem; }
  /* Room for the call bar, inside the dark footer rather than below it. */
  .site-footer { padding-bottom: calc(2.5rem + 4.5rem + env(safe-area-inset-bottom)); }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 60; transform: translate(-50%, 1rem); padding: .8rem 1.2rem; background: var(--ink); color: var(--white); font-size: .875rem; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 700px) { .toast { bottom: calc(5.5rem + env(safe-area-inset-bottom)); } }

/* Reveal on scroll (only when JavaScript runs; content is visible without it) */
.js .reveal { opacity: 0; transform: translateY(1.75rem); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .action-bar, .gallery__filters, .gallery__more, .film, .lightbox, .toast, .seg { display: none !important; }
  .hero, .band { min-height: 0; color: var(--ink); background: none; }
  .hero__media, .hero__shade, .band__media, .band__shade { position: static; }
  .js .reveal { opacity: 1; transform: none; }
  .js .gallery.is-collapsed .gallery__item.is-extra { display: block; }
}

/* 404 */
.lost { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 4rem; }
.lost__lede { margin-top: 1.5rem; }
.lost__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }

/* Short landscape screens (phones on their side): a smaller headline so the
   essentials share the first screen. */
@media (max-height: 520px) and (min-width: 600px) {
  .hero__content { padding-top: calc(var(--header-h) + 1rem); padding-bottom: 1.75rem; }
  .hero__title { font-size: clamp(2.8rem, 7vw, 4.6rem); margin-bottom: .9rem; }
  .hero__lead { font-size: 1.2rem; }
  .hero__facts { margin-top: 1.1rem; }
  .hero__actions { margin-top: 1.25rem; }
  .hero__sale { margin-top: 1rem; }
}

/* Generated by scripts/build.mjs for 129-orakei-road */
:root{--ink:#121614;--ink-2:#3A413D;--muted:#5C6560;--line:#E0E3E1;--line-strong:#C3C9C5;--surface:#F3F4F3;--night:#0E1311;--night-2:#161C19;--on-night:#F2F3F1;--on-night-2:#B6BEB9;--accent:#A57A48;--accent-text:#7D592D;--accent-dark:#CFAB7B}
.map__canvas{--map-land:#EDEFED}
.tone-the-home-at-dusk{background-color:#a5abb1}
.tone-terrace-and-outdoor-fireplac{background-color:#aeb5b5}
.tone-the-level-lawn{background-color:#839c92}
.tone-the-formal-lounge{background-color:#bab8b6}
.tone-living-and-dining{background-color:#b4aea5}
.tone-under-the-louvre-roof{background-color:#afafa7}
.tone-the-outdoor-lounge{background-color:#a2acae}
.tone-the-home-from-the-garden{background-color:#949986}
.tone-terrace-and-fireplace{background-color:#a49c8c}
.tone-the-kitchen{background-color:#c9c6c2}
.tone-the-dining-area{background-color:#c0b8b5}
.tone-stairs-and-hall{background-color:#c2bcb4}
.tone-bedroom-with-a-skylight{background-color:#c0bfbc}
.tone-bathroom-and-shower{background-color:#c7c6c4}
.tone-bedroom-with-a-desk{background-color:#c4c1bd}
.tone-bathroom-with-a-freestanding{background-color:#c3c2bd}
.tone-bedroom-with-a-timber-bedhea{background-color:#c3bdb9}
.tone-bedroom-with-an-armchair{background-color:#c4bdb7}
.tone-tiled-bathroom{background-color:#c6c6c2}
.tone-terrace-and-spa-at-dusk{background-color:#979c92}
.tone-the-neighbourhood-from-above{background-color:#828984}
.tone-the-site-from-above{background-color:#6a6e61}
.tone-towards-the-water-from-above{background-color:#838782}
.tone-over-the-treetops-from-above{background-color:#848a82}
.tone-towards-the-city-from-above{background-color:#89908b}
.tone-towards-the-village-from-abo{background-color:#858b88}
.tone-floor-plan-both-levels{background-color:#f1f2f1}
.tone-floor-plan-ground-and-upper-{background-color:#f1f2f1}
.tone-film-poster{background-color:#a3a495}
.tone-lorraine-young{background-color:#967b60}
.tone-janey-larsen{background-color:#cabcb6}
.map[data-view="local"] .p-home{left:50%;top:50%}
.map[data-view="area"] .p-home{left:50%;top:50%}
.map[data-view="local"] .p-s61{left:36.76%;top:38.5%}
.map[data-view="local"] .p-s1462{left:21.48%;top:80.8%}
.map[data-view="local"] .p-s60{left:44.37%;top:37.65%}
.map[data-view="local"] .p-s4133{left:41.21%;top:33.75%}
.map[data-view="local"] .p-s453{left:47.22%;top:79.32%}
.map[data-view="local"] .p-remuera-library{left:36.38%;top:79.74%}
.map[data-view="local"] .p-remuera-village-medical-centre{left:63.11%;top:77.41%}
.map[data-view="local"] .p-wilson-s-beach{left:38.65%;top:29.27%}
.map[data-view="area"] .p-s54{left:22.01%;top:49.47%}
.map[data-view="area"] .p-s64{left:27.74%;top:56.44%}
.map[data-view="area"] .p-s1461{left:44.81%;top:65.14%}
.map[data-view="area"] .p-woolworths-meadowbank{left:66.19%;top:55.92%}
.map[data-view="area"] .p-new-world-kohimarama{left:66.7%;top:41.81%}
.map[data-view="area"] .p-auckland-city-hospital{left:22.71%;top:40.44%}
.map[data-view="area"] .p-ascot-park{left:46.34%;top:64.92%}
.map[data-view="area"] .p-koraha-reserve{left:57.02%;top:65.65%}
.map[data-view="area"] .p-okahu-bay-beach{left:57.55%;top:32.19%}
.map[data-view="area"] .p-remuera-golf-club{left:67.98%;top:60.87%}
.ml-0-local{left:39.08%;top:65.77%}
.ml-1-local{left:77.42%;top:57.64%}
.ml-2-local{left:66.59%;top:12.74%}
.ml-3-local{left:13.61%;top:40.2%}
.ml-4-local{left:9%;top:11.55%}
.ml-5-area{left:19.99%;top:86.21%}
.ml-6-area{left:40.79%;top:9.38%}
.ml-7-area{left:43.82%;top:96%}
.ml-8-area{left:21.05%;top:28.31%}
.ml-9-area{left:16.69%;top:45.08%}
.ml-10-area{left:85.23%;top:51.19%}
.ml-11-area{left:13.62%;top:54.2%}
.ml-12-area{left:86.02%;top:76.78%}
.map[data-view="local"] .in-local{visibility:visible;opacity:1;transition:opacity .5s cubic-bezier(.22,.7,.18,1)}
.map[data-view="area"] .in-area{visibility:visible;opacity:1;transition:opacity .5s cubic-bezier(.22,.7,.18,1)}
