/* Toda Group Invest
   The look of the Horizont brochure: cool off-white paper, near-black navy, one soft green,
   a Palatino-style serif for headings over Inter. Status colours are shared by the building
   page, badges and the admin. */

:root {
  --ink: #141b23;
  --ink-soft: #34434f;
  --ink-faint: #6c8492;
  --paper: #f2f5fb;
  --card: #fdfeff;
  --line: #d2dce2;
  --wash: #e8edf5;
  --night: #141b23;
  --night-2: #1a2634;
  --night-line: rgba(242, 245, 251, .18);
  --navy: #141b23;
  --green: #9fd191;
  --green-deep: #2f6b3a;
  --sky: #b4d8e5;

  /* actions are the ink colour; the admin reads these names too */
  --red: #141b23;
  --red-dark: #0c1117;

  --available: #2f6b3a;
  --available-tint: #9fd191;
  --reserved: #215a70;
  --reserved-tint: #b4d8e5;
  --unavailable: #6c7880;
  --unavailable-tint: #e2e8ee;

  --radius: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(20, 27, 35, .05);
  --shadow-md: 0 2px 4px rgba(20, 27, 35, .04), 0 14px 30px -14px rgba(20, 27, 35, .16);
  --shadow-lg: 0 4px 10px rgba(20, 27, 35, .05), 0 30px 56px -22px rgba(20, 27, 35, .3);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Palatino Linotype", Palatino, "Book Antiqua", "EB Garamond", Georgia, serif;
  --max: clamp(1280px, 84vw, 1560px);
  /* four equal text columns on the page grid, the outer two running out to the screen edge */
  --gutter: max(0px, calc((100vw - var(--max)) / 2));
  --col: calc((100vw - 2 * var(--gutter)) / 4);
  --four-cols: calc(var(--gutter) + var(--col)) var(--col) var(--col) minmax(0, 1fr);
  --cell-pad: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 77px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
dl, dd, figure { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.muted { color: var(--ink-faint); }
.muted a { color: var(--ink); }

/* ---------- type ---------- */

.display { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5vw, 62px); line-height: 1.06; letter-spacing: -.012em; }
.display--md { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.14; }
.display--sm { font-size: clamp(21px, 2.1vw, 25px); line-height: 1.25; }

/* the brochure's small caps label with its green point */
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.eyebrow--light { color: rgba(242, 245, 251, .72); }

.lede { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-soft); max-width: 38em; margin-top: 16px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

.wordmark { display: block; width: 190px; height: 26px; color: currentColor; }
.wordmark--lg { width: min(340px, 74vw); height: auto; aspect-ratio: 293.36 / 38.7; }

/* ---------- buttons, fields, chips, badges ---------- */

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-sm); border: 1px solid transparent; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, box-shadow .25s var(--ease); }
.button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.button--primary { background: var(--ink); color: var(--paper); }
.button--primary:hover { background: #2a3844; }
.button--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.button--ghost:hover { background: var(--ink); color: var(--paper); }
.button--light { background: var(--paper); color: var(--ink); }
.button--light:hover { background: var(--green); }
.button--block { width: 100%; }


.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); color: var(--ink-soft); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip--toggle::before { content: ""; width: 14px; height: 14px; margin-right: 9px; border: 1.5px solid currentColor; border-radius: 3px; background-position: center; background-repeat: no-repeat; background-size: 10px; }
.chip--toggle.is-on::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3 4.7 9 10 3.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* status labels, as the brochure prints them */
.badge { display: inline-flex; align-items: center; justify-content: center; padding: 3px 8px; border-radius: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; line-height: 1.5; }
.badge--available { background: var(--green); color: var(--ink); }
.badge--reserved { background: var(--sky); color: var(--ink); }
.badge--unavailable { background: var(--unavailable); color: #fff; }
.badge--lg { font-size: 12px; padding: 5px 12px; }

.tag { display: inline-block; padding: 3px 9px; border-radius: 2px; background: var(--wash); color: var(--ink-soft); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.tag--live { background: var(--green); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- save for comparison ---------- */

.fav { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink-soft); cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.fav:hover { color: var(--ink); border-color: var(--ink); }
.fav:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fav__icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fav[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); background: var(--green); }
.fav[aria-pressed="true"] .fav__icon { fill: currentColor; }
.fav--wide { display: inline-flex; gap: 8px; width: auto; height: auto; min-height: 48px; padding: 0 18px; border-radius: var(--radius-sm); border-color: var(--ink); background: transparent; font: 600 15px var(--font); color: var(--ink); }

.tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); color: var(--paper); }
.tray__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 12px; padding-bottom: 12px; }
.tray__count { font-size: 14px; color: rgba(242, 245, 251, .7); }
.tray__count strong { color: #fff; font-size: 16px; }
.tray__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.tray__chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 12px; border-radius: 3px; background: rgba(242, 245, 251, .1); font-size: 13px; font-weight: 500; }
.tray__chip button { width: 26px; height: 26px; border: 0; border-radius: 3px; background: transparent; color: rgba(242, 245, 251, .7); font-size: 18px; line-height: 1; cursor: pointer; }
.tray__chip button:hover { background: rgba(242, 245, 251, .15); color: #fff; }
.tray__note { width: 100%; order: 5; font-size: 13px; color: var(--green); }
.tray__go { min-height: 44px; }
.tray__go.is-waiting { background: rgba(242, 245, 251, .12); color: rgba(242, 245, 251, .75); cursor: default; }
@media (max-width: 640px) {
  .tray__chips { display: none; }
  .tray__inner { justify-content: space-between; }
}
body.has-tray { padding-bottom: 72px; }

.site-nav__count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; margin-left: 2px; padding: 0 5px; border-radius: 999px; background: var(--green); color: var(--ink); font-size: 11px; font-weight: 700; vertical-align: 1px; }
.site-nav__count[hidden] { display: none; }

/* ---------- chrome ---------- */

