/* CALYRA home: hero window, residences + plans, inside, views by floor, amenities, map, availability, story, viewing. */
section { position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px 60px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 56px); }
.sec-head .lede { max-width: 30em; }
.cap { position: absolute; left: 14px; bottom: 12px; margin: 0; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); z-index: 2; }

/* ---------------------------------------------------------------- 1. hero */
.hero { height: 240vh; background: var(--bay); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-stage { position: absolute; inset: 0; background: #8fb0bd url('/templates/assets/no9/106-calyra/h-film.webp') 34% 50%/cover no-repeat; }
.hero-film, .hero-cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 34% 50%; }
.hero-cv { opacity: 0; transition: opacity 1.4s var(--ease); touch-action: pan-y; }
.hero.live .hero-cv { opacity: 1; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 22, 26, .66) 0%, rgba(6, 22, 26, .38) 34%, rgba(6, 22, 26, 0) 58%), linear-gradient(0deg, rgba(6, 22, 26, .7) 0%, rgba(6, 22, 26, 0) 32%), linear-gradient(180deg, rgba(6, 22, 26, .42) 0%, rgba(6, 22, 26, 0) 18%); }
.hero-in { position: absolute; left: 0; right: 0; bottom: clamp(120px, 17vh, 190px); transition: opacity .6s, transform .8s var(--ease); }
.hero-in h1 { max-width: 7.6em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-lede { margin-top: 26px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero.away .hero-in { opacity: 0; transform: translateY(-30px); pointer-events: none; }
.hud { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px var(--gut) 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 12px 28px; }
.hud-mode { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #f2ebe2; display: flex; align-items: center; gap: 10px; }
.hud-mode::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(240, 183, 131, .25); }
.hero.live .hud-mode::before { background: #8fe3c0; box-shadow: 0 0 0 4px rgba(143, 227, 192, .25); }
.hud-look { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; justify-self: center; }
.look-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(8, 26, 30, .5); color: #fff; cursor: pointer; font-weight: 600; font-size: 14px; letter-spacing: .03em; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .25s, border-color .25s; }
.look-btn:hover { background: rgba(8, 26, 30, .75); border-color: #fff; }
.look-btn[aria-pressed="true"] { background: #fff; color: var(--ink); }
.look-btn.alt { font-weight: 500; }
.look-ico { width: 22px; height: 14px; border: 1.5px solid currentColor; border-radius: 50% / 60%; position: relative; }
.look-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: currentColor; }
.hud-note { margin: 0; font-size: 12.5px; color: #e6ded4; max-width: 25em; line-height: 1.4; }
.hud-hint { margin: 0; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #e6ded4; text-align: right; max-width: 20em; }
.hud-attr { position: absolute; right: var(--gut); bottom: 5px; margin: 0; font-size: 11px; letter-spacing: .04em; line-height: 1.5; color: rgba(242, 235, 226, .9); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); text-align: right; }
.hud-attr a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hud-load { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .12); }
.hud-load i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }
.hero.live .hud-load { opacity: 0; transition: opacity .8s .6s; }
@media (max-width: 900px) {
  .hud { grid-template-columns: 1fr; justify-items: start; }
  .hud-look { justify-self: start; }
  .hud-hint { text-align: left; }
  .hud-attr { position: static; grid-column: 1 / -1; justify-self: start; text-align: left; }
  .hero-in { bottom: 220px; }
  .hero-shade { background: linear-gradient(0deg, rgba(6, 22, 26, .82) 0%, rgba(6, 22, 26, .5) 48%, rgba(6, 22, 26, .1) 70%), linear-gradient(180deg, rgba(6, 22, 26, .45) 0%, rgba(6, 22, 26, 0) 20%); }
}
@media (max-width: 520px) {
  .hero-in { bottom: 238px; }
  .hero-lede { font-size: 16px; margin-top: 18px; }
  .hero-cta { margin-top: 22px; }
  .hud-hint { display: none; }
}
.rm .hero { height: auto; }
.rm .hero-pin { position: relative; }
/* orbit controls: a glass pad above the live label on wide screens, one row under the header on narrow ones */
.hero-in, .hud { pointer-events: none; }
.hero-cta, .hud > * { pointer-events: auto; }
.hero.away .hero-cta { pointer-events: none; }
.hero.head-on .hud-hint { color: #fff; }
.hero.head-on .hud-hint::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #e0523a; box-shadow: 0 0 0 3px rgba(224, 82, 58, .25); vertical-align: 1px; }
@media (max-width: 520px) { .hero.head-on .hud-hint { display: block; } }
.hero.away .orbit { visibility: hidden; transition: opacity .6s, transform .8s var(--ease), visibility 0s .6s; }
.hero-stage:focus { outline: none; }
.hero-stage:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; }
.hero.live .hero-stage { cursor: grab; }
.hero.live .hero-stage.dragging { cursor: grabbing; }
.orbit { position: absolute; z-index: 2; left: var(--gut); bottom: 104px; display: flex; flex-direction: column; gap: 8px; transition: opacity .6s, transform .8s var(--ease); }
.orbit-k { margin: 0; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #e6ded4; }
.orbit-btns { display: grid; grid-template-columns: repeat(3, 44px) 10px 44px; grid-template-rows: repeat(3, 44px); gap: 2px;
  grid-template-areas: ". up . . in" "left reset right . ." "down-l down down-r . out"; }
.ob-up { grid-area: up; } .ob-left { grid-area: left; } .ob-reset { grid-area: reset; } .ob-right { grid-area: right; } .ob-down { grid-area: down; }
.ob-in { grid-area: in; } .ob-out { grid-area: out; }
.ob { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .42); background: rgba(8, 26, 30, .46); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .25s, border-color .25s, opacity .25s; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ob svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ob-reset svg { width: 16px; height: 16px; }
.ob:hover { background: rgba(8, 26, 30, .74); border-color: #fff; }
.ob.held, .ob:active { background: #fff; color: var(--ink); border-color: #fff; }
.ob:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; position: relative; z-index: 1; }
.ob[aria-disabled="true"] { opacity: .38; cursor: default; }
.ob[aria-disabled="true"]:hover { background: rgba(8, 26, 30, .46); border-color: rgba(255, 255, 255, .42); }
.hero.away .orbit { opacity: 0; transform: translateY(-20px); pointer-events: none; }
@media (max-width: 900px) {
  .orbit { left: auto; right: var(--gut); bottom: auto; top: 88px; flex-direction: row; align-items: center; }
  .orbit-k { display: none; }
  .orbit-btns { grid-template-columns: repeat(7, 44px); grid-template-rows: 44px; grid-template-areas: "left right up down out in reset"; }
}
/* short phones: the kicker and the lede give way so the headline and buttons clear the header and the orbit row */
@media (max-width: 900px) and (max-height: 760px) { .hero-in .k, .hero-lede { display: none; } }
@media (max-width: 359px) { .orbit-btns { grid-template-columns: repeat(4, 44px); grid-template-rows: repeat(2, 44px); grid-template-areas: "left right up down" "out in reset ."; } }
@media (max-height: 620px) and (min-width: 901px) { .orbit { bottom: auto; top: 96px; } }

/* ---------------------------------------------------------------- 2. intro */
.intro { padding: clamp(80px, 11vw, 170px) 0 clamp(70px, 9vw, 140px); }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: auto auto; gap: clamp(24px, 3vw, 44px) clamp(28px, 4vw, 70px); }
.intro-text { grid-row: 1 / 3; display: flex; flex-direction: column; gap: 30px; }
.intro-text .lede { max-width: 32em; }
.facts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.facts li { padding: 20px 0 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.facts li:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.facts li:nth-child(even) { padding-left: 24px; }
.facts b { display: block; font-size: clamp(34px, 3.4vw, 54px); color: var(--ink); margin-bottom: 6px; }
.intro-a { aspect-ratio: 4 / 3.2; }
.intro-b { aspect-ratio: 16 / 10; width: 78%; justify-self: end; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } .intro-text { grid-row: auto; } .intro-b { width: 100%; } }

/* ---------------------------------------------------------------- 3. residences */
.res { padding: clamp(70px, 9vw, 140px) 0; background: var(--shell); }
.res-tabs { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line-2); }
.res-tab { min-height: 54px; padding: 8px 20px; border: 0; border-right: 1px solid var(--line-2); background: transparent; cursor: pointer; text-align: left; display: flex; flex-direction: column; justify-content: center; font-size: 15px; font-weight: 600; transition: background-color .25s, color .25s; }
.res-tab:last-child { border-right: 0; }
.res-tab span { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--grey); letter-spacing: .04em; }
.res-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.res-tab[aria-selected="true"] span { color: #d6d2cc; }
.res-tab:hover:not([aria-selected="true"]) { background: var(--sand); }
.res-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 3vw, 50px); align-items: stretch; outline: none; }
.res-photo { min-height: 520px; }
.res-photo img { transition: opacity .45s; }
.res-photo img.fade { opacity: 0; }
.res-side { display: flex; flex-direction: column; gap: 16px; }
.plan { background: var(--sand); padding: 14px; }
.plan-svg { width: 100%; height: auto; font-family: var(--mono); }
.plan-svg .shell { fill: none; stroke: var(--ink); stroke-width: .9; }
.plan-svg .terr { fill: rgba(176, 71, 36, .1); stroke: rgba(176, 71, 36, .55); stroke-width: .3; stroke-dasharray: 1 .8; }
.plan-svg .terr-t { font-size: 2.3px; fill: var(--acc-2); text-anchor: middle; letter-spacing: .1px; }
.plan-svg .room rect { fill: var(--shell); stroke: var(--ink); stroke-width: .35; transition: fill .25s; }
.plan-svg .room text { font-size: 2.6px; text-anchor: middle; dominant-baseline: middle; fill: var(--ink-2); pointer-events: none; }
.plan-svg .room { cursor: pointer; outline: none; }
.plan-svg .room:hover rect, .plan-svg .room:focus-visible rect { fill: var(--acc-soft); }
.plan-svg .room.on rect { fill: var(--acc); }
.plan-svg .room.on text { fill: #fff; }
.plan-svg .room:focus-visible rect { stroke: var(--acc-2); stroke-width: .9; }
.plan-svg .north { fill: none; stroke: var(--ink); stroke-width: .3; }
.plan-svg .north-t { font-size: 2.2px; text-anchor: middle; }
.plan-hint { margin: -6px 0 0; font-size: 11.5px; color: var(--grey); letter-spacing: .06em; text-transform: uppercase; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line-2); }
.specs div { padding: 14px 10px 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.specs dd { margin: 4px 0 0; font-family: var(--disp); font-size: 24px; line-height: 1.1; }
.res-line { margin: 0; color: var(--ink-2); max-width: 34em; }
.res-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
@media (max-width: 1000px) { .res-grid { grid-template-columns: 1fr; } .res-photo { min-height: 0; aspect-ratio: 16 / 10; } .res-tabs { width: 100%; } .res-tab { flex: 1 1 50%; border-bottom: 1px solid var(--line-2); } }
@media (max-width: 520px) { .specs { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- 4. inside */
.inside { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; background: #2a2620; overflow: hidden; }
.inside-stage { position: absolute; inset: 0; }
.inside-film, .inside-cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inside-cv { opacity: 0; transition: opacity 1.4s var(--ease); touch-action: pan-y; }
.inside.live .inside-cv { opacity: 1; }
.inside-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(20, 14, 8, .82) 0%, rgba(20, 14, 8, .45) 30%, rgba(20, 14, 8, 0) 55%), linear-gradient(180deg, rgba(20, 14, 8, .35) 0%, rgba(20, 14, 8, 0) 16%); }
.inside-in { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px 60px; align-items: end; padding-top: 140px; padding-bottom: clamp(48px, 7vw, 96px); }
.inside-side { display: flex; flex-direction: column; gap: 18px; }
.inside-mode { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #f0e8dd; display: flex; align-items: center; gap: 10px; }
.inside-mode::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.inside.live .inside-mode::before { background: #8fe3c0; }
@media (max-width: 900px) { .inside-in { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- 5. views by floor */
.views { padding: clamp(70px, 9vw, 140px) 0; }
.views-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(28px, 4vw, 70px); align-items: stretch; }
.views-side { display: flex; flex-direction: column; gap: 22px; }
.floor-pick { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 6px 18px; padding: 22px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.floor-pick label { grid-column: 1 / -1; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.floor-pick output { font-size: clamp(64px, 7vw, 110px); line-height: .85; grid-column: 1 / -1; }
.floor-pick input { grid-column: 1 / -1; width: 100%; accent-color: var(--acc); height: 32px; margin: 10px 0 0; }
.floor-ticks { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 11px; color: var(--grey); }
.views-line { margin: 0; color: var(--ink-2); max-width: 30em; }
.views-note { margin: auto 0 0; font-size: 12.5px; color: var(--ink-2); }
.views-frame { min-height: 560px; }
.vf { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.vf.is-on { opacity: 1; }
.vf-meter { position: absolute; left: 18px; top: 16px; z-index: 2; background: rgba(10, 20, 24, .7); color: #fff; padding: 8px 12px; font-size: 12px; letter-spacing: .06em; }
.vf-tower { position: absolute; right: 18px; top: 16px; bottom: 16px; width: 10px; z-index: 2; background: rgba(255, 255, 255, .28); border: 1px solid rgba(255, 255, 255, .7); }
.vf-tower i { position: absolute; left: -5px; right: -5px; height: 3px; background: var(--gold); bottom: 30%; transition: bottom .5s var(--ease); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
@media (max-width: 1000px) { .views-grid { grid-template-columns: 1fr; } .views-frame { min-height: 0; aspect-ratio: 16 / 10; } }

/* ---------------------------------------------------------------- 6. amenities */
.amen { padding: clamp(70px, 9vw, 140px) 0; background: var(--sand-2); }
.amen-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 340px 300px; gap: 14px; }
.amen-grid li { position: relative; }
.amen-grid li:first-child { grid-row: 1 / 3; }
.amen-grid li:nth-child(4) { grid-column: 2 / 4; }
.amen-grid .media { position: absolute; inset: 0; }
.amen-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 22px 20px; color: #fff; background: linear-gradient(0deg, rgba(8, 18, 20, .85), rgba(8, 18, 20, 0)); z-index: 1; }
.amen-txt h3 { margin: 0 0 6px; }
.amen-txt p { margin: 0; font-size: 15px; color: #ebe5dc; max-width: 30em; }
.amen-grid .credit { top: 10px; bottom: auto; }
@media (max-width: 900px) { .amen-grid { grid-template-columns: 1fr; grid-template-rows: none; } .amen-grid li, .amen-grid li:first-child, .amen-grid li:nth-child(4) { grid-row: auto; grid-column: auto; aspect-ratio: 4 / 3.4; } }

/* ---------------------------------------------------------------- 7. neighbourhood */
.hood { padding: clamp(70px, 9vw, 140px) 0; }
.hood-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 3vw, 50px); }
.map { background: #d5e4e3; position: relative; aspect-ratio: 10 / 7; overflow: hidden; align-self: start; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .land { fill: #f3ede3; }
.map .beach { fill: #f6efe2; }
.map .street { stroke: #e8e0d3; stroke-width: 1.2; }
.map .road-t, .map .ring-t { font-family: var(--mono); font-size: 13px; fill: #3d575b; letter-spacing: .06em; }
.map .ring-t { fill: var(--acc-2); }
.map .water-t { font-family: var(--disp); font-style: italic; font-size: 26px; fill: #5c7f83; letter-spacing: .04em; }
.map .road { fill: none; stroke: #d6cbbb; stroke-width: 5; }
.map .bridge { fill: none; stroke: #c7bba9; stroke-width: 4; stroke-dasharray: 2 4; }
.map .pt { cursor: pointer; outline: none; }
.map .pt circle { fill: var(--ink); stroke: #fff; stroke-width: 3; transition: r .25s, fill .25s; }
.map .pt text { font-family: var(--sans); font-size: 17px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .9); stroke-width: 5px; stroke-linejoin: round; }
.map .pt.home circle { fill: var(--acc); r: 13px; }
.map .pt.on circle, .map .pt:hover circle, .map .pt:focus-visible circle { fill: var(--acc); }
.map .pt:focus-visible circle { stroke: var(--acc-2); stroke-width: 5; }
.map .ring { fill: none; stroke: var(--acc); stroke-width: 1.5; opacity: .5; }
.hood-side { display: flex; flex-direction: column; gap: 12px; }
.hood-photo { aspect-ratio: 16 / 10; }
.hood-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hood-mins { margin: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-2); }
.hood-line { margin: 0; color: var(--ink-2); }
.hood-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.hood-list button { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 15px; }
.hood-list button span { font-family: var(--mono); font-size: 12px; color: var(--grey); white-space: nowrap; }
.hood-list button:hover, .hood-list button[aria-pressed="true"] { color: var(--acc-2); }
.hood-list button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
@media (max-width: 1000px) { .hood-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- 8. availability */
.avail { padding: clamp(70px, 9vw, 140px) 0; overflow: hidden; }
.avail-media { position: absolute; inset: 0 0 auto; height: 62%; }
.avail-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 43, 49, .45), rgba(11, 43, 49, .2) 50%, var(--sand) 100%); }
.avail-in { position: relative; }
.avail .sec-head { color: #fff; }
.avail .sec-head .k { color: #fff; }
.avail .sec-head .d em { color: var(--gold); }
.avail .sec-head .btn-line { --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.avail-card { background: var(--sand); padding: clamp(20px, 3vw, 44px); box-shadow: 0 30px 60px -30px rgba(11, 43, 49, .35); }

/* ---------------------------------------------------------------- 9. story */
.story { padding: clamp(90px, 11vw, 170px) 0; background: var(--bay); overflow: hidden; }
.story-media { position: absolute; inset: 0; background: var(--bay); }
.story-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 30, 35, .92) 0%, rgba(8, 30, 35, .78) 45%, rgba(8, 30, 35, .3) 100%); }
.story-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.story-text { display: flex; flex-direction: column; gap: 26px; }
.tl { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .3); }
.tl li { padding: 16px 14px 0 0; font-size: 14.5px; color: #e2dbd2; }
.tl b { display: block; font-size: 15px; color: var(--gold); margin-bottom: 4px; }
.story-photo { aspect-ratio: 4 / 4.4; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } .tl { grid-template-columns: 1fr 1fr; gap: 14px 0; } .story-photo { aspect-ratio: 16 / 11; } }

/* ---------------------------------------------------------------- 10. viewing */
.viewing { padding: clamp(80px, 10vw, 150px) 0; background: var(--shell); }
.v-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 90px); }
.v-grid .lede { margin: 22px 0 34px; }
.v-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.v-form .wide { grid-column: 1 / -1; margin: 0; }
.opt { font-weight: 400; color: var(--grey); }
.v-side { display: flex; flex-direction: column; gap: 24px; }
.v-photo { aspect-ratio: 4 / 4.6; }
.v-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.v-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.v-list b { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.v-done { padding: 40px 0; }
@media (max-width: 900px) { .v-grid { grid-template-columns: 1fr; } .v-form { grid-template-columns: 1fr; } .v-photo { aspect-ratio: 16 / 11; } }
@media (max-width: 600px) {
  .map .pt:not(.home) text { display: none; }
  .map .road-t, .map .ring-t { display: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(6, 22, 26, .86) 0%, rgba(6, 22, 26, .55) 55%, rgba(6, 22, 26, .25) 75%, rgba(6, 22, 26, .45) 100%); }
}
/* desktop: the tower stands left of centre, so the words take the open sky on the right */
@media (min-width: 901px) {
  .hero-in { padding-left: max(var(--gut), 52vw); }
  .hero-in h1 { font-size: clamp(52px, 6.6vw, 124px); }
  .hero-shade { background: linear-gradient(270deg, rgba(6, 22, 26, .62) 0%, rgba(6, 22, 26, .34) 36%, rgba(6, 22, 26, 0) 56%), linear-gradient(0deg, rgba(6, 22, 26, .7) 0%, rgba(6, 22, 26, 0) 32%), linear-gradient(180deg, rgba(6, 22, 26, .42) 0%, rgba(6, 22, 26, 0) 18%); }
}
/* a soft scrim right behind the words, so the sky stays bright everywhere else */
.hero-in { isolation: isolate; }
.hero-in::before { content: ''; position: absolute; z-index: -1; pointer-events: none; left: 0; right: 0; top: -90px; bottom: -70px; background: radial-gradient(ellipse 62% 70% at 50% 50%, rgba(6, 22, 26, .66), rgba(6, 22, 26, .4) 55%, rgba(6, 22, 26, 0) 100%); }
@media (min-width: 901px) { .hero-in::before { left: calc(52vw - 140px); right: -40px; } }
.inside-shade { background: linear-gradient(0deg, rgba(20, 14, 8, .92) 0%, rgba(20, 14, 8, .72) 34%, rgba(20, 14, 8, 0) 60%), linear-gradient(180deg, rgba(20, 14, 8, .35) 0%, rgba(20, 14, 8, 0) 16%); }
@media (max-width: 900px) { .inside-shade { background: linear-gradient(0deg, rgba(20, 14, 8, .94) 0%, rgba(20, 14, 8, .8) 50%, rgba(20, 14, 8, 0) 80%); } }
.hero-in .k { color: #fff; }
.hero-in::before { top: -140px; background: radial-gradient(ellipse 64% 72% at 50% 42%, rgba(6, 22, 26, .7), rgba(6, 22, 26, .42) 55%, rgba(6, 22, 26, 0) 100%); }

/* ---------------------------------------------------------------- media-led layout pass: pictures carry each section */
.intro { padding: 0; }
.intro-grid { max-width: none; padding-right: 0; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-rows: 1fr auto; gap: 14px clamp(28px, 4vw, 70px); align-items: stretch; }
.intro-text { padding: clamp(80px, 9vw, 140px) 0 clamp(60px, 7vw, 110px); max-width: 640px; justify-self: end; width: 100%; }
.intro-a { aspect-ratio: auto; min-height: 520px; grid-column: 2; grid-row: 1; }
.intro-b { aspect-ratio: auto; width: 100%; min-height: 420px; grid-column: 2; grid-row: 2; justify-self: stretch; }
@media (max-width: 900px) { .intro-grid { padding-right: var(--gut); grid-template-columns: 1fr; grid-template-rows: none; } .intro-text { padding: 70px 0 10px; justify-self: start; } .intro-a, .intro-b { grid-column: auto; grid-row: auto; min-height: 0; aspect-ratio: 16 / 11; } .intro-b { margin-bottom: 70px; } }
.res-photo { min-height: 660px; }
.views-frame { min-height: 700px; }
.hood-grid { grid-template-columns: 1.7fr 1fr; }
.hood-photo { aspect-ratio: 16 / 11; }
.viewing { overflow: hidden; }
@media (min-width: 901px) {
  .v-grid { grid-template-columns: minmax(0, 1fr) 46vw; padding-right: 0; max-width: none; }
  .v-grid > div:first-child { max-width: 760px; justify-self: end; width: 100%; }
  .v-side { margin: calc(-1 * clamp(80px, 10vw, 150px)) 0; }
  .v-photo { aspect-ratio: auto; flex: 1; min-height: 560px; }
  .v-list { padding: 0 var(--gut) clamp(40px, 5vw, 80px) 0; }
}
/* residences: full-height picture on the left, plan and specs on the right */
.res { padding: 0; }
.res-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.res-photo { min-height: 100%; }
.res-side { padding: clamp(60px, 7vw, 110px) var(--gut) clamp(60px, 7vw, 110px) 0; max-width: 720px; gap: 18px; }
.res-side h2 { margin-bottom: 8px; }
.res-panel { display: flex; flex-direction: column; gap: 16px; outline: none; }
.res-tabs { width: 100%; }
.res-tab { flex: 1 1 25%; }
@media (max-width: 1000px) { .res-grid { grid-template-columns: 1fr; } .res-photo { min-height: 0; aspect-ratio: 16 / 11; } .res-side { padding: 50px var(--gut) 70px; max-width: none; } }
/* views: the window takes the right edge, full height */
.views { padding: 0; }
.views-grid { max-width: none; padding-right: 0; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.views-side { padding: clamp(60px, 7vw, 110px) 0; }
.views-frame { min-height: 100vh; }
@media (max-width: 1000px) { .views-grid { padding-right: var(--gut); } .views-frame { min-height: 0; margin-bottom: 70px; } }
/* neighbourhood: the map bleeds to the left edge, full height */
.hood { padding: 0; }
.hood-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); }
.map { aspect-ratio: auto; min-height: 100%; }
.hood-side { padding: clamp(60px, 7vw, 100px) var(--gut) clamp(60px, 7vw, 100px) 0; }
@media (max-width: 1000px) { .hood-grid { grid-template-columns: 1fr; } .map { aspect-ratio: 10 / 8; min-height: 0; } .hood-side { padding: 40px var(--gut) 70px; } }
/* viewing: the terrace picture fills the right side of the section */
@media (min-width: 901px) {
  .viewing { position: relative; }
  .v-grid { grid-template-columns: minmax(0, 1fr) 46vw; }
  .v-side { position: absolute; right: 0; top: 0; bottom: 0; width: 46vw; margin: 0; gap: 0; }
  .v-photo { flex: 1; min-height: 0; }
  .v-list { background: var(--bay); color: #e9e3da; border: 0; padding: 22px 32px 26px; }
  .v-list li { color: #e2dbd2; border-color: rgba(255, 255, 255, .14); }
  .v-list b { color: #fff; }
}
@media (min-width: 901px) {
  .v-photo { position: absolute; inset: 0; }
  .v-list { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(11, 43, 49, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .intro-a { min-height: 600px; }
  .intro-b { min-height: 460px; }
}
@media (max-width: 1000px) {
  .views-grid, .hood-grid, .res-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1001px) {
  .hood-grid { align-items: center; }
  .map { aspect-ratio: 10 / 7; min-height: 0; }
  .hood-photo { aspect-ratio: 16 / 10; }
}
@media (min-width: 1001px) { .hood .map { align-self: center; } .hood { padding: clamp(40px, 5vw, 80px) 0; } }
.hero-in::before { top: -220px; bottom: -140px; background: radial-gradient(ellipse at 50% 50%, rgba(6, 22, 26, .72) 0%, rgba(6, 22, 26, .5) 28%, rgba(6, 22, 26, 0) 56%); }
.hero-in .k { width: fit-content; padding: 7px 12px 7px 10px; background: rgba(6, 22, 26, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
