/* Aurel Estates · concept site by K-DGTAL */

/* ---------- Time of day: registered so colours can animate ---------- */
@property --sky-a { syntax: '<color>'; inherits: true; initial-value: #23305a; }
@property --sky-b { syntax: '<color>'; inherits: true; initial-value: #c8657a; }
@property --sky-c { syntax: '<color>'; inherits: true; initial-value: #f6a55a; }
@property --sun-c { syntax: '<color>'; inherits: true; initial-value: #ffb35c; }
@property --glow { syntax: '<color>'; inherits: true; initial-value: #ff9a52; }
@property --far { syntax: '<color>'; inherits: true; initial-value: #4a3b52; }
@property --bld-a { syntax: '<color>'; inherits: true; initial-value: #c98a66; }
@property --bld-b { syntax: '<color>'; inherits: true; initial-value: #5c3c4a; }
@property --glass { syntax: '<color>'; inherits: true; initial-value: #f0ad7a; }
@property --lit { syntax: '<color>'; inherits: true; initial-value: #ffd18a; }
@property --sea-a { syntax: '<color>'; inherits: true; initial-value: #3a3460; }
@property --sea-b { syntax: '<color>'; inherits: true; initial-value: #e08a5e; }
@property --ground { syntax: '<color>'; inherits: true; initial-value: #3b2c36; }
@property --tree { syntax: '<color>'; inherits: true; initial-value: #2a1f2a; }
@property --shim { syntax: '<color>'; inherits: true; initial-value: #ffd18a; }
@property --lit-o { syntax: '<number>'; inherits: true; initial-value: .8; }
@property --star-o { syntax: '<number>'; inherits: true; initial-value: .2; }
@property --moon-o { syntax: '<number>'; inherits: true; initial-value: .35; }
@property --sun-y { syntax: '<length>'; inherits: true; initial-value: 210px; }

:root {
  --paper: #f2ede4;
  --paper-2: #e8e0d3;
  --ink: #15141b;
  --muted: #6b6559;
  --line: rgba(21, 20, 27, .14);
  --sun: #e8a463;
  --sun-2: #cf6d3c;
  --night: #0b0f1f;
  --night-2: #151b35;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* dusk (default) */
  --sky-a: #23305a; --sky-b: #c8657a; --sky-c: #f6a55a;
  --sun-c: #ffb35c; --glow: #ff9a52; --sun-y: 210px;
  --far: #4a3b52; --bld-a: #c98a66; --bld-b: #5c3c4a; --glass: #f0ad7a; --lit: #ffd18a;
  --sea-a: #3a3460; --sea-b: #e08a5e; --ground: #3b2c36; --tree: #2a1f2a; --shim: #ffd18a;
  --lit-o: .8; --star-o: .2; --moon-o: .35;

  transition: --sky-a 1s, --sky-b 1s, --sky-c 1s, --sun-c 1s, --glow 1s, --sun-y 1.2s var(--ease), --far 1s, --bld-a 1s, --bld-b 1s,
    --glass 1s, --lit 1s, --sea-a 1s, --sea-b 1s, --ground 1s, --tree 1s, --shim 1s, --lit-o 1s, --star-o 1s, --moon-o 1s;
}
html[data-time="day"] {
  --sky-a: #5f9fd3; --sky-b: #a9d0ea; --sky-c: #f4ead8;
  --sun-c: #fff6da; --glow: #fff1c4; --sun-y: -40px;
  --far: #b9c4cf; --bld-a: #efe6d8; --bld-b: #c6b6a0; --glass: #8fb7d6; --lit: #ffd79a;
  --sea-a: #3f86bd; --sea-b: #9fd0ea; --ground: #cdbf9f; --tree: #3d5a44; --shim: #ffffff;
  --lit-o: 0; --star-o: 0; --moon-o: 0;
}
html[data-time="night"] {
  --sky-a: #04060f; --sky-b: #0d1431; --sky-c: #262c55;
  --sun-c: #ff8a3d; --glow: #3a2c55; --sun-y: 420px;
  --far: #10142a; --bld-a: #1d2238; --bld-b: #121628; --glass: #1b2138; --lit: #ffcf87;
  --sea-a: #070b1c; --sea-b: #1c2244; --ground: #0c0f1d; --tree: #05070f; --shim: #ffcf87;
  --lit-o: 1; --star-o: 1; --moon-o: 1;
}

/* ---------- Poster artwork ---------- */
.s-a { stop-color: var(--sky-a); } .s-b { stop-color: var(--sky-b); } .s-c { stop-color: var(--sky-c); }
.w-a { stop-color: var(--sea-a); } .w-b { stop-color: var(--sea-b); }
.g-a { stop-color: var(--glow); stop-opacity: .85; } .g-b { stop-color: var(--glow); stop-opacity: 0; }
.poster { display: block; width: 100%; height: 100%; }
.poster .p-a { fill: var(--bld-a); }
.poster .p-b { fill: var(--bld-b); }
.poster .p-g { fill: var(--glass); }
.poster .p-l { fill: var(--lit); opacity: var(--lit-o); }
.poster .p-dim { opacity: calc(var(--lit-o) * .6); }
.poster .p-far { fill: var(--far); }
.poster .p-t { fill: var(--tree); }
.poster .p-ground { fill: var(--ground); }
.poster .p-sea { fill: url(#pSea); }
.poster .p-stars { fill: #fff; opacity: var(--star-o); }
.poster .p-sun { transform: translateY(var(--sun-y)); }
.poster .p-disc { fill: var(--sun-c); }
.poster .p-moon { fill: #f4efe2; opacity: var(--moon-o); }
.poster .p-shim { stroke: var(--shim); stroke-width: 2; stroke-linecap: round; opacity: .5; }
.poster .p-rail { stroke: var(--bld-b); stroke-width: 2; fill: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); }
h3 { font-size: 1.6rem; }
em { font-style: italic; }
h1 em, h2 em, .footer__big em { color: var(--sun-2); }
p { margin: 0; }
.muted { color: var(--muted); }
.fine { font-size: .8rem; color: var(--muted); }
.eyebrow { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 1.1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .7rem 1rem; border-radius: 99px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--sun-2); outline-offset: 3px; }
section { position: relative; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; height: 3.2rem; padding: 0 1.6rem; border-radius: 99px; border: 1px solid transparent; text-decoration: none; font-weight: 500; font-size: .95rem; cursor: pointer; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.btn--sun { background: linear-gradient(120deg, #f4bd7c, var(--sun-2)); color: #1b0f08; }
.btn--sun:hover { background: linear-gradient(120deg, #ffd29b, #e07f4b); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: #2c2a36; }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.link-arrow { display: inline-flex; gap: .5rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: .2rem; margin-top: 1.4rem; }
.link-arrow:hover { border-color: var(--ink); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.1rem var(--pad); color: var(--ink); transition: transform .5s var(--ease), background .4s, color .4s, box-shadow .4s; }
.home .nav { color: #f5efe6; }
.nav.is-scrolled { background: rgba(242, 237, 228, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.65rem; text-decoration: none; line-height: 1; }
.brand svg { width: 1.6rem; height: 1.6rem; color: var(--sun); }
.brand span { font-family: var(--sans); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; opacity: .7; margin-left: .15rem; }
.nav nav { display: flex; gap: 2rem; }
.nav nav a { text-decoration: none; font-size: .95rem; position: relative; }
.nav nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.3rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav nav a:hover::after, .nav nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { height: 2.6rem; padding: 0 1.2rem; font-size: .88rem; }
.home .nav:not(.is-scrolled) .btn--line:hover { background: #f5efe6; color: var(--ink); border-color: #f5efe6; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--sun); pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: width .3s, height .3s, margin .3s, opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 46px; height: 46px; margin: -23px 0 0 -23px; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 80; background: var(--night); color: #f5efe6; display: grid; place-items: center; align-content: center; gap: 1rem; overflow: hidden; }
.loader__sun { position: absolute; left: 50%; top: 62%; width: 46vmin; height: 46vmin; margin-left: -23vmin; border-radius: 50%; background: radial-gradient(circle, #ffd49a 0, #f08a4b 38%, rgba(207, 109, 60, 0) 70%); transform: translateY(var(--rise, 40vh)); }
.loader__num { position: relative; font-family: var(--serif); font-size: clamp(5rem, 16vw, 12rem); line-height: 1; }
.loader__label { position: relative; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
html:not(.js) .loader { display: none; }

/* ---------- Hero (Home) ---------- */
.hero { height: 100vh; height: 100svh; min-height: 620px; background: var(--night); color: #f5efe6; overflow: hidden; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.no-gl #gl { display: none; }
.no-gl .hero { background: linear-gradient(#23305a, #c8657a 70%, #f6a55a); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 22, .72) 0, rgba(8, 10, 22, .35) 45%, rgba(8, 10, 22, 0) 70%), linear-gradient(0deg, rgba(8, 10, 22, .55), rgba(8, 10, 22, 0) 35%); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 7rem var(--pad) clamp(2rem, 7vh, 4.5rem); max-width: 60rem; }
.hero .eyebrow { color: rgba(245, 239, 230, .75); }
.hero__title { font-size: clamp(3.4rem, 9.4vw, 8.6rem); line-height: .92; }
.hero__title em { color: #f7bd80; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; }
.hero__lede { max-width: 32rem; margin-top: 1.4rem; color: rgba(245, 239, 230, .82); font-size: 1.05rem; }
.search { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: stretch; gap: .5rem; padding: .5rem; border-radius: 1.4rem; background: rgba(245, 239, 230, .1); border: 1px solid rgba(245, 239, 230, .2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); max-width: 52rem; }
.search__mode { display: flex; margin: 0; padding: .25rem; border: 0; border-radius: 1rem; background: rgba(0, 0, 0, .25); }
.search__mode label, .seg label { position: relative; cursor: pointer; }
.search__mode input, .seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.search__mode span { display: grid; place-items: center; height: 100%; padding: 0 1.1rem; border-radius: .8rem; font-weight: 500; transition: background .3s, color .3s; }
.search__mode input:checked + span { background: #f5efe6; color: var(--ink); }
.search__mode input:focus-visible + span { outline: 2px solid var(--sun); }
.search__field { flex: 1 1 10rem; display: flex; flex-direction: column; justify-content: center; padding: .35rem .9rem; border-radius: 1rem; background: rgba(0, 0, 0, .2); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 239, 230, .65); }
.search__field select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: #f5efe6; font-size: 1rem; letter-spacing: 0; text-transform: none; padding: .1rem 0; cursor: pointer; }
.search__field select option { color: var(--ink); }
.search .btn { height: auto; min-height: 3.4rem; border-radius: 1rem; }
.hero__clock { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(2rem, 7vh, 4.5rem); text-align: right; display: grid; gap: .2rem; }
.hero__time { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.hero__phase { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: #f7bd80; }
.hero__late { position: absolute; z-index: 2; left: var(--pad); top: 22%; max-width: 9em; font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; opacity: 0; pointer-events: none; }
.hero__hint { position: absolute; z-index: 2; right: var(--pad); top: 50%; display: flex; align-items: center; gap: .8rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(245, 239, 230, .6); transform: translateY(-50%); }
.hero__hint span { width: 1px; height: 3.5rem; background: linear-gradient(rgba(245, 239, 230, 0), rgba(245, 239, 230, .8)); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Statement ---------- */
.statement { padding: clamp(6rem, 16vh, 11rem) var(--pad); max-width: 82rem; margin: 0 auto; text-align: center; }
.reveal-words { font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 4.4rem); line-height: 1.08; }
.js .reveal-words .word { opacity: .14; }
.reveal-words .is-key { color: var(--sun-2); font-style: italic; }
.statement--left { text-align: left; max-width: 70rem; margin: 0; }

/* ---------- Time of day toggle ---------- */
.timeset { display: inline-flex; align-items: center; gap: .25rem; padding: .3rem; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .45); font-size: .85rem; }
.timeset span { padding: 0 .7rem 0 .6rem; color: var(--muted); }
.timeset button { border: 0; background: transparent; padding: .5rem 1rem; border-radius: 99px; cursor: pointer; transition: background .3s, color .3s; }
.timeset button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.timeset--over { position: absolute; left: 1rem; bottom: 1rem; background: rgba(242, 237, 228, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: transparent; }

/* ---------- Listing cards ---------- */
.lcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.lcard__art { position: relative; aspect-ratio: 4 / 5; border-radius: 1.2rem; overflow: hidden; background: var(--night-2); }
.lcard__art .poster { transition: transform 1.2s var(--ease); }
.lcard:hover .lcard__art .poster { transform: scale(1.05); }
.tag { position: absolute; left: .9rem; top: .9rem; padding: .35rem .75rem; border-radius: 99px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(242, 237, 228, .9); color: var(--ink); }
.tag--rent { background: rgba(11, 15, 31, .78); color: #f5efe6; }
.lcard__body { padding: 1rem .2rem 0; display: grid; gap: .15rem; }
.lcard__where { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lcard h3 { font-size: 1.75rem; }
.lcard__facts { color: var(--muted); font-size: .92rem; }
.lcard__price { font-weight: 600; margin-top: .3rem; }
.lcard--more { justify-content: center; align-items: center; gap: 1rem; flex-direction: row; aspect-ratio: 4 / 5; border-radius: 1.2rem; border: 1px dashed rgba(21, 20, 27, .3); font-family: var(--serif); font-size: 2rem; transition: background .4s, color .4s; }
.lcard--more:hover { background: var(--ink); color: var(--paper); }

/* ---------- Featured (Home) ---------- */
.featured { padding: 2rem 0 clamp(5rem, 12vh, 8rem); }
.featured__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; padding: 0 var(--pad) 2.5rem; }
.featured__pin { overflow: hidden; }
.track { display: flex; gap: clamp(1rem, 2vw, 2rem); padding: 0 var(--pad); width: max-content; }
.track > .lcard { width: clamp(17rem, 26vw, 24rem); flex: none; }
.track > .lcard--more { height: auto; align-self: start; }

/* ---------- Areas (Home) ---------- */
.areas-home { padding: clamp(5rem, 12vh, 8rem) var(--pad); background: var(--paper-2); }
.areas-home__head { margin-bottom: 3rem; max-width: 50rem; }
.areas-home__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.arow { display: grid; grid-template-columns: 3rem 1fr auto; align-items: baseline; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding .5s var(--ease), color .3s; }
.arow:last-child { border-bottom: 1px solid var(--line); }
.arow__n { font-size: .8rem; color: var(--muted); }
.arow__name { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1; }
.arow__meta { font-size: .85rem; color: var(--muted); text-align: right; }
.arow:hover, .arow.is-on { padding-left: 1rem; }
.arow.is-on .arow__name { color: var(--sun-2); font-style: italic; }
.areas-home__preview { position: sticky; top: 6rem; aspect-ratio: 4 / 5; }
.apreview { position: absolute; inset: 0; margin: 0; border-radius: 1.2rem; overflow: hidden; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform 1s var(--ease); }
.apreview.is-on { opacity: 1; transform: none; }
.apreview figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.4rem 1.3rem; color: #f5efe6; font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; background: linear-gradient(0deg, rgba(8, 10, 22, .75), rgba(8, 10, 22, 0)); }

/* ---------- Numbers ---------- */
.numbers { background: var(--night); color: #f5efe6; padding: clamp(4rem, 10vh, 7rem) var(--pad); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.numbers__grid > div { border-top: 1px solid rgba(245, 239, 230, .2); padding-top: 1.2rem; display: grid; gap: .4rem; }
.numbers strong { font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 7vw, 6rem); line-height: 1; color: #f7bd80; }
.numbers span { color: rgba(245, 239, 230, .7); }

/* ---------- Calculator ---------- */
.calc { padding: clamp(5rem, 13vh, 9rem) var(--pad); display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.calc__intro h2 { margin-bottom: 1.2rem; }
.calc__box { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: clamp(1.4rem, 3vw, 2.6rem); border-radius: 1.6rem; background: #fff; box-shadow: 0 30px 80px -40px rgba(21, 20, 27, .35); }
.calc__inputs { display: grid; gap: 1.6rem; align-content: start; }
.range { display: grid; gap: .6rem; font-size: .9rem; color: var(--muted); }
.range > span { display: flex; justify-content: space-between; gap: 1rem; }
.range output { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--sun-2) var(--p, 50%), var(--paper-2) var(--p, 50%)); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--sun-2); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--sun-2); }
.calc__out { border-left: 1px solid var(--line); padding-left: 2rem; }
.calc__total { font-family: var(--serif); font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; margin-bottom: 1.4rem; font-variant-numeric: tabular-nums; }
.breakdown { margin: 0 0 1rem; display: grid; }
.breakdown > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.breakdown dt { color: var(--muted); }
.breakdown dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.breakdown__sum dt, .breakdown__sum dd { color: var(--ink); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { padding: clamp(4rem, 10vh, 7rem) var(--pad); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2.5rem); }
.steps__list--3 { grid-template-columns: repeat(3, 1fr); }
.steps__list li { border-top: 1px solid var(--ink); padding-top: 1.3rem; display: grid; gap: .7rem; align-content: start; }
.steps__list span { font-size: .8rem; color: var(--sun-2); font-weight: 600; }
.steps__list p { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(5rem, 14vh, 9rem) var(--pad); text-align: center; background: radial-gradient(80% 120% at 50% 120%, rgba(232, 164, 99, .35), rgba(232, 164, 99, 0) 60%), var(--paper); }
.cta-band h2 { max-width: 16em; margin: 0 auto; }
.cta-band__btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }

/* ---------- Office + map ---------- */
.office { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 4vw, 4rem); padding: clamp(4rem, 10vh, 6rem) var(--pad); align-items: center; }
.office__map, .detail-map__frame { border-radius: 1.4rem; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.office__map iframe, .detail-map__frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.25) contrast(1.05); }
.office__addr { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; margin-bottom: 1.4rem; }
.hours { margin: 0 0 1.6rem; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }
.office__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: #f5efe6; padding: clamp(4rem, 10vh, 6rem) var(--pad) 2rem; }
.footer__top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: end; padding-bottom: 3rem; border-bottom: 1px solid rgba(245, 239, 230, .15); }
.footer__big { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; }
.footer__big em { color: #f7bd80; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer__links a { text-decoration: none; opacity: .8; }
.footer__links a:hover { opacity: 1; }
.footer__fine { margin-top: 1.6rem; font-size: .82rem; color: rgba(245, 239, 230, .6); }
.footer__fine strong { color: #f5efe6; font-weight: 500; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 1.4rem; z-index: 95; max-width: calc(100vw - 2rem); padding: .9rem 1.3rem; border-radius: 1rem; background: var(--ink); color: var(--paper); font-size: .92rem; transform: translate(-50%, calc(100% + 3rem)); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* ---------- Inner pages ---------- */
.inner main { padding-top: 5.5rem; }
.page-hero { padding: clamp(3rem, 9vh, 6rem) var(--pad) clamp(2rem, 5vh, 3rem); }
.page-hero h1 { font-size: clamp(3.2rem, 8.6vw, 7.6rem); line-height: .95; }
.page-hero .lede { max-width: 36rem; margin-top: 1.4rem; color: var(--muted); font-size: 1.1rem; }
.page-hero--tight { padding-bottom: 1rem; padding-top: 1.5rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .88rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0 var(--pad); align-items: stretch; }
.seg { display: flex; margin: 0; padding: .3rem; border: 1px solid var(--line); border-radius: 99px; background: #fff; }
.seg span { display: grid; place-items: center; height: 100%; padding: .55rem 1.1rem; border-radius: 99px; transition: background .3s, color .3s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--sun-2); }
.sel { display: flex; flex-direction: column; justify-content: center; padding: .3rem 1.1rem; border: 1px solid var(--line); border-radius: 1.2rem; background: #fff; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); min-width: 10rem; }
.sel select { border: 0; background: transparent; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--ink); padding: .1rem 0; cursor: pointer; }
.listbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 2rem var(--pad) 1.4rem; }
.listbar__count { font-family: var(--serif); font-size: 1.6rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 2.6rem clamp(1rem, 2vw, 2rem); padding: 0 var(--pad) clamp(4rem, 10vh, 6rem); }
.grid--related { padding: 0; }
.empty { padding: 0 var(--pad) 6rem; display: grid; gap: 1rem; justify-items: start; font-family: var(--serif); font-size: 1.8rem; }

/* Detail */
.detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding: 1rem var(--pad) clamp(4rem, 9vh, 6rem); align-items: start; }
.detail__media { position: sticky; top: 6rem; }
.detail__art { position: relative; aspect-ratio: 4 / 5; width: min(100%, calc((100vh - 8rem) * .8)); border-radius: 1.6rem; overflow: hidden; background: var(--night-2); }
.detail__info h1 { font-size: clamp(3rem, 6vw, 5.6rem); line-height: .95; margin-bottom: 1.2rem; }
.desc { font-size: 1.12rem; max-width: 34rem; }
.facts { list-style: none; margin: 2rem 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.facts li { display: grid; gap: .2rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.facts strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.05; }
.facts span { font-size: .8rem; color: var(--muted); }
.price-card { padding: 1.6rem; border-radius: 1.4rem; background: #fff; box-shadow: 0 30px 80px -50px rgba(21, 20, 27, .45); }
.price-card__top { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.price-card .eyebrow { margin-bottom: .4rem; }
.price-card .total { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.price-card__psf { color: var(--muted); font-size: .9rem; }
.price-card__monthly { padding: .9rem 1rem; border-radius: .9rem; background: var(--paper); margin-bottom: .8rem; }
.cheques { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .6rem 0; font-size: .92rem; color: var(--muted); }
.cheques div { display: flex; gap: .3rem; }
.cheques button { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background .3s, color .3s; }
.cheques button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.detail__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.msg { margin-top: 1rem; font-size: .88rem; color: var(--muted); font-style: italic; }
.detail-more { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 8vh, 5rem) var(--pad); border-top: 1px solid var(--line); }
.plan { width: 100%; height: auto; margin-bottom: .8rem; background: #fff; border-radius: 1.2rem; padding: .6rem; }
.plan rect { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.plan .outer { stroke-width: 4; fill: #fbf8f3; }
.plan text { fill: var(--muted); font-family: var(--sans); text-anchor: middle; }
.plan .door { fill: none; stroke: var(--sun-2); stroke-width: 1.4; }
.feats { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .1rem; }
.feats li { padding: .7rem 0 .7rem 1.8rem; border-bottom: 1px solid var(--line); position: relative; }
.feats li::before { content: ''; position: absolute; left: .2rem; top: 1.15rem; width: .7rem; height: .7rem; border-radius: 50%; background: radial-gradient(circle, #ffd49a, var(--sun-2)); }
.specs { margin-bottom: 1.6rem; }
.agent { display: flex; gap: 1rem; align-items: center; padding: 1.2rem; border-radius: 1.2rem; background: var(--paper-2); }
.agent > div { display: grid; font-size: .9rem; color: var(--muted); }
.agent strong { color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.agent__mono { flex: none; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: linear-gradient(140deg, #2b3a6b, #0b0f1f); color: #f7bd80; font-family: var(--serif); font-size: 1.5rem; }
.detail-map { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 8vh, 5rem) var(--pad); align-items: center; background: var(--paper-2); }
.detail-map h2 { margin-bottom: 1rem; }
.related { padding: clamp(4rem, 10vh, 6rem) var(--pad); }

/* Areas page */
.area-index { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.area-index a { padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: .9rem; background: #fff; }
.area-index a:hover { background: var(--ink); color: var(--paper); }
.area-time { padding: 0 var(--pad) 1rem; }
.area { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 9vh, 6rem) var(--pad); border-top: 1px solid var(--line); scroll-margin-top: 4rem; }
.area__art { aspect-ratio: 4 / 5; border-radius: 1.4rem; overflow: hidden; }
.area__copy { align-self: center; }
.area__copy h2 { margin-bottom: 1rem; }
.area__line { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; margin-bottom: 1rem; }
.area--flip .area__art { order: 2; }
.area__homes { grid-column: 1 / -1; }

/* About */
.team { padding: clamp(4rem, 10vh, 6rem) var(--pad); background: var(--paper-2); }
.team h2 { margin-bottom: 2.6rem; }
.team__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.team__list li { display: grid; gap: .3rem; padding: 1.6rem; border-radius: 1.2rem; background: #fff; }
.team__list .agent__mono { margin-bottom: 1rem; width: 4.4rem; height: 4.4rem; font-size: 1.8rem; }
.team__list strong { font-size: 1.1rem; font-weight: 600; }
.team__list span { font-size: .92rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 5vw, 5rem); padding: 1rem var(--pad) clamp(4rem, 9vh, 6rem); align-items: start; }
.ways { display: grid; gap: .6rem; }
.way { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; text-align: left; padding: 1.2rem 1.4rem; border-radius: 1.2rem; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: background .3s, color .3s; }
.way > span:first-child { display: grid; }
.way strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.way span span { color: var(--muted); font-size: .9rem; }
.way:hover { background: var(--ink); color: var(--paper); }
.way:hover span span { color: rgba(242, 237, 228, .7); }
.arrow { font-size: 1.3rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 1.6rem; background: #fff; }
.form .full { grid-column: 1 / -1; }
.form > label { display: grid; gap: .4rem; font-size: .85rem; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; padding: .85rem 1rem; border-radius: .9rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 1rem; }
.form textarea { resize: vertical; }
.seg--form { flex-wrap: wrap; border-radius: 1.2rem; background: var(--paper); gap: .2rem; }
.seg--form legend { padding: 0 .6rem; font-size: .85rem; color: var(--muted); float: left; width: 100%; margin-bottom: .3rem; }
.form__foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Privacy, 404 */
.prose { padding: 0 var(--pad) 6rem; max-width: 46rem; }
.prose h2 { font-size: 2rem; margin: 2.4rem 0 .8rem; }
.prose p { color: #3b3832; margin-bottom: 1rem; }
.nf { display: grid; grid-template-columns: minmax(14rem, 26rem) 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(3rem, 8vh, 6rem) var(--pad); }
.nf__art { aspect-ratio: 4 / 5; border-radius: 1.4rem; overflow: hidden; }
.nf h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: .95; margin-bottom: 1rem; }
.nf .cta-band__btns { justify-content: flex-start; }

/* ---------- View transitions between pages ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
::view-transition-group(*) { animation-duration: .7s; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }

/* ---------- Mobile ---------- */
@media (max-width: 1000px) {
  .numbers__grid, .steps__list { grid-template-columns: 1fr 1fr; }
  .team__list { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { padding: .9rem 1.1rem; gap: 1rem; }
  .nav nav { gap: 1rem; }
  .nav nav a:nth-child(n+3) { display: none; }
  .nav .btn { display: none; }
  .hero__inner { padding-bottom: 7.5rem; }
  .hero__shade { background: linear-gradient(0deg, rgba(8, 10, 22, .85) 0, rgba(8, 10, 22, .45) 55%, rgba(8, 10, 22, .1) 100%); }
  .hero__clock { left: 1.25rem; right: auto; bottom: 1.6rem; text-align: left; grid-auto-flow: column; align-items: baseline; gap: .8rem; }
  .hero__time { font-size: 2rem; }
  .hero__hint { display: none; }
  .hero__late { top: 16%; font-size: 2.2rem; }
  .search { border-radius: 1.2rem; }
  .search__mode { flex: 1 1 100%; }
  .search__mode label { flex: 1; }
  .search__mode span { padding: .55rem 0; }
  .search .btn { flex: 1 1 100%; }
  .search__field, .hero__lede { display: none; }
  .featured__pin { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .featured__pin::-webkit-scrollbar { display: none; }
  .track > .lcard { width: 78vw; scroll-snap-align: center; }
  .areas-home__grid { grid-template-columns: 1fr; }
  .areas-home__preview { display: none; }
  .arow { grid-template-columns: 2rem 1fr; }
  .arow__meta { grid-column: 2; text-align: left; }
  .numbers__grid { gap: 1.4rem; }
  .calc__box { grid-template-columns: 1fr; }
  .calc__out { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.6rem; }
  .steps__list, .steps__list--3, .team__list { grid-template-columns: 1fr; }
  .office, .detail, .detail-more, .detail-map, .contact, .area, .nf { grid-template-columns: 1fr; }
  .detail__media { position: relative; top: 0; }
  .detail__art { width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .area--flip .area__art { order: 0; }
  .form { grid-template-columns: 1fr; }
  .filters .sel { flex: 1 1 calc(50% - .6rem); min-width: 0; }
  .filters .seg { flex: 1 1 100%; }
  .filters .seg label { flex: 1; }
  .timeset span { display: none; }
  .footer__links { gap: 1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal-words .word { opacity: 1; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