/* the brochure's page head: logo, rule, and a short green start to the rule */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: min(33vw, 420px); height: 1px; background: var(--green); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(20, 27, 35, .4); }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; gap: 16px; }
.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.logo { display: block; height: 42px; width: auto; aspect-ratio: 148 / 43.21; overflow: visible; }
.logo--light { --logo-ink: #fff; --logo-grey: #fff; --logo-red: #fff; }
.brand { display: inline-flex; align-items: center; justify-self: start; text-decoration: none; }
.brand:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
@media (max-width: 600px) { .site-header .logo { height: 36px; } }

.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
/* a green block rises behind the link, like the tiles in the logo */
.site-nav a { position: relative; z-index: 0; margin: -6px -10px; padding: 6px 10px; text-decoration: none; transition: color .2s; }
.site-nav a::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 2px; background: var(--green); transform: scaleY(0); transform-origin: bottom; transition: transform .28s var(--ease); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleY(1); }
.site-nav a:hover .site-nav__count { background: var(--ink); color: var(--paper); }
.site-nav__phone { padding: 10px 14px; border: 1px solid var(--ink); border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.site-nav__phone:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), background .2s; }
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--paper); box-shadow: 0 24px 40px -24px rgba(20, 27, 35, .35); }
.mobile-menu__inner { display: grid; padding-top: 8px; padding-bottom: 16px; }
.mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 22px; text-decoration: none; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu:not([hidden]) { animation: menu-in .3s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1080px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .menu-toggle { display: inline-grid; }
}
@media (max-width: 460px) { .site-nav__phone { display: none; } }
@media (min-width: 1081px) { .mobile-menu { display: none; } }

