:root {
  --ink: #211d1e;
  --ink-soft: #332d2e;
  --paper: #f1eee7;
  --paper-deep: #e5dfd4;
  --white: #fffdf8;
  --rose: #c9a3a4;
  --violet: #826483;
  --aqua: #83aaa5;
  --line: rgba(33, 29, 30, .18);
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Helvetica Neue", "Avenir Next", Arial, sans-serif;
  --shell: min(1280px, calc(100vw - 40px));
  --section: clamp(88px, 10vw, 164px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: var(--section); }
.skip-link {
  position: fixed; z-index: 1000; top: 12px; left: 12px;
  transform: translateY(-150%); background: var(--white); color: var(--ink);
  padding: 10px 16px; transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
.kicker, .eyebrow {
  margin: 0 0 18px;
  font-size: 11px; line-height: 1.2; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .98; }
h2 { margin-bottom: 30px; font-size: clamp(44px, 5.1vw, 78px); letter-spacing: -.035em; }
h3 { font-size: clamp(27px, 2.4vw, 38px); }
.button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border: 1px solid transparent; font-size: 12px;
  line-height: 1.1; letter-spacing: .11em; text-transform: uppercase; font-weight: 600;
  transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--white); color: var(--ink); }
.button-primary:hover { background: var(--rose); }
.button-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.button-ghost:hover { background: rgba(255,255,255,.12); }
.text-link {
  display: inline-flex; gap: 12px; align-items: center; padding-bottom: 5px;
  border-bottom: 1px solid currentColor; font-size: 12px; line-height: 1.2;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translate(2px, -2px); }
.button-reset { padding-inline: 0; color: inherit; background: none; border: 0; cursor: pointer; }

