/* Sarjapur Projects — site styles
 * Light theme: white and pale-teal bands, deep teal for text accents and the hero,
 * amber for the main action. One sans (Muli, self-hosted in assets/fonts) for everything.
 */
@font-face { font-family: "Muli"; src: url("assets/fonts/Muli.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Muli"; src: url("assets/fonts/Muli-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Muli"; src: url("assets/fonts/Muli-Bold.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
:root {
  --ink: #0F4A4F;          /* deep teal: hero, footer, primary accents */
  --ink-2: #155B61;
  --ink-line: #2B6D72;
  --paper: #F1F7F7;        /* tinted band */
  --tint: #E6F0F0;
  --surface: #FFFFFF;
  --line: #D6E4E4;
  --text: #17292C;
  --muted: #536A6D;
  --on-ink: #F4FAFA;
  --on-ink-muted: #C2D8D9;
  --amber: #F2B21B;
  --amber-hover: #E3A10C;
  --gold: #F2B21B;
  --gold-soft: #F2B21B;
  --gold-deep: #0E6168;    /* links on light */
  --link: #0E6168;

  --s-new: #F2B21B;
  --s-upcoming: #2F6FA8;
  --s-prelaunch: #B4621A;
  --s-ongoing: #0F4A4F;
  --s-verify: #8A4B3E;

  --f-body: "Muli", "Mulish", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --t-xs: .78rem;
  --t-sm: .875rem;
  --t-md: 1rem;
  --t-lg: 1.0625rem;

  --r-sm: 6px;
  --r-md: 10px;
  --shadow: 0 1px 2px rgba(15, 74, 79, .06), 0 10px 26px -14px rgba(15, 74, 79, .25);
  --header-h: 64px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; background: var(--surface); color: var(--text); font: 400 var(--t-md)/1.65 var(--f-body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--link); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; color: var(--text); line-height: 1.2; }
p { overflow-wrap: break-word; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap.narrow > * { max-width: 860px; }
.narrow-left { max-width: 760px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--amber); color: var(--text); padding: 8px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { top: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--r-sm); border: 1.5px solid transparent; font-weight: 700; font-size: var(--t-sm); text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; white-space: nowrap; line-height: 1.2; }
.btn-amber, .btn-gold { background: var(--amber); color: #1B1B1B; }
.btn-amber:hover, .btn-gold:hover { background: var(--amber-hover); }
.btn-outline, .btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover, .btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-sm { min-height: 38px; padding: 7px 14px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: 4px 0; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: var(--t-sm); font-weight: 600; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.site-header.is-scrolled { box-shadow: 0 6px 20px -16px rgba(15, 74, 79, .5); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 30px; height: 30px; fill: var(--amber); color: var(--ink); }
.brand-word { font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { color: #fff; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; font-weight: 700; font-size: var(--t-sm); color: var(--ink); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { display: flex; align-items: center; gap: 14px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; background: none; border: 0; border-radius: var(--r-sm); font-weight: 600; font-size: var(--t-sm); color: var(--text); text-decoration: none; cursor: pointer; }
.nav-top:hover, .nav-top[aria-current="page"] { color: var(--ink); background: var(--paper); }
.has-menu > .nav-top::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 10px; display: none; }
.has-menu.is-open > .menu { display: grid; }
.menu a { display: block; padding: 8px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-size: var(--t-sm); white-space: nowrap; }
.menu a:hover { background: var(--paper); color: var(--ink); }
.menu-mega { grid-template-columns: repeat(2, minmax(170px, 1fr)); gap: 6px 16px; }
.menu-head { margin: 4px 12px 4px; font-size: var(--t-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.menu-list { min-width: 240px; }
.nav-cta { min-height: 40px; padding: 8px 16px; }
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; padding: 10px var(--gutter-r) 18px var(--gutter); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-top { width: 100%; justify-content: space-between; min-height: 48px; }
  .menu { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .menu-mega { grid-template-columns: 1fr; }
  .nav-cta { width: 100%; min-height: 46px; }
}

/* ---------- home hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 58, 62, .97) 0%, rgba(10, 58, 62, .9) 42%, rgba(10, 58, 62, .45) 100%); }
.hero-inner { padding-block: clamp(44px, 7vw, 88px) clamp(32px, 5vw, 48px); }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 18px; max-width: 17ch; }
.hero-lede { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); color: #E1EEEE; max-width: 62ch; margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: clamp(32px, 5vw, 52px) 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .22); }
.hero-facts dt { font-weight: 800; font-size: var(--t-sm); margin-bottom: 4px; color: #fff; }
.hero-facts dd { margin: 0; font-size: var(--t-sm); color: #CFE2E2; }
@media (max-width: 760px) { .hero-facts { grid-template-columns: 1fr; gap: 14px; } .hero-bg::after { background: rgba(10, 58, 62, .9); } }

/* ---------- jump bar / toc ---------- */
.jumpbar, .toc { position: sticky; top: var(--header-h); z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.jump-row, .toc-row { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.jump-row::-webkit-scrollbar, .toc-row::-webkit-scrollbar { display: none; }
.jump-row > span, .toc-row > span { flex: none; font-size: var(--t-sm); font-weight: 700; color: var(--muted); margin-right: 4px; }
.jump-row a, .toc-row a { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--ink); text-decoration: none; font-size: var(--t-sm); font-weight: 600; }
.jump-row a:hover, .toc-row a:hover { background: var(--ink); color: #fff; }

/* ---------- sections ---------- */
.section { padding-block: clamp(44px, 6vw, 72px); }
.section-tint { background: var(--paper); }
.section-pad { padding-block: clamp(40px, 6vw, 64px); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.sec-head > div:first-child { max-width: 720px; }
.sec-head h2, .section h2, .prose h2 { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.05rem); font-weight: 800; letter-spacing: -.015em; margin: 0 0 10px; }
.sec-lede { color: var(--muted); margin: 0; }
.sec-links { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--t-sm); font-weight: 700; }
.fine { font-size: var(--t-xs); color: var(--muted); margin: 16px 0 0; }
.group-h { font-size: 1.35rem !important; margin: 36px 0 16px !important; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--ink); white-space: nowrap; }
.b-new { background: var(--amber); color: #1B1B1B; }
.b-upcoming { background: var(--s-upcoming); }
.b-prelaunch { background: var(--s-prelaunch); }
.b-ongoing { background: var(--s-ongoing); }
.b-verify { background: var(--s-verify); }

/* ---------- cards ---------- */
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 1px 2px rgba(15, 74, 79, .05); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--tint); overflow: hidden; }
.card-media img, .card-media .media-empty { width: 100%; height: 100%; object-fit: cover; }
.card-media .badge { position: absolute; top: 10px; left: 10px; }
.img-tag { position: absolute; right: 8px; bottom: 8px; font-size: .66rem; font-weight: 600; color: #fff; background: rgba(15, 30, 32, .62); padding: 2px 7px; border-radius: 4px; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.card-title { margin: 0; font-size: 1.08rem; font-weight: 800; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--ink); text-decoration: underline; }
.card-loc { display: flex; gap: 6px; align-items: flex-start; margin: 0; color: var(--muted); font-size: var(--t-sm); line-height: 1.4; }
.card-loc svg, .p-hero svg { width: 15px; height: 15px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; }
.card-price { margin: 2px 0 0; font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.card-price.is-muted { font-size: 1rem; color: var(--muted); }
.card-spec { margin: 2px 0 6px; display: grid; gap: 0; font-size: .82rem; }
.card-spec div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.card-spec dt { color: var(--muted); }
.card-spec dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.card-spec .muted { color: var(--muted); font-weight: 500; }
.rera { font-variant-numeric: tabular-nums; }
.card-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card-actions .btn { padding-inline: 8px; min-height: 42px; }

/* ---------- rails ---------- */
.rail-wrap { margin-right: calc(-1 * var(--gutter-r)); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, calc((100% - 3 * 20px) / 4.15)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter-r) 14px 2px; scrollbar-width: thin; }
.rail > .card { scroll-snap-align: start; }
@media (max-width: 1000px) { .rail { grid-auto-columns: minmax(260px, 42%); } }
@media (max-width: 640px) { .rail { grid-auto-columns: 82%; } }
.rail-nav { display: flex; gap: 8px; flex: none; }
.rail-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.rail-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.2; }
.rail-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 640px) { .rail-nav { display: none; } }

/* ---------- grids ---------- */
.list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .list-grid { grid-template-columns: 1fr; } }

.more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 900px) { .more-list { grid-template-columns: 1fr; } }
.more-item { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.more-name { margin: 0; font-weight: 800; }
.more-dev { margin: 0; font-size: var(--t-xs); color: var(--muted); }
.more-note { margin: 6px 0 0; font-size: var(--t-sm); color: var(--muted); }
.more-btn { flex: none; }

/* ---------- timeline ---------- */
.timeline { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px clamp(14px, 3vw, 24px); }
.tl-axis { position: relative; height: 22px; margin-left: 220px; margin-right: 150px; font-size: .72rem; color: var(--muted); }
.tl-axis span { position: absolute; transform: translateX(-50%); }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 220px minmax(0, 1fr) 150px; align-items: center; gap: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.tl-name { font-weight: 800; font-size: var(--t-sm); text-decoration: none; color: var(--text); padding-right: 12px; }
.tl-name small, .tl-val small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.tl-name:hover { color: var(--ink); text-decoration: underline; }
.tl-track { position: relative; height: 10px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 6)); border-radius: 5px; }
.tl-bar { position: absolute; left: 0; top: 2px; height: 6px; border-radius: 3px; background: var(--ink); }
.tl-dot { position: absolute; top: -3px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--amber); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--ink); }
.tl-val { text-align: right; font-weight: 800; font-size: var(--t-sm); padding-left: 12px; }
@media (max-width: 700px) {
  .tl-axis { display: none; }
  .timeline li { grid-template-columns: 1fr auto; row-gap: 8px; }
  .tl-track { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- area & dev tiles ---------- */
.area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .area-grid { grid-template-columns: 1fr; } }
.area-tile { display: block; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.area-tile:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.area-tile h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.at-for { margin: 0 0 8px; font-size: var(--t-xs); font-weight: 700; }
.at-names { margin: 0; font-size: var(--t-sm); color: var(--muted); }
.dev-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .dev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dev-tile { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--text); background: #fff; }
.dev-tile strong { display: block; font-weight: 800; }
.dev-tile span { font-size: var(--t-xs); color: var(--muted); }
.dev-tile:hover { border-color: var(--ink); }

/* ---------- two-col, tables, boxes ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.prose h3 { font-size: 1.1rem; font-weight: 800; margin: 22px 0 6px; }
.prose p, .prose li { color: #2B3E41; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 6px; }
.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.table-cap { margin: 0; padding: 12px 16px; background: var(--tint); font-weight: 800; font-size: var(--t-sm); color: var(--ink); }
.table-card .fine { padding: 0 16px 14px; }
.table-wrap { overflow-x: auto; }
.fact-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.fact-table th, .fact-table td { text-align: left; padding: 11px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.fact-table thead th { font-weight: 700; color: var(--muted); border-top: 0; background: #fff; }
.fact-table tbody th { font-weight: 700; }
.prose .table-wrap { border: 1px solid var(--line); border-radius: var(--r-md); margin: 14px 0; }
.box-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.box-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .box-grid, .box-grid.three { grid-template-columns: 1fr; } }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.section-tint .box { background: #fff; }
.section:not(.section-tint) .box { background: var(--paper); }
.box h3 { margin: 0 0 12px; font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.box p { margin: 0 0 10px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: var(--t-sm); }
.ticks svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ticks.warn svg { stroke: var(--s-prelaunch); stroke-width: 2; }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.stat-strip div { padding: 16px 18px; border-left: 1px solid var(--line); }
.stat-strip div:first-child { border-left: 0; }
.stat-strip strong { display: block; font-size: 1.12rem; font-weight: 800; color: var(--ink); line-height: 1.3; }
.stat-strip span { font-size: var(--t-xs); color: var(--muted); }
@media (max-width: 760px) { .stat-strip { grid-template-columns: 1fr 1fr; } .stat-strip div:nth-child(3) { border-left: 0; } .stat-strip div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.ms-img img, .ms-img .media-empty { border-radius: var(--r-md); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; }
@media (max-width: 800px) { .media-split { grid-template-columns: 1fr; } }
.notice { margin-top: 22px; padding: 16px 18px; border-left: 4px solid var(--amber); background: #FFF8E6; border-radius: var(--r-sm); font-size: var(--t-sm); }
.dev-box { max-width: 900px; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; max-width: 820px; }
.steps li { position: relative; padding: 0 0 22px 56px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: var(--t-sm); }
.steps li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 4px 0 4px; font-size: 1rem; font-weight: 800; }
.steps p { margin: 0; font-size: var(--t-sm); color: var(--muted); }
.num-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .num-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .num-steps { grid-template-columns: 1fr; } }
.num-steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.num-steps .n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--ink); font-weight: 800; font-size: var(--t-sm); margin-bottom: 10px; }
.num-steps h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; }
.num-steps p { margin: 0; font-size: var(--t-sm); color: var(--muted); }

/* ---------- guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guide-grid { grid-template-columns: 1fr; } }
.guide { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--text); }
.guide:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.guide h3, .guide h2 { margin: 0; font-size: 1rem !important; font-weight: 800; }
.guide > span:first-child, .guide > span:last-child { font-size: var(--t-xs); color: var(--muted); }
.guide-lg h2 { font-size: 1.15rem !important; }
.guide-lg p { margin: 0; font-size: var(--t-sm); color: var(--muted); }
.guide .read { margin-top: auto; color: var(--link) !important; font-weight: 700; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--ink); }
.faq details[open] summary::after { content: "−"; }
.faq .ans p { margin: 0 0 16px; color: #2B3E41; }
.sources { margin-top: 28px; font-size: var(--t-sm); }
.sources h3 { font-size: 1rem; margin: 0 0 8px; }
.sources ul { margin: 0; padding-left: 1.2em; }

/* ---------- cta band ---------- */
.cta-band { background: var(--ink); color: #fff; padding-block: clamp(36px, 5vw, 56px); }
.cta-band-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; }
.cta-band p { margin: 0; color: #D3E6E6; max-width: 56ch; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { background: #0B2427; color: #B7CBCC; padding-block: 52px calc(26px + env(safe-area-inset-bottom, 0px)); font-size: var(--t-sm); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { margin: 12px 0 0; max-width: 40ch; }
.site-footer h2 { color: #fff; font-size: var(--t-sm); font-weight: 800; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: #B7CBCC; text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
/* Disclaimer spans the full width of the footer, on every screen size */
.disclaimer { width: 100%; max-width: none; margin-top: 40px; padding-top: 24px; border-top: 1px solid #23464A; font-size: .8rem; line-height: 1.7; }
.disclaimer h2 { margin-bottom: 8px; }
.disclaimer p { margin: 0 0 10px; max-width: none; }
.disclaimer a { text-decoration: underline; color: #DDEBEB; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #23464A; font-size: .8rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: var(--t-xs); font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15, 74, 79, .14); }
.lead-form { display: grid; gap: 12px; }
.lf-title { margin: 0; font-size: 1.25rem; font-weight: 800; }
.lf-sub { margin: -6px 0 2px; font-size: var(--t-sm); color: var(--muted); }

/* ---------- project hero ---------- */
.p-hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden; }
.p-hero-bg { position: absolute; inset: 0; z-index: -1; }
.p-hero-bg img, .p-hero-bg .media-empty { width: 100%; height: 100%; object-fit: cover; }
.p-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 50, 54, .94) 0%, rgba(9, 50, 54, .78) 45%, rgba(9, 50, 54, .25) 100%), linear-gradient(0deg, rgba(9, 50, 54, .55), transparent 40%); }
@media (max-width: 960px) { .p-hero-bg::after { background: rgba(9, 50, 54, .86); } }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 56px); padding-block: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 960px) { .p-hero-grid { grid-template-columns: 1fr; } }
.p-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; margin: 10px 0 12px; }
.p-badge { margin: 0; }
.p-hero-sub { color: #DCEBEB; max-width: 60ch; margin: 0 0 22px; }
.p-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 0; }
.p-stats { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); }
.p-stats dt { font-weight: 800; font-size: 1.1rem; color: #fff; line-height: 1.3; }
.p-stats dd { margin: 2px 0 0; font-size: var(--t-xs); color: #BFD6D7; }
@media (max-width: 520px) { .p-stats { grid-template-columns: 1fr 1fr; } }
.p-updated { margin: 22px 0 0; font-size: var(--t-xs); color: #BFD6D7; }
.p-hero-form { background: #fff; color: var(--text); border-radius: var(--r-md); padding: 22px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55); }
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; font-size: var(--t-xs); }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; opacity: .85; }
.crumbs a:hover { text-decoration: underline; opacity: 1; }
.p-hero .crumbs, .page-hero .crumbs { color: #CFE2E2; }

/* mini road */
.mini-road { margin: 22px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow-x: auto; }
.mini-ends { display: flex; justify-content: space-between; font-size: var(--t-xs); font-weight: 800; color: var(--ink); margin-bottom: 8px; min-width: 620px; }
.mini-road ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; min-width: 620px; }
.mini-road ol::before { content: ""; position: absolute; left: 6%; right: 6%; top: 7px; height: 3px; background: var(--ink); border-radius: 2px; }
.mini-road li { position: relative; text-align: center; padding-top: 22px; font-size: .74rem; line-height: 1.3; }
.mini-road li::before { content: ""; position: absolute; top: 1px; left: 50%; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.mini-road li.is-here::before { background: var(--amber); width: 19px; height: 19px; margin-left: -9.5px; top: -1px; }
.mini-road li.is-here a { font-weight: 800; color: var(--text); }
.mini-road a { color: var(--muted); text-decoration: none; }
.mini-road a:hover { text-decoration: underline; }

/* ---------- inner page hero ---------- */
.page-hero { background: var(--ink); color: #fff; padding-block: clamp(34px, 5vw, 60px); background-image: radial-gradient(circle at 92% 0%, rgba(242, 178, 27, .16), transparent 42%); }
.page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; max-width: 26ch; }
.page-lede { font-size: var(--t-lg); color: #DCEBEB; max-width: 66ch; margin: 0; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 18px 0 0; font-size: var(--t-sm); color: #C9DFDF; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip-link { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: var(--t-sm); font-weight: 600; color: var(--ink); background: #fff; margin: 0 6px 8px 0; }
.chip-link:hover { border-color: var(--ink); }
.page-hero .chip-link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.page-hero .chip-link:hover { border-color: var(--amber); color: var(--amber); }
.chip-row { margin: 0; }
.side-links h2 { font-size: 1.05rem !important; margin: 0 0 10px !important; }
.side-links p { margin: 0 0 18px; }

/* listing filter */
.filter-bar { display: grid; gap: 10px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; }
.fb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fb-label { font-size: var(--t-xs); font-weight: 800; color: var(--muted); min-width: 80px; }
.filter-bar button { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: var(--t-sm); font-weight: 600; cursor: pointer; }
.filter-bar button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.fb-count { margin: 0; font-size: var(--t-sm); color: var(--muted); }
.list-group { padding-top: 34px; }
.group-head h2 { font-size: 1.45rem; font-weight: 800; margin: 0 0 4px; }
.group-head p { margin: 0 0 18px; color: var(--muted); }
.empty-note { padding: 20px; background: var(--paper); border-radius: var(--r-md); }

/* developers & locations */
.dev-section { padding-block: 34px; border-bottom: 1px solid var(--line); }
.dev-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.dev-head h2 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.dev-count { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.dev-intro { max-width: 72ch; color: #2B3E41; margin: 8px 0 20px; }
.also { margin-top: 18px; font-size: var(--t-sm); color: var(--muted); }
.corridor { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; overflow-x: auto; }
.corridor-ends { display: flex; justify-content: space-between; font-size: var(--t-xs); font-weight: 800; color: var(--ink); min-width: 720px; }
.corridor-line { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; min-width: 720px; }
.corridor-line::before { content: ""; position: absolute; left: 7%; right: 7%; top: 62px; height: 3px; background: var(--ink); }
.corridor-line a { display: grid; justify-items: center; gap: 8px; text-align: center; text-decoration: none; color: var(--text); }
.stop-name { font-weight: 800; font-size: var(--t-sm); min-height: 50px; display: flex; align-items: flex-end; }
.stop-pin { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); position: relative; z-index: 1; }
.corridor-line a:hover .stop-pin { background: var(--amber); }
.stop-count { font-size: var(--t-xs); color: var(--muted); }
.loc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 800px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-block { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.loc-block h2 { font-size: 1.3rem !important; margin: 0 0 8px !important; }
.loc-block .kind { margin: 0 0 4px; font-size: var(--t-xs); font-weight: 800; color: var(--s-prelaunch); text-transform: uppercase; letter-spacing: .05em; }
.loc-projects { font-size: var(--t-sm); }

/* blog article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-block: 44px 64px; align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.article h2 { margin-top: 32px; }
.article code { font-size: .85em; background: var(--tint); padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere; }
.p-aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
@media (max-width: 960px) { .p-aside { position: static; } }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow); }
.more-reading h2 { font-size: 1.05rem !important; margin: 0 0 10px !important; }
.more-reading ul { margin: 0; padding-left: 1.1em; font-size: var(--t-sm); display: grid; gap: 8px; }

/* contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-list { margin: 0 0 22px; display: grid; gap: 0; }
.contact-list div { display: grid; grid-template-columns: 90px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 700; color: var(--muted); }
.contact-list dd { margin: 0; }
.placeholder { color: var(--muted); font-style: italic; }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); max-width: min(92vw, 520px); background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: var(--r-sm); font-size: var(--t-sm); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }

/* ---------- dialog ---------- */
dialog#enquiry { border: 0; padding: 0; border-radius: var(--r-md); width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--surface); color: var(--text); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); }
dialog#enquiry::backdrop { background: rgba(8, 30, 33, .6); }
.dlg { position: relative; padding: 28px clamp(18px, 4vw, 32px) 26px; }
.dlg h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.015em; font-size: 1.8rem; line-height: 1.1; margin: 0 40px 6px 0; }
.dlg-sub { margin: 0 0 18px; color: var(--muted); font-size: var(--t-sm); }
.dlg form { display: grid; gap: 14px; }
.dlg-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; border-radius: 50%; }
.dlg-close:hover { background: var(--tint); }
.dlg-close svg { width: 20px; height: 20px; stroke: var(--text); stroke-width: 2; fill: none; }
.phone { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px; }
.opt { font-weight: 400; color: var(--muted); }
.err { margin: 2px 0 0; color: #A33A2A; font-size: var(--t-xs); font-weight: 600; }
.field .is-invalid { border-color: #A33A2A; }
.consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: var(--t-xs); color: var(--muted); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); }
.enq-summary { white-space: pre-wrap; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font: 400 var(--t-sm)/1.55 var(--f-body); max-height: 220px; overflow: auto; }
.done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }

/* ---------- neutral image placeholder ---------- */
.media-empty { width: 100%; height: 100%; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: repeating-linear-gradient(135deg, var(--tint) 0 12px, #E6E3DB 12px 24px); color: var(--muted); font-size: var(--t-xs); font-weight: 600; text-align: center; padding: 12px; }
.media-empty svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.is-flash { outline: 3px solid var(--gold); outline-offset: 3px; transition: outline-color .3s; }

/* ---------- utility ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn.is-busy { opacity: .75; cursor: progress; }
.form-msg { margin: 0; padding: 10px 12px; border-radius: var(--r-sm); font-size: var(--t-sm); font-weight: 600; }
.form-msg.is-error { background: #F6E3DF; color: #8A2C1E; }
.form-msg.is-success { background: #E1EFE7; color: #1F5A3D; }


/* ---------- enquiry done ---------- */
.done-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #E1EFE7; margin-bottom: 14px; }
.done-mark svg { width: 26px; height: 26px; fill: none; stroke: var(--s-new); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lead-ref { font-size: var(--t-sm); color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- chatbot ---------- */
.chat { position: fixed; z-index: 45; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-launch { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 20px 10px 16px; border: 1px solid rgba(214, 190, 143, .5); border-radius: 999px; background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: var(--t-sm); cursor: pointer; box-shadow: 0 14px 34px -12px rgba(8, 30, 33, .6); transition: background-color .2s, transform .2s; }
.chat-launch svg { width: 22px; height: 22px; fill: var(--gold-soft); }
.chat-launch:hover { background: var(--ink-2); transform: translateY(-1px); }
.chat.is-open .chat-launch-text { display: none; }
.chat.is-open .chat-launch { padding: 10px 16px; }
@media (max-width: 520px) { .chat-launch-text { display: none; } .chat-launch { padding: 15px; } }
.chat-panel { width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 110px)); display: flex; flex-direction: column; background: var(--surface); color: var(--text); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(8, 30, 33, .55); border: 1px solid var(--line); opacity: 0; transform: translateY(12px) scale(.98); transform-origin: bottom right; transition: opacity .18s ease, transform .18s ease; }
.chat.is-open .chat-panel { opacity: 1; transform: none; }
@media (max-width: 520px) { .chat { right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); } .chat-panel { height: calc(100dvh - 96px); } }
.chat-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 12px; align-items: center; padding: 14px 12px 14px 16px; background: var(--ink); color: var(--on-ink); }
.chat-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink-2); color: var(--gold-soft); }
.chat-avatar svg { width: 24px; height: 24px; fill: currentColor; }
.chat-head h2 { margin: 0; font-size: var(--t-md); font-weight: 700; }
.chat-head p { margin: 0; font-size: var(--t-xs); color: var(--on-ink-muted); }
.chat-x { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--on-ink); }
.chat-x:hover { background: var(--ink-2); }
.chat-x svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: var(--t-sm); line-height: 1.5; overflow-wrap: anywhere; }
.msg-bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-user { align-self: flex-end; background: var(--ink); color: var(--on-ink); border-bottom-right-radius: 4px; }
.msg-facts { margin: 8px 0 0; padding-left: 18px; }
.msg-summary { margin: 8px 0; display: grid; gap: 4px; }
.msg-summary div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; }
.msg-summary dt { color: var(--muted); }
.msg-summary dd { margin: 0; font-weight: 600; }
.msg-small { font-size: var(--t-xs); color: var(--muted); margin: 6px 0 0; }
.msg a { color: var(--gold-deep); }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.sending { display: inline-flex; align-items: center; gap: 8px; }
.spin { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ok-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--s-new); color: #fff; font-size: 12px; }
.err-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #A33A2A; color: #fff; font-size: 12px; font-weight: 800; }
.chat-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px 10px; background: var(--paper); max-height: 180px; overflow-y: auto; }
.chat-replies:empty { display: none; }
.qr { min-height: 36px; padding: 6px 12px; border: 1px solid var(--ink); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .82rem; font-weight: 600; cursor: pointer; text-align: left; transition: background-color .15s, color .15s; }
.qr:hover { background: var(--ink); color: var(--on-ink); }
.qr-primary { background: var(--ink); color: var(--on-ink); }
.qr-primary:hover { background: var(--ink-2); }
.qr-quiet { border-color: var(--line); color: var(--muted); }
.chat-input { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); }
.chat-input input { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 16px; }
.chat-input input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(15, 74, 79, .16); }
.chat-send { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }
.chat-send svg { width: 18px; height: 18px; fill: var(--gold-soft); }
@media (prefers-reduced-motion: reduce) { .chat-panel { transition: none; } .typing i, .spin { animation: none; } }


