/* ==========================================================================
   The Calm Side of Gandhinagar — Shree Buildcon (Palaj bungalows)
   v3 "quiet luxury": the hoarding's white, blue and deep-water navy. Titles and
   headings in Aboreto, text in Poppins (two fonts only); hairlines, square buttons and a champagne accent
   taken from the lotus. No framework; native scroll; transform/opacity motion.
   ========================================================================== */

@font-face { font-family: "Aboreto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/aboreto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }

:root {
    --blue: #2d4a8d;          /* banner title blue */
    --blue-mid: #46609f;
    --ink: #0b1830;           /* headings + copy */
    --deep: #00132c;          /* deepest wave */
    --mist: #a9aecf;          /* lightest wave */
    --gold: #b2976a;          /* champagne — the lotus stamen */
    --paper: #f7f5f0;         /* warm off-white */
    --line: rgba(11, 24, 48, .14);
    --line-light: rgba(255, 255, 255, .16);

    --display: "Aboreto", "Poppins", system-ui, sans-serif;   /* titles, headings, accents */
    --serif: var(--display);                                   /* kept as an alias: the site uses Aboreto + Poppins only */
    --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

    --gutter: clamp(1.25rem, 5.5vw, 6rem);
    --section: clamp(6rem, 13vw, 12.5rem);
    --maxw: 1360px;
    --nav-h: 80px;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: #fff; color: rgba(11, 24, 48, .78);
    font-family: var(--sans); font-weight: 300; font-size: 1rem; line-height: 1.9;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, a, input, textarea { touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1.1rem; z-index: 300; }
.skip:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 1rem; font-size: .66rem; font-weight: 400; letter-spacing: .36em; text-transform: uppercase; color: var(--ink); }
.eyebrow i { font-family: var(--display); font-style: normal; font-size: .8rem; letter-spacing: .08em; color: var(--gold); text-transform: none; line-height: 1; }
.eyebrow i::after { content: ""; display: inline-block; vertical-align: middle; width: 2.6rem; height: 1px; background: var(--gold); margin-left: 1rem; }
.eyebrow--light { color: rgba(255, 255, 255, .8); }
.h2 { font-family: var(--display); font-weight: 400; font-synthesis: none; color: var(--ink); font-size: clamp(1.9rem, 4.3vw, 3.9rem); line-height: 1.16; letter-spacing: .01em; margin: 1.6rem 0 0; }
.h2 em { font-style: normal; color: var(--blue); }
.h2--light { color: #fff; } .h2--light em { color: var(--mist); }
.lede { font-size: clamp(.98rem, 1.15vw, 1.06rem); line-height: 2; max-width: 30rem; margin: 2rem 0 0; }

/* ---------- buttons: square, hairline ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; padding: 1.08rem 2.1rem; border: 1px solid var(--ink); font-size: .64rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); position: relative; overflow: hidden; isolation: isolate; transition: color .6s var(--ease), border-color .6s var(--ease); white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .7s var(--ease); }
.btn svg { width: 1rem; height: 1rem; flex: none; transition: transform .6s var(--ease); }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid::before { background: var(--blue); }
.btn--white { background: #fff; border-color: #fff; color: var(--deep); }
.btn--white::before { background: var(--gold); }
.btn[disabled] { opacity: .6; pointer-events: none; }
@media (hover: hover) {
    .btn:hover { color: #fff; } .btn:hover::before { transform: none; } .btn:hover svg { transform: translateX(5px); }
    .btn--solid:hover { border-color: var(--blue); }
    .btn--white:hover { color: var(--deep); border-color: var(--gold); }
}

/* ---------- opening screen: logo outline draws, fills, lifts away; the white clears and the page itself moves in ---------- */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 250; background: #fff; display: grid; place-items: center; overflow: hidden; overscroll-behavior: none; touch-action: none; animation: loaderBye .8s ease 6s forwards; }
.loader__svg { display: block; width: min(64vw, 760px); height: auto; max-height: 70vh; }
.loader__lines path { fill: none; stroke: #040707; stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: loaderDraw 1.5s linear both; animation-delay: calc(var(--i) * 30ms); }
.loader__fill { fill: #040707; opacity: 0; animation: loaderFill 1.25s linear .8s both; }
html.is-loaded .loader { pointer-events: none; animation: loaderBye 1.1s var(--ease-io) .15s forwards; }
html.is-loaded .loader__svg { opacity: 0; transform: translate3d(0, -30px, 0) scale(.97); transition: opacity .5s ease, transform .7s var(--ease-io); }
/* the page's own entrance, timed to the white clearing */
.js .nav { opacity: 0; transform: translate3d(0, -16px, 0); animation: navSafe .6s ease 6.4s forwards; }   /* safety net if the script never runs */
@keyframes navSafe { to { opacity: 1; transform: none; } }
html.is-loaded .nav { animation: none; opacity: 1; transform: none; transition: opacity 1s var(--ease) .5s, transform 1.2s var(--ease) .5s, background-color .6s var(--ease), box-shadow .6s var(--ease), height .6s var(--ease); }
html.is-loaded .nav.is-hidden { transform: translate3d(0, -101%, 0); }
@keyframes loaderDraw { to { stroke-dashoffset: 0; } }
@keyframes loaderFill { to { opacity: 1; } }
@keyframes loaderBye { to { opacity: 0; visibility: hidden; } }
@media (max-width: 767px) { .loader__svg { width: 82vw; } .loader__lines path { stroke-width: 2.4; } }

/* ---------- navigation: links left · brand centre · links + enquire right ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h); display: flex; align-items: center; padding-inline: var(--gutter); transition: background-color .6s var(--ease), box-shadow .6s var(--ease), height .6s var(--ease), transform .7s var(--ease); }
.nav.is-solid { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line); height: 68px; }
@supports (backdrop-filter: blur(10px)) { .nav.is-solid { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); } }
.nav.is-hidden { transform: translate3d(0, -101%, 0); }
.nav__in { width: 100%; max-width: 1560px; margin-inline: auto; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.2rem; }
.brand { display: inline-flex; flex-direction: column; justify-self: start; gap: .4rem; color: var(--blue); line-height: 1; }
.brand__name { font-family: var(--display); font-size: 1.3rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: font-size .6s var(--ease); }
.brand__sub { font-size: .46rem; font-weight: 500; letter-spacing: .92em; text-transform: uppercase; white-space: nowrap; color: var(--ink); padding-left: .15em; margin-right: -.92em; transition: opacity .5s var(--ease); }
.nav__links { display: none; align-items: center; gap: clamp(1.8rem, 3vw, 3.2rem); }
.nav__links a { position: relative; font-family: var(--display); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding: .6rem 0; white-space: nowrap; transition: color .5s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: .16em; bottom: .2rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="true"] { color: var(--blue); }
.nav__r { justify-self: end; display: flex; align-items: center; gap: clamp(.5rem, 2vw, 2.2rem); }
.nav__tel { display: none; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease); }
.nav__tel svg { width: .95rem; height: .95rem; }
.nav__tel span { display: none; }
.nav__tel:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.nav .btn { padding: .82rem 1.6rem; }
.nav__progress { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.nav__menu { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -.6rem; }
.nav__menu i { display: block; width: 1.6rem; height: 1px; background: transparent; position: relative; }
.nav__menu i::before, .nav__menu i::after { content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: var(--ink); transition: transform .5s var(--ease); }
.nav__menu i::before { transform: translateY(-4px); } .nav__menu i::after { transform: translateY(4px); }
.nav__menu[aria-expanded="true"] i::before { transform: rotate(45deg); } .nav__menu[aria-expanded="true"] i::after { transform: rotate(-45deg); }
@media (min-width: 1024px) {
    .nav__in { grid-template-columns: 1fr auto 1fr; gap: 2rem; }
    .nav__links { display: flex; }
    .nav__links--l { justify-self: start; }
    .brand { justify-self: center; text-align: center; gap: .5rem; }
    .brand__name { font-size: 1.7rem; letter-spacing: .12em; padding-left: .12em; }
    .brand__sub { font-size: .52rem; letter-spacing: 1.5em; margin-right: -1.5em; padding-left: .3em; }
    .nav.is-solid .brand__sub { letter-spacing: 1.08em; margin-right: -1.08em; }
    .nav.is-solid .brand__name { font-size: 1.35rem; }
    :root { --nav-h: 96px; }
    .nav__tel { display: inline-flex; }
    .nav__menu { display: none; }
}

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 55; background: #fff; display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--gutter) 3rem; visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility 0s .5s; }
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .5s var(--ease); }
.menu__link { display: flex; align-items: baseline; gap: 1.2rem; font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 6.4vw, 2rem); line-height: 1.3; color: var(--ink); padding: .8rem 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 70ms + 80ms); }
.menu__link small { font-family: var(--display); font-size: .75rem; letter-spacing: .08em; color: var(--gold); }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu__foot { margin-top: 2.4rem; display: grid; gap: .5rem; font-size: .92rem; color: var(--ink); }
.menu__foot a { display: inline-flex; align-items: center; gap: .8rem; }
.menu__foot svg { width: 1rem; height: 1rem; color: var(--gold); }

/* ---------- hero (the hoarding, as a page) ---------- */
.hero { --wh: 27.25vw; position: relative; height: 100vh; height: 100svh; min-height: 640px; display: flex; flex-direction: column; overflow: hidden; background: #fff; padding: calc(var(--nav-h) + clamp(.5rem, 4svh, 3.5rem)) var(--gutter) 0; isolation: isolate; }
.hero__body { position: relative; z-index: 2; width: 100%; max-width: 1560px; margin: auto; padding-bottom: calc(var(--wh) * .5); }
.hero__title { display: inline-grid; margin: 0; font-weight: 400; }
.ln { display: block; overflow: hidden; padding-bottom: .08em; }
.ln > span { display: block; will-change: transform; }
.hero__title .t1 { font-family: var(--display); font-weight: 400; font-synthesis: none; text-transform: uppercase; color: var(--blue); font-size: clamp(2.05rem, 8.4vw, 8.25rem); line-height: 1.02; letter-spacing: .005em; white-space: nowrap; }
.hero__title .t2 { width: 0; min-width: 100%; font-family: var(--sans); font-weight: 600; text-transform: uppercase; color: var(--blue); font-size: clamp(.95rem, 4.5vw, 4.4rem); line-height: 1.25; letter-spacing: .38em; text-align-last: justify; white-space: nowrap; margin-top: .35em; }
.hero__title .t2 > span { margin-right: -.38em; }
.hero__rule { width: min(100%, 78rem); height: 1px; background: var(--blue); opacity: .5; margin: clamp(1.4rem, 3.4vw, 3.2rem) 0 clamp(1.1rem, 2.6vw, 2.2rem); transform-origin: left; }
.hero__status { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem clamp(1.2rem, 3vw, 2.6rem); }
.hero__soon { font-weight: 600; text-transform: uppercase; color: var(--blue); font-size: clamp(.9rem, 2.5vw, 2.1rem); letter-spacing: .3em; }
.hero__tel { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: clamp(.95rem, 2.3vw, 1.9rem); color: #000; padding-left: clamp(1.1rem, 3vw, 2.6rem); border-left: 1px solid rgba(45, 74, 141, .45); line-height: 1.2; }
.hero__tel svg { width: 1.1em; height: 1.1em; }
.hero__sub { display: flex; align-items: center; gap: 1rem; margin: clamp(1.5rem, 2.8vw, 2.6rem) 0 0; font-size: .64rem; letter-spacing: .36em; text-transform: uppercase; color: var(--ink); font-weight: 400; }
.hero__sub::before { content: ""; width: 2.6rem; height: 1px; background: var(--gold); }
.hero__water { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1; pointer-events: none; }
.hero__water picture, .hero__water img { width: 100%; height: auto; }
.hero__water img { will-change: transform; transform: translate3d(0, var(--water-y, 0px), 0); }
.hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; height: clamp(26px, 4.2vw, 64px); overflow: hidden; pointer-events: none; }
.hero__edge svg { position: absolute; left: 0; bottom: 0; width: 230%; max-width: none; height: 100%; fill: #fff; animation: drift 42s linear infinite; will-change: transform; }
.hero__cue { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(3.2rem, 6vw, 5.5rem); display: none; align-items: center; gap: .9rem; font-size: .58rem; letter-spacing: .4em; text-transform: uppercase; color: #fff; writing-mode: vertical-rl; }
.hero__cue::after { content: ""; width: 1px; height: 3.4rem; background: linear-gradient(#fff, rgba(255,255,255,0)); animation: cue 2.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (min-width: 900px) { .hero__cue { display: inline-flex; } }

/* ---------- sections ---------- */
.sec { padding-block: var(--section); position: relative; }
.sec--paper { background: var(--paper); }

/* reveals */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .1em .18em 0; margin: 0 -.1em -.18em 0; }
.js [data-split] .w > span { display: inline-block; transform: translate3d(0, 115%, 0); transition: transform 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); will-change: transform; }
.js [data-split].is-in .w > span { transform: none; }
.rv { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 1.3s var(--ease), transform 1.5s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }

/* About: arch window left, copy right */
.about__grid { display: grid; gap: clamp(3rem, 6vw, 7rem); align-items: center; }
.arch { position: relative; margin: 0 auto; width: min(100%, 26rem); opacity: 1; transform: none; }
.arch__frame { position: relative; aspect-ratio: 4 / 5.1; border-radius: 999px 999px 0 0; overflow: hidden; background: #fff; border: 1px solid rgba(178, 151, 106, .7); }
.arch__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transform: scale(1.14); transition: transform 2.6s var(--ease); }
.arch__frame::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: top; transition: transform 1.7s var(--ease-io); }
.arch.is-in .arch__frame img { transform: none; }
.arch.is-in .arch__frame::after { transform: scaleY(0); }
.h2--about { font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.24; }
.about__grid .lede { max-width: 34rem; }
.link { display: inline-flex; align-items: center; gap: .9rem; margin-top: 2.4rem; padding: .4rem 0 .7rem; font-size: .64rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); position: relative; }
.link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform-origin: right; transition: transform .8s var(--ease); }
.link svg { width: 1rem; height: 1rem; color: var(--gold); transition: transform .7s var(--ease); }
@media (hover: hover) { .link:hover::after { transform: scaleX(.3); } .link:hover svg { transform: translateX(6px); } }
@media (min-width: 720px) { .about__grid { grid-template-columns: 4.6fr 7fr; } }
@media (min-width: 900px) { .h2--about em { display: block; white-space: nowrap; } }
/* facts: one row along the bottom of the About section */
.facts { margin: clamp(3.5rem, 7vw, 6.5rem) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.facts div { padding: clamp(1.6rem, 2.6vw, 2.4rem) clamp(1rem, 2.4vw, 2.4rem); border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: .6rem; letter-spacing: .34em; text-transform: uppercase; color: rgba(11, 24, 48, .55); font-weight: 400; }
.facts dd { margin: .7rem 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(1rem, 1.35vw, 1.35rem); line-height: 1.3; letter-spacing: .03em; color: var(--ink); }
@media (min-width: 900px) { .facts dd { white-space: nowrap; } }

/* wave edges */
.waves { position: relative; height: clamp(54px, 8vw, 120px); overflow: hidden; background: #fff; margin-bottom: -1px; }
.waves svg { position: absolute; left: 0; bottom: -1px; width: 230%; max-width: none; height: 100%; will-change: transform; }
.waves .w1 { fill: var(--mist); opacity: .5; animation: drift 44s linear infinite; }
.waves .w2 { fill: var(--blue-mid); opacity: .9; animation: drift 34s linear infinite reverse; }
.waves .w3 { fill: var(--deep); animation: drift 52s linear infinite; }
.waves--flip { transform: scaleY(-1); margin: -1px 0 0; }
.waves--paper { background: var(--paper); }

/* Statement: deep water */
.statement { background: var(--deep); color: #fff; text-align: center; padding: clamp(4rem, 9vw, 8.5rem) var(--gutter); }
.statement::before { content: ""; display: block; width: 1px; height: clamp(3rem, 6vw, 5rem); margin: 0 auto clamp(2rem, 4vw, 3rem); background: linear-gradient(transparent, var(--gold)); }
.statement p { margin: 0 auto; max-width: 66rem; font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(1.5rem, 3.5vw, 3.1rem); line-height: 1.34; letter-spacing: .02em; }
.statement em { font-style: normal; }
.js .statement .sw { color: rgba(255, 255, 255, .16); transition: color .8s var(--ease); }
.js .statement .sw.on { color: #fff; }
.js .statement em .sw.on { color: var(--mist); }

/* The idea: three columns, roman numerals */
.cols { display: grid; gap: 3.2rem; margin-top: clamp(3.5rem, 7vw, 6.5rem); }
.col { position: relative; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.col::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.col__n { display: block; font-family: var(--display); font-size: .95rem; letter-spacing: .1em; text-transform: lowercase; line-height: 1; color: var(--gold); transition: transform .8s var(--ease); }
.col h3 { margin: 2.2rem 0 1rem; font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.3; letter-spacing: .03em; color: var(--ink); transition: color .6s var(--ease); }
.col p { margin: 0; max-width: 22rem; font-size: .95rem; }
@media (hover: hover) { .col:hover::before { transform: none; } .col:hover h3 { color: var(--blue); } .col:hover .col__n { transform: translateX(.5rem); } }
@media (min-width: 640px) { .cols { grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 5vw, 5.5rem); } }

/* What's next: sticky heading left, steps right */
.next__grid { display: grid; gap: clamp(3rem, 6vw, 6rem); }
.next__head .btn { margin-top: 2.6rem; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step { position: relative; display: grid; grid-template-columns: 3.4rem 1fr; gap: .4rem 1rem; padding: clamp(2rem, 3.4vw, 3rem) 0; border-bottom: 1px solid var(--line); }
.step::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.step__n { font-family: var(--display); font-size: .9rem; letter-spacing: .08em; color: var(--gold); line-height: 2.2; }
.step h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.4; letter-spacing: .03em; color: var(--ink); transition: transform .8s var(--ease), color .6s var(--ease); }
.step p { grid-column: 2; margin: .6rem 0 0; max-width: 26rem; font-size: .95rem; }
@media (hover: hover) { .step:hover::after { transform: none; } .step:hover h3 { transform: translateX(.7rem); color: var(--blue); } }
@media (min-width: 960px) {
    .next__grid { grid-template-columns: 5fr 6fr; align-items: start; }
    .next__head { position: sticky; top: calc(var(--nav-h) + 3rem); }
}

/* Location: the map, nothing else */
.loc { padding-block: 0 var(--section); }
.map { position: relative; height: clamp(400px, 72vh, 780px); margin-inline: var(--gutter); background: var(--paper); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact: deep water, flows into the footer */
.contact { background: var(--deep); color: rgba(255, 255, 255, .78); padding-block: clamp(4rem, 8vw, 7rem) var(--section); }
.contact__grid { display: grid; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.contact__lines { margin: 2.8rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); max-width: 28rem; }
.contact__lines a { display: flex; align-items: center; gap: 1.1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-light); color: #fff; font-size: .98rem; transition: padding .7s var(--ease), color .5s; }
@media (hover: hover) { .contact__lines a:hover { padding-left: .7rem; color: var(--mist); } }
.contact__lines svg { width: 1.05rem; height: 1.05rem; color: var(--gold); flex: none; }
.form__label { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.3; letter-spacing: .03em; margin: 0 0 2.2rem; color: var(--ink); }
.field { display: block; margin-bottom: 1.7rem; }
.field > span { display: block; font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: rgba(11, 24, 48, .6); font-weight: 400; margin-bottom: .2rem; }
.field input, .field textarea { width: 100%; font: inherit; font-family: var(--sans); font-size: 1.02rem; font-weight: 400; line-height: 1.5; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(11, 24, 48, .3); padding: .5rem 0 .7rem; border-radius: 0; outline: none; transition: border-color .5s; }
.field textarea { resize: vertical; min-height: 4.4rem; }
.field input::placeholder, .field textarea::placeholder { color: rgba(11, 24, 48, .32); font-weight: 300; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.form-msg { min-height: 1.4rem; margin: 0 0 1rem; font-size: .84rem; color: #a1262b; }
.fine { font-size: .7rem; color: rgba(11, 24, 48, .5); margin: 1.4rem 0 0; line-height: 1.8; }
.success { display: none; padding: 1rem 0; }
.success.is-on { display: block; }
.success h3 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; line-height: 1.2; letter-spacing: .03em; color: var(--ink); margin: 0 0 .8rem; }
.success p { margin: 0 0 1.8rem; max-width: 24rem; }
/* dark variant */
.form--dark .form__label, .form--dark .success h3 { color: #fff; }
.form--dark .field > span { color: rgba(255, 255, 255, .55); }
.form--dark .field input, .form--dark .field textarea { color: #fff; border-bottom-color: rgba(255, 255, 255, .28); }
.form--dark .field input::placeholder, .form--dark .field textarea::placeholder { color: rgba(255, 255, 255, .3); }
.form--dark .form-msg { color: #ffb9b3; }
.form--dark .fine { color: rgba(255, 255, 255, .45); }
.form--dark .field input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 100px var(--deep) inset; caret-color: #fff; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 6fr 5fr; } }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: rgba(255, 255, 255, .7); overflow: hidden; position: relative; }
.footer__top { display: grid; gap: 2.6rem; align-items: end; padding-block: clamp(3.5rem, 7vw, 6.5rem); border-top: 1px solid var(--line-light); }
.footer .eyebrow i { font-size: .8rem; text-transform: uppercase; }
.footer__title { margin: 1.6rem 0 0; font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(1.9rem, 4.6vw, 4.2rem); line-height: 1.14; letter-spacing: .01em; color: #fff; }
.footer__title em { font-style: normal; color: var(--mist); display: block; }
.footer__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2.4rem; }
.footer__tel { position: relative; font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: .04em; line-height: 1.2; color: #fff; padding-bottom: .25rem; }
.footer__tel::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform-origin: left; transition: transform .8s var(--ease); }
.footer__tel:hover::after { transform: scaleX(.35); }
.footer__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.8rem 2rem; padding-block: clamp(2.8rem, 5vw, 4.5rem); border-top: 1px solid var(--line-light); }
.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.footer__brand span { font-size: .56rem; letter-spacing: .38em; text-transform: uppercase; color: rgba(255, 255, 255, .6); line-height: 1; }
.footer__brand a { display: inline-block; transition: opacity .5s var(--ease); }
.footer__brand a:hover { opacity: .75; }
.footer__brand img { height: 76px; width: auto; filter: brightness(0) invert(1); }
.footer h4 { white-space: nowrap; margin: 0 0 1.4rem; font-size: .58rem; letter-spacing: .36em; text-transform: uppercase; font-weight: 400; color: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer li a { position: relative; display: inline-block; color: rgba(255, 255, 255, .8); font-size: .92rem; line-height: 1.5; transition: color .5s var(--ease), transform .7s var(--ease); }
.footer li a::before { content: ""; position: absolute; left: -1.3rem; top: 50%; width: .8rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
@media (hover: hover) { .footer li a:hover { color: #fff; transform: translateX(1.3rem); } .footer li a:hover::before { transform: none; } }
.social { display: flex; gap: .7rem; margin-top: 1.8rem; }
.social a { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; transition: background-color .5s var(--ease), border-color .5s var(--ease); }
.social a:hover { background: #fff; border-color: #fff; }
.social a:hover svg { color: var(--deep); }
.social svg { width: 1rem; height: 1rem; color: #fff; transition: color .4s; }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.8rem; border-top: 1px solid var(--line-light); font-size: .72rem; letter-spacing: .04em; color: rgba(255, 255, 255, .55); }
.footer__bar p { margin: 0; }
.totop { display: inline-flex; align-items: center; gap: 1rem; font-size: .6rem; letter-spacing: .34em; text-transform: uppercase; color: #fff; }
.totop svg { width: 2.6rem; height: 2.6rem; padding: .78rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; transform: rotate(-90deg); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .7s var(--ease); }
.totop:hover svg { background: var(--gold); border-color: var(--gold); color: var(--deep); transform: rotate(-90deg) translateX(4px); }
.footer__legal { margin: 1.2rem 0 0; max-width: 46rem; font-size: .68rem; line-height: 1.9; color: rgba(255, 255, 255, .38); }
.footer__mark { margin: clamp(2rem, 5vw, 4rem) 0 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 11vw; line-height: .9; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(169, 174, 207, .32); -webkit-mask-image: linear-gradient(#000 10%, transparent 92%); mask-image: linear-gradient(#000 10%, transparent 92%); user-select: none; pointer-events: none; }
@media (min-width: 900px) {
    .footer__top { grid-template-columns: 1fr auto; }
    .footer__cta { flex-direction: column; align-items: flex-end; }
    .footer__grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; }
    .footer__brand { grid-column: auto; }
}

/* mobile dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .6s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
.dock.is-on { transform: none; }
.dock a, .dock button { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: 1.05rem; font-size: .62rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.dock button { background: var(--ink); color: #fff; }
.dock svg { width: .95rem; height: .95rem; color: var(--gold); }
body.is-locked .dock { transform: translateY(110%); }
@media (min-width: 900px) { .dock { display: none; } }
@media (max-width: 899px) { .footer { padding-bottom: 3.4rem; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.modal.is-open { display: flex; }
.modal__bg { position: absolute; inset: 0; background: rgba(0, 19, 44, .72); opacity: 0; transition: opacity .5s var(--ease); }
.modal__panel { position: relative; width: 100%; max-width: 31rem; max-height: 92svh; overflow: auto; background: #fff; padding: clamp(2.2rem, 5vw, 3.4rem); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.modal__panel::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--gold); }
.modal.is-in .modal__bg { opacity: 1; }
.modal.is-in .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; color: var(--ink); transition: transform .6s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 1.2rem; height: 1.2rem; }
.modal .form__label { padding-right: 2rem; margin-bottom: .8rem; }
.modal__intro { margin: 0 0 2rem; font-size: .9rem; }
body.is-locked { overflow: hidden; }

/* ---------- hero entrance ---------- */
.js .hero .ln > span { transform: translate3d(0, 105%, 0); }
.js .hero.is-ready .ln > span { transform: none; transition: transform 1.5s var(--ease); transition-delay: var(--d, 0s); }
.js .hero__rule { transform: scaleX(0); }
.js .hero.is-ready .hero__rule { transform: none; transition: transform 1.6s var(--ease) .55s; }
.js .hero__status, .js .hero__sub { opacity: 0; transform: translate3d(0, 14px, 0); }
.js .hero.is-ready .hero__status { opacity: 1; transform: none; transition: opacity 1.2s var(--ease) .85s, transform 1.2s var(--ease) .85s; }
.js .hero.is-ready .hero__sub { opacity: 1; transform: none; transition: opacity 1.2s var(--ease) 1.05s, transform 1.2s var(--ease) 1.05s; }
.js .hero__water { opacity: 0; transform: translate3d(0, 12%, 0) scale(1.06); transform-origin: 50% 100%; }
.js .hero.is-ready .hero__water { opacity: 1; transform: none; transition: opacity 1.8s var(--ease) .1s, transform 2.2s var(--ease) .1s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .loader { display: none; }
    .js .nav { opacity: 1; transform: none; }
    .rv, .js [data-split] .w > span, .js .hero .ln > span, .js .hero__rule, .js .hero__status, .js .hero__sub, .js .hero__water, .arch__frame img { opacity: 1 !important; transform: none !important; transition: none !important; }
    .arch__frame::after { display: none; } .js .statement .sw { color: #fff; }
    .waves svg, .hero__edge svg, .hero__cue::after { animation: none; }
}
/* ---------- tablet ---------- */
@media (max-width: 899px) {
    .map { height: clamp(320px, 56vh, 460px); height: clamp(320px, 56svh, 460px); }
    .about__grid { gap: 3.2rem; }
    .arch { width: min(84%, 22rem); }
    .footer__cta .btn { flex: 1 1 14rem; }
    .footer ul { gap: 0; }
    .footer li a { padding: .6rem 0; overflow-wrap: anywhere; }
}
@media (min-width: 600px) and (max-width: 899px) {
    .hero { --wh: 27.25vw; min-height: 560px; }
    .contact__lines { max-width: none; }
    .footer__grid { grid-template-columns: 1fr 1.4fr 1fr; }
}

/* ---------- phones ---------- */
@media (max-width: 599px) {
    :root { --section: 5.25rem; --nav-h: 66px; }
    .nav.is-solid { height: 60px; }
    .brand__name { font-size: 1.12rem; }
    .nav__r { gap: .5rem; }
    .nav .btn { padding: .72rem 1.05rem; letter-spacing: .24em; font-size: .6rem; }

    .hero { --wh: 55vw; min-height: 560px; max-height: 940px; padding-top: var(--nav-h); }
    .hero__body { padding-bottom: calc(var(--wh) * .86); }
    .hero__title .t1 { font-size: 11.8vw; } .hero__title .t2 { font-size: 5vw; }
    .hero__rule { margin: 1.5rem 0 1.25rem; }
    .hero__status { flex-direction: column; align-items: flex-start; gap: .75rem; }
    .hero__soon { font-size: 1rem; }
    .hero__tel { border-left: 0; padding-left: 0; font-size: 1.15rem; min-height: 2.75rem; }
    .hero__sub { margin-top: 1.1rem; gap: .8rem; font-size: .56rem; letter-spacing: .26em; white-space: nowrap; }
    .hero__sub::before { width: 1.8rem; flex: none; }

    .eyebrow { letter-spacing: .3em; gap: .8rem; }
    .eyebrow i::after { width: 1.8rem; margin-left: .8rem; }
    .h2 { font-size: clamp(1.55rem, 7vw, 2rem); line-height: 1.2; margin-top: 1.3rem; }
    .lede { margin-top: 1.5rem; line-height: 1.9; max-width: none; }
    .btn { padding: 1.1rem 1.5rem; }

    .arch { width: min(82%, 21rem); }
    .facts { grid-template-columns: 1fr 1fr; margin-top: 3rem; }
    .facts div { padding: 1.3rem 0 1.3rem 1.1rem; }
    .facts div:nth-child(odd) { border-left: 0; padding-left: 0; }
    .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .facts dt { letter-spacing: .28em; }
    .facts dd { font-size: 1rem; margin-top: .5rem; }

    .statement { padding-block: 3.2rem 3.6rem; }
    .statement p { font-size: clamp(1.25rem, 5.6vw, 1.6rem); line-height: 1.45; }

    .cols { gap: 2.4rem; margin-top: 2.8rem; }
    .col { padding-top: 1.6rem; }
    .col h3 { margin: 1.3rem 0 .7rem; font-size: 1.2rem; }
    .col p, .step p { max-width: none; }

    .next__grid { gap: 2.6rem; }
    .next__head .btn { width: 100%; margin-top: 2rem; }
    .step { grid-template-columns: 2.6rem 1fr; padding: 1.7rem 0; }
    .step h3 { font-size: 1.15rem; }

    .contact { padding-block: 3rem 5rem; }
    .contact__grid { gap: 3.2rem; }
    .contact__lines { margin-top: 2.2rem; max-width: none; }
    .contact__lines a { padding: 1.2rem 0; }
    .form__label { font-size: 1.25rem; margin-bottom: 1.8rem; }
    .field { margin-bottom: 1.4rem; }
    .field input, .field textarea { font-size: 1rem; padding: .6rem 0 .8rem; }
    #section-submit-btn, #modal-submit-btn, #section-reset { width: 100%; }

    .footer__top { padding-block: 3.4rem; gap: 2.2rem; }
    .footer__title { font-size: clamp(1.6rem, 7.4vw, 2.1rem); }
    .footer__cta { flex-direction: column; align-items: stretch; gap: 1.4rem; }
    .footer__cta .btn { flex: none; }
    .footer__tel { align-self: flex-start; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.4rem 1.5rem; padding-block: 2.8rem; }
    .footer__grid > :nth-child(3) { grid-column: 1 / -1; order: 2; }
    .footer__grid > :nth-child(4) { order: 1; }
    .footer__tel { min-height: 2.75rem; display: inline-flex; align-items: center; }
    .footer h4 { margin-bottom: .8rem; }
    .social a { width: 2.75rem; height: 2.75rem; }
    .footer__bar { flex-direction: column-reverse; align-items: flex-start; gap: 1.4rem; }
    .totop svg { width: 2.75rem; height: 2.75rem; }

    .menu { padding: 5.5rem var(--gutter) 2.5rem; justify-content: flex-start; overflow-y: auto; }
    .menu__link { padding: 1.05rem 0; }

    /* enquiry opens as a bottom sheet */
    .modal { align-items: flex-end; padding: 0; }
    .modal__panel { max-width: none; max-height: 92vh; max-height: 92svh; padding: 2.4rem var(--gutter) calc(1.8rem + env(safe-area-inset-bottom)); transform: translateY(100%); opacity: 1; transition: transform .7s var(--ease); }
    .modal.is-in .modal__panel { transform: none; }
}
@media (max-width: 359px) {
    .brand__name { font-size: .98rem; letter-spacing: .06em; }
    .nav .btn { padding: .65rem .85rem; letter-spacing: .18em; }
    .hero__sub { letter-spacing: .18em; }
    .footer__grid { grid-template-columns: 1fr; }
}
/* short landscape phones: let the hero grow instead of squeezing */
@media (max-height: 520px) and (orientation: landscape) {
    .hero { height: auto; min-height: 0; padding-bottom: 0; }
    .hero__body { margin: 2rem auto 0; padding-bottom: calc(var(--wh) * .75); }
    .menu { justify-content: flex-start; overflow-y: auto; }
    .menu__link { font-size: 1.3rem; padding: .5rem 0; }
}