/* Header */
.site-header {
  position: fixed; z-index: 100; top: 0; left: 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 3.3vw, 56px); color: var(--white);
  transition: background .3s, padding .3s, box-shadow .3s;
}
.site-header.is-scrolled { padding-block: 10px; background: rgba(33,29,30,.94); box-shadow: 0 8px 32px rgba(0,0,0,.16); backdrop-filter: blur(16px); }
.brand { width: 118px; display: grid; color: inherit; text-align: center; line-height: 1; }
.brand-small { font-family: var(--display); font-size: 8px; text-transform: uppercase; }
.brand-main { font-family: var(--display); font-size: 29px; letter-spacing: .11em; text-transform: uppercase; }
.brand-sub { margin-top: 4px; font-size: 6px; letter-spacing: .44em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.site-nav a,
.site-nav button { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 15px; border: 1px solid rgba(255,255,255,.42); }
.nav-cta-button { color: inherit; background: transparent; cursor: pointer; }
.menu-button { display: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: heroScale 1.8s cubic-bezier(.2,.8,.2,1) both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,15,17,.82) 0%, rgba(18,15,17,.54) 38%, rgba(18,15,17,.12) 70%), linear-gradient(0deg, rgba(18,15,17,.72) 0%, transparent 42%); }
.hero-copy { position: relative; z-index: 2; width: min(760px, calc(100% - 40px)); margin-left: max(20px, calc((100vw - 1280px) / 2)); padding: 150px 0 170px; animation: heroCopy .9s .15s ease-out both; }
.hero h1 { max-width: 720px; margin-bottom: 17px; font-size: clamp(63px, 8.2vw, 128px); letter-spacing: -.052em; }
.hero-line { margin-bottom: 24px; color: var(--rose); font-family: var(--display); font-size: clamp(25px, 3vw, 43px); }
.hero-intro { max-width: 620px; margin-bottom: 35px; font-size: clamp(16px, 1.4vw, 20px); color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
  position: absolute; z-index: 2; right: max(20px, calc((100vw - 1280px) / 2)); bottom: 34px;
  display: flex; color: rgba(255,255,255,.74);
}
.hero-facts div { min-width: 160px; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.28); }
.hero-facts span { display: block; margin-bottom: 4px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.hero-facts strong { color: var(--white); font-family: var(--display); font-size: 17px; font-weight: 400; }
.scroll-cue { position: absolute; z-index: 2; left: clamp(20px, 3vw, 56px); bottom: 30px; display: flex; align-items: center; gap: 12px; font-size: 9px; text-transform: uppercase; letter-spacing: .2em; }
.scroll-cue span { width: 36px; height: 1px; background: currentColor; }
@keyframes heroScale { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@keyframes heroCopy { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.breadcrumbs { display: flex; gap: 10px; padding-block: 22px; border-bottom: 1px solid var(--line); color: rgba(33,29,30,.62); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.breadcrumbs a:hover { color: var(--ink); }

/* Overview */
.intro-section { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 140px); align-items: start; }
.intro-grid h2 { max-width: 650px; }
.intro-copy { max-width: 600px; padding-top: 28px; font-size: clamp(17px, 1.45vw, 21px); color: rgba(33,29,30,.74); }
.intro-copy p + p { margin-top: 26px; }
.feature-band { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); }
.feature-band > div { padding: 34px clamp(0px, 2vw, 32px) 0; border-right: 1px solid var(--line); }
.feature-band > div:first-child { padding-left: 0; }
.feature-band > div:last-child { border-right: 0; }
.feature-number { display: block; margin-bottom: 50px; color: var(--violet); font-size: 11px; letter-spacing: .18em; }
.feature-band h3 { margin-bottom: 18px; font-size: clamp(28px, 2.5vw, 40px); }
.feature-band p { max-width: 340px; color: rgba(33,29,30,.66); }

/* Architecture */
.image-statement { min-height: 850px; display: grid; grid-template-columns: minmax(360px, .82fr) 1.18fr; background: var(--ink); color: var(--white); }
.image-statement > img { width: 100%; height: 100%; max-height: 1050px; object-fit: cover; object-position: center; }
.image-statement-copy { align-self: center; max-width: 780px; padding: 90px clamp(40px, 8vw, 130px); }
.image-statement-copy h2 { font-size: clamp(53px, 6vw, 92px); }
.image-statement-copy p:last-child { max-width: 590px; color: rgba(255,255,255,.67); font-size: 18px; }

/* Film */
.film-section { padding-bottom: 0; background: var(--paper-deep); }
.film-frame { width: 100%; background: var(--ink); overflow: hidden; }
.film-frame video { width: 100%; max-height: 90svh; aspect-ratio: 16 / 9; display: block; background: #0e0c0d; object-fit: cover; }

/* Residences */
.residences-section { background: var(--white); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; margin-bottom: clamp(45px, 7vw, 90px); }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 480px; margin-bottom: 8px; color: rgba(33,29,30,.62); }
.residence-tabs { display: flex; gap: 10px; padding-bottom: 20px; overflow-x: auto; scrollbar-width: thin; }
.residence-tabs button {
  flex: 0 0 auto; padding: 10px 15px; color: rgba(33,29,30,.55);
  background: transparent; border: 0; border-bottom: 1px solid transparent;
  cursor: pointer; font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
}
.residence-tabs button.is-active { color: var(--ink); border-color: var(--ink); }
.residence-stage { border-top: 1px solid var(--line); }
.residence-card { display: none; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 8vw, 110px); padding-top: 36px; align-items: center; }
.residence-card.is-active { display: grid; }
.plan-preview { position: relative; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; overflow: hidden; }
.plan-preview img { width: 100%; height: auto; transition: transform .6s; }
.plan-preview:hover img { transform: scale(1.025); }
.plan-preview span, .gallery-item span {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 12px;
  color: var(--white); background: rgba(33,29,30,.82);
  font-size: 9px; text-transform: uppercase; letter-spacing: .15em;
}
.residence-meta h3 { margin-bottom: 38px; font-size: clamp(52px, 5vw, 78px); }
.residence-meta dl { margin: 0 0 42px; }
.residence-meta dl div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); }
.residence-meta dt { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: rgba(33,29,30,.55); }
.residence-meta dd { margin: 0; font-family: var(--display); font-size: 18px; }