/* grid children may shrink below their content width (prevents sideways scroll on phones) */
.reg-grid > *, .dev-card > *, .media-split > *, .two-col > *, .loc-grid > *, .list-grid > *, .area-grid > *, .box-grid > *, .contact-layout > *, .article-layout > *, .p-hero-grid > *, .guide-grid > * { min-width: 0; }
.loc-block .btn { white-space: normal; text-align: center; }

/* ---------- project page additions ---------- */
.p-hero-loc { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; color: #E3EFEF; font-weight: 600; font-size: var(--t-sm); }
.p-rera { margin: 16px 0 0; display: inline-block; padding: 6px 12px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .12); font-size: var(--t-xs); color: #E3EFEF; overflow-wrap: anywhere; }
.p-hero-copy { padding-top: 6px; }
.notice-soft { border-left-color: var(--ink); background: var(--tint); margin-top: 0; }
.box-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .box-grid.four { grid-template-columns: 1fr; } }
.map { width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--tint); }
.map-split { align-items: center; }
.dev-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
@media (max-width: 800px) { .dev-card { grid-template-columns: 1fr; } }
.dev-card p { margin: 0 0 12px; }
.dev-stats { display: grid; gap: 0; align-content: start; }
.dev-stats div { padding: 10px 0; border-top: 1px solid var(--line); }
.dev-stats div:first-child { border-top: 0; padding-top: 0; }
.dev-stats span { display: block; font-size: var(--t-xs); color: var(--muted); }
.dev-stats strong { font-weight: 800; color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery figure { margin: 0; min-width: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }
.reg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .reg-grid { grid-template-columns: 1fr; } }
.reg-grid h2 { margin-top: 0; }
.reg-grid .ticks { margin-top: 18px; }
#compare .table-card { margin-top: 26px; }
.sec-head .sec-lede a { color: var(--link); }
.aside-card .lf-title, .p-hero-form .lf-title { font-size: 1.25rem !important; margin: 0 !important; }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.ov-grid > * { min-width: 0; }
@media (max-width: 900px) { .ov-grid { grid-template-columns: 1fr; } }
.ov-grid .fact-table th { width: 42%; color: var(--muted); font-weight: 600; }