.site-footer { background: radial-gradient(70% 130% at 100% 100%, rgba(159, 209, 145, .1), transparent 64%), linear-gradient(115deg, var(--night-2), #20303f); color: var(--paper); padding: 64px 0 28px; }
.site-footer__inner { display: grid; gap: 36px; }
@media (min-width: 760px) { .site-footer__inner { grid-template-columns: 1.6fr 1fr 1.2fr; } }
.site-footer .logo { height: 46px; }
.site-footer__lede { margin-top: 18px; max-width: 30em; color: rgba(242, 245, 251, .62); font-size: 15px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 22px; }
.site-footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(242, 245, 251, .28); border-radius: 50%; color: #fff; transition: background .25s, color .25s; }
.site-footer__social a:hover { background: var(--paper); color: var(--ink); }
.site-footer__social svg { width: 20px; height: 20px; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__col h2 { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(242, 245, 251, .5); margin-bottom: 4px; }
.site-footer__col a:not(.button) { color: var(--paper); text-decoration: none; font-size: 15px; }
.site-footer__col a:not(.button):hover { color: var(--green); }
.site-footer__enquire { align-self: start; margin-top: 14px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--night-line); font-size: 13px; color: rgba(242, 245, 251, .5); }
.site-footer__blink { display: inline-block; opacity: .75; transition: opacity .2s; }
.site-footer__blink:hover { opacity: 1; }
.site-footer__blink img { display: inline-block; width: auto; height: 1.35em; vertical-align: -0.28em; filter: brightness(0) invert(1); }

/* ---------- sections ---------- */

.section { padding: 88px 0; }
.section--tight { padding: 48px 0; }
.section--white { background: var(--card); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.empty { text-align: center; max-width: 560px; margin: 0 auto; display: grid; gap: 14px; justify-items: center; padding: 40px 0; }
@media (max-width: 719px) { .section { padding: 56px 0; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 13.5px; color: var(--ink-faint); }
.crumbs a { text-decoration: none; color: var(--ink-soft); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.page-head { padding: 44px 0 64px; }

/* ---------- home: hero ---------- */

/* the picture fills the first screen, and the header lies over it until the page scrolls */
body[data-page="home"] .site-header { position: fixed; left: 0; right: 0; transition: background .3s, border-color .3s, box-shadow .3s; }
body[data-page="home"] .site-header:not(.is-scrolled):not(:has([aria-expanded="true"])) { --logo-ink: #fff; --logo-grey: #fff; --logo-red: #fff; background: transparent; border-bottom-color: rgba(255, 255, 255, .16); color: #fff; }
body[data-page="home"] .site-header:not(.is-scrolled):not(:has([aria-expanded="true"]))::after { display: none; }
body[data-page="home"] .site-header:not(.is-scrolled):not(:has([aria-expanded="true"])) .site-nav__phone { border-color: rgba(255, 255, 255, .6); }
body[data-page="home"] .site-header:not(.is-scrolled):not(:has([aria-expanded="true"])) .site-nav__phone:hover { background: #fff; color: var(--ink); }
body[data-page="home"] .site-header:not(.is-scrolled):not(:has([aria-expanded="true"])) .menu-toggle { border-color: rgba(255, 255, 255, .6); background: transparent; }
body[data-page="home"] .site-header:not(.is-scrolled):not(:has([aria-expanded="true"])) .menu-toggle__bars,
body[data-page="home"] .site-header:not(.is-scrolled):not(:has([aria-expanded="true"])) .menu-toggle__bars::before,
body[data-page="home"] .site-header:not(.is-scrolled):not(:has([aria-expanded="true"])) .menu-toggle__bars::after { background: #fff; }

.hero { position: relative; display: flex; min-height: max(100svh, 640px); overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.hero__image { position: absolute; inset: 0; z-index: -2; }
/* the picture never quite stops: a slow settle that lasts well beyond the first look */
.hero__image { will-change: transform; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; animation: hero-settle 22s cubic-bezier(.16, .6, .3, 1) both; }
@keyframes hero-settle { from { transform: scale(1.12); } to { transform: none; } }
/* dark where the words are, clear over the building */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 17, 23, .5) 0, transparent 22%), linear-gradient(0deg, rgba(12, 17, 23, .95) 0, rgba(12, 17, 23, .76) 52%, rgba(12, 17, 23, .2) 74%, transparent 86%); }
.hero__inner { display: flex; flex-direction: column; justify-content: flex-end; width: 100%; padding-top: 112px; padding-bottom: 26px; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(108%); } to { transform: none; } }
.hero__project { animation: hero-rise .9s var(--ease) .1s both; }
.hero__lead { animation: hero-rise .9s var(--ease) .75s both; }
.hero__actions { animation: hero-rise .9s var(--ease) .9s both; }
.hero__facts { animation: hero-rise 1s var(--ease) 1.1s both; }
.hero__project { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.hero__project .wordmark { width: 138px; height: 18px; }
.hero__title { margin-top: clamp(30px, 3.2vw, 46px); font-family: var(--display); font-size: clamp(50px, 5.4vw, 84px); line-height: 1.06; letter-spacing: -.015em; }
/* each line rises from behind its own edge */
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: block; animation: line-up 1.1s cubic-bezier(.16, .8, .24, 1) both; }
.hero__title .line:nth-of-type(2) > span { animation-delay: .22s; }
.hero__title .line:nth-of-type(3) > span { animation-delay: .34s; }
.hero__title .line:nth-of-type(4) > span { animation-delay: .46s; }
.hero__lead { max-width: 25em; margin-top: 16px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button--accent { background: linear-gradient(120deg, #cdecc3, #aedb9f 50%, #8fc981) 100% 0 / 200% 100%; color: var(--ink); transition: background-position .45s var(--ease); }
.button--accent:hover { background-position: 0 0; }
.hero__facts { display: grid; gap: 10px 0; margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); }
.hero__facts div { display: flex; justify-content: space-between; gap: 16px; }
.hero__facts dt { font-size: 13.5px; color: rgba(255, 255, 255, .68); }
.hero__facts dd { font-size: 14.5px; font-weight: 600; text-align: right; }
@media (min-width: 760px) {
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
  .hero__facts div { display: grid; justify-content: start; gap: 2px; }
  .hero__facts dd { font-family: var(--display); font-size: 23px; font-weight: 400; text-align: left; }
}
@media (min-width: 900px) {
  /* room for the words on the left, the building clear on the right */
  .hero::after { background: linear-gradient(180deg, rgba(12, 17, 23, .42) 0, transparent 16%), linear-gradient(90deg, rgba(12, 17, 23, .5) 0, rgba(12, 17, 23, .22) 34%, transparent 50%), linear-gradient(0deg, rgba(12, 17, 23, .78) 0, rgba(12, 17, 23, .3) 16%, transparent 30%); }
  .hero__inner { padding-bottom: 32px; }
}
.hero__cue { display: none; }
@media (min-width: 1000px) {
  .hero__cue { position: absolute; right: 40px; top: 50%; display: block; width: 1px; height: 96px; background: rgba(255, 255, 255, .28); overflow: hidden; }
  .hero__cue span { position: absolute; left: 0; top: 0; width: 100%; height: 36%; background: var(--green); animation: cue 2.2s ease-in-out infinite; }
  .hero__cue::after { content: ""; position: absolute; inset: -14px -20px; }
}
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(300%); } }
@media (prefers-reduced-motion: reduce) {
  .hero__image img, .hero__project, .hero__title .line > span, .hero__lead, .hero__actions, .hero__facts, .hero__cue span { animation: none; }
}

/* how far down the page you are */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 40; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* flat sizes: each tile fills from below when pointed at */
.sizes { padding-top: 34px; background: var(--card); border-bottom: 1px solid var(--line); }
.sizes .eyebrow { margin-bottom: 16px; }
.sizes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.size { position: relative; isolation: isolate; display: grid; align-content: start; gap: 6px; min-height: 148px; padding: 24px 16px 26px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: color .3s; }
.size::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .5s cubic-bezier(.16, .8, .24, 1); }
.size:hover::before, .size:focus-visible::before { transform: none; }
.size:hover, .size:focus-visible { color: var(--paper); outline: none; }
.size strong { font-family: var(--display); font-size: clamp(27px, 2.9vw, 42px); font-weight: 400; line-height: 1.1; }
.size span { font-size: 14px; color: var(--ink-faint); transition: color .3s; }
.size:hover span, .size:focus-visible span { color: var(--green); }
.size__go { position: absolute; right: 18px; bottom: 16px; font-size: 22px; font-style: normal; transition: transform .4s cubic-bezier(.16, .8, .24, 1), color .3s; }
.size:hover .size__go, .size:focus-visible .size__go { color: var(--green); transform: translateX(6px); }
@media (min-width: 900px) {
  .sizes__grid { grid-template-columns: var(--four-cols); }
  .size { min-height: 176px; padding: 28px var(--cell-pad) 30px; border-bottom: 0; }
  .size:first-child { padding-left: calc(var(--gutter) + var(--cell-pad)); }
  .size:last-child { padding-right: calc(var(--gutter) + var(--cell-pad)); border-right: 0; }
  .size:last-child .size__go { right: calc(var(--gutter) + 18px); }
}

/* the project, said once and large */
.statement { padding: 96px 0 88px; }
.statement .wordmark--lg { margin-top: 4px; }
.statement__text { max-width: 24em; margin-top: 30px; font-family: var(--display); font-size: clamp(29px, 3.9vw, 56px); line-height: 1.17; letter-spacing: -.01em; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats dd { font-family: var(--display); font-size: clamp(36px, 4.2vw, 60px); line-height: 1.05; font-variant-numeric: lining-nums; }
.stats dd small { font-size: .45em; }
.stats dd.stats__date { font-size: clamp(22px, 2.7vw, 38px); line-height: 1.66; white-space: nowrap; }
.stats dt { margin-top: 8px; font-size: 14.5px; color: var(--ink-faint); }
.statement__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 44px; }
@media (max-width: 719px) { .statement { padding: 64px 0 60px; } }

.showcase { background: var(--paper); }
.showcase__frame { position: relative; height: min(88vh, 900px); margin: 0; overflow: hidden; background: var(--night); }
.showcase__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; will-change: transform; }
.showcase__frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px max(16px, calc((100vw - var(--max)) / 2 + 32px)) 26px; color: #fff; font-size: 14px; background: linear-gradient(180deg, transparent, rgba(12, 17, 23, .55)); }
@media (max-width: 719px) { .showcase__frame { height: 62vh; } }

/* the words a statement is split into while it lights up, and headings that rise */
.word { display: inline-block; }
.mask { display: inline-block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; vertical-align: top; }

.fact-list { display: grid; align-content: start; padding: 8px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.fact-list div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact-list div:last-child { border-bottom: 0; }
.fact-list dt { font-size: 13.5px; color: var(--ink-faint); }
.fact-list dd { font-size: 15px; font-weight: 600; }
.fact-list--plain { margin-top: 26px; padding: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }

/* the types of flat, each 3D view on the dark ground the brochure gives it */
.types { padding: 80px 0; background: radial-gradient(85% 110% at 100% 0, rgba(159, 209, 145, .17), transparent 62%), radial-gradient(70% 90% at 0 100%, rgba(180, 216, 229, .12), transparent 60%), var(--night); color: var(--paper); }
.types .eyebrow { color: rgba(242, 245, 251, .72); }
.types .link-arrow { border-color: var(--paper); }
.types__rail { display: flex; gap: 14px; padding: 4px max(16px, calc((100vw - var(--max)) / 2 + 32px)) 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(242, 245, 251, .3) transparent; }
.types__bar { display: none; height: 2px; margin-top: 26px; background: var(--night-line); }
.types__bar span { display: block; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.types.is-pinned { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding: 96px 0 40px; overflow: hidden; }
.types.is-pinned > .wrap { width: 100%; }
.types.is-pinned .types__rail { overflow: visible; width: max-content; scroll-snap-type: none; padding-right: max(32px, calc((100vw - var(--max)) / 2 + 32px)); }
.types.is-pinned .types__bar { display: block; }
.types.is-pinned .type-card { flex-basis: clamp(320px, 27vw, 420px); }
.types.is-pinned .type-card__image { height: clamp(220px, 34vh, 340px); }
.type-card { flex: 0 0 min(76vw, 320px); display: grid; align-content: start; gap: 2px; padding: 14px 14px 18px; border: 1px solid var(--night-line); border-radius: var(--radius); text-decoration: none; scroll-snap-align: center; transition: border-color .25s, background .25s; }
.type-card:hover { border-color: var(--green); background: var(--night-2); }
.type-card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.type-card__image { position: relative; display: block; height: 232px; margin-bottom: 12px; }
.type-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.type-card:hover img { transform: scale(1.03); }
.type-card__name { font-family: var(--display); font-size: 23px; line-height: 1.25; }
.type-card__meta { font-size: 13.5px; color: var(--green); }

/* O nama: a real photo of the site beside the company's story, then the values on the
   brochure's sky colour */
.about__top { overflow: hidden; background: var(--paper); }
.about__grid { display: grid; }
.about__photo { aspect-ratio: 3 / 2; margin: 0 -16px; overflow: hidden; background: var(--paper); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text { padding: 36px 0 44px; }
.about__text .lede { margin-top: 20px; font-size: clamp(17px, 1.45vw, 19px); color: var(--ink); }
@media (min-width: 720px) { .about__photo { margin: 0 -32px; } }
/* the photo ends on the strip's middle line and the text lines up with the third column's */
@media (min-width: 960px) {
  .about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__photo { --bleed: calc(var(--gutter) + 32px); width: calc(100% + var(--bleed)); margin: 0 0 0 calc(-1 * var(--bleed)); align-self: stretch; }
  .about__text { align-self: center; padding: 40px 0 40px var(--cell-pad); }
}

.mission { --rule: rgba(20, 27, 35, .16); background: var(--sky); }
.values { list-style: none; margin: 0; padding: 0; display: grid; }
.values li { padding: 24px 16px 26px; border-bottom: 1px solid var(--rule); }
.values li:last-child { border-bottom: 0; }
@media (min-width: 560px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values li:nth-child(odd) { border-right: 1px solid var(--rule); }
  .values li:nth-child(3) { border-bottom: 0; }
}
@media (min-width: 720px) { .values li { padding-inline: var(--cell-pad); } }
@media (min-width: 900px) {
  .values { grid-template-columns: var(--four-cols); }
  .values li { padding-block: 28px 30px; border-right: 1px solid var(--rule); border-bottom: 0; }
  .values li:first-child { padding-left: calc(var(--gutter) + var(--cell-pad)); }
  .values li:last-child { padding-right: calc(var(--gutter) + var(--cell-pad)); border-right: 0; }
}
.values span { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.values h3 { margin-top: 2px; font-family: var(--display); font-size: 24px; line-height: 1.25; }
.values p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }

/* ---------- contact band ---------- */

.contact { padding: 80px 0; background: var(--ink); color: var(--paper); }
.contact__inner { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact__inner { grid-template-columns: 6fr 5fr; gap: 72px; align-items: end; } }
.contact__text { margin-top: 14px; color: rgba(242, 245, 251, .72); font-size: 17px; max-width: 30em; }
.contact__list { border-top: 1px solid var(--night-line); }
.contact__list div { display: grid; gap: 3px; padding: 13px 0; border-bottom: 1px solid var(--night-line); }
.contact__list dt { color: rgba(242, 245, 251, .6); font-size: 14px; }
.contact__list dd { overflow-wrap: anywhere; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--green); }
.contact__emails { display: grid; gap: 2px; }
.contact__phone { font-family: var(--display); font-size: 24px; }
/* label beside value only once every row fits on one line, so the rows never mix the two */
@media (min-width: 1100px) {
  .contact__list div { grid-template-columns: auto 1fr; align-items: baseline; gap: 20px; }
  .contact__list dd { text-align: right; }
}
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }


.garages { border-top: 1px solid var(--line); }
.garage { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.garage__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.garage__svg { display: block; width: 100%; min-width: 820px; height: auto; }
.garage__hint { margin-top: 8px; font-size: 13px; color: var(--ink-faint); }
@media (min-width: 900px) { .garage__hint { display: none; } }

/* each status has its own tint on the plan; green only ever means confirmed as available */
.spot { --spot: var(--sky); cursor: pointer; outline: none; }
.spot--available { --spot: var(--green); }
.spot--reserved { --spot: #d6c0d5; }
.spot--unavailable { --spot: var(--unavailable); }
.spot polygon { fill: var(--spot); fill-opacity: .24; stroke: var(--ink-soft); stroke-opacity: 0; stroke-width: 3; transition: fill-opacity .18s, stroke-opacity .18s; }
.spot text { fill: var(--ink); font: 600 27px var(--font); text-anchor: middle; paint-order: stroke; stroke: var(--paper); stroke-width: 7px; stroke-linejoin: round; pointer-events: none; }
.spot:hover polygon, .spot:focus-visible polygon, .spot.is-active polygon { fill-opacity: .72; stroke-opacity: 1; }

.spots { display: grid; gap: 6px; margin-top: 14px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (min-width: 620px) { .spots { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.spot-cell { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .18s, border-color .18s; }
.spot-cell:hover, .spot-cell.is-active { border-color: var(--ink); background: var(--sky); }
.spot-cell:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.spot-cell--available { border-color: var(--green); }
.spot-cell--unavailable { color: var(--ink-faint); }
.spot-key { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 2px; background: var(--sky); vertical-align: -1px; }
.spot-key--available { background: var(--green); }
.spot-key--reserved { background: #d6c0d5; }
.spot-key--unavailable { background: var(--unavailable); }

/* ---------- project page ---------- */

/* the page's own sections, in reach the whole way down, right under the site header */
html:has(.section-bar) { scroll-padding-top: 125px; }
.section-bar { position: sticky; top: 77px; z-index: 19; background: var(--night-2); }
.section-bar__inner { position: relative; display: flex; align-items: stretch; gap: clamp(14px, 5vw, 22px); height: 48px; }
.section-bar a { display: flex; align-items: center; color: rgba(242, 245, 251, .68); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .2s; }
.section-bar a:hover, .section-bar a[aria-current] { color: #fff; }
.section-bar a:focus-visible { outline: 2px solid var(--green); outline-offset: -8px; }
.section-bar__marker { position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--green); opacity: 0; transition: transform .35s ease, width .35s ease, opacity .2s; }
.section-bar__marker.is-on { opacity: 1; }
@media (min-width: 760px) { .section-bar__inner { gap: 36px; height: 54px; } html:has(.section-bar) { scroll-padding-top: 131px; } }

.project-head { padding: 40px 0 64px; }
.project-head__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .project-head__grid { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; } }
.project-head__cover { overflow: hidden; border-radius: var(--radius); aspect-ratio: 1.05; background: var(--night); }
.project-head__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.availability { background: var(--card); border-top: 1px solid var(--line); }
.availability__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 32px; margin-bottom: 22px; }
.availability__head .muted { margin-top: 8px; font-size: 14.5px; }
.availability__note { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }

.status-grid { display: grid; gap: 8px; margin-top: 18px; }
.floor { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; }
.floor__label { display: grid; place-items: center; align-self: stretch; border-radius: var(--radius-sm); background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 21px; }
.floor__flats { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); }
@media (min-width: 1000px) {
  .floor { grid-template-columns: 64px minmax(0, 1fr); }
  .floor__label { font-size: 26px; }
  .floor__flats { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}
.cell { position: relative; display: grid; align-content: start; gap: 2px; padding: 9px 9px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); text-decoration: none; transition: border-color .2s, box-shadow .25s var(--ease), opacity .2s; }
.cell:hover { border-color: var(--ink); box-shadow: var(--shadow-md); }
.cell:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cell--available { background: var(--card); border-color: var(--green); }
.cell__no { font-size: 11px; color: var(--ink-faint); }
.cell__m2 { font-family: var(--display); font-size: 19px; line-height: 1.2; white-space: nowrap; }
.cell__m2 small { font-family: var(--font); font-size: 11px; color: var(--ink-faint); }
.cell .badge { justify-self: start; margin-top: 6px; padding: 2px 5px; font-size: 8.5px; letter-spacing: .04em; }
.cell.is-dim { opacity: .28; }
.cell.is-saved::after { content: ""; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.floor--commercial { align-items: center; }
.floor--commercial p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 28px; font-size: 14.5px; color: var(--ink-soft); }
.floor--commercial strong { font-family: var(--display); font-size: 19px; font-weight: 400; color: var(--ink); }
.floor--commercial { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.floor--commercial a { padding: 10px 14px; font-size: 14px; font-weight: 600; white-space: nowrap; }
@media (min-width: 1000px) { .floor--commercial { grid-template-columns: 64px minmax(0, 1fr) auto; } }
/* four flats to a row on a phone, so the status becomes a strip along the foot of each cell */
@media (max-width: 559px) {
  .floor { grid-template-columns: 30px minmax(0, 1fr); gap: 6px; }
  .floor__label { font-size: 17px; }
  .floor__flats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .cell { overflow: hidden; gap: 0; padding: 6px 5px 0; }
  .cell__no { font-size: 10px; }
  .cell__m2 { font-size: 15px; }
  .cell__m2 small { font-size: 8.5px; }
  .cell .badge { justify-self: stretch; margin: 5px -5px 0; padding: 3px 0; border-radius: 0; font-size: 8px; letter-spacing: 0; }
  .cell.is-saved::after { top: 5px; right: 5px; width: 6px; height: 6px; }
  .floor--commercial { grid-template-columns: 30px minmax(0, 1fr) auto; }
}
@media (max-width: 339px) { .cell__m2 small { display: none; } }

/* admin's small status swatches */
.unit { display: inline-block; border-radius: 2px; }
.unit--available { background: var(--green); }
.unit--reserved { background: var(--sky); }
.unit--unavailable { background: var(--unavailable); }

/* ---------- project page: what is around the building ---------- */

/* home: a short look at the location; the full map is on the project page */
.near { padding: 72px 0; background: var(--card); }
.near__grid { display: grid; gap: 32px; }
.near .walks { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0 26px; }
.near__map { cursor: pointer; }
@media (min-width: 960px) {
  /* the same centre line as O nama below, with both sides the same distance from it */
  .near__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; align-items: center; }
  .near__text { padding-right: var(--cell-pad); }
  .near__map.location__map { height: 520px; margin-left: var(--cell-pad); }
}

.location { border-top: 1px solid var(--line); }
.location__head { display: grid; gap: 14px 64px; }
.location__head .lede { margin: 0; }
@media (min-width: 900px) { .location__head { grid-template-columns: 6fr 5fr; align-items: end; } }

.walks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
@media (min-width: 820px) { .walks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.walks div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding: 18px 20px; border-radius: var(--radius); background: var(--night); color: var(--paper); }
.walks dd { font-family: var(--display); font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; }
.walks dd small { font-size: .5em; }
.walks dt { font-size: 14px; color: var(--green); }

.location__filters { display: flex; gap: 8px; margin: 28px -16px 16px; padding: 2px 16px; overflow-x: auto; scrollbar-width: none; }
.location__filters::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .location__filters { flex-wrap: wrap; margin-inline: 0; padding: 0; overflow: visible; } }
.location__filters .chip { flex: none; gap: 7px; font: 500 14px var(--font); cursor: pointer; }
.location__filters .chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.icon { width: 18px; height: 18px; flex: none; }

.location__body { display: grid; gap: 14px; }
@media (min-width: 960px) { .location__body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; } }
.location__map { position: relative; z-index: 0; height: 340px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash); }
@media (min-width: 960px) { .location__map { height: 560px; } }
.location__map .leaflet-tile-pane { filter: grayscale(.8) contrast(.98) brightness(1.04); }
.location__map .leaflet-control-attribution { font-size: 11px; }

.places { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .places { max-height: 560px; overflow-y: auto; } }
.places li[hidden] { display: none; }
.place { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 10px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .18s; }
.place:hover, .place.is-active { background: var(--card); }
.place:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.place__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); color: var(--ink); }
.place__body { display: grid; flex: 1; min-width: 0; }
.place__body strong { font-size: 15px; font-weight: 600; }
.place__body span { font-size: 13.5px; color: var(--ink-faint); }
.place__near { display: grid; flex: none; justify-items: end; text-align: right; }
.place__near b { font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.place__near small { font-size: 12.5px; color: var(--ink-faint); }

.map-pin span { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #fff; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 3px 8px rgba(12, 17, 23, .35); transition: transform .2s var(--ease), background .2s, color .2s; }
.map-pin .icon { width: 15px; height: 15px; }
.map-pin.is-active span { background: var(--green); color: var(--ink); transform: scale(1.25); }
.map-home span { display: grid; place-items: center; width: 46px; height: 46px; border: 3px solid #fff; border-radius: 50%; background: var(--green); color: var(--ink); font-family: var(--display); font-size: 25px; box-shadow: 0 6px 16px rgba(12, 17, 23, .4); }
.leaflet-tooltip.map-tip { padding: 6px 10px; border: 0; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-family: var(--font); font-size: 13px; box-shadow: var(--shadow-md); }
.leaflet-tooltip.map-tip strong { display: block; font-weight: 600; }
.leaflet-tooltip.map-tip span { color: rgba(255, 255, 255, .75); }
.leaflet-tooltip-top.map-tip::before { border-top-color: var(--ink); }

/* ---------- lists of flats ---------- */

.similar__lede { margin: 6px 0 20px; }
.flat-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 620px) { .flat-grid { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } }

.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.explorer__note { margin-bottom: 18px; }
.views { display: flex; gap: 6px; }
.views a { display: inline-flex; align-items: center; min-height: 38px; gap: 7px; padding: 6px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-soft); }
.views a:hover { background: var(--wash); color: var(--ink); }
.views a[aria-current] { background: var(--ink); color: var(--paper); }
.views svg { width: 15px; height: 15px; fill: currentColor; }


.flat-list { border-top: 1px solid var(--line); }
.floor-group + .floor-group { margin-top: 40px; }
.floor-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-family: var(--display); font-size: 21px; }
.floor-group__head span { font-family: var(--font); font-size: 13px; color: var(--ink-faint); }
.floor-group__head + .flat-grid { margin-top: 16px; }
.floor-group__head + .flat-list { border-top: 0; }

.flat-row { border-bottom: 1px solid var(--line); }
.flat-row__head { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: 8px 18px; padding: 14px 6px; cursor: pointer; list-style: none; transition: background .2s; }
.flat-row__head::-webkit-details-marker { display: none; }
.flat-row__head:hover, .flat-row[open] .flat-row__head { background: var(--paper); }
@media (min-width: 760px) { .flat-row__head { grid-template-columns: minmax(0, 1fr) 1.1fr 1.2fr auto 118px 24px; } }
.flat-row__no { display: grid; font-weight: 600; }
.flat-row__building { font-size: 12px; font-weight: 500; color: var(--ink-faint); }
.flat-row__cell { color: var(--ink-soft); font-size: 14px; }
.flat-row__m2 { font-family: var(--display); font-size: 19px; white-space: nowrap; }
.flat-row .badge { justify-self: start; }
@media (min-width: 760px) { .flat-row .badge { justify-self: end; } }
.flat-row__toggle { position: relative; width: 22px; height: 22px; justify-self: end; }
.flat-row__toggle::before, .flat-row__toggle::after { content: ""; position: absolute; left: 6px; top: 10px; width: 10px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease); }
.flat-row__toggle::after { transform: rotate(90deg); }
.flat-row[open] .flat-row__toggle::after { transform: rotate(0); }
.flat-row__body { display: grid; gap: 22px; padding: 6px 6px 26px; }
@media (min-width: 760px) { .flat-row__body { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start; } }
.flat-row__plan { position: relative; display: grid; place-items: center; min-height: 190px; padding: 12px; border-radius: var(--radius); background: var(--paper); }
.flat-row__plan--render { height: 280px; padding: 0; container-type: size; }
.flat-row__facts { display: grid; gap: 16px; align-content: start; }
.flat-row__same { color: var(--ink-faint); font-size: 14px; }
.flat-row__rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 28px; }
@media (min-width: 520px) { .flat-row__rooms { grid-template-columns: repeat(2, 1fr); } }
.flat-row__rooms li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.flat-row__rooms li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--room); flex: none; }
.flat-row__rooms span { flex: 1; color: var(--ink-soft); }
.flat-row__rooms b { font-weight: 600; white-space: nowrap; }
.flat-row__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.flat-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; transition: border-color .2s, box-shadow .3s var(--ease); }
.flat-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); }
.flat-card__link { display: grid; text-decoration: none; }
.flat-card__link:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.flat-card .fav { position: absolute; top: 10px; right: 10px; }
.flat-card__plan { --pad: 12px; position: relative; display: block; height: 150px; container-type: size; background: var(--night); }
/* a fixed panel: the image is laid inside it, so its own proportions can never stretch the card */
.flat-card__plan > img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; transition: transform .5s var(--ease); }
.flat-card:hover .flat-card__plan > img { transform: scale(1.03); }
.flat-card__plan:has(.plan-crop) { background: var(--paper); }
.plan-crop { position: absolute; inset: 0; margin: auto; width: min(100cqw - 28px, (100cqh - 28px) * var(--ratio)); aspect-ratio: var(--ratio); overflow: hidden; }
.plan-crop img { position: absolute; max-width: none; height: auto; }
.flat-card__body { display: grid; gap: 2px; padding: 12px 13px 14px; }
.flat-card__building { font-size: 12px; color: var(--ink-faint); }
.flat-card__no { font-family: var(--display); font-size: 21px; line-height: 1.25; }
.flat-card__meta { color: var(--ink-soft); font-size: 13px; }
.flat-card__same { color: var(--ink-faint); font-size: 12px; }
.flat-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-top: 10px; }
.flat-card__m2 { font-weight: 600; font-size: 15px; }
@media (min-width: 620px) {
  .flat-card__plan { --pad: 16px; height: 220px; }
  .flat-card__body { padding: 16px 18px 18px; }
  .flat-card__no { font-size: 24px; }
  .flat-card__meta { font-size: 14px; }
  .flat-card__m2 { font-size: 16px; }
}