/* Amenities */
.amenities-section { color: var(--white); background: var(--violet); }
.amenities-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 11vw, 160px); }
.amenities-copy { position: sticky; top: 130px; align-self: start; }
.amenities-copy h2 { max-width: 600px; }
.amenities-copy > p:not(.kicker) { max-width: 520px; color: rgba(255,255,255,.72); font-size: 18px; }
.amenities-copy .text-link { margin-top: 18px; }
.amenity-list article { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.28); }
.amenity-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.28); }
.amenity-list article > span { padding-top: 8px; font-size: 10px; letter-spacing: .16em; }
.amenity-list h3 { margin-bottom: 12px; font-size: clamp(38px, 4vw, 60px); }
.amenity-list p { margin-bottom: 0; color: rgba(255,255,255,.7); }

/* Gallery */
.gallery-strip { padding: var(--section) 0; background: var(--ink); color: var(--white); }
.section-heading.light > p { color: rgba(255,255,255,.62); }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 420px 340px; gap: 12px; }
.gallery-item { position: relative; padding: 0; border: 0; background: #151213; overflow: hidden; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item-1 { grid-row: 1 / 3; }
.gallery-item-2 img { object-position: 50% 55%; }
.gallery-grid-expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 280px;
}
.gallery-grid-expanded .gallery-item-1 { grid-row: auto; grid-column: span 2; }
.gallery-grid-expanded .gallery-item-4 { grid-column: span 2; }
.gallery-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 54px; border: 1px solid rgba(255,255,255,.28); }
.gallery-tabs button { min-height: 92px; display: flex; align-items: center; justify-content: center; gap: 16px; color: rgba(255,255,255,.58); background: transparent; border: 0; cursor: pointer; font-family: var(--display); font-size: 34px; transition: color .25s, background .25s; }
.gallery-tabs button + button { border-left: 1px solid rgba(255,255,255,.28); }
.gallery-tabs button span { font-family: var(--sans); font-size: 9px; letter-spacing: .16em; }
.gallery-tabs button.is-active { color: var(--ink); background: var(--white); }
.gallery-panel[hidden] { display: none; }
.gallery-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.gallery-panel-heading h3 { margin: 0; font-size: clamp(48px, 5vw, 72px); }
.gallery-panel-heading p { margin: 0 0 8px; color: rgba(255,255,255,.62); }
.gallery-grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 16px; }
.gallery-grid-large .gallery-item { height: 420px; }
.gallery-grid-large .gallery-item-featured { grid-column: 1 / -1; height: min(620px, 66vw); }