/* ---------- images everywhere ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 50, 54, .95) 0%, rgba(9, 50, 54, .82) 50%, rgba(9, 50, 54, .45) 100%); }
@media (max-width: 760px) { .page-hero-bg::after { background: rgba(9, 50, 54, .86); } }
.more-item { justify-content: flex-start; }
.more-thumb { flex: none; width: 84px; height: 84px; border-radius: var(--r-sm); overflow: hidden; background: var(--tint); }
.more-thumb img { width: 100%; height: 100%; object-fit: cover; }
.more-main { min-width: 0; }
.more-btn { margin-top: 6px; }
.area-tile { padding: 0; overflow: hidden; }
.area-tile .at-img { display: block; aspect-ratio: 16 / 9; background: var(--tint); }
.area-tile .at-img img { width: 100%; height: 100%; object-fit: cover; }
.area-tile h3, .area-tile p { padding-inline: 16px; }
.area-tile h3 { margin-top: 14px; }
.area-tile .at-names { padding-bottom: 16px; }
.guide { padding: 0 0 16px; overflow: hidden; }
.guide > * { margin-inline: 16px !important; }
.guide .g-img { display: block; margin: 0 0 10px !important; aspect-ratio: 16 / 9; background: var(--tint); }
.guide .g-img img { width: 100%; height: 100%; object-fit: cover; }
.gallery2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.gal-main img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); }
.gal-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 220px)); gap: 12px; }
.gal-thumbs figure { margin: 0; }
.gal-thumbs img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.gal-thumbs figcaption { font-size: .72rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 900px) { .gallery2 { grid-template-columns: 1fr; } .gal-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.am-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); gap: 10px; }
.am-collage figure { margin: 0; }
.am-collage img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.am-collage figcaption { font-size: .72rem; color: var(--muted); margin-top: 3px; }
