/* Soorya Builders & Developers — demo site
   Palette taken from the footage: fresh plaster, Kadapa stone, teak, marigold, dusk sky */
@font-face{font-family:"Teko";font-weight:400;font-display:swap;src:url(../fonts/teko-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Teko";font-weight:500;font-display:swap;src:url(../fonts/teko-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Mukta";font-weight:400;font-display:swap;src:url(../fonts/mukta-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Mukta";font-weight:500;font-display:swap;src:url(../fonts/mukta-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Mukta";font-weight:600;font-display:swap;src:url(../fonts/mukta-latin-600-normal.woff2) format("woff2")}

:root {
  --plaster: #ECEEEA;
  --plaster-2: #E2E5DF;
  --stone: #243030;
  --stone-2: #34413F;
  --ink: #1C2423;
  --muted: #5B6765;
  --teak: #7B4A2B;
  --marigold: #E9A21C;
  --marigold-d: #C9860A;
  --dusk: #2F4C6A;
  --sand: #CBBFA8;
  --line: rgba(36, 48, 48, .16);

  --display: "Teko", "Arial Narrow", sans-serif;
  --body: "Mukta", system-ui, sans-serif;

  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; height: 100vh; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: .95; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 500 1rem/1 var(--body); text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn--marigold { background: var(--marigold); color: var(--ink); }
.btn--marigold:hover { background: #F2B43E; }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--stone); color: var(--plaster);
  transition: transform 1.1s var(--ease);
}
.loader.is-done { transform: translate3d(0, -100%, 0); }
.loader__inner { display: grid; justify-items: center; gap: 6px; text-align: center; }
.loader__mark { width: 112px; height: 112px; margin-bottom: 22px; overflow: visible; }
.lp { fill: var(--plaster); opacity: 0; transform: translateY(-10px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.lp5 { fill: var(--marigold); }
.lp.is-set { opacity: 1; transform: none; }
.loader__brand { font: 500 3rem/1 var(--display); letter-spacing: .14em; margin: 0 0 4px; padding-left: .14em; }
.loader__status { font-size: .95rem; color: rgba(236, 238, 234, .7); margin: 0; font-variant-numeric: tabular-nums; }
.loader__floor { display: block; color: var(--sand); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--pad);
  color: #fff;
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.nav.is-solid {
  background: rgba(236, 238, 234, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-word { font: 500 1.9rem/.8 var(--display); letter-spacing: .12em; padding-top: 5px; }
.logo-word small { display: block; font: 400 .74rem/1.2 var(--body); letter-spacing: .03em; opacity: .8; margin-top: 2px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 1rem; opacity: .9; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav__cta { min-height: 42px; font-size: .95rem; }

/* ---------- Film ---------- */
.film { position: relative; background: var(--stone); }
.film__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.film__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; transform-origin: 50% 60%; will-change: transform;
}
.film__stage::after { /* legibility gradient for chapter text */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(18, 24, 24, .8) 0%, rgba(18, 24, 24, .45) 20%, rgba(18, 24, 24, .12) 42%, rgba(18, 24, 24, 0) 58%),
    linear-gradient(to bottom, rgba(18, 24, 24, .45) 0%, rgba(18, 24, 24, 0) 18%);
}
.film__shade { position: absolute; inset: 0; background: #121818; opacity: 0; z-index: 2; pointer-events: none; }

.film__intro {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(9vh + 60px);
  padding: 0 var(--pad); color: #fff; text-align: center;
  will-change: opacity, transform;
}
.film__intro h1 { font-size: clamp(3.4rem, 9vw, 8.4rem); text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.film__intro p { margin: 14px 0 0; font-size: 1.15rem; opacity: .9; }
.film__mouse {
  display: block; width: 26px; height: 40px; margin: 22px auto 0;
  border: 2px solid rgba(255, 255, 255, .8); border-radius: 14px; position: relative;
}
.film__mouse::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.film__chapters { position: absolute; z-index: 3; left: var(--pad); bottom: calc(9vh + 50px); width: min(760px, calc(100% - 2 * var(--pad))); color: #fff; pointer-events: none; }
.chapter { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.chapter__stage { font-size: .95rem; color: var(--marigold); margin: 0 0 8px; }
.chapter h2 { font-size: clamp(3rem, 6.4vw, 5.8rem); text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.chapter p:last-child { margin: 14px 0 0; font-size: 1.15rem; max-width: 30em; opacity: .92; }

.rail {
  position: absolute; z-index: 3; left: var(--pad); bottom: 9vh;
  width: min(420px, calc(100% - 2 * var(--pad)));
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px;
}
.rail li { --f: 0; }
.rail button {
  display: block; width: 100%; height: 22px; padding: 0; border: 0; background: none; cursor: pointer;
  position: relative;
}
.rail button::before, .rail button::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px;
}
.rail button::before { background: rgba(255, 255, 255, .28); transition: background-color .2s; }
.rail button::after { background: var(--marigold); transform-origin: left; transform: scaleX(var(--f)); }
.rail button:hover::before { background: rgba(255, 255, 255, .5); }
.rail__dot { display: none; }
.rail__label {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, -4px);
  white-space: nowrap; font: 400 .85rem/1.2 var(--body); color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.rail button:hover .rail__label, .rail button:focus-visible .rail__label { opacity: 1; transform: translate(-50%, 2px); }

.film__skip {
  position: absolute; z-index: 3; left: 50%; bottom: 3.2vh; transform: translateX(-50%);
  color: rgba(255, 255, 255, .85); font-size: .95rem; text-underline-offset: 4px;
}

/* ---------- Sheet ---------- */
.sheet {
  position: relative; z-index: 5;
  margin-top: -100vh;
  background: var(--plaster);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -30px 60px rgba(0, 0, 0, .25);
  overflow: hidden;
}

[id] { scroll-margin-top: 80px; }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2.8rem, 5.4vw, 4.6rem); color: var(--stone); }
.section-head p { color: var(--muted); margin: 0; }
.section-head--light h2 { color: var(--plaster); }
.section-head--light p { color: rgba(236, 238, 234, .75); }

/* About */
.about { padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 100px); }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.about h2 { font-size: clamp(2.9rem, 5.6vw, 5rem); color: var(--stone); }
.about__text { color: var(--ink); padding-top: 8px; }
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(48px, 7vw, 88px) 0 0; border-top: 2px solid var(--stone); }
.ledger div { padding: 18px 20px 0 0; }
.ledger div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.ledger dt { font-size: .95rem; color: var(--muted); }
.ledger dd { margin: 4px 0 0; font: 500 clamp(2.8rem, 5vw, 4.2rem)/1 var(--display); color: var(--teak); font-variant-numeric: tabular-nums; }

/* Projects */
.projects { padding: clamp(60px, 8vw, 110px) 0; background: var(--plaster-2); }
.projects__filter { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 32px; }
.chip {
  min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: 400 1rem/1 var(--body);
}
.chip:hover { border-color: var(--stone); }
.chip.is-on { background: var(--stone); color: var(--plaster); border-color: var(--stone); }
.projects__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.card { display: block; text-decoration: none; color: inherit; }
.card[hidden] { display: none; }
.card__img { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.035); }
.card__body { padding: 18px 4px 0; }
.card h3 { font-size: 2.4rem; margin-top: 10px; color: var(--stone); }
.card__place { color: var(--muted); margin: 2px 0 10px; }
.card__body > p:not(.card__place) { margin-bottom: 12px; max-width: 34em; }
.card__more { font-weight: 500; text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.tag { display: inline-block; padding: 3px 12px 2px; border-radius: 999px; font-size: .85rem; font-weight: 500; }
.tag--completed { background: var(--stone); color: var(--plaster); }
.tag--under-construction { background: var(--marigold); color: var(--ink); }
.tag--new-launch { background: var(--dusk); color: #fff; }
.tag--turnkey-interiors { background: var(--teak); color: #fff; }

/* Services */
.services { padding: clamp(70px, 9vw, 120px) 0; }
.services__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.services article { border-top: 3px solid var(--teak); padding-top: 18px; }
.services h3 { font-size: 2.1rem; color: var(--stone); margin-bottom: 10px; }
.services p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* Process */
.process { background: var(--stone); color: var(--plaster); padding: clamp(80px, 10vw, 130px) 0; }
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process__steps::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: rgba(236, 238, 234, .2); }
.process__steps li { position: relative; padding-right: 24px; }
.process__n {
  position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--stone); border: 2px solid var(--marigold); color: var(--marigold);
  font: 500 2.4rem/1 var(--display); padding-top: 6px; margin-bottom: 22px;
}
.process h3 { font-size: 1.9rem; margin-bottom: 10px; }
.process li p { color: rgba(236, 238, 234, .72); font-size: 1.02rem; margin-bottom: 10px; }
.process__time { font-size: .92rem; color: var(--sand); }

/* Trust */
.trust { padding: clamp(80px, 10vw, 130px) 0; }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.trust__image { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.trust__image img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.trust h2 { font-size: clamp(2.8rem, 5vw, 4.4rem); color: var(--stone); margin-bottom: 28px; }
.trust__list { margin: 0; }
.trust__list div { display: grid; grid-template-columns: 11rem 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.trust__list div:last-child { border-bottom: 1px solid var(--line); }
.trust__list dt { font: 500 1.6rem/1.05 var(--display); color: var(--teak); padding-top: 3px; }
.trust__list dd { margin: 0; }

/* Voices */
.voices { padding: clamp(60px, 8vw, 110px) 0; background: var(--plaster-2); }
.voices__note { font-size: .92rem; }
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.voices figure { margin: 0; padding-top: 22px; border-top: 2px solid var(--stone); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.voices blockquote { margin: 0; font-size: 1.2rem; line-height: 1.55; }
.voices figcaption { font-weight: 600; }
.voices figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }

/* Contact */
.contact { padding: clamp(80px, 10vw, 130px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); }
.contact h2 { font-size: clamp(3rem, 6vw, 5.2rem); color: var(--stone); margin-bottom: 18px; }
.contact__lead { color: var(--muted); max-width: 28em; }
.contact__ways { list-style: none; padding: 0; margin: 32px 0 0; }
.contact__ways li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact__ways span { color: var(--muted); }
.contact__ways a { font-weight: 500; text-decoration-color: var(--marigold); text-underline-offset: 4px; }
.contact__ways address, .contact__ways p { font-style: normal; margin: 0; }

.form { display: grid; gap: 18px; background: #fff; padding: clamp(24px, 4vw, 40px); border-radius: 20px; align-self: start; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 1rem; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  font: 400 1.05rem/1.4 var(--body); color: var(--ink);
  padding: 12px 14px; border: 1px solid #C9CFCB; border-radius: 10px; background: var(--plaster);
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--stone); box-shadow: 0 0 0 3px rgba(233, 162, 28, .35); }
.form .btn { justify-self: start; margin-top: 4px; }
.form__note { margin: 0; min-height: 1.6em; color: var(--teak); font-weight: 500; }

/* Footer */
.footer { background: var(--stone); color: rgba(236, 238, 234, .75); padding: 56px 0 40px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__grid > div { display: grid; gap: 6px; align-content: start; justify-items: start; }
.footer__grid p { margin: 0; }
.footer__h { color: var(--plaster); font-weight: 500; margin-bottom: 4px !important; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--plaster); text-decoration: underline; }
.footer__base { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(236, 238, 234, .14); font-size: .9rem; }
.footer__base p { margin: 0; }
.footer__brand { display: flex; align-items: center; gap: 12px; font: 500 2.4rem/1 var(--display); color: var(--plaster); letter-spacing: .12em; margin-bottom: 10px !important; }
.footer__brand .logo-mark { width: 40px; height: 40px; }
.footer__brand span { padding-top: 6px; }
.footer__links { display: grid; gap: 6px; justify-items: start; }
.footer a { text-underline-offset: 4px; }

/* WhatsApp button: only appears once the information sheet is in view */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.nav.is-solid ~ .wa-float, body.show-wa .wa-float { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Project page ---------- */
.p-hero { position: relative; height: 92vh; min-height: 520px; color: #fff; overflow: hidden; background: var(--stone); }
.p-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 24, 24, .8), rgba(18, 24, 24, .1) 55%, rgba(18, 24, 24, .45)); }
.p-hero__text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 8vh; }
.p-hero h1 { font-size: clamp(3.6rem, 10vw, 8.6rem); margin: 14px 0 6px; }
.p-hero__place { font-size: 1.25rem; opacity: .92; margin: 0; }
.p-back { display: inline-block; margin-bottom: 18px; text-decoration: none; opacity: .9; }
.p-back:hover { text-decoration: underline; text-underline-offset: 4px; }

.p-main { background: var(--plaster); border-radius: 28px 28px 0 0; margin-top: -28px; position: relative; z-index: 3; }
.p-facts { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 2px solid var(--stone); margin: 0; padding-top: 0; }
.p-facts div { padding: 16px 16px 0 0; }
.p-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.p-facts dt { font-size: .9rem; color: var(--muted); }
.p-facts dd { margin: 4px 0 0; font: 500 1.75rem/1.05 var(--display); color: var(--stone); }
.p-block { padding: clamp(56px, 7vw, 96px) 0 0; }
.p-block:last-child { padding-bottom: clamp(70px, 9vw, 120px); }
.p-block > .wrap > h2, .p-block h2 { font-size: clamp(2.6rem, 4.6vw, 3.8rem); color: var(--stone); margin-bottom: 22px; }
.p-overview { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); }
.p-progress { background: #fff; border-radius: 18px; padding: 26px 28px; align-self: start; }
.p-progress h3 { font-size: 1.8rem; color: var(--stone); margin-bottom: 14px; }
.p-bar { height: 12px; border-radius: 6px; background: var(--plaster-2); overflow: hidden; }
.p-bar span { display: block; height: 100%; background: var(--marigold); border-radius: 6px; transform-origin: left; }
.p-progress p { margin: 12px 0 0; color: var(--muted); }
.p-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.p-steps li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.p-steps li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--sand); flex: none; }
.p-steps li.done { color: var(--ink); }
.p-steps li.done::before { background: var(--marigold); border-color: var(--marigold); }

.p-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.p-gallery button { padding: 0; border: 0; background: var(--sand); border-radius: 14px; overflow: hidden; cursor: zoom-in; grid-column: span 4; aspect-ratio: 4 / 3; }
.p-gallery button:first-child { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.p-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.p-gallery.g4 button:last-child { grid-column: span 12; aspect-ratio: 21 / 8; }
.p-gallery.g5 button:nth-child(n+4) { grid-column: span 6; aspect-ratio: 16 / 9; }
.p-gallery button:hover img { transform: scale(1.04); }

.p-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); }
.p-list { list-style: none; padding: 0; margin: 0; }
.p-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.p-specs { margin: 0; }
.p-specs div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.p-specs dt { font-weight: 600; color: var(--teak); }
.p-specs dd { margin: 0; }
.p-near { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--stone); }
.p-near div { padding: 16px 16px 0 0; }
.p-near div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.p-near dd { margin: 0; font: 500 2.2rem/1 var(--display); color: var(--teak); }
.p-near dt { color: var(--muted); font-size: .95rem; }

.p-cta { background: var(--stone); color: var(--plaster); border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.p-cta h2 { color: var(--plaster) !important; margin-bottom: 10px !important; }
.p-cta p { color: rgba(236, 238, 234, .75); margin: 0; }
.p-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.btn--ghost { background: transparent; color: var(--plaster); box-shadow: inset 0 0 0 1px rgba(236, 238, 234, .5); }
.btn--ghost:hover { background: rgba(236, 238, 234, .1); }

.p-next { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; text-decoration: none; padding: 32px 0; border-top: 2px solid var(--stone); }
.p-next span { color: var(--muted); }
.p-next strong { display: block; font: 500 clamp(2.6rem, 5vw, 4rem)/1 var(--display); color: var(--stone); }
.p-next:hover strong { text-decoration: underline; text-decoration-color: var(--marigold); text-underline-offset: 8px; text-decoration-thickness: 3px; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(14, 19, 19, .94); display: grid; place-items: center; padding: 4vh 4vw; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; gap: 12px; max-width: 100%; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 12px; }
.lightbox figcaption { color: var(--plaster); text-align: center; }
.lightbox button { position: absolute; background: rgba(236, 238, 234, .12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover { background: rgba(236, 238, 234, .24); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services__list { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: 1fr; gap: 28px; }
  .process__steps::before { left: 33px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process__steps li { display: grid; grid-template-columns: 68px 1fr; column-gap: 22px; padding: 0; }
  .process__n { grid-row: span 3; margin: 0; }
  .p-facts { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .p-facts div:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .about__grid, .trust__grid, .contact__grid, .p-overview, .p-two, .p-cta { grid-template-columns: 1fr; }
  .p-cta__btns { justify-content: flex-start; }
  .projects__grid, .voices__note { font-size: .92rem; }
.voices__grid { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .ledger div:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust__image { aspect-ratio: 16 / 11; }
  .p-near { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .p-near div:nth-child(3) { padding-left: 0; border-left: 0; }
  .p-gallery button, .p-gallery button:first-child, .p-gallery.g4 button:last-child, .p-gallery.g5 button:nth-child(n+4) { grid-column: span 12; grid-row: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .nav { padding: 12px 18px; gap: 12px; }
  .logo-word small { display: none; }
  .nav__cta { padding: 0 16px; min-height: 40px; font-size: .9rem; }
  .nav__cta { font-size: 0; }
  .nav__cta::before { content: "Call us"; font-size: .95rem; }
  .rail { left: 18px; width: calc(100% - 36px); bottom: 9vh; gap: 5px; }
  .rail__label { display: none; }
  .film__chapters { bottom: calc(9vh + 36px); width: calc(100% - 36px); }
  .chapter h2 { font-size: 3.2rem; }
  .chapter p:last-child { font-size: 1.02rem; }
  .film__intro { bottom: calc(9vh + 60px); }
  .services__list { grid-template-columns: 1fr; }
  .projects__filter { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); scrollbar-width: none; }
  .chip { flex: none; }
  .contact__ways li { grid-template-columns: 90px 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .trust__list div { grid-template-columns: 1fr; gap: 4px; }
  .p-facts { grid-template-columns: repeat(2, 1fr); }
  .p-facts div:nth-child(4) { padding-left: 16px; border-left: 1px solid var(--line); }
  .p-facts div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .p-specs div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =====================================================================
   Drawing-set sheets (A-01 … A-09)
   ===================================================================== */
.sec { position: relative; padding: clamp(72px, 9vw, 124px) 0; }
.sec--grid {
  background-color: var(--plaster);
  background-image: linear-gradient(rgba(36, 48, 48, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 48, 48, .045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.sec--tint { background: var(--plaster-2); }
.sec--dark { background: var(--stone); color: var(--plaster); }

/* sheet header: number box, title, note, with a dimension line underneath */
.sh {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 24px; align-items: end;
  padding-bottom: 18px; margin-bottom: clamp(32px, 4vw, 52px); border-bottom: 2px solid var(--stone);
}
.sh::before, .sh::after { content: ""; position: absolute; bottom: -8px; width: 2px; height: 14px; background: var(--stone); }
.sh::before { left: 0; }
.sh::after { right: 0; }
.sh__no { align-self: end; margin-bottom: 6px; padding: 8px 10px 3px; border: 2px solid var(--stone); color: var(--stone); font: 500 1.45rem/1 var(--display); letter-spacing: .05em; }
.sh h2 { font-size: clamp(2.5rem, 4.8vw, 4.3rem); color: var(--stone); text-wrap: balance; }
.sh__meta { margin: 0; padding-bottom: 8px; color: var(--muted); font-size: .95rem; text-align: right; }
.sh--light { border-color: rgba(236, 238, 234, .5); }
.sh--light::before, .sh--light::after { background: rgba(236, 238, 234, .5); }
.sh--light .sh__no { border-color: var(--plaster); color: var(--plaster); }
.sh--light h2 { color: var(--plaster); }
.sh--light .sh__meta { color: rgba(236, 238, 234, .7); }

/* A-01 */
.about__lead { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.55; color: var(--ink); }
.about__text p:not(.about__lead) { color: var(--muted); }
.schedule { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.schedule caption { text-align: left; font: 500 1.5rem/1 var(--display); color: var(--stone); padding: 0 0 10px; }
.schedule th, .schedule td { padding: 13px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.schedule tr:first-child th, .schedule tr:first-child td { border-top: 0; }
.schedule th { width: 7.5rem; font: 500 1.3rem/1.1 var(--display); color: var(--teak); padding-top: 14px; border-right: 1px solid var(--line); }
.schedule td { font-size: 1rem; }

/* drawing boards */
.board {
  position: relative; background: #f7f8f4; border: 1px solid rgba(36, 48, 48, .22); border-radius: 6px;
  padding: clamp(14px, 2vw, 24px); box-shadow: 0 24px 48px -30px rgba(36, 48, 48, .45);
}
.board svg { display: block; width: 100%; height: auto; }
.board svg :focus { outline: none; }
.board svg :focus-visible > :first-child { stroke: var(--marigold); stroke-width: 3; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 0; padding: 0; font-size: .88rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 7px; }
.lg { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.lg--done { background: var(--stone); border-radius: 50%; }
.lg--build { background: var(--marigold); border-radius: 50%; }
.lg--new { background: var(--dusk); border-radius: 50%; }
.lg--int { background: var(--teak); border-radius: 50%; }
.lg--avail { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(36, 48, 48, .45); }
.lg--hold { background: #fbf1dc; box-shadow: inset 0 0 0 1.5px var(--marigold); }
.lg--sold { background: repeating-linear-gradient(45deg, #d9ddd8 0 3px, #9aa4a1 3px 5px); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tab { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 500 .95rem/1 var(--body); cursor: pointer; }
.tab:hover { border-color: var(--stone); }
.tab.is-on { background: var(--stone); color: var(--plaster); border-color: var(--stone); }

/* A-02 map */
.map-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.m-lake { fill: #d3dee5; stroke: #9fb6c8; stroke-width: 1.2; }
.m-road { fill: none; stroke: rgba(36, 48, 48, .3); stroke-width: 3; stroke-linecap: round; }
.m-ring { fill: none; stroke: rgba(36, 48, 48, .45); stroke-width: 2; stroke-dasharray: 9 7; }
.m-label { font: 400 12px var(--body); fill: var(--muted); }
.m-label--ring { font-style: italic; }
.m-place { font: 500 13.5px var(--body); fill: var(--stone); }
.m-core { fill: var(--stone); }
.m-airport path { fill: var(--stone); }
.m-office rect { fill: var(--stone); }
.m-compass circle { fill: #fff; stroke: var(--stone); stroke-width: 1.5; }
.m-compass path { fill: var(--marigold); stroke: var(--stone); stroke-width: 1; }
.m-compass text { font: 500 16px var(--display); fill: var(--stone); }
.m-pin { cursor: pointer; }
.m-pin__dot { stroke: #fff; stroke-width: 3.5; }
.m-pin__halo { opacity: 0; transition: opacity .25s; }
.m-pin--done .m-pin__dot, .m-pin--done .m-pin__halo { fill: var(--stone); }
.m-pin--build .m-pin__dot, .m-pin--build .m-pin__halo { fill: var(--marigold); }
.m-pin--new .m-pin__dot, .m-pin--new .m-pin__halo { fill: var(--dusk); }
.m-pin--int .m-pin__dot, .m-pin--int .m-pin__halo { fill: var(--teak); }
.m-pin.is-on .m-pin__halo { opacity: .22; }
.m-pin__tag { opacity: 0; transition: opacity .2s; pointer-events: none; }
.m-pin__tag rect { fill: var(--stone); }
.m-pin__tag text { font: 500 13px var(--body); fill: var(--plaster); }
.m-pin.is-on .m-pin__tag, .m-pin:hover .m-pin__tag { opacity: 1; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plist a {
  display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--plaster);
  text-decoration: none; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.plist img { width: 128px; height: 96px; object-fit: cover; border-radius: 6px; }
.plist strong { display: block; margin: 8px 0 2px; font: 500 1.75rem/1 var(--display); color: var(--stone); }
.plist__place { display: block; font-size: .95rem; color: var(--muted); }
.plist__note { display: block; font-size: .9rem; color: var(--teak); }
.plist__go svg { width: 24px; height: 24px; fill: none; stroke: var(--stone); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.plist li.is-on a { background: #fff; border-color: var(--stone); box-shadow: 0 14px 30px -22px rgba(36, 48, 48, .5); }
.plist a:hover .plist__go svg { transform: translateX(3px); }

/* A-03 flat picker */
.pick, .plan, .walls { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.e-ground { stroke: var(--stone); stroke-width: 2; }
.e-hatch { stroke: rgba(36, 48, 48, .3); }
.e-wall { fill: #fff; stroke: var(--stone); stroke-width: 1.5; }
.e-line { stroke: var(--stone); stroke-width: 1.5; }
.e-stilt { fill: #e6e8e3; stroke: var(--stone); }
.e-col { fill: #cfd3ce; stroke: var(--stone); }
.e-label { font: 400 12.5px var(--body); fill: var(--muted); }
.e-floor { font: 500 17px var(--display); fill: var(--muted); }
.e-slab { stroke: var(--stone); stroke-width: 3; }
.e-outline { fill: none; stroke: var(--stone); stroke-width: 2.5; }
.e-tree { fill: #cdd7c4; stroke: #8fa284; }
.e-trunk { stroke: #8a6a4f; stroke-width: 4; }
.e-flat { cursor: pointer; }
.e-flat__bg { fill: #fff; stroke: rgba(36, 48, 48, .35); transition: fill .2s; }
.e-win { fill: #dbe6ec; stroke: var(--stone); stroke-width: 1.2; }
.e-win-l { stroke: var(--stone); stroke-width: 1; }
.e-rail { stroke: var(--stone); stroke-width: 1.4; }
.e-rail--b { stroke-width: .9; }
.e-num { font: 500 10.5px var(--body); fill: var(--stone); }
.e-flat--hold .e-flat__bg { fill: #fbf1dc; stroke: var(--marigold); stroke-width: 1.5; stroke-dasharray: 4 3; }
.e-flat--sold .e-flat__bg { fill: url(#hatch); }
.e-flat--sold .e-win { fill: #eceeea; }
.e-flat:not(.e-flat--sold):hover .e-flat__bg { fill: #fde9bf; }
.e-flat.is-on .e-flat__bg { fill: var(--marigold); stroke: var(--stone); stroke-width: 2.5; stroke-dasharray: none; }
.flat, .room { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 2.6vw, 30px); }
.flat__eyebrow { margin: 0 0 4px; font-size: .92rem; color: var(--muted); }
.flat h3, .room h3 { margin-bottom: 12px; font: 500 2.9rem/.95 var(--display); color: var(--stone); }
.st { display: inline-block; padding: 4px 12px 3px; border-radius: 999px; font-size: .85rem; font-weight: 500; }
.st--avail { background: #e2efdf; color: #2c5a28; }
.st--hold { background: #fbecc9; color: #855600; }
.st--sold { background: #e2e4e1; color: #4b5553; }
.st--dir { background: var(--stone); color: var(--plaster); }
.flat__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 18px 0 20px; }
.flat__dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.flat__dl dt { font-size: .85rem; color: var(--muted); }
.flat__dl dd { margin: 3px 0 0; font: 500 1.5rem/1.05 var(--display); color: var(--stone); }
.flat__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.flat__msg { color: var(--muted); }
.btn--ghost-d { background: transparent; color: var(--stone); box-shadow: inset 0 0 0 1.5px var(--stone); }
.btn--ghost-d:hover { background: rgba(36, 48, 48, .06); }
.note { margin: 18px 0 0; font-size: .9rem; color: var(--muted); }

/* A-04 floor plans */
.p-room { cursor: pointer; }
.p-room rect { fill: #fff; stroke: var(--stone); stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill .2s; }
.p-room--t rect { fill: #eef2f4; }
.p-room--p rect { fill: #f3f4f0; }
.p-room:hover rect { fill: #fdeec9; }
.p-room.is-on rect { fill: #f4c96a; }
.p-name { font-family: var(--body); font-weight: 500; fill: var(--stone); pointer-events: none; }
.p-dim { font-family: var(--body); fill: var(--muted); pointer-events: none; }
.p-outer { fill: none; stroke: var(--stone); stroke-width: 7; vector-effect: non-scaling-stroke; pointer-events: none; }
.p-door { fill: none; stroke: var(--teak); stroke-width: 2; vector-effect: non-scaling-stroke; }
.p-dir { font: 500 15px var(--display); letter-spacing: .1em; fill: var(--muted); }
.room__vastu { margin: 0 0 18px; padding: 14px 16px; background: var(--plaster); border-left: 3px solid var(--marigold); border-radius: 0 6px 6px 0; }
.room__vastu strong { display: block; margin-bottom: 2px; font: 500 1.25rem/1 var(--display); color: var(--teak); }
.room__keys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: .95rem; }
.room__keys b { display: inline-block; min-width: 2.4em; font: 500 1.15rem/1 var(--display); color: var(--stone); }

/* A-05 wall section */
.w-solid { stroke: var(--stone); stroke-width: 1.2; }
.w-pcc { fill: #cfd3ce; stroke: var(--stone); }
.w-bar { fill: var(--stone); }
.w-steel { stroke: var(--stone); stroke-width: 2; }
.w-dpc { fill: #1e2424; }
.w-plaster { fill: #efe9df; stroke: var(--stone); stroke-width: .8; }
.w-paint-out { fill: #86a9bf; }
.w-paint-in { fill: #efcf96; }
.w-wp { fill: #2c3433; }
.w-tile { fill: #ead9c5; stroke: #b99d80; }
.w-hl { fill: rgba(233, 162, 28, .2); }
.w-edge { stroke: var(--stone); stroke-width: 2; }
.w-note { font: 400 13px var(--body); fill: var(--muted); }
.w-lead { stroke: var(--stone); stroke-width: 1; }
.w-layer { transition: opacity .25s; }
.has-on .w-layer { opacity: .38; }
.has-on .w-layer.is-on { opacity: 1; }
.w-mk { cursor: pointer; }
.w-mk circle { fill: #fff; stroke: var(--stone); stroke-width: 1.5; transition: fill .2s; }
.w-mk text { font: 500 16px var(--display); fill: var(--stone); }
.w-mk.is-on circle { fill: var(--marigold); }
.layers { list-style: none; margin: 0; padding: 0; }
.layers li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 13px 14px; border-top: 1px solid var(--line); border-radius: 6px; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.layers li:last-child { border-bottom: 1px solid var(--line); }
.layers li:hover { background: rgba(255, 255, 255, .6); }
.layers li.is-on { background: #fff; box-shadow: inset 3px 0 0 var(--marigold); }
.layers__n { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--stone); display: grid; place-items: center; padding-top: 3px; font: 500 1.1rem/1 var(--display); color: var(--stone); }
.layers li.is-on .layers__n { background: var(--marigold); border-color: var(--marigold); }
.layers h3 { margin: 4px 0 4px; font-size: 1.5rem; color: var(--stone); }
.layers p { margin: 0; font-size: 1rem; color: var(--muted); }

/* A-06 steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.steps li { position: relative; }
.steps img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; margin-bottom: 18px; }
.steps__n { position: absolute; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--marigold); color: var(--ink); display: grid; place-items: center; padding-top: 4px; font: 500 1.35rem/1 var(--display); }
.steps h3 { margin-bottom: 8px; font-size: 1.75rem; color: var(--plaster); }
.steps p { margin-bottom: 8px; font-size: 1rem; color: rgba(236, 238, 234, .72); }
.steps__t { font-size: .9rem; color: var(--sand); }

/* A-07 EMI */
.emi { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.emi__in { display: grid; gap: 24px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3vw, 34px); }
.emi__presets { display: flex; flex-wrap: wrap; gap: 8px; }
.emi__presets .chip b { font-weight: 600; }
.rng { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: baseline; font-weight: 500; }
.rng output { font: 500 1.7rem/1 var(--display); color: var(--stone); font-variant-numeric: tabular-nums; }
.rng input { grid-column: 1 / -1; width: 100%; height: 6px; margin: 6px 0; border-radius: 3px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: linear-gradient(to right, var(--marigold) var(--v, 50%), #dfe2dd var(--v, 50%)); }
.rng input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--stone); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.rng input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--stone); }
.rng input:focus-visible { outline: 3px solid var(--marigold); outline-offset: 6px; }
.emi__out { display: flex; flex-direction: column; gap: 16px; background: var(--stone); color: var(--plaster); border-radius: 10px; padding: clamp(24px, 3vw, 38px); }
.emi__label { margin: 0; color: rgba(236, 238, 234, .7); }
.emi__big { margin: 0; font: 500 clamp(3.6rem, 7vw, 5.8rem)/.9 var(--display); color: var(--marigold); font-variant-numeric: tabular-nums; }
.emi__bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: #3a4745; }
.emi__bar span:first-child { background: var(--plaster); }
.emi__bar span:last-child { background: var(--marigold); }
.emi__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 0; }
.emi__dl div { padding: 10px 0; border-top: 1px solid rgba(236, 238, 234, .16); }
.emi__dl dt { display: flex; align-items: center; gap: 7px; font-size: .85rem; color: rgba(236, 238, 234, .7); }
.emi__dl dd { margin: 3px 0 0; font: 500 1.5rem/1.05 var(--display); font-variant-numeric: tabular-nums; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.sw--p { background: var(--plaster); }
.sw--i { background: var(--marigold); }
.emi__out .btn { align-self: flex-start; margin-top: auto; }

/* A-08 voices inside a sheet */
.sec.voices { padding: clamp(72px, 9vw, 124px) 0; }
.voices figure { border-top-color: var(--stone); }

/* footer title block */
.titleblock { width: 100%; margin-top: 44px; border-collapse: collapse; }
.titleblock td { padding: 10px 14px; border: 1px solid rgba(236, 238, 234, .22); vertical-align: top; font-size: .92rem; color: var(--plaster); }
.titleblock td span { display: block; margin-bottom: 2px; font-size: .75rem; color: rgba(236, 238, 234, .55); }
.titleblock td:last-child { text-align: right; vertical-align: middle; }
.footer__copy { margin: 16px 0 0; font-size: .85rem; }

@media (max-width: 1000px) {
  .map-grid, .pick, .plan, .walls, .emi { grid-template-columns: minmax(0, 1fr); }
  .flat, .room { position: static; }
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(240px, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
  .steps li { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .sh { grid-template-columns: auto minmax(0, 1fr); }
  .sh__meta { grid-column: 1 / -1; text-align: left; padding-bottom: 0; }
  .sh h2 { font-size: 2.4rem; }
  .plist a { grid-template-columns: 92px minmax(0, 1fr); padding-right: 12px; }
  .plist img { width: 92px; height: 80px; }
  .plist__go { display: none; }
  .schedule th { width: 5.6rem; padding-left: 12px; }
  .board { padding: 10px; }
  .titleblock, .titleblock tbody, .titleblock tr { display: block; }
  .titleblock tr { display: grid; grid-template-columns: 1fr 1fr; }
  .titleblock td:last-child { text-align: left; }
  .emi__dl, .flat__dl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .m-label { font-size: 17px; }
  .m-place { font-size: 19px; }
  .m-pin__tag text { font-size: 17px; }
  .e-floor { font-size: 22px; }
  .e-num { font-size: 13px; }
  .e-label { font-size: 15px; }
  .p-dir { font-size: 20px; }
}

/* illustrated city map */
.mp-land { fill: #eef0ea; stroke: #cfd5cc; stroke-width: 1.5; stroke-dasharray: 2 4; }
.mp-park { fill: #d3e2c6; stroke: #b5cba4; stroke-width: 1; }
.mp-lake { fill: #c9dce8; stroke: #9fbdd0; stroke-width: 1.2; }
.mp-water { font: italic 400 11px var(--body); fill: #5f8199; }
.mp-road-c { fill: none; stroke: #c4c9c1; stroke-width: 9; stroke-linecap: round; }
.mp-road { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; }
.mp-ring-c { stroke: #d9b46a; stroke-width: 10; }
.mp-ring { stroke: #fbf3e1; stroke-width: 6.5; }
.mp-roadname { font: 500 10.5px var(--body); fill: #7b8582; letter-spacing: .02em; }
.mp-roadname--ring { fill: #a57d2c; font-style: italic; }
.mp-metro { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.mp-metro.mp-purple { stroke: #7a4ea3; }
.mp-metro.mp-green { stroke: #3b8b4c; }
.mp-stn { fill: #fff; stroke-width: 2; }
.mp-stn.mp-purple { stroke: #7a4ea3; }
.mp-stn.mp-green { stroke: #3b8b4c; }
.mp-hub { fill: #fff; stroke: var(--stone); stroke-width: 2.5; }
.mp-place { font: 500 12px var(--body); fill: #4f5b59; paint-order: stroke; stroke: #eef0ea; stroke-width: 3px; stroke-linejoin: round; }
.mp-place--b { font-size: 11.5px; fill: var(--stone); }
.mp-place--s { font-size: 11px; }
.mp-airport circle { fill: var(--stone); }
.mp-airport path { fill: #fff; }
.mp-office rect { fill: var(--stone); stroke: #fff; stroke-width: 2; }
.mp-compass circle { fill: #fff; stroke: var(--stone); stroke-width: 1.5; }
.mp-compass__n { fill: var(--marigold); stroke: var(--stone); stroke-width: 1; }
.mp-compass__s { fill: #fff; stroke: var(--stone); stroke-width: 1; }
.mp-compass text { font: 500 16px var(--display); fill: var(--stone); }
.mp-scale path { fill: none; stroke: var(--stone); stroke-width: 1.5; }
.mp-scale text { font: 400 10.5px var(--body); fill: var(--muted); }
.mp-route__line { fill: none; stroke: var(--stone); stroke-width: 2.2; stroke-dasharray: 2 6; stroke-linecap: round; animation: mpdash 1.6s linear infinite; }
.mp-route__end { fill: var(--marigold); stroke: var(--stone); stroke-width: 2; }
.mp-route__label rect { fill: #fff; stroke: var(--stone); stroke-width: 1.2; }
.mp-route__label text { font: 500 11.5px var(--body); fill: var(--stone); }
@keyframes mpdash { to { stroke-dashoffset: -16; } }
.m-pin__base { fill: rgba(36, 48, 48, .25); }
.m-pin__shape { stroke: #fff; stroke-width: 2.5; }
.m-pin--done .m-pin__shape { fill: var(--stone); }
.m-pin--build .m-pin__shape { fill: var(--marigold); }
.m-pin--new .m-pin__shape { fill: var(--dusk); }
.m-pin--int .m-pin__shape { fill: var(--teak); }
.m-pin__eye { fill: #fff; }
.m-pin__body { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .25s var(--ease); }
.m-pin.is-on .m-pin__body { transform: scale(1.22); }
.m-pin__tag { opacity: 1; }
.m-pin__tag rect { fill: #fff; stroke: rgba(36, 48, 48, .25); }
.m-pin__tag text { font: 500 12px var(--body); fill: var(--stone); }
.m-pin.is-on .m-pin__tag rect { fill: var(--stone); stroke: var(--stone); }
.m-pin.is-on .m-pin__tag text { fill: var(--plaster); }
.board--map { background: #f4f5f0; }
.legend .lg--metro-p { background: #7a4ea3; height: 4px; border-radius: 2px; width: 18px; }
.legend .lg--metro-g { background: #3b8b4c; height: 4px; border-radius: 2px; width: 18px; }
@media (prefers-reduced-motion: reduce) { .mp-route__line { animation: none; } }
@media (max-width: 760px) {
  .mp-place { font-size: 15px; }
  .mp-roadname { font-size: 13px; }
  .mp-water { font-size: 13px; }
  .m-pin__tag text { font-size: 14px; }
}

/* A-08 doors of the families */
.np { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.np__stage { position: relative; aspect-ratio: 16 / 9; max-height: 640px; width: 100%; border-radius: 12px; overflow: hidden; background: #d9d4c9; box-shadow: 0 30px 60px -36px rgba(36, 48, 48, .6); }
.np__slide { position: absolute; inset: 0; margin: 0; transition: opacity .7s var(--ease); }
.np__slide.is-in { opacity: 0; }
.np__slide.is-out { opacity: 0; pointer-events: none; }
.np__photo { position: absolute; inset: 0; overflow: hidden; }
.np__zoom { position: absolute; inset: 0; container-type: inline-size; transform: scale(1.06); }
.np__slide.is-live .np__zoom { animation: npzoom 8s cubic-bezier(.25, .6, .3, 1) forwards; }
.is-paused .np__slide.is-live .np__zoom, .is-stopped .np__slide.is-live .np__zoom { animation-play-state: paused; }
@keyframes npzoom { from { transform: scale(1.06); } to { transform: scale(1.55); } }
.np__zoom img { display: block; width: 100%; height: 100%; object-fit: cover; }
.np__name {
  position: absolute; display: flex; align-items: center; justify-content: center; padding-top: .12em;
  font-family: var(--display); font-weight: 500; letter-spacing: .14em; line-height: 1; white-space: nowrap;
  color: #3a2708; text-shadow: 0 .06em 0 rgba(255, 236, 190, .65), 0 -.03em 0 rgba(60, 35, 0, .35);
  opacity: .92; mix-blend-mode: multiply;
}
.np__words {
  position: absolute; right: clamp(14px, 2.4vw, 32px); top: 50%; transform: translateY(-50%);
  width: min(40%, 440px); padding: clamp(20px, 2.4vw, 32px);
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 10px; box-shadow: 0 20px 40px -24px rgba(36, 48, 48, .55);
  transition: opacity .5s var(--ease) .15s, transform .6s var(--ease) .15s;
}
.np__slide.is-in .np__words { opacity: 0; transform: translateY(calc(-50% + 16px)); }
.np__type { display: inline-block; margin-bottom: 14px; padding: 3px 11px 2px; border-radius: 999px; background: var(--stone); color: var(--plaster); font-size: .8rem; font-weight: 500; }
.np__words blockquote { margin: 0 0 18px; font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.5; color: var(--ink); }
.np__words figcaption strong { display: block; margin-bottom: 4px; font: 500 1.7rem/1 var(--display); color: var(--stone); }
.np__words figcaption span { display: block; font-size: .92rem; color: var(--muted); }
.np__side { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.np__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.np__list button {
  position: relative; width: 100%; display: grid; gap: 8px; text-align: left;
  padding: 6px 6px 14px; background: transparent; border: 1px solid transparent; border-radius: 10px; cursor: pointer; color: inherit; font: inherit;
  transition: background-color .2s, border-color .2s;
}
.np__list button:hover { background: rgba(255, 255, 255, .6); }
.np__list li.is-on button { background: #fff; border-color: var(--line); }
.np__list img { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 7px; object-fit: cover; filter: saturate(.85); transition: filter .2s; }
.np__list li.is-on img, .np__list button:hover img { filter: none; }
.np__list span { padding: 0 4px; }
.np__list strong { display: block; font: 500 1.25rem/1 var(--display); color: var(--stone); }
.np__list em { display: block; margin-top: 2px; font-style: normal; font-size: .82rem; color: var(--muted); }
.np__bar { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 3px; border-radius: 2px; background: rgba(36, 48, 48, .1); overflow: hidden; }
.np__bar b { display: block; height: 100%; background: var(--marigold); transform: scaleX(0); transform-origin: left; }
.np__ctrl { display: flex; gap: 8px; }
.np__btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--stone); background: #fff; cursor: pointer; }
.np__btn:hover { background: var(--stone); }
.np__btn:hover svg { stroke: var(--plaster); }
.np__btn svg { width: 20px; height: 20px; fill: none; stroke: var(--stone); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.np__btn .i-play { display: none; }
.np__btn.is-paused .i-play { display: block; fill: var(--stone); }
.np__btn.is-paused .i-pause { display: none; }
@media (max-width: 1100px) {
  .np__side { grid-template-columns: minmax(0, 1fr); }
  .np__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(150px, 26%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .np__list li { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .np__stage { aspect-ratio: auto; max-height: none; height: auto; overflow: visible; background: none; box-shadow: none; }
  .np__slide { position: relative; display: none; }
  .np__slide:last-child { display: block; }
  .np__photo { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; }
  .np__words { position: relative; right: auto; top: auto; transform: none; width: auto; margin-top: -28px; margin-inline: 12px; }
  .np__slide.is-in .np__words { transform: translateY(16px); }
  .np__list { grid-auto-columns: minmax(140px, 42%); }
}
@media (prefers-reduced-motion: reduce) { .np__slide.is-live .np__zoom { animation: none; transform: scale(1.4); } }


/* demo disclaimer */
.demo-note { margin: 28px 0 0; padding: 14px 18px; border: 1px dashed rgba(236, 238, 234, .35); border-left: 3px solid var(--marigold); border-radius: 6px; font-size: .9rem; line-height: 1.55; color: rgba(236, 238, 234, .82); }
.demo-note strong { color: var(--marigold); font-weight: 600; }

/* site-wide demo notice */
.demo-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 48px 8px 16px; background: rgba(24, 31, 30, .94); color: rgba(236, 238, 234, .88);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-top: 1px solid rgba(233, 162, 28, .45);
  font-size: .84rem; line-height: 1.4; text-align: center;
}
.demo-bar[hidden] { display: none; }
.demo-bar p { margin: 0; }
.demo-bar strong { color: var(--marigold); font-weight: 600; }
.demo-bar button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: rgba(236, 238, 234, .75); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.demo-bar button:hover { background: rgba(236, 238, 234, .12); color: #fff; }
body:not(.no-demo-bar) .wa-float { bottom: 62px; }
body:not(.no-demo-bar) .film__skip { bottom: calc(3.2vh + 34px); }
body:not(.no-demo-bar) .footer { padding-bottom: 76px; }
@media (max-width: 760px) {
  .demo-bar { font-size: .74rem; padding: 7px 42px 7px 12px; text-align: left; }
  body:not(.no-demo-bar) .wa-float { bottom: 70px; }
}

.film__wait { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; padding: 8px 16px; border-radius: 999px;
  background: rgba(18, 24, 24, .7); color: #fff; font-size: .9rem; opacity: 0; transition: opacity .3s; pointer-events: none; }
.film__wait.is-on { opacity: 1; transition-delay: .4s; }

.sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.site { display: grid; gap: 4px; text-align: left; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s; }
.site strong { font: 500 1.45rem/1 var(--display); color: var(--stone); }
.site span { font-size: .88rem; color: var(--muted); }
.site:hover { border-color: var(--stone); }
.site.is-on { border-color: var(--stone); box-shadow: inset 0 -4px 0 var(--marigold); }
.tabs[hidden] { display: none; }
@media (max-width: 720px) {
  .sites { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .site { scroll-snap-align: start; }
}