.projects { display: grid; gap: 24px; }
.project { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
@media (min-width: 900px) { .project { grid-template-columns: 1.1fr 1fr; } }
.project__media { position: relative; display: block; min-height: 320px; overflow: hidden; background: var(--night); }
.project__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.project__body { display: grid; align-content: center; gap: 10px; padding: 28px; }
@media (min-width: 900px) { .project__body { padding: 40px 44px; } }
.project__body .tag { justify-self: start; }
.project__title { font-family: var(--display); font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.project__title a { text-decoration: none; }
.project__place { color: var(--ink-soft); }
.project__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 14px 0 0; border-top: 1px solid var(--line); }
.project__facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.project__facts dt { font-size: 13px; color: var(--ink-faint); }
.project__facts dd { margin: 2px 0 0; font-weight: 600; }
.project__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- flat page ---------- */

/* on a phone the call and the enquiry stay within reach, however far down the plan you are */
.flat-bar { display: none; }
@media (max-width: 719px) {
  .flat-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
  .flat-bar .button { width: 100%; min-height: 46px; }
  body[data-page="flat"] { padding-bottom: 74px; }
  /* the compare tray owns the bottom of the screen while it is up */
  body:has([data-tray]:not([hidden])) .flat-bar { display: none; }
}

.flat-top { padding: 36px 0 28px; }
.flat-top__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.flat-top__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); }
.flat-top__area { font-family: var(--font); font-size: clamp(34px, 4vw, 50px); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.flat-top__area small { font-size: .42em; font-weight: 600; letter-spacing: 0; }
.flat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 20px; }
.flat-actions__price { margin-right: auto; font-family: var(--display); font-size: 23px; }
@media (max-width: 719px) { .flat-actions__price { width: 100%; } .flat-actions .button--primary { display: none; } }