/* Views */
.outlooks-section { background: var(--paper-deep); }
.outlooks-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 9vw, 140px); align-items: center; }
.outlooks-grid > div:first-child p:last-child { max-width: 530px; color: rgba(33,29,30,.65); }
.outlooks-grid > div:first-child > p { max-width: 530px; color: rgba(33,29,30,.65); }
.location-layout { display: grid; }
.location-heading { margin-bottom: 48px; }
.travel-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 18px; background: var(--line); border: 1px solid var(--line); }
.travel-times span { min-height: 92px; display: grid; align-content: center; gap: 5px; padding: 18px; background: var(--paper-deep); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.travel-times strong { color: var(--violet); font-family: var(--display); font-size: 25px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.view-map { position: relative; aspect-ratio: 1.45; min-height: 470px; border: 1px solid var(--line); background: radial-gradient(circle at center, rgba(130,100,131,.18), transparent 36%), repeating-linear-gradient(90deg, transparent 0 59px, rgba(33,29,30,.05) 60px), repeating-linear-gradient(0deg, transparent 0 59px, rgba(33,29,30,.05) 60px); }
.view-centre { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 170px; height: 170px; display: grid; place-content: center; border-radius: 50%; color: var(--white); background: var(--ink); text-align: center; line-height: 1; }
.view-centre span { font-family: var(--display); font-size: 10px; }
.view-centre strong { font-family: var(--display); font-size: 32px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.view-centre small { margin-top: 5px; font-size: 7px; letter-spacing: .26em; text-transform: uppercase; }
.view-label { position: absolute; padding: 8px 12px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.view-north { top: 7%; left: 50%; transform: translateX(-50%); }
.view-east { right: 5%; top: 48%; }
.view-south { bottom: 7%; left: 50%; transform: translateX(-50%); }
.view-west { left: 4%; top: 57%; }
.view-northwest { left: 8%; top: 13%; }
.location-image { position: relative; width: 100%; min-width: 0; padding: 0; background: var(--ink); border: 0; overflow: hidden; cursor: zoom-in; }
.location-image img { width: 100%; height: auto; object-fit: contain; transition: transform .7s; }
.location-image:hover img { transform: scale(1.02); }
.location-image span { position: absolute; left: 18px; bottom: 18px; padding: 10px 14px; color: var(--white); background: rgba(33,29,30,.86); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }

/* Plans */
.plans-section { background: var(--white); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-grid button { position: relative; min-width: 0; padding: 0; border: 1px solid var(--line); background: var(--paper); cursor: zoom-in; overflow: hidden; }
.plan-grid img { width: 100%; height: auto; transition: transform .45s; }
.plan-grid button:hover img { transform: scale(1.02); }
.plan-grid span { position: absolute; left: 0; bottom: 0; padding: 9px 13px; color: var(--white); background: var(--ink); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

/* Payment plan */
.payment-section { background: var(--paper); }
.payment-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.payment-grid article { min-height: 220px; display: grid; align-content: space-between; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.payment-grid span { color: var(--violet); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.payment-grid strong { margin: 25px 0; font-family: var(--display); font-size: clamp(52px, 5vw, 74px); font-weight: 400; line-height: 1; }
.payment-grid p { margin: 0; color: rgba(33,29,30,.62); }
.payment-note { max-width: 760px; margin: 24px 0 0; color: rgba(33,29,30,.5); font-size: 11px; }

/* Developer */
.developer-section { color: var(--white); background: var(--ink-soft); }
.developer-grid { display: grid; grid-template-columns: .55fr .7fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.imkan-wordmark { font-family: var(--sans); font-size: 26px; letter-spacing: .48em; }
.imkan-wordmark span { display: block; margin: 0 0 -2px 5px; font-size: 21px; letter-spacing: .2em; }
.developer-grid h2 { margin-bottom: 0; }
.developer-grid > div:last-child p { color: rgba(255,255,255,.67); }

/* FAQ */
.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(60px, 10vw, 150px); }
.faq-grid > div:first-child > p:last-child { color: rgba(33,29,30,.62); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 55px 23px 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: 23px; line-height: 1.2; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: absolute; right: 4px; top: 20px; font-family: var(--sans); font-size: 24px; transition: transform .25s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; padding: 0 60px 24px 0; color: rgba(33,29,30,.65); }

/* Registration */
.contact-section { position: relative; min-height: 760px; padding: var(--section) 0; color: var(--white); background: var(--ink); overflow: hidden; }
.contact-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,21,23,.94), rgba(25,21,23,.72)); }
.contact-grid { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.contact-copy h2 { max-width: 560px; }
.contact-copy > p:not(.kicker) { max-width: 560px; color: rgba(255,255,255,.7); }
.enquiry-form { position: relative; padding: clamp(34px, 5vw, 58px); color: var(--ink); background: rgba(255,253,248,.97); box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.phone-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; }
.phone-row .field { min-width: 0; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.field em { color: rgba(33,29,30,.48); font-style: normal; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(33,29,30,.34);
  border-radius: 0; outline: 0; transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); }
.field small { display: none; margin-top: 6px; color: #8b2828; font-size: 11px; }
.has-error input, .has-error select, .has-error textarea { border-color: #a83a3a; }
.has-error small { display: block; }
.submit-button { width: 100%; color: var(--white); background: var(--ink); cursor: pointer; }
.submit-button:hover { color: var(--ink); background: var(--rose); }
.submit-button:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 22px; margin: 14px 0 0; font-size: 12px; }
.form-status.is-error { color: #8b2828; }
.form-status.is-success { color: #1f6c50; }

/* Registration popup */
.enquiry-dialog {
  width: min(760px, calc(100% - 32px)); max-height: min(880px, calc(100dvh - 32px)); padding: 0;
  color: var(--ink); background: transparent; border: 0; overflow: visible;
}
.enquiry-dialog::backdrop { background: rgba(18,15,17,.76); backdrop-filter: blur(7px); }
.enquiry-dialog[open] { animation: enquiry-in .22s ease-out; }
.enquiry-dialog-panel { position: relative; max-height: min(880px, calc(100dvh - 32px)); padding: 42px; background: var(--paper); overflow-y: auto; }
.enquiry-dialog-close {
  position: absolute; z-index: 2; top: 14px; right: 16px; width: 42px; height: 42px;
  display: grid; place-items: center; padding: 0; color: var(--ink); background: transparent;
  border: 0; font-size: 30px; line-height: 1; cursor: pointer;
}
.enquiry-dialog-heading { padding-right: 42px; }
.enquiry-dialog-heading h2 { margin-bottom: 28px; font-size: clamp(40px, 6vw, 64px); }
.enquiry-dialog-form { padding: 0; background: transparent; box-shadow: none; }
@keyframes enquiry-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Submission confirmation */
.success-dialog {
  width: min(570px, calc(100% - 32px)); padding: 0; color: var(--ink);
  background: transparent; border: 0; overflow: visible;
}
.success-dialog::backdrop { background: rgba(18,15,17,.76); backdrop-filter: blur(7px); }
.success-dialog[open] { animation: enquiry-in .22s ease-out; }
.success-dialog-panel { position: relative; padding: clamp(42px, 7vw, 68px); text-align: center; background: var(--paper); }
.success-dialog-close {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px;
  display: grid; place-items: center; padding: 0; color: var(--ink); background: rgba(33,29,30,.06);
  border: 0; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer;
}
.success-dialog-close:hover { background: rgba(201,163,164,.42); }
.success-dialog-close:focus-visible { outline-color: var(--violet); outline-offset: 2px; }
.success-dialog-mark {
  width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 26px;
  color: var(--white); background: var(--violet); border-radius: 50%; font-size: 30px;
}
.success-dialog h2 { margin-bottom: 18px; font-size: clamp(42px, 7vw, 66px); }
.success-dialog h2:focus { outline: 0; }
.success-dialog-panel > p:not(.kicker) { max-width: 430px; margin: 0 auto 30px; color: rgba(33,29,30,.66); }
.success-dialog-button { min-width: 180px; color: var(--white); background: var(--ink); cursor: pointer; }
.success-dialog-button:hover { color: var(--ink); background: var(--rose); }

/* Footer */
.site-footer { padding: 80px 0 28px; color: rgba(255,255,255,.67); background: #171415; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; padding-bottom: 70px; }
.footer-brand { color: var(--white); align-self: start; }
.footer-top h2 { margin-bottom: 18px; color: var(--white); font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.footer-top > div { display: grid; align-content: start; gap: 8px; font-size: 13px; }
.footer-top a:hover { color: var(--white); }
.footer-action { width: fit-content; padding: 0 0 4px; color: inherit; background: transparent; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; }
.footer-disclaimer { padding-top: 25px; border-top: 1px solid rgba(255,255,255,.15); font-size: 10px; line-height: 1.6; }
.footer-disclaimer p:first-child { max-width: 1100px; }
.footer-disclaimer p:last-child { margin-bottom: 0; }
.mobile-cta { display: none; }

/* Lightbox */
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 64px 80px; color: var(--white); background: rgba(20,17,18,.96); border: 0; }
.lightbox::backdrop { background: rgba(0,0,0,.78); }
.lightbox[open] { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 18px; animation: lightboxIn .25s both; }
.lightbox figure { min-width: 0; max-height: calc(100vh - 100px); margin: 0; display: grid; place-items: center; }
.lightbox figure img { max-width: 100%; max-height: calc(100vh - 135px); object-fit: contain; }
.lightbox figcaption { margin-top: 12px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.lightbox button { color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.35); cursor: pointer; }
.lightbox-close { position: fixed; z-index: 2; right: 25px; top: 22px; width: 42px; height: 42px; font-size: 26px; }
.lightbox-nav { width: 52px; height: 52px; font-size: 20px; }
@keyframes lightboxIn { from { opacity: 0; } to { opacity: 1; } }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .site-nav { gap: 15px; }
  .site-nav a { font-size: 9px; }
  .hero-facts div { min-width: 135px; padding-inline: 16px; }
  .image-statement { grid-template-columns: .9fr 1.1fr; }
  .section-heading { grid-template-columns: 1fr .62fr; gap: 45px; }
  .developer-grid { grid-template-columns: .5fr .8fr 1fr; }
}

@media (max-width: 900px) {
  :root { --shell: min(calc(100% - 32px), 740px); }
  .site-header,
  .site-header.is-scrolled {
    z-index: 1000;
    min-height: 78px;
    padding: 12px 20px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header.is-scrolled { background: rgba(33,29,30,.98); }
  .brand { position: relative; z-index: 2; }
  .menu-button {
    position: relative; z-index: 2; width: 46px; height: 42px; display: grid; place-content: center;
    gap: 7px; color: inherit; background: transparent; border: 1px solid rgba(255,255,255,.34);
  }
  .menu-button span { width: 20px; height: 1px; display: block; background: currentColor; transition: transform .25s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed; z-index: 1; inset: 0; width: 100vw; min-height: 100dvh;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: clamp(14px, 3vh, 22px); padding: clamp(96px, 16vh, 136px) max(24px, 8vw) 32px;
    color: var(--white); background: var(--ink); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav a { font-family: var(--display); font-size: 30px; letter-spacing: 0; text-transform: none; }
  .site-nav .nav-cta { margin-top: 10px; font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
  .hero-copy { margin-inline: auto; padding-bottom: 250px; }
  .hero-shade { background: linear-gradient(90deg, rgba(18,15,17,.8), rgba(18,15,17,.2)), linear-gradient(0deg, rgba(18,15,17,.86), transparent 62%); }
  .hero-facts { right: 16px; left: 16px; bottom: 70px; }
  .hero-facts div { flex: 1; min-width: 0; }
  .scroll-cue { display: none; }
  .intro-grid, .residence-card, .amenities-grid, .outlooks-grid, .developer-grid, .faq-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 15px; }
  .intro-copy { padding-top: 0; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-band > div { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-number { margin-bottom: 25px; }
  .image-statement { grid-template-columns: 1fr 1fr; min-height: 720px; }
  .image-statement-copy { padding: 65px 35px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .residence-card { gap: 40px; }
  .amenities-copy { position: static; }
  .gallery-grid { grid-template-rows: 360px 280px; }
  .gallery-grid-expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 280px; }
  .gallery-grid-expanded .gallery-item-1,
  .gallery-grid-expanded .gallery-item-4 { grid-column: span 1; }
  .gallery-grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .gallery-grid-large .gallery-item { height: 360px; }
  .gallery-grid-large .gallery-item-featured { grid-column: 1 / -1; height: 500px; }
  .view-map { min-height: 430px; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
  .developer-grid { gap: 45px; }
  .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-top > div:last-child { grid-column: 2; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 32px); --section: 82px; }
  body { font-size: 15px; }
  h2 { font-size: clamp(42px, 13vw, 58px); }
  .hero { min-height: 820px; }
  .hero-image { object-position: center; }
  .hero-copy { width: var(--shell); padding: 140px 0 300px; }
  .hero h1 { font-size: clamp(58px, 19vw, 84px); }
  .hero-intro { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-facts { bottom: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .hero-facts div { padding-inline: 12px; }
  .hero-facts div:last-child { grid-column: 1 / 3; }
  .image-statement { grid-template-columns: 1fr; }
  .image-statement > img { height: 620px; }
  .image-statement-copy { padding: 70px 24px; }
  .image-statement-copy h2 { font-size: 52px; }
  .section-heading { margin-bottom: 45px; }
  .residence-meta h3 { font-size: 52px; }
  .residence-meta dl div { grid-template-columns: 1fr; gap: 5px; }
  .amenity-list article { grid-template-columns: 45px 1fr; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: 360px 420px 300px; }
  .gallery-item-1 { grid-row: auto; }
  .gallery-grid-expanded { grid-template-rows: none; grid-auto-rows: 280px; }
  .gallery-grid-expanded .gallery-item-1,
  .gallery-grid-expanded .gallery-item-4 { grid-column: auto; }
  .gallery-tabs { margin-bottom: 38px; }
  .gallery-tabs button { min-height: 72px; gap: 9px; font-size: 25px; }
  .gallery-panel-heading { display: grid; gap: 10px; }
  .gallery-grid-large { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-grid-large .gallery-item { height: 320px; }
  .gallery-grid-large .gallery-item-featured { grid-column: auto; height: 440px; }
  .film-frame { width: 100%; }
  .film-frame video { min-height: 58svh; aspect-ratio: auto; }
  .travel-times { grid-template-columns: 1fr 1fr; }
  .travel-times span { min-height: 76px; }
  .view-map {
    width: 100%;
    min-width: 0;
    min-height: 400px;
    height: min(500px, calc(100svh - 96px));
    aspect-ratio: auto;
  }
  .view-centre { width: 135px; height: 135px; }
  .view-centre strong { font-size: 26px; }
  .view-east { top: 44%; right: 2%; }
  .view-west { top: 61%; left: 2%; max-width: 145px; }
  .view-northwest { top: 18%; left: 2%; max-width: 135px; }
  .plan-grid { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: 1fr 1fr; }
  .payment-grid article { min-height: 170px; padding: 20px; }
  .payment-grid strong { font-size: 48px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .phone-row { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 12px; }
  .enquiry-form { padding: 28px 20px; }
  .enquiry-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .enquiry-dialog-panel { max-height: calc(100dvh - 20px); padding: 32px 16px 20px; }
  .enquiry-dialog-heading { padding-right: 34px; }
  .enquiry-dialog-heading h2 { margin-bottom: 22px; font-size: 42px; }
  .enquiry-dialog-form { padding: 0; }
  .success-dialog { width: calc(100% - 20px); }
  .success-dialog-panel { padding: 46px 22px 30px; }
  .success-dialog h2 { font-size: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / 3; margin-bottom: 28px; }
  .footer-top > div:last-child { grid-column: auto; }
  .mobile-cta {
    position: fixed; z-index: 90; left: 0; bottom: 0; width: 100%; height: 58px;
    display: grid; grid-template-columns: 1fr; background: var(--white); box-shadow: 0 -6px 22px rgba(0,0,0,.13);
    opacity: 0; visibility: hidden; transform: translateY(100%);
    transition: opacity .25s ease, visibility .25s ease, transform .3s ease;
  }
  .mobile-cta.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-cta button { display: grid; place-items: center; border: 0; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; cursor: pointer; }
  .mobile-cta-main { color: var(--white); background: var(--violet); }
  .lightbox { padding: 70px 10px 20px; }
  .lightbox[open] { grid-template-columns: 40px 1fr 40px; gap: 4px; }
  .lightbox-nav { width: 40px; height: 44px; }
}

@media (max-width: 370px) {
  :root { --shell: calc(100% - 24px); }
  .site-header,
  .site-header.is-scrolled { padding-inline: 12px; }
  .hero h1 { font-size: 56px; }
  .hero-facts strong { font-size: 15px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
