/* Laadli Shyamavan — design system v4.
   Modelled on the visual language of shrivrinda.com: warm cream pages, one dark brown, Cormorant headings, small grey Inter text,
   outlined buttons, full-viewport photographic heroes and a transparent header. Original implementation; no assets are shared. */

:root {
  /* Page and panel colours */
  --cream: #f5eee3;
  --cream-2: #fff8ed;
  --white: #fffbf3;
  --ivory: #f5eee3;
  --sand: #e3d8c6;
  --sand-soft: #ebe3d6;
  --sand-deep: #d8cbb6;
  /* One dark brown does the work of text, buttons and the footer */
  --ink: #312726;
  --ink-deep: #241c1a;
  --ink-soft: #6c6360;
  --muted: #8e8783;
  --terra: #312726;
  --terra-deep: #312726;
  --olive: #312726;
  --olive-deep: #241c1a;
  --gold: #c4a35f;
  --line: rgba(49, 39, 38, .16);
  --line-light: rgba(255, 255, 255, .22);
  --error: #a3392b;
  --ok: #3f6b4a;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 84px;
  --gutter: clamp(1.25rem, 3.4vw, 3rem);
  --maxw: 1280px;
  --maxw-wide: 1560px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --jaali: none;
  --jaali-light: none;
  /* Small feather-shaped mark that follows section labels (our own drawing) */
  --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 40'%3E%3Cpath d='M12 38C11 28 10 18 12 2c3 8 9 16 8 25-1 7-5 10-8 11Z' fill='none' stroke='%23c4a35f' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M12 38V10M12 18l5-4M12 25l5-4M12 18l-4-3M12 25l-4-3' fill='none' stroke='%23c4a35f' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 .9375rem/1.87 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
main { overflow-x: clip; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: rgba(196, 163, 95, .4); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 2000; background: var(--ink); color: #fff; padding: .6rem 1rem; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--maxw-wide); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.2; letter-spacing: 0; }
h1, h2 { text-transform: capitalize; }
h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.25rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; line-height: 1.3; }
h4 { font-size: 1.25rem; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }
p + p { margin-top: 1rem; }
.lead { font-size: 1rem; color: var(--ink-soft); max-width: 34rem; }
.prose p { color: var(--ink-soft); max-width: 40rem; }
.prose p + p { margin-top: 1.1rem; }
p { color: var(--ink-soft); }

.eyebrow {
  display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem;
  font: 500 .8rem/1.6 var(--font-body); letter-spacing: .5em; text-transform: uppercase; color: rgba(49, 39, 38, .6);
}
.eyebrow::after { content: ""; width: 1.05rem; height: 1.75rem; background: var(--leaf) center / contain no-repeat; flex: none; }
.on-dark .eyebrow, .eyebrow--light { color: rgba(255, 255, 255, .75); }
.on-dark { color: #fff; }
.on-dark p, .on-dark .lead { color: rgba(255, 255, 255, .78); }

.tag, .chip {
  display: inline-block; vertical-align: middle; font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: 1px solid var(--line); padding: .2rem .55rem; border-radius: 999px; line-height: 1.4;
}
.chip--render { color: #6a5430; background: #f1e6cc; border-color: #e3d3a9; }
.chip--planned { color: #5d514b; background: var(--sand-soft); border-color: var(--sand-deep); }
.chip--awaiting { color: #7a5a3c; background: transparent; border-color: rgba(122, 90, 60, .45); }
.chip--confirmed, .chip--sanctioned { color: #2f5a3b; background: #e5eddc; border-color: #c8d9c1; }
.chip--proposed { color: #6a5430; background: #f1e6cc; border-color: #e3d3a9; }

.credit { font-size: .74rem; color: var(--muted); }
.credit a { text-underline-offset: 3px; }
.on-dark .credit, .band .credit { color: rgba(255, 255, 255, .8); }

/* ---------- Buttons: thin outline, one filled variant ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: 0 2.6rem; border-radius: 0; overflow: hidden; isolation: isolate;
  font: 500 1rem/1 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn--primary { background: var(--ink); color: var(--cream-2); border-color: var(--ink); }
.btn--primary::before { background: #4a3c39; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--cream-2); }
.btn--light { border-color: rgba(255, 255, 255, .85); color: #fff; background: transparent; text-transform: uppercase; letter-spacing: .1em; font-size: .92rem; }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--ink); }
.btn--sm { min-height: 2.6rem; padding: 0 1.4rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn svg { display: none; }
.link { color: var(--ink); font-weight: 500; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.on-dark .link, .panel .link, .band .link { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* ---------- Header: transparent over the photograph, translucent dark once scrolled ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 300; height: var(--header-h); color: #fff; transition: background-color .45s var(--ease), backdrop-filter .45s, transform .5s var(--ease); }
.site-header::before { content: ""; position: absolute; inset: 0 0 -30px 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(20, 14, 12, .38), rgba(20, 14, 12, 0)); transition: opacity .45s; }
.site-header.is-stuck, .menu-open .site-header { background: rgba(36, 28, 26, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header.is-stuck::before, .menu-open .site-header::before { opacity: 0; }
.site-header__inner { height: 100%; max-width: var(--maxw-wide); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2.5rem; flex: 1; justify-content: space-between; margin-left: clamp(2rem, 6vw, 6rem); }
.nav__links { display: flex; gap: clamp(1.75rem, 3.2vw, 3.5rem); }
.nav__links a { position: relative; text-decoration: none; font: 500 1.0625rem/1.5 var(--font-display); text-transform: capitalize; padding: .35rem 0; letter-spacing: .01em; }
.nav__links a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: inline-flex; align-items: center; gap: .75rem; height: 2.6rem; padding: 0 0 0 .5rem; background: transparent; color: inherit; border: 0; font: 500 1rem var(--font-display); cursor: pointer; }
.menu-btn__label { display: none; }
.menu-btn__bars { display: grid; gap: 7px; width: 28px; justify-items: end; }
.menu-btn__bars i { display: block; height: 1.5px; width: 100%; background: currentColor; transition: transform .45s var(--ease), opacity .2s, width .35s var(--ease); }
.menu-btn__bars i:nth-child(2) { width: 70%; }
.menu-btn:hover .menu-btn__bars i:nth-child(2) { width: 100%; }
.menu-open .menu-btn__bars i:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.menu-open .menu-btn__bars i:nth-child(2) { opacity: 0; }
.menu-open .menu-btn__bars i:nth-child(3) { transform: translateY(-4.25px) rotate(-45deg); }
.nav__cta { display: none; }
@media (max-width: 960px) { .nav__links { display: none; } .nav { justify-content: flex-end; margin-left: 0; } }
@media (max-width: 560px) { .brand img { height: 34px; } :root { --header-h: 72px; } }

/* ---------- Full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 250; background: var(--ink); color: #fff; display: grid; align-content: center;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; transition-delay: 0s; }
.menu__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; display: grid; gap: 2rem; }
.menu__list { counter-reset: menu; columns: 1; }
.menu__list li { overflow: hidden; break-inside: avoid; }
.menu__list a { display: flex; align-items: baseline; gap: 1rem; padding: .3rem 0; text-decoration: none; transform: translateY(105%); transition: transform .9s var(--ease), color .3s, opacity .3s; }
.menu-open .menu__list a { transform: none; transition-delay: calc(.1s + var(--i, 0) * 45ms); }
.menu__list .t { font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 500; line-height: 1.12; transition: transform .45s var(--ease), color .3s; }
.menu__list .b { display: none; }
.menu__list a:hover .t, .menu__list a:focus-visible .t, .menu__list a[aria-current="page"] .t { font-style: italic; transform: translateX(.6rem); }
.menu__list:hover a:not(:hover) { opacity: .5; }
.menu__aside { display: none; }
.menu__foot { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; font-size: .94rem; color: rgba(255, 255, 255, .7); padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.menu__foot a { text-underline-offset: 3px; }
@media (min-width: 900px) { .menu__list { columns: 2; column-gap: 4rem; } }

/* ---------- Page transition: cream curtain with the emblem, like a preloader ---------- */
.pt { position: fixed; inset: 0; z-index: 900; background: var(--cream); display: grid; place-items: center; pointer-events: none; clip-path: inset(100% 0 0 0); }
.pt img { width: 5.5rem; height: auto; opacity: 0; transform: scale(.9); transition: opacity .3s, transform .5s var(--ease); }
.pt--in { clip-path: inset(0); pointer-events: all; transition: clip-path .55s var(--ease-io); }
.pt--in img { opacity: 1; transform: none; transition-delay: .2s; }
.pt--cover { clip-path: inset(0); }
.pt--out { clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io) .1s; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(4rem, 8vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--ivory { background: var(--cream); }
.section--white { background: var(--cream-2); }
.section--sand { background: var(--sand-soft); }
.section--sandstone { background: var(--sand); }
.section--jaali { background: var(--cream); }
.section--sand.section--jaali { background: var(--sand-soft); }
.section--olive { background: var(--ink); color: #fff; }
.section--olive p { color: rgba(255, 255, 255, .78); }
.section--olive .eyebrow { color: rgba(255, 255, 255, .7); }
.section__head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.section__head p { color: var(--ink-soft); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section--olive .section__head p { color: rgba(255, 255, 255, .78); }

/* Full-bleed photograph with text over it */
.band { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(26rem, 100vh, 56rem); color: #fff; background: var(--ink-deep); }
.band--tall { min-height: clamp(32rem, 100vh, 62rem); }
.band--short { min-height: clamp(22rem, 60vh, 36rem); }
.band__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.band__media::after { content: ""; position: absolute; inset: 0; background: rgba(20, 14, 12, .42); }
.band__img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: var(--pos, 50% 50%); will-change: transform; }
.band__body { position: relative; padding-block: clamp(3rem, 8vw, 6rem); width: 100%; }
.band__credit { position: absolute; right: 1rem; bottom: .75rem; z-index: 2; max-width: 22rem; text-align: right; font-size: .68rem; line-height: 1.35; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
.band__credit a { text-underline-offset: 2px; }
.band__credit .tag { background: rgba(255, 248, 237, .92); color: var(--ink); margin-right: .35rem; text-shadow: none; border-color: transparent; }
.wash-bottom::after, .wash-left::after, .wash-light-left::after { content: none; }
.wash-light-left { color: #fff; }
.band h2, .band h3 { color: #fff; }
.panel { background: none; color: #fff; padding: 0; max-width: 40rem; }
.panel p { color: rgba(255, 255, 255, .82); }
.panel--ivory { background: var(--cream-2); color: var(--ink); }
.panel--ivory p { color: var(--ink-soft); }

/* Image frames: plain rectangles, as in the reference */
.arch { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; }
.arch > img, .arch > .arch__in { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.arch--wide { aspect-ratio: 4 / 5; }
.arch--fine { outline: 0; }

/* ---------- Full-viewport page hero ---------- */
.hfull { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; background: var(--ink-deep); overflow: hidden; color: #fff; }
.hfull__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hfull__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); will-change: transform; transform: scale(1.1); transition: transform 2.4s var(--ease); }
.hfull__media canvas, [data-depth] canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity .9s var(--ease); }
.is-webgl > canvas { opacity: 1; }
.is-webgl > img { visibility: hidden; transition-delay: .9s; }
.hfull.is-in .hfull__media img, html:not(.js) .hfull__media img, .reduce .hfull__media img { transform: none; }
.hfull::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(20, 14, 12, .42) 0, rgba(20, 14, 12, 0) 24%), linear-gradient(to top, rgba(20, 14, 12, .62) 0, rgba(20, 14, 12, .12) 38%, rgba(20, 14, 12, 0) 60%); }
.hfull__body { position: relative; width: 100%; padding-block: 0 clamp(3rem, 7vh, 5rem); }
.hfull h1 { color: #fff; max-width: 14em; text-shadow: 0 2px 30px rgba(20, 14, 12, .25); }
.hfull h1 em { color: #fff; }
.hfull__sub { margin-top: 1rem; max-width: 30rem; color: rgba(255, 255, 255, .86); font-size: 1rem; }
.hfull .actions { margin-top: 1.5rem; }
.hfull .band__credit { top: auto; bottom: 1.35rem; right: 5.5rem; }
.hfull__cue { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(3rem, 7vh, 5rem); display: none; font-size: .72rem; letter-spacing: .4em; text-transform: uppercase; color: rgba(255, 255, 255, .8); text-decoration: none; writing-mode: vertical-rl; }
.hfull__cue::after { content: ""; display: block; width: 1px; height: 3.5rem; margin: .75rem auto 0; background: rgba(255, 255, 255, .6); transform-origin: top; animation: cue-line 2.2s var(--ease) infinite; }
@keyframes cue-line { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.crumbs { display: none; }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, 1fr); column-gap: clamp(2rem, 5vw, 5rem); }
  .split--img-left > .figure, .split--img-left > .media { grid-column: 1 / span 7; }
  .split--img-left > .split__text { grid-column: 8 / span 5; }
  .split--img-right > .split__text { grid-column: 1 / span 6; }
  .split--img-right > .figure, .split--img-right > .media { grid-column: 8 / span 5; }
}
.split__text p { color: var(--ink-soft); }
.split__text p + p { margin-top: 1rem; }

.figure__frame { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: var(--sand); }
.figure__frame--wide { aspect-ratio: 16 / 9; }
.figure__frame--tall { aspect-ratio: 4 / 5; }
.figure__frame--square { aspect-ratio: 1; }
.figure__frame img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; will-change: transform; }
.figure__frame--static img { top: 0; height: 100%; }
.figure figcaption, figure > figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .85rem; margin-top: .85rem; font-size: .84rem; color: var(--muted); }

.spec { border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: .5rem 1.25rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: .25rem; }
.spec dd { color: var(--ink); }
.spec dd small { display: block; margin-top: .25rem; color: var(--muted); font-size: .84rem; }
@media (max-width: 560px) { .spec > div { grid-template-columns: 1fr; } }

.note { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.25rem; font-size: .9rem; color: var(--muted); }
.note a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }

/* ---------- Word-mask reveal and motion hooks ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w > span { display: inline-block; will-change: transform; }
.js [data-split]:not(.is-split) { visibility: hidden; }
.reveal-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }
[data-img-reveal] { overflow: hidden; }
.js.reveal-ready [data-img-reveal] > * { transition: clip-path 1.3s var(--ease-io), transform 1.6s var(--ease); }
.js.reveal-ready [data-img-reveal]:not(.in) > * { clip-path: inset(0 0 100% 0); }
.js.reveal-ready [data-img-reveal].in > * { clip-path: inset(0); }
[data-tilt] { transition: transform .6s var(--ease); }
[data-tilt].is-tilting { transition: transform .1s linear; }
.perspective { perspective: 1400px; }

/* ---------- Viewer (masterplan / map) ---------- */
.viewer { position: relative; border: 1px solid var(--line); background: var(--cream-2); }
.viewer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .6rem .75rem; background: var(--cream-2); border-bottom: 1px solid var(--line); }
.viewer__tabs { display: flex; flex-wrap: wrap; gap: .25rem; }
.viewer__tabs button { font: 500 .88rem var(--font-body); padding: .5rem .9rem; background: none; border: 0; border-bottom: 1px solid transparent; color: var(--muted); cursor: pointer; }
.viewer__tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.viewer__tools { display: flex; gap: .35rem; }
.viewer__tools button { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 0; cursor: pointer; transition: background-color .2s, color .2s; }
.viewer__tools button:hover { background: var(--ink); color: #fff; }
.viewer__tools button:disabled { opacity: .4; cursor: default; background: transparent; color: var(--ink); }
.viewer__stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; cursor: grab; touch-action: pan-y; background: var(--sand); user-select: none; -webkit-user-select: none; }
.viewer__stage.is-dragging { cursor: grabbing; }
.viewer__layer { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.viewer__img { display: block; max-width: none; }
.viewer__hint { position: absolute; left: 50%; bottom: 1rem; translate: -50% 0; padding: .4rem .8rem; font-size: .8rem; background: rgba(255, 255, 255, .94); border: 1px solid var(--line); opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 5; }
.viewer__hint.is-shown { opacity: 1; }
.viewer--map .viewer__stage { aspect-ratio: 4 / 3; background: #f8efd6; }
.viewer.is-full { position: fixed; inset: 0; z-index: 600; display: flex; flex-direction: column; border: 0; }
.viewer.is-full .viewer__stage { flex: 1; aspect-ratio: auto; }
.viewer:fullscreen { display: flex; flex-direction: column; background: var(--cream-2); }
.viewer:fullscreen .viewer__stage { flex: 1; aspect-ratio: auto; }
.pin { position: absolute; width: 0; height: 0; transform: scale(var(--inv, 1)); transform-origin: 0 0; z-index: 3; }
.pin button { position: absolute; left: -.9rem; top: -.9rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 2px solid #fff; background: var(--ink); color: #fff; font: 600 .8rem/1 var(--font-body); cursor: pointer; box-shadow: 0 4px 14px rgba(49, 39, 38, .4); transition: transform .3s var(--ease), background-color .3s; }
.pin button:hover, .pin button[aria-expanded="true"] { transform: scale(1.18); background: var(--gold); }
.pin__card { position: absolute; left: 1.2rem; top: -.9rem; width: min(17rem, 60vw); padding: .9rem 1rem; background: rgba(255, 251, 243, .98); border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(49, 39, 38, .55); font-size: .86rem; line-height: 1.55; color: var(--ink-soft); opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
.pin__card strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--ink); margin-bottom: .2rem; }
.pin.is-open .pin__card { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 700; display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 4rem 1rem 1.5rem; background: rgba(36, 28, 26, .96); perspective: 1600px; color: #fff; }
.lightbox__figure { max-width: min(1280px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .85rem; transform-style: preserve-3d; }
.lightbox__figure img { max-width: 100%; max-height: calc(100svh - 12rem); width: auto; height: auto; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .8); backface-visibility: hidden; }
.lightbox__figure figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .9rem; font-size: .92rem; color: rgba(255, 255, 255, .8); text-align: center; }
.lightbox .tag { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .35); }
.lightbox__figure.turn-next img { animation: lb-next .7s var(--ease) both; }
.lightbox__figure.turn-prev img { animation: lb-prev .7s var(--ease) both; }
@keyframes lb-next { from { opacity: 0; transform: rotateY(28deg) translateX(8%) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes lb-prev { from { opacity: 0; transform: rotateY(-28deg) translateX(-8%) scale(.94); } to { opacity: 1; transform: none; } }
.lightbox__btn { background: transparent; border: 1px solid rgba(255, 255, 255, .4); color: #fff; cursor: pointer; border-radius: 0; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; font-size: 1.25rem; flex: none; transition: background-color .2s, color .2s; }
.lightbox__btn:hover { background: #fff; color: var(--ink); }
.lightbox__top { position: absolute; top: .9rem; right: .9rem; display: flex; gap: .5rem; }
.lightbox__count { font-size: .85rem; }
@media (max-width: 640px) { .lightbox { flex-wrap: wrap; align-content: center; } .lightbox__figure { order: 1; flex-basis: 100%; } .lightbox__btn--nav { order: 2; } }

/* ---------- Closing call to action ---------- */
.cta { background: var(--sand-soft); }
.cta__inner { display: grid; gap: 1.5rem; align-items: end; }
.cta h2 { margin-bottom: 0; max-width: 14em; }
.cta p { color: var(--ink-soft); max-width: 30rem; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.2fr 1fr; column-gap: 4rem; } }

/* ---------- Forms ---------- */
.form { background: var(--cream-2); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.4rem); color: var(--ink); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .84rem; font-weight: 500; margin-bottom: .4rem; }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem; font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  border: 1px solid var(--sand-deep); border-radius: 0; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(196, 163, 95, .3); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field__error { margin-top: .3rem !important; font-size: .82rem; color: var(--error); }
.field__error:empty { display: none; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field--check label { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.field--check input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--ink); flex: none; }
.form__status:empty { display: none; }
.form__status p { padding: .8rem 1rem; margin-bottom: 1.15rem; border-left: 3px solid; font-size: .92rem; background: #fff; }
.form__status .is-ok { border-color: var(--ok); color: #2d4f37; }
.form__status .is-error { border-color: var(--error); color: var(--error); }
.form__status:focus { outline: none; }
.form__fine { margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.form button[disabled] { opacity: .65; cursor: progress; }

/* ---------- Floating enquiry tab, WhatsApp button and enquiry dialog ---------- */
.enq-tab {
  position: fixed; z-index: 200; right: 0; top: 50%; transform: translateY(-50%); width: 2.9rem; padding: 1.5rem 0;
  background: rgba(49, 39, 38, .92); color: var(--cream-2); border: 0; cursor: pointer; writing-mode: vertical-rl; text-orientation: mixed;
  font: 500 1rem/1 var(--font-display); letter-spacing: .06em; transition: background-color .3s, width .3s var(--ease);
}
.enq-tab:hover { background: var(--ink-deep); width: 3.2rem; }
.wa-fab { position: fixed; z-index: 200; right: 1.25rem; bottom: 1.25rem; width: 3.4rem; height: 3.4rem; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .5); transition: transform .35s var(--ease); }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 1.7rem; height: 1.7rem; }
body.menu-open .enq-tab, body.menu-open .wa-fab { display: none; }
/* phones: the same slim tab on the right edge as on desktop, a little narrower */
@media (max-width: 700px) { .enq-tab { width: 2.4rem; padding: 1.1rem 0; font-size: .88rem; } .enq-tab:hover { width: 2.4rem; } .wa-fab { right: .85rem; bottom: .85rem; width: 3.2rem; height: 3.2rem; } }

.modal { position: fixed; inset: 0; z-index: 800; display: grid; place-items: center; padding: 1rem; background: rgba(20, 14, 12, .62); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.modal.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal__card { position: relative; width: min(34rem, 100%); max-height: 100%; overflow-y: auto; background: var(--cream); padding: clamp(1.4rem, 3vw, 2.4rem); transform: translateY(24px); transition: transform .6s var(--ease); }
.modal.is-open .modal__card { transform: none; }
.modal__card h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 1.25rem; }
.modal__card .form { padding: 0; border: 0; background: transparent; }
.modal__close { position: absolute; top: .6rem; right: .8rem; width: 2.5rem; height: 2.5rem; background: none; border: 0; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .82); font-size: .92rem; overflow: hidden; }
.footer__contact { display: grid; gap: 1.25rem 2rem; padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line-light); align-items: center; }
.footer__brand img { width: 11rem; height: auto; }
.footer__ways { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; }
.footer__ways a, .footer__ways span { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: rgba(255, 255, 255, .9); }
.footer__ways svg { width: 1rem; height: 1rem; flex: none; opacity: .7; }
@media (min-width: 900px) { .footer__contact { grid-template-columns: auto 1fr; column-gap: 4rem; } }
.footer__cols { display: grid; grid-template-columns: 1fr; }
.footer__col { padding: 2rem 0; }
.footer__col + .footer__col { border-top: 1px solid var(--line-light); }
.footer__title { font: 500 1.35rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1.4rem; }
.footer__col li { padding: .3rem 0; }
.footer__col ul.two { columns: 2; column-gap: 2rem; }
.site-footer a { text-underline-offset: 3px; text-decoration: none; transition: color .3s, opacity .3s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 800px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__col { padding: 2.5rem 2rem; text-align: center; }
  .footer__col + .footer__col { border-top: 0; border-left: 1px solid var(--line-light); }
  .footer__col:first-child { padding-left: 0; text-align: left; }
  .footer__col ul.two { text-align: left; }
}
.footer__muted { color: rgba(255, 255, 255, .65); }
.footer__legal { padding-block: 1.75rem 2.25rem; border-top: 1px solid var(--line-light); font-size: .78rem; color: rgba(255, 255, 255, .62); }
.footer__legal p { color: inherit; }
.footer__legal p + p { margin-top: .6rem; }
.footer__legal strong { color: #fff; font-weight: 600; }
.footer__copy { color: rgba(255, 255, 255, .5); }

/* ---------- Motion preferences ---------- */
html.no-css-anim *, html.no-css-anim *::before, html.no-css-anim *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .js [data-split]:not(.is-split) { visibility: visible; }
  .js.reveal-ready [data-img-reveal]:not(.in) > * { clip-path: none; }
  .figure__frame img, .band__img { top: 0; height: 100%; }
  .menu__list a { transform: none; }
}
@media print { .site-header, .menu, .pt, .viewer__tools, .enq-tab, .wa-fab { display: none; } }

/* Lenis smooth scrolling (see motion.js) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body, h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-feature-settings: "lnum"; }
@media (max-width: 700px) { .hfull .band__credit { bottom: 1.2rem; right: 1rem; } .hfull__body { padding-bottom: 3.5rem; } }

/* Cinematic melt: the home hero dissolves into the cream page as it scrolls away (driven by --melt in motion.js). */
.hfull--home::before { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; z-index: -1; pointer-events: none; opacity: var(--melt, 0); background: linear-gradient(to top, var(--cream), rgba(245, 238, 227, 0)); }

/* ---------- Opening: a camera glides through nested arches, then the page opens ---------- */
.intro { position: fixed; inset: 0; z-index: 1000; background: var(--cream); place-items: center; transition: opacity 1s var(--ease), clip-path 1.1s var(--ease-io); clip-path: inset(0); }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__logo { position: relative; width: min(15rem, 52vw); height: auto; opacity: 0; transform: translateY(12px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.intro.is-logo .intro__logo { opacity: 1; transform: none; }
.intro__skip { position: absolute; right: var(--gutter); bottom: 1.5rem; background: none; border: 0; font: 500 .72rem var(--font-body); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); cursor: pointer; padding: .6rem; }
.intro.is-done { opacity: 0; clip-path: inset(0 0 100% 0); pointer-events: none; }

/* ---------- Mobile and touch refinements ---------- */
a, button, summary, label, input, select, textarea { touch-action: manipulation; }
@media (pointer: coarse) {
  /* Comfortable touch targets: the hit area grows, the look stays */
  .site-footer a, .footer__ways a, .links a, a.link, .band__credit a, .credit a, .note a, .spec dd a, .src a, .legal a { display: inline-block; padding-block: .5rem; }
  .footer__col li { padding: 0; }
  .footer__ways { gap: .15rem 2rem; }
  .viewer__tabs button { min-height: 2.75rem; }
  .viewer__tools button { width: 2.75rem; height: 2.75rem; }
  .pin button, .tilt__pin button { width: 2.4rem; height: 2.4rem; left: -1.2rem; top: -1.2rem; font-size: .9rem; }
  .gal-filter button { min-height: 2.75rem; }
  .menu-btn { height: 2.9rem; min-width: 2.9rem; justify-content: flex-end; }
  .faq summary { padding-block: 1.4rem; }
}
/* Never let a form field zoom the page on iOS */
@media (max-width: 800px) {
  .field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field input[type="number"], .field select, .field textarea, .sizes__custom input { font-size: 1rem; min-height: 3.1rem; }
  .field--check input { width: 1.4rem; height: 1.4rem; }
  .field--check label { gap: .85rem; }
}
/* Small print stays readable */
@media (max-width: 800px) {
  .tag, .chip { font-size: .72rem; padding: .22rem .6rem; }
  .credit, .band__credit, .stack__credit, .gal-credit { font-size: .76rem; line-height: 1.45; }
  .spec dt, .ledger__k, .card3__meta, .ways__k { font-size: .74rem; }
  .masonry__cap em { font-size: .74rem; }
  .band__credit { max-width: 16rem; }
}
/* Keep floating controls clear of the safe areas */
@supports (padding: env(safe-area-inset-bottom)) {
  .wa-fab { right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); }
  @media (max-width: 700px) {
    .wa-fab { right: max(.85rem, env(safe-area-inset-right)); bottom: max(.85rem, env(safe-area-inset-bottom)); }
  }
}
@media (max-width: 700px) {
  .band > .band__credit { bottom: 1.2rem; right: .75rem; }
  .band, .band--tall { min-height: min(100svh, 46rem); }
  .band--screen { min-height: 100svh; }
  .section { padding-block: clamp(3.25rem, 11vw, 5rem); }
  h2 { margin-bottom: 1rem; }
  .actions .btn { flex: 1 1 100%; }
  .btn { min-height: 3.2rem; padding-inline: 1.6rem; }
  .modal__card { max-height: calc(100svh - 2rem); }
}

/* ---------- Hero enquiry: a doorway ----------
   The form stands in a translucent sandstone panel shaped like the gateway's arch, with a second sandstone layer
   offset behind it. A fine gold line traces the arch and draws itself step by step (form.js); it closes on success. */
.hfull__kicker { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.hfull__kicker::before { content: ""; width: 2.6rem; height: 1px; background: var(--gold); }
.hfull--home h1 em { font-style: italic; color: #f3dfb0; }
.hfull__body--split { display: grid; gap: 2rem; align-items: end; padding-top: calc(var(--header-h) + 1.5rem); }
@media (min-width: 1000px) {
  .hfull__body--split { grid-template-columns: minmax(0, 1fr) minmax(23rem, 26.5rem); column-gap: clamp(2rem, 5vw, 5rem); }
  .hfull__body--split .hfull__aside { align-self: center; padding-right: .9rem; }
}

.hqd { position: relative; width: 100%; }
.hqd__layer { position: absolute; inset: 0; transform: translate(.9rem, .9rem); border-radius: var(--r, 13rem) var(--r, 13rem) .5rem .5rem; background: linear-gradient(180deg, rgba(222, 202, 166, .32), rgba(196, 163, 95, .22)); border: 1px solid rgba(243, 223, 176, .3); backdrop-filter: blur(6px); pointer-events: none; }
.hq { position: relative; padding: calc(var(--r, 13rem) * .38) clamp(1.4rem, 2.6vw, 2.1rem) 1.7rem; color: var(--ink); background: linear-gradient(180deg, rgba(250, 245, 236, .9) 0%, rgba(241, 230, 210, .94) 100%); border-radius: var(--r, 13rem) var(--r, 13rem) .5rem .5rem; box-shadow: 0 40px 80px -50px rgba(20, 14, 12, .8); backdrop-filter: blur(16px) saturate(1.1); border: 0; }
.hq__arch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hq__arch path { fill: none; vector-effect: non-scaling-stroke; }
.hq__arch-base { stroke: rgba(196, 163, 95, .22); stroke-width: 1; }
.hq__arch-line { stroke: #b08a3e; stroke-width: 1.4; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease-io); }

.hq__head { text-align: center; }
.hq__kicker { font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #8a6a2a; }
.hq__title { margin: .4rem 0 .9rem; font-size: clamp(1.7rem, 2.3vw, 2.05rem); line-height: 1.08; color: var(--ink); }
.hq__steps { display: flex; justify-content: center; gap: 1.1rem; margin-bottom: 1.1rem; }
.hq__steps li { display: flex; align-items: baseline; gap: .3rem; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(49, 39, 38, .38); transition: color .4s; }
.hq__steps span { font: italic 500 .95rem/1 var(--font-display); letter-spacing: 0; }
.hq__steps li.is-done { color: #8a6a2a; }
.hq__steps li.is-on { color: var(--ink); }
.hq:not(.is-stepped) .hq__steps { display: none; }

.hq fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.hq__legend { display: block; width: 100%; margin-bottom: .3rem; text-align: center; font: italic 500 1.08rem/1.3 var(--font-display); color: var(--ink-soft); }
.js .hq.is-stepped .hq__step:not(.is-active) { display: none; }
.hq.is-stepped .hq__step.is-active { animation: hqIn .55s var(--ease); }
@keyframes hqIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hq:not(.is-stepped) .hq__step + .hq__step { margin-top: 1.4rem; }
.hq:not(.is-stepped) [data-next], .hq:not(.is-stepped) [data-back] { display: none; }

/* floating-label fields: a single hairline, a gold line that draws on focus */
.hq__field { position: relative; margin-bottom: .55rem; }
.hq .hq__field input, .hq .hq__field textarea { display: block; width: 100%; min-height: 0; padding: 1.35rem 0 .45rem; font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: linear-gradient(#b08a3e, #b08a3e) 0 100% / 0 1.5px no-repeat; border: 0; border-bottom: 1px solid rgba(49, 39, 38, .22); border-radius: 0; box-shadow: none; transition: background-size .5s var(--ease), border-color .3s; }
.hq .hq__field textarea { resize: none; min-height: 4.6rem; }
.hq .hq__field input:focus, .hq .hq__field textarea:focus { outline: none; box-shadow: none; background-size: 100% 1.5px; border-color: transparent; }
.hq .hq__field label { position: absolute; left: 0; top: 1.3rem; margin: 0; font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .35s var(--ease), color .3s, letter-spacing .35s; }
.hq .hq__field input:focus + label, .hq .hq__field input:not(:placeholder-shown) + label,
.hq .hq__field textarea:focus + label, .hq .hq__field textarea:not(:placeholder-shown) + label { transform: translateY(-1.1rem) scale(.74); letter-spacing: .14em; text-transform: uppercase; color: #8a6a2a; }
.hq .opt { margin-left: .2rem; font-size: .78em; color: var(--muted); }
.hq .field.has-error input, .hq .field.has-error textarea { border-bottom-color: var(--error); }

/* plot sizes as tiles, each with its area drawn to scale */
.hq__plots { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: .7rem 0 0; }
.hq__plots .field__error { grid-column: 1 / -1; }
.hq .hq__plot { position: relative; display: grid; margin: 0; font-size: inherit; font-weight: 400; grid-template-columns: 2.4rem 1fr; grid-template-rows: auto auto; column-gap: .7rem; align-items: center; padding: .75rem .8rem; background: rgba(255, 255, 255, .45); border: 1px solid rgba(49, 39, 38, .12); border-radius: .4rem; cursor: pointer; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.hq__plot input { position: absolute; opacity: 0; pointer-events: none; }
.hq__plot:hover { border-color: rgba(176, 138, 62, .6); transform: translateY(-1px); }
.hq__plot-shape { grid-row: 1 / 3; position: relative; width: 2.4rem; height: 2.4rem; border-left: 1px solid rgba(49, 39, 38, .18); border-bottom: 1px solid rgba(49, 39, 38, .18); }
.hq__plot-shape i { position: absolute; left: 0; bottom: 0; width: var(--s); height: var(--s); border: 1px solid #b08a3e; background: rgba(196, 163, 95, .14); transition: background-color .3s; }
.hq__plot--open .hq__plot-shape i { border-style: dashed; background: none; }
.hq__plot-big { font: 500 1.3rem/1.05 var(--font-display); color: var(--ink); }
.hq__plot-big small { font: 600 .62rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hq__plot--open .hq__plot-big { font-size: 1.05rem; }
.hq__plot-sub { font-size: .7rem; color: var(--muted); }
.hq__plot:has(input:checked) { background: #fffaf0; border-color: #b08a3e; box-shadow: inset 0 0 0 1px #b08a3e; }
.hq__plot:has(input:checked) .hq__plot-shape i { background: rgba(196, 163, 95, .55); }
.hq__plot:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

/* actions: an arrow in a charcoal circle, a serif label; no box */
.hq__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; }
.hq__step[data-step="0"] > .hq__go { margin: 1.1rem 0 0 auto; }
.hq__go, .hq__send { display: inline-flex; align-items: center; gap: .85rem; min-height: 3rem; padding: 0; color: var(--ink); background: none; border: 0; cursor: pointer; }
.hq__go span, .hq__send span { font: italic 500 1.15rem/1 var(--font-display); background: linear-gradient(#b08a3e, #b08a3e) 0 100% / 0 1px no-repeat; padding-bottom: .2rem; transition: background-size .45s var(--ease); }
.hq__send span { font-size: 1.32rem; }
.hq__go i, .hq__send i { position: relative; flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--ink); transition: background-color .35s, transform .35s var(--ease); }
.hq__send i { width: 3.3rem; height: 3.3rem; }
.hq__go i::before, .hq__send i::before { content: ""; position: absolute; left: 30%; top: 50%; width: 40%; height: 1.5px; background: #e6c98a; transition: width .35s var(--ease), background-color .35s; }
.hq__go i::after, .hq__send i::after { content: ""; position: absolute; right: 29%; top: 50%; width: .42rem; height: .42rem; border-top: 1.5px solid #e6c98a; border-right: 1.5px solid #e6c98a; transform: translate(0, -50%) rotate(45deg); transition: border-color .35s; }
.hq__go:hover span, .hq__send:hover span, .hq__go:focus-visible span, .hq__send:focus-visible span { background-size: 100% 1px; }
.hq__go:hover i, .hq__send:hover i { background: #b08a3e; transform: translateX(3px); }
.hq__go:hover i::before, .hq__send:hover i::before { background: var(--ink); width: 44%; }
.hq__go:hover i::after, .hq__send:hover i::after { border-color: var(--ink); }
.hq__go:active i, .hq__send:active i { transform: scale(.94); }
.hq__send[disabled] { opacity: .7; cursor: progress; }
.hq__send[disabled] i { animation: hqPulse 1s ease-in-out infinite; }
@keyframes hqPulse { 50% { transform: scale(.92); } }
.hq__back { padding: .4rem 0; font: 500 .8rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: none; border: 0; cursor: pointer; }
.hq__back:hover { color: var(--ink); }
.hq__fine { margin-top: .6rem; font-size: .7rem; line-height: 1.5; color: var(--muted); }
.hq__fine a { color: inherit; }
.hq .form__status p { margin: 0 0 .7rem; padding: .6rem .8rem; font-size: .84rem; background: rgba(255, 255, 255, .7); }

/* success: the arch closes and a lotus settles at its crown */
.hq.is-sent .hq__step, .hq.is-sent .hq__steps { display: none !important; }
.hq__done { padding: .8rem 0 .4rem; text-align: center; outline: none; }
.hq__lotus { width: 3.6rem; height: auto; margin: 0 auto .6rem; fill: none; stroke: #b08a3e; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.hq__lotus path { stroke-dasharray: 120; stroke-dashoffset: 0; animation: hqDraw 1.6s var(--ease-io) .2s both; }
@keyframes hqDraw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
.hq__done-kicker { font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #8a6a2a; }
.hq__done-text { margin: .5rem auto 1rem; max-width: 20rem; font: 500 1.2rem/1.4 var(--font-display); color: var(--ink); }

/* the doorway settles in once the hero has arrived */
.js .hfull .hqd { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease) .5s, transform 1.2s var(--ease) .5s; }
.js .hfull.is-in .hqd, .reduce .hqd { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hq__arch-line, .hq__lotus path { transition: none; animation: none; stroke-dashoffset: 0; } }

@media (max-width: 999px) {
  .hfull--home { align-items: stretch; }
  .hfull--home .hfull__body--split { align-content: end; padding-bottom: 2rem; }
  /* without a form beside it the headline sits at the foot of the picture, clear of the logo and the image label */
  .hfull--home .hfull__body:not(.hfull__body--split) { display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 4rem); }
  .hfull__aside { margin-top: .5rem; max-width: 30rem; }
  /* the image label moves to the top so it never sits on the form; a soft scrim keeps the headline legible */
  .hfull--home .band__credit { top: calc(var(--header-h) + .6rem); bottom: auto; right: var(--gutter); }
  .hfull--home .hfull__main { position: relative; }
  .hfull--home .hfull__main::before { content: ""; position: absolute; inset: -2.5rem -40vw -1.5rem; z-index: -1; background: radial-gradient(ellipse at 30% 55%, rgba(20, 14, 12, .55), rgba(20, 14, 12, 0) 70%); pointer-events: none; }
}
@media (max-width: 700px) {
  .hfull--home .hfull__body--split { padding-bottom: 1.5rem; }
  .hqd__layer { transform: translate(.55rem, .55rem); }
  .hq { padding-inline: 1.25rem; }
  .hq .hq__field input, .hq .hq__field textarea { font-size: 1rem; }
  .hq__plot { padding: .7rem; grid-template-columns: 2rem 1fr; column-gap: .55rem; }
  .hq__plot-shape { width: 2rem; height: 2rem; }
  .hq__steps { gap: .8rem; }
}

/* The Enquire Now pop-up uses the same doorway, floating over the dimmed page */
.modal__card--door { width: min(29rem, 100%); padding: 2.2rem 1.2rem 1.4rem .2rem; background: transparent; box-shadow: none; }
.modal__card--door .hqd { opacity: 1; transform: none; }
.modal__card--door .modal__close { z-index: 5; top: .2rem; right: .2rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; font-size: 1.5rem; color: var(--ink); background: rgba(250, 245, 236, .95); border-radius: 50%; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); transition: background-color .3s, color .3s; }
.modal__card--door .modal__close:hover { color: #fff; background: var(--ink); }
.modal__card--door .hq__field--date input { min-height: 3.3rem; }
@media (max-width: 700px) { .modal__card--door { padding: 2.4rem .6rem 1rem 0; } }
.modal__card--door .form.hq { padding: calc(var(--r, 13rem) * .38) clamp(1.4rem, 2.6vw, 2.1rem) 1.7rem; background: linear-gradient(180deg, rgba(250, 245, 236, .97) 0%, rgba(241, 230, 210, .98) 100%); }

/* ---------- The doorway, refined: an inner hairline, imposts and keystone, linked numerals, directional steps ---------- */
.hq__arch-inner { fill: none; stroke: rgba(176, 138, 62, .2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hq__arch-detail { fill: rgba(250, 245, 236, .9); stroke: #b08a3e; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.hq { box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 50px 80px -55px rgba(49, 39, 38, .85), 0 12px 24px -18px rgba(49, 39, 38, .35); }
.hq__kicker { letter-spacing: .28em; }
.hq__title { font-weight: 500; letter-spacing: -.005em; }

.hq__steps { position: relative; justify-content: space-between; gap: 0; width: min(15rem, 82%); margin: .2rem auto 1.3rem; }
.hq__steps::before, .hq__steps::after { content: ""; position: absolute; left: .8rem; right: .8rem; top: .8rem; height: 1px; background: rgba(49, 39, 38, .14); }
.hq__steps::after { right: auto; width: calc((100% - 1.6rem) * var(--steps, 0)); background: #b08a3e; transition: width .7s var(--ease); }
.hq__steps li { position: relative; z-index: 1; flex-direction: column; align-items: center; gap: .35rem; font-size: .6rem; letter-spacing: .16em; }
.hq__steps li i { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; font: italic 500 .78rem/1 var(--font-display); letter-spacing: 0; color: var(--muted); background: #f6efe2; border: 1px solid rgba(49, 39, 38, .18); transition: background-color .4s, border-color .4s, color .4s; }
.hq__steps li span { transition: color .4s; }
.hq__steps li.is-done i { color: #fff; background: #b08a3e; border-color: #b08a3e; }
.hq__steps li.is-on i { color: #f3dfb0; background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 3px rgba(176, 138, 62, .22); }

.hq.is-stepped[data-dir="next"] .hq__step.is-active { animation: hqNext .6s var(--ease); }
.hq.is-stepped[data-dir="back"] .hq__step.is-active { animation: hqBack .6s var(--ease); }
@keyframes hqNext { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes hqBack { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

.hq__field { margin-bottom: .75rem; }
.hq .hq__field label { font-size: .92rem; }

.hq__go i, .hq__send i { box-shadow: 0 0 0 1px rgba(176, 138, 62, .55), 0 0 0 5px rgba(176, 138, 62, 0); transition: background-color .35s, transform .35s var(--ease), box-shadow .45s var(--ease); }
.hq__go:hover i, .hq__send:hover i, .hq__go:focus-visible i, .hq__send:focus-visible i { box-shadow: 0 0 0 1px rgba(176, 138, 62, .8), 0 0 0 6px rgba(176, 138, 62, .16); }
@media (prefers-reduced-motion: reduce) { .hq.is-stepped .hq__step.is-active { animation: none; } }