/* the dark spread: the brochure's left page */
.spread { background: var(--night); color: var(--paper); }
.spread__inner { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 960px) { .spread__inner { grid-template-columns: 4fr 7fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 56px; } }
.spread__image { display: grid; place-items: center; }
.spread__image img { width: auto; max-height: min(66vh, 640px); }
.traits { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 22px; }
.traits h2 { font-family: var(--font); font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green); }
.traits h2 span { color: rgba(242, 245, 251, .6); }
.traits p { margin-top: 5px; font-size: 15px; color: rgba(242, 245, 251, .78); }

.flat-plan { padding: 56px 0; }
.plan-missing { padding: 40px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-align: center; }
.plan-missing p { margin-top: 8px; color: var(--ink-soft); }

.whereabouts { display: grid; gap: 40px; align-items: start; }
.siblings .display { margin-bottom: 16px; }
.siblings__list { display: flex; flex-wrap: wrap; gap: 8px; }
.sibling { display: grid; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); text-decoration: none; font-size: 13.5px; line-height: 1.35; }
.sibling__floor { font-weight: 600; }
.sibling__status { color: var(--ink-faint); }
.sibling--available .sibling__status { color: var(--green-deep); font-weight: 600; }
.sibling:hover { border-color: var(--ink); }
.sibling.is-current { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- interactive plan ---------- */

.nacrt { position: relative; }
.nacrt__views { display: none; gap: 4px; margin-bottom: 14px; }
.nacrt__view { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); font: 500 14px var(--font); color: var(--ink-soft); cursor: pointer; }
.nacrt__view.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (max-width: 979px) {
  .nacrt__views { display: flex; }
  .nacrt[data-pane="spec"] .nacrt__drawing, .nacrt[data-pane="plan"] .nacrt__spec { display: none; }
}
.nacrt__body { display: grid; gap: 28px; }
@media (min-width: 980px) { .nacrt__body { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 48px; align-items: start; } }
.nacrt__drawing { display: grid; justify-items: center; gap: 12px; }
.nacrt__svg { display: block; width: 100%; height: auto; max-height: 72vh; overflow: visible; touch-action: manipulation; }
.nacrt__readout { min-height: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: .45em; font-size: 13.5px; color: var(--ink-faint); text-align: center; }
.nacrt__readout b { display: none; }
.nacrt__readout strong { color: var(--ink); font-weight: 600; text-transform: none; }

.plan-lines { pointer-events: none; }
.plan-room { cursor: pointer; outline: none; }
.plan-room__floor { fill: transparent; }
.plan-room__deck { pointer-events: none; display: none; }
.plan-room__edge { fill: var(--room); fill-opacity: 0; stroke: var(--ink); stroke-opacity: 0; stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill-opacity .18s, stroke-opacity .18s; }
.plan-room:hover .plan-room__edge, .plan-room.is-active .plan-room__edge { fill: var(--green); fill-opacity: .6; stroke: var(--green-deep); stroke-opacity: 1; }
.plan-tag, .plan-select, .plan-cursor { display: none; }
.nacrt[data-view="render"] .plan-lines { display: none; }
.hatch-ground { fill: var(--card); }
.hatch-line { fill: var(--ink); fill-opacity: .4; }
.plan-walls { stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.plan-cut { fill: var(--card); }
.plan-window { fill: var(--card); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plan-window__pane { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plan-door__leaf { stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.plan-door__swing { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }

.nacrt__spec { padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.nacrt__spec-head { display: flex; justify-content: space-between; padding-bottom: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.nacrt__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.spec-row { display: block; width: 100%; padding: 10px 12px; border: 0; background: color-mix(in srgb, var(--room) 24%, var(--card)); color: var(--ink); text-align: left; cursor: pointer; font: inherit; transition: background .18s; }
.spec-row__line { display: flex; align-items: baseline; gap: 10px; }
.spec-row__swatch { display: none; }
.spec-row__name { flex: 1; font-size: 13.5px; font-weight: 500; }
.spec-row__m2 { font-size: 14px; font-weight: 600; white-space: nowrap; }
.spec-row:hover, .spec-row.is-active { background: color-mix(in srgb, var(--room) 52%, var(--card)); }
.spec-row[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--ink); }
.spec-row:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.nacrt__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nacrt__total strong { font-size: 22px; font-weight: 700; letter-spacing: -.01em; text-transform: none; white-space: nowrap; }
.nacrt__note { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--ink-faint); }
.nacrt__leader { display: none; }

/* ---------- compare ---------- */

.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.compare { position: relative; overflow-x: auto; margin: 0 -16px; padding: 0 16px 8px; -webkit-overflow-scrolling: touch; }
.compare__table { width: 100%; min-width: calc(150px + var(--cols) * 220px); border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); table-layout: fixed; }
.compare__table th, .compare__table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare__table tbody th { width: 170px; font-size: 14px; font-weight: 600; color: var(--ink-soft); position: sticky; left: 0; z-index: 1; background: var(--card); }
.compare__table tbody th small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-faint); }
.compare__corner { width: 170px; }
.compare__head { vertical-align: bottom; }
.compare__head-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.compare__building { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.compare__flat { display: block; font: 400 26px/1.15 var(--display); text-decoration: none; }
.compare__remove { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--ink-faint); }
.compare__remove:hover { color: var(--ink); }
.compare__plans td { vertical-align: bottom; }
.compare-plan { display: block; }
.compare-plan svg { display: block; width: 100%; height: auto; overflow: visible; }
.compare-plan .plan-crop { position: relative; inset: auto; display: block; width: 100%; }
.compare__key strong { font: 400 22px/1.15 var(--display); }
.compare__table td.is-best { background: color-mix(in srgb, var(--green) 26%, var(--card)); }
.compare__group th { position: static; padding-top: 22px; font-size: 12px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ink) !important; background: var(--card); }
.compare__room th { display: table-cell; }
.compare__swatch { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 2px; background: var(--room); }
.compare__m2 { font-weight: 600; }
.compare__bar { display: block; height: 5px; margin-top: 8px; background: linear-gradient(90deg, var(--room) var(--share), var(--wash) var(--share)); }
.compare__none { color: var(--ink-faint); }
.compare__table tbody tr:last-child th, .compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__more { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }

.pager { display: flex; justify-content: space-between; gap: 12px; padding-top: 36px; padding-bottom: 36px; font-weight: 500; font-size: 15px; }
.pager a { text-decoration: none; }
.pager a:hover { text-decoration: underline; }

/* ---------- enquiry side panel ---------- */

.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }

.has-drawer, .has-drawer body { overflow: hidden; }
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(12, 17, 23, .55); opacity: 0; transition: opacity .4s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(540px, 100%); padding: 28px 24px 24px; overflow-y: auto; overscroll-behavior: contain; color: var(--paper); background: var(--night); box-shadow: -30px 0 60px -20px rgba(12, 17, 23, .45); transform: translateX(100%); transition: transform .45s var(--ease); }
@media (min-width: 720px) { .drawer__panel { padding: 40px 48px 32px; } }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 18px; right: 18px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(242, 245, 251, .1); cursor: pointer; transition: background .2s; }
.drawer__close::before, .drawer__close::after { content: ""; position: absolute; left: 13px; top: 21px; width: 18px; height: 2px; background: #fff; transform: rotate(45deg); }
.drawer__close::after { transform: rotate(-45deg); }
.drawer__close:hover { background: rgba(242, 245, 251, .2); }
.drawer__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.drawer__logo { position: relative; align-self: flex-start; height: 42px; margin-bottom: 32px; }
.drawer__body, .drawer__done { position: relative; }
.drawer__title { font-family: var(--display); font-size: clamp(30px, 4vw, 40px); line-height: 1.1; }
.drawer__lede { margin-top: 10px; font-size: 16px; color: rgba(242, 245, 251, .8); max-width: 30em; }
.drawer__about[hidden] { display: none; }
.drawer__about { display: inline-block; margin-top: 16px; padding: 5px 12px; border-radius: 2px; background: var(--green); color: var(--ink); font-size: 14px; }
.drawer__form { display: grid; gap: 14px; margin-top: 26px; }
.drawer__field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.drawer__field small { font-weight: 400; color: rgba(242, 245, 251, .6); }
.drawer__field input, .drawer__field textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(242, 245, 251, .32); border-radius: var(--radius-sm); background: transparent; color: #fff; font: inherit; font-size: 16px; transition: border-color .2s; }
.drawer__field textarea { resize: vertical; min-height: 88px; }
.drawer__field ::placeholder { color: rgba(242, 245, 251, .5); }
.drawer__field input:focus, .drawer__field textarea:focus { outline: none; border-color: var(--green); }
.drawer__field [aria-invalid="true"] { border-color: #fff; border-width: 2px; }
.drawer__error { justify-self: start; padding: 4px 10px; border-radius: 2px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; }
.drawer__alert { padding: 12px 14px; border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-weight: 600; }
.drawer__alert[hidden] { display: none; }
.drawer__send { margin-top: 6px; }
.drawer__send:disabled { opacity: .75; cursor: progress; }
.drawer__note { font-size: 13px; color: rgba(242, 245, 251, .7); }
.drawer__done { display: grid; justify-items: start; gap: 6px; margin-top: 8px; outline: none; }
.drawer__done[hidden] { display: none; }
.drawer__done .button { margin-top: 18px; }
.drawer__done-icon { position: relative; width: 64px; height: 64px; margin-bottom: 12px; border-radius: 50%; background: var(--green); animation: pop .6s var(--ease) both; }
.drawer__done-icon::after { content: ""; position: absolute; left: 21px; top: 20px; width: 22px; height: 12px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg); }
.drawer__call { position: relative; margin-top: auto; padding-top: 28px; font-size: 15px; color: rgba(242, 245, 251, .75); }
.drawer__call a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(242, 245, 251, .5); }

/* ---------- scroll reveal ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); animation: reveal-fallback 0s 3s forwards; }
.js [data-reveal].is-in { opacity: 1; transform: none; animation: none; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; animation: none; }
}
