/* V&M Meridian Buildtech — "Midnight & Gold". One file, no build step. */
:root {
  --night: #0b1821;          /* page background */
  --night-2: #0f212d;
  --panel: #132b39;
  --panel-2: #183646;
  --navy: #132f40;           /* the logo's ink */
  --gold: #c9a45f;
  --gold-2: #e5cc98;
  --gold-deep: #a5803f;
  --ivory: #f5efe4;
  --ivory-2: #ebe2d2;
  --text: #ece6da;
  --text-soft: #b9c2c7;
  --muted: #8d9ca5;
  --ink: #17242d;            /* text on ivory */
  --ink-soft: #55636c;
  --line: rgba(201, 164, 95, .22);
  --line-soft: rgba(255, 255, 255, .09);
  --line-ink: rgba(19, 47, 64, .16);
  --radius: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --label: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --diamonds: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z' fill='none' stroke='%23c9a45f' stroke-opacity='.14' stroke-width='1'/%3E%3Cpath d='M28 18 38 28 28 38 18 28Z' fill='none' stroke='%23c9a45f' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E");
  --diamonds-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z' fill='none' stroke='%23132f40' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font: 400 17px/1.7 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
h1 em, h2 em { font-style: italic; color: var(--gold-2); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 600 .76rem/1 var(--label); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.4em; display: inline-flex; align-items: center; gap: .9em; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border: 1px solid currentColor; transform: rotate(45deg); }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--text-soft); max-width: 40em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .7em; padding: 1.05em 1.7em; font: 600 .78rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--gold); border-radius: 999px; background: var(--gold); color: var(--night); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; border-color: #fff; }
.btn--ink { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--ink:hover { background: #0b1e2a; border-color: #0b1e2a; }
.btn--ink-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--ink-ghost:hover { background: var(--navy); color: #fff; }
.btn .icon { font-size: 1.15em; }
.link-arrow { display: inline-flex; align-items: center; gap: .6em; font: 600 .78rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--gold-2); }
.link-arrow .icon { transition: transform .25s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Header: transparent over the hero, dark glass once scrolled */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .menu-open .site-header { background: rgba(11, 24, 33, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: #fff; }
.brand img { width: 46px; height: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font: 400 1.38rem/1 var(--label); letter-spacing: .04em; }
.brand-name small { font: 400 .6rem/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-top: 7px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a { font: 600 .76rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,.86); padding: 8px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--gold); transition: left .25s, right .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { left: 0; right: 0; }
.nav .btn { padding: .9em 1.35em; color: var(--night); }
.nav .btn::after { display: none; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; color: #fff; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 84px 0 auto 0; background: rgba(11, 24, 33, .97); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 26px; border-bottom: 1px solid var(--line-soft); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .2s, visibility .2s; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 17px 0; border-bottom: 1px solid var(--line-soft); font-size: .85rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 18px; justify-content: center; padding: 1.1em; }
  .brand-name small { display: none; }
}

/* Hero slideshow (home) */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--night); }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 8s linear; }
.hero-slides img.is-on { opacity: 1; transform: scale(1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,24,33,.55) 0%, rgba(11,24,33,.15) 30%, rgba(11,24,33,.55) 62%, rgba(11,24,33,.97) 100%), linear-gradient(90deg, rgba(11,24,33,.75) 0%, rgba(11,24,33,0) 65%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--diamonds); opacity: .45; mask-image: linear-gradient(90deg, #000 0%, transparent 55%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%); }
.hero-inner { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(28px, 4vw, 48px); }
.hero h1 { max-width: 11.5em; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lede { color: rgba(255,255,255,.84); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-dots { display: flex; gap: 10px; margin-top: 34px; }
.hero-dots button { width: 34px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button.is-on { background: var(--gold); width: 56px; }
.hero-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border-top: 1px solid var(--line-soft); }
.hero-strip a { display: flex; align-items: center; gap: 18px; padding: 24px clamp(18px, 3vw, 36px); background: rgba(11, 24, 33, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-decoration: none; color: #fff; transition: background .25s; }
.hero-strip a:hover { background: rgba(19, 47, 64, .9); }
.hero-strip .ico { flex: 0 0 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-2); font-size: 22px; }
.hero-strip small { display: block; font: 600 .68rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.hero-strip strong { font: 400 1.15rem/1.2 var(--serif); }
.scroll-cue { position: absolute; z-index: 2; right: var(--gutter); bottom: 130px; writing-mode: vertical-rl; font: 600 .66rem/1 var(--label); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
@media (max-width: 860px) {
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip a { padding: 16px var(--gutter); }
  .hero-strip .ico { flex-basis: 42px; height: 42px; font-size: 18px; }
  .scroll-cue { display: none; }
}

/* Inner page hero */
.page-hero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; overflow: hidden; padding: 150px 0 clamp(48px, 7vw, 90px); background: var(--night-2); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,24,33,.6) 0%, rgba(11,24,33,.3) 35%, rgba(11,24,33,.94) 100%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--diamonds); opacity: .35; mask-image: linear-gradient(180deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 100%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 14em; }
.page-hero .lede { color: rgba(255,255,255,.82); }
.page-hero--plain { min-height: 0; background: var(--night-2) var(--diamonds); }
.page-hero--plain::before { background: radial-gradient(ellipse at 80% 0%, rgba(201,164,95,.16), transparent 55%), linear-gradient(180deg, rgba(11,24,33,0), rgba(11,24,33,.6)); }
.crumbs { font: 600 .7rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.tag { display: inline-flex; align-items: center; gap: .6em; font: 600 .68rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; padding: .8em 1.1em; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-2); background: rgba(11,24,33,.45); }

/* Marquee */
.marquee { background: var(--gold); color: var(--night); overflow: hidden; white-space: nowrap; border-block: 1px solid var(--gold-deep); }
.marquee-track { display: inline-flex; gap: 0; animation: marquee 38s linear infinite; padding: 18px 0; }
.marquee span { font: 400 1.35rem/1 var(--serif); font-style: italic; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--night); transform: rotate(45deg); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.section--panel { background: var(--night-2); }
.section--pattern { background: var(--night-2) var(--diamonds); }
.section--ivory { background: var(--ivory); color: var(--ink); }
.section--ivory .lede { color: var(--ink-soft); }
.section--ivory .eyebrow { color: var(--gold-deep); }
.section--ivory h1, .section--ivory h2, .section--ivory h3 { color: var(--navy); }
.section--ivory h2 em { color: var(--gold-deep); }
.section--ivory .link-arrow { color: var(--navy); }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px 72px; align-items: end; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head .lede { margin: 0; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* Intro with image collage */
.intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.collage .c1 { left: 0; top: 0; width: 66%; height: 72%; }
.collage .c2 { right: 0; bottom: 0; width: 56%; height: 58%; border: 6px solid var(--night); }
.section--ivory .collage .c2 { border-color: var(--ivory); }
.collage .badge { position: absolute; left: 6%; bottom: 6%; width: 132px; height: 132px; border-radius: 50%; background: var(--gold); color: var(--night); display: grid; place-items: center; text-align: center; font: 600 .66rem/1.35 var(--label); letter-spacing: .16em; text-transform: uppercase; padding: 18px; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.collage .badge strong { display: block; font: 400 1.5rem/1 var(--serif); letter-spacing: 0; text-transform: none; margin-bottom: 4px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 36px; }
.pillar { display: flex; gap: 16px; }
.pillar .ico { flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(201,164,95,.12); color: var(--gold-2); font-size: 22px; }
.section--ivory .pillar .ico { background: rgba(19,47,64,.08); color: var(--navy); }
.pillar strong { display: block; font: 600 .78rem/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; margin: 4px 0 6px; }
.pillar span { color: var(--text-soft); font-size: .95rem; }
.section--ivory .pillar span { color: var(--ink-soft); }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } .collage { max-width: 560px; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .collage .badge { width: 104px; height: 104px; font-size: .58rem; } .collage .badge strong { font-size: 1.2rem; } }

/* Verticals: image tiles with icons */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4.2; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 24px; text-decoration: none; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,24,33,.05) 20%, rgba(11,24,33,.92) 100%); transition: background .4s; }
.tile:hover img { transform: scale(1.07); }
.tile:hover::before { background: linear-gradient(180deg, rgba(19,47,64,.25) 0%, rgba(11,24,33,.95) 100%); }
.tile .ico { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(229,204,152,.5); display: grid; place-items: center; color: var(--gold-2); font-size: 22px; margin-bottom: auto; background: rgba(11,24,33,.35); backdrop-filter: blur(6px); }
.tile .num { position: absolute; top: 22px; right: 24px; font: 400 .8rem/1 var(--label); letter-spacing: .2em; color: rgba(255,255,255,.7); }
.tile h3 { color: #fff; margin-bottom: .3em; }
.tile p { font-size: .93rem; color: rgba(255,255,255,.78); margin: 0 0 14px; }
.tile .status { font: 600 .68rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); display: inline-flex; align-items: center; gap: .5em; }
@media (max-width: 1060px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3.6; } }

/* Feature (big project band) */
.feature { position: relative; overflow: hidden; }
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 640px; }
.feature-media { position: relative; overflow: hidden; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-media .float { position: absolute; right: -40px; bottom: 40px; width: 46%; aspect-ratio: 1; border-radius: var(--radius); border: 6px solid var(--night-2); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.4); z-index: 2; }
.feature-media .float img { position: static; width: 100%; height: 100%; }
.feature-copy { background: var(--night-2) var(--diamonds); padding: clamp(48px, 7vw, 110px) clamp(28px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 36px; }
.fact { border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; background: rgba(11,24,33,.4); }
.fact .icon { color: var(--gold-2); font-size: 22px; margin-bottom: 12px; }
.fact strong { display: block; font: 400 1.55rem/1.1 var(--serif); color: #fff; }
.fact span { font: 600 .64rem/1.4 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.small-note { font-size: .8rem; color: var(--muted); margin-top: 18px; }
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-media { aspect-ratio: 4 / 3; }
  .feature-media .float { right: 16px; bottom: -30px; width: 38%; }
  .feature-copy { padding-top: 64px; }
}
@media (max-width: 480px) { .facts { grid-template-columns: 1fr 1fr; } .fact:last-child { grid-column: span 2; } }

/* Project cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.card { text-decoration: none; color: inherit; display: block; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line-soft); transition: transform .35s, box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.35); border-color: var(--line); }
.card-media { aspect-ratio: 16 / 11; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .tag { position: absolute; left: 18px; top: 18px; backdrop-filter: blur(6px); }
.card-body { padding: 28px 28px 30px; }
.card-body .meta { display: flex; align-items: center; gap: .6em; font: 600 .7rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.card-body h3 { color: #fff; margin-bottom: .4em; }
.card-body p { color: var(--text-soft); font-size: .95rem; margin: 0 0 18px; }
.section--ivory .card { background: #fff; border-color: var(--line-ink); }
.section--ivory .card-body h3 { color: var(--navy); }
.section--ivory .card-body p { color: var(--ink-soft); }
.section--ivory .card-body .meta { color: var(--gold-deep); }
.section--ivory .card .link-arrow { color: var(--navy); }
@media (max-width: 780px) { .cards { grid-template-columns: 1fr; } }

/* Process timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 36px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201,164,95,.15)); }
.timeline li { position: relative; padding: 0 22px 0 0; }
.timeline .node { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--night); border: 1px solid var(--gold); color: var(--gold-2); font-size: 28px; position: relative; margin-bottom: 26px; }
.section--panel .timeline .node, .section--pattern .timeline .node { background: var(--night-2); }
.timeline .node::after { counter-increment: step; content: "0" counter(step); position: absolute; top: -8px; right: -10px; font: 600 .66rem/1 var(--label); letter-spacing: .1em; background: var(--gold); color: var(--night); padding: 5px 6px; border-radius: 999px; }
.timeline h3 { color: #fff; }
.timeline p { color: var(--text-soft); font-size: .95rem; margin: 0; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 30px; }
  .timeline::before { left: 36px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), rgba(201,164,95,.15)); }
  .timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 0 22px; padding: 0; }
  .timeline .node { grid-row: span 2; margin: 0; }
}

/* Split (text + image) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.split-media { position: relative; }
.split-media > img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius); }
.split-media .inset { position: absolute; left: -36px; bottom: -36px; width: 44%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--night); box-shadow: 0 24px 48px rgba(0,0,0,.35); }
.section--ivory .split-media .inset { border-color: var(--ivory); }
.section--panel .split-media .inset, .section--pattern .split-media .inset { border-color: var(--night-2); }
.split-media .caption { position: absolute; right: 16px; top: 16px; font: 600 .62rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(11,24,33,.6); padding: 8px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
.split--reverse .split-media { order: 2; }
.split--reverse .split-media .inset { left: auto; right: -36px; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media > img { aspect-ratio: 4 / 3.3; }
  .split-media .inset { left: auto; right: 14px; bottom: -28px; width: 36%; }
  .split--reverse .split-media .inset { right: 14px; }
}

.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checklist li { padding-left: 34px; position: relative; color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.checklist li::after { content: ""; position: absolute; left: 6.5px; top: calc(.5em + 4.5px); width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.section--ivory .checklist li { color: var(--ink); }
.checklist--cols { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
@media (max-width: 640px) { .checklist--cols { grid-template-columns: 1fr; } }

/* Icon feature grid */
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.icon-card { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 28px; background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,0)); transition: border-color .3s, transform .3s, background .3s; }
.icon-card:hover { border-color: var(--line); transform: translateY(-4px); background: linear-gradient(160deg, rgba(201,164,95,.1), rgba(255,255,255,0)); }
.icon-card .ico { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: rgba(201,164,95,.12); color: var(--gold-2); font-size: 26px; margin-bottom: 22px; }
.icon-card strong { display: block; font: 400 1.3rem/1.25 var(--serif); color: #fff; margin-bottom: 8px; }
.icon-card span { color: var(--text-soft); font-size: .95rem; }
.section--ivory .icon-card { border-color: var(--line-ink); background: #fff; }
.section--ivory .icon-card:hover { background: #fff; border-color: var(--gold); }
.section--ivory .icon-card .ico { background: rgba(19,47,64,.07); color: var(--navy); }
.section--ivory .icon-card strong { color: var(--navy); }
.section--ivory .icon-card span { color: var(--ink-soft); }
@media (max-width: 960px) { .icon-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .icon-grid { grid-template-columns: 1fr; } }

/* Gallery mosaic + lightbox */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 14px; }
.gallery a { position: relative; border-radius: 12px; overflow: hidden; display: block; }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(6) { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s, filter .4s; }
.gallery a::after { content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; font: 600 .66rem/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(11,24,33,.85)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery a::after { opacity: 1; transform: none; }
}
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,12,17,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1024px); max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox p { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font: 600 .7rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(11,24,33,.72); color: #fff; font-size: 22px; cursor: pointer; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 18px; right: auto; }
.lightbox .lb-next { right: 18px; }

/* Image band (parallax-ish) */
.band { position: relative; min-height: 70vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.band > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,24,33,.92) 0%, rgba(11,24,33,.6) 50%, rgba(11,24,33,.15) 100%); }
.band .wrap { position: relative; z-index: 2; }
.band h2 { color: #fff; max-width: 13em; }
.band .lede { color: rgba(255,255,255,.84); }
.leaf-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.leaf-row span { display: inline-flex; align-items: center; gap: .6em; border: 1px solid rgba(229,204,152,.4); border-radius: 999px; padding: .65em 1.1em; font-size: .9rem; color: #fff; background: rgba(11,24,33,.35); backdrop-filter: blur(6px); }
.leaf-row .icon { color: var(--gold-2); }

/* Location diagram */
.locmap { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(14px, 2vw, 24px); position: relative; }
.locmap svg { width: 100%; height: auto; display: block; }
.locmap .note { position: absolute; right: 18px; bottom: 14px; font: 600 .6rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.places { display: grid; gap: 0; margin-top: 18px; }
.places div { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.places .icon { flex: 0 0 auto; color: var(--gold-2); font-size: 24px; margin-top: 2px; }
.places strong { display: block; color: #fff; font-weight: 600; }
.places span { color: var(--text-soft); font-size: .93rem; }

/* Spec list with icons */
.spec { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.spec li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-ink); }
.spec .icon { flex: 0 0 auto; font-size: 24px; color: var(--gold-deep); margin-top: 2px; }
.spec small { display: block; font: 600 .66rem/1.4 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px; }
.spec span { color: var(--navy); }
@media (max-width: 700px) { .spec { grid-template-columns: 1fr; } }

/* Big statement */
.statement { text-align: center; max-width: 980px; margin: 0 auto; }
.statement p { font: 300 clamp(1.5rem, 3vw, 2.5rem)/1.35 var(--serif); color: #fff; margin: 0; }
.statement p em { color: var(--gold-2); }
.statement .mark { width: 64px; margin: 0 auto 30px; opacity: .9; }
.section--ivory .statement p { color: var(--navy); }
.section--ivory .statement p em { color: var(--gold-deep); }

/* Vision / mission */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo div { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); background: rgba(11,24,33,.35); position: relative; overflow: hidden; }
.duo div::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border: 1px solid var(--line); transform: rotate(45deg); }
.duo .icon { font-size: 34px; color: var(--gold-2); margin-bottom: 20px; }
.duo h3 { font-size: 1.9rem; color: #fff; }
.duo p { color: var(--text-soft); margin: 0; font-size: 1.05rem; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px); text-align: center; isolation: isolate; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(11,24,33,.93), rgba(19,47,64,.78)), var(--diamonds); }
.cta h2 { color: #fff; max-width: 15em; margin-left: auto; margin-right: auto; }
.cta .lede { margin: 0 auto 34px; color: rgba(255,255,255,.82); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--panel); text-decoration: none; transition: border-color .3s, transform .3s; }
a.contact-card:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-card .ico { flex: 0 0 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(201,164,95,.14); color: var(--gold-2); font-size: 22px; }
.contact-card small { display: block; font: 600 .66rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.contact-card strong { font-weight: 500; color: #fff; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 44px; height: 44px; border: 1px solid var(--line-soft); display: grid; place-items: center; color: #fff; border-radius: 50%; transition: background .25s, color .25s, border-color .25s; }
.social a:hover { background: var(--gold); color: var(--night); border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.office { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; background: var(--panel); }
.office .icon { color: var(--gold-2); font-size: 24px; margin-bottom: 10px; }
.office h3 { font-size: 1.2rem; color: #fff; margin-bottom: 6px; }
.office p { color: var(--text-soft); font-size: .93rem; margin-bottom: 12px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .offices { grid-template-columns: 1fr; } }
.form { background: var(--ivory); color: var(--ink); border-radius: 20px; padding: clamp(26px, 4vw, 48px); box-shadow: 0 30px 70px rgba(0,0,0,.35); position: relative; overflow: hidden; }
.form::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-2), var(--gold-deep)); }
.form h2 { color: var(--navy); font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.form .muted { color: var(--ink-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font: 600 .68rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-ink); border-radius: 10px; padding: 13px 14px; width: 100%; min-width: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(201,164,95,.2); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); margin: 6px 0 22px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--navy); }
.consent a { color: var(--navy); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin: 16px 0 0; }
.form-error { color: #9b2c2c; font-size: .9rem; margin: 0 0 14px; display: none; }
.form-error.show { display: block; }

/* Prose */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; color: var(--navy); }
.prose a { color: var(--navy); }

/* Footer */
.site-footer { background: #071118 var(--diamonds); color: var(--text-soft); padding: clamp(64px, 8vw, 100px) 0 28px; font-size: .95rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { font: 600 .72rem/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 8px 0 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a { text-decoration: none; color: var(--text-soft); }
.site-footer a:hover { color: var(--gold-2); }
.footer-tag { margin: 20px 0 22px; max-width: 22em; }
.footer-legal { border-top: 1px solid var(--line-soft); margin-top: 52px; padding-top: 22px; font-size: .8rem; color: var(--muted); }
.footer-legal p { margin: 0; max-width: 70em; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1f8f4e; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(0,0,0,.35); transition: transform .25s; }
.wa-float::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(31,143,78,.5); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; } .reveal-d2 { transition-delay: .24s; } .reveal-d3 { transition-delay: .36s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slides img { transform: none; }
}
.center { text-align: center; }
.muted { color: var(--muted); }

.contact-grid .offices { grid-template-columns: 1fr; }

/* Booking page (projects/sector-108-booking) */
mark.tbc { background: #ffe066; color: #3d2f00; padding: 0 .3em; border-radius: 4px; font-weight: 600; }
.booking-card { border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px, 4vw, 44px); background: linear-gradient(160deg, rgba(19,47,64,.85), rgba(11,24,33,.9)), var(--diamonds); align-self: start; }
.booking-amount { font: 400 clamp(2.4rem, 5vw, 3.4rem)/1 var(--serif); color: #fff; margin: 0 0 10px; }
.booking-gst { font: 600 .72rem/1.5 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 22px; }
.booking-card .checklist { margin-bottom: 26px; }
.booking-card .checklist a { color: var(--gold-2); }
html:not(.no-js) .booking-section:not(.is-open) { display: none; }
.booking-wrap { max-width: 760px; }
.booking-steps { list-style: none; display: flex; gap: 10px; margin: 0 0 22px; padding: 0; }
.booking-steps li { display: flex; align-items: center; gap: 10px; font: 600 .72rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding: 10px 16px 10px 10px; border: 1px solid var(--line-ink); border-radius: 999px; }
.booking-steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory-2); color: var(--navy); letter-spacing: 0; }
.booking-steps li.is-on { color: var(--navy); border-color: var(--gold-deep); }
.booking-steps li.is-on span { background: var(--navy); color: #fff; }
.field input[readonly] { background: var(--ivory-2); font-weight: 600; }
.pay-summary { margin: 0 0 22px; border-top: 1px solid var(--line-ink); }
.pay-summary div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-ink); }
.pay-summary dt { font: 600 .68rem/1.6 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.pay-summary dd { margin: 0; text-align: right; color: var(--navy); overflow-wrap: anywhere; }
.pay-summary .pay-total dd { font: 400 1.5rem/1.2 var(--serif); }
.pay-notice { display: flex; gap: 14px; align-items: flex-start; background: #fff7e0; border: 1px solid #e8c766; border-radius: 12px; padding: 16px 18px; margin: 0 0 22px; }
.pay-notice .icon { flex: 0 0 auto; font-size: 22px; color: var(--gold-deep); margin-top: 3px; }
.pay-notice p { margin: 0; font-size: .95rem; color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.text-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
@media (max-width: 560px) {
  .booking-steps li { padding: 8px 12px 8px 8px; font-size: .64rem; }
  .pay-summary div { flex-direction: column; gap: 2px; }
  .pay-summary dd { text-align: left; }
  .form-actions .btn { width: 100%; justify-content: center; }
}
.office .small-note a { color: var(--gold-2); }
.icon-card .ico--pct { width: auto; min-width: 76px; padding: 0 16px; font: 400 1.5rem/1 var(--serif); color: var(--gold-2); }
.section--ivory .icon-card .ico--pct { color: var(--navy); }


/* merged from carry-over (emerald) */
/* Emerald 108: water-softener note, specification sheet, floor plans; booking merchant line */
.spec-aside { display: flex; gap: 16px; align-items: flex-start; margin: clamp(36px, 5vw, 56px) 0 0; padding: 22px 24px; border: 1px solid var(--line-ink); border-radius: var(--radius); background: #fff; }
.spec-aside .icon { flex: 0 0 auto; font-size: 26px; color: var(--gold-deep); margin-top: 2px; }
.spec-aside p { margin: 0; color: var(--ink-soft); max-width: 62em; }
.spec-aside strong { color: var(--navy); font-weight: 600; }
.spec-sheet-title { margin: clamp(56px, 7vw, 88px) 0 18px; }
.table-hint { display: none; font: 600 .66rem/1.4 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-ink); border-radius: var(--radius); background: #fff; }
.table-scroll:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.spec-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; color: var(--ink); }
.spec-table caption { caption-side: bottom; text-align: left; padding: 14px 18px; font-size: .8rem; color: var(--ink-soft); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 12px 18px; border-bottom: 1px solid var(--line-ink); }
.spec-table thead th { font: 600 .66rem/1.4 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); background: var(--ivory-2); }
.spec-table tbody th[scope="row"] { font-weight: 500; color: var(--navy); width: 34%; }
.spec-table tr.group th { font: 600 .72rem/1.4 var(--label); letter-spacing: .18em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 11px 18px; }
.spec-table .na { color: var(--ink-soft); font-style: italic; }
@media (max-width: 700px) { .table-hint { display: block; } }

.plans { display: grid; gap: clamp(40px, 6vw, 72px); }
.plan { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.plans-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 64px); }
.plan--tall { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
.plan h3 { color: #fff; margin-bottom: 14px; }
.gallery.plan-gallery { display: block; }
.plan-gallery a { background: #fff; padding: 10px; border-radius: 12px; }
.plan-gallery img { height: auto; object-fit: contain; }
.plan-gallery a:hover img { transform: none; }
.plan-gallery a::after { content: "Open larger"; left: auto; bottom: auto; top: 10px; right: 10px; padding: 7px 11px; border-radius: 999px; background: rgba(11,24,33,.8); opacity: 1; transform: none; }
.dim-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.dim-table caption { text-align: left; font: 600 .66rem/1.4 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding: 0 0 10px; }
.dim-table th, .dim-table td { text-align: left; vertical-align: top; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.dim-table thead th { font: 600 .64rem/1.4 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dim-table thead th:last-child, .dim-table td { text-align: right; }
.dim-table tbody th { font-weight: 400; color: var(--text-soft); padding-right: 16px; }
.dim-table td { color: #fff; white-space: nowrap; }
.plans + .small-note { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 1080px) { .plans-pair { grid-template-columns: 1fr; } .plan--tall { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); } }
@media (max-width: 900px) { .plan:not(.plan--tall) { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .plan--tall { grid-template-columns: 1fr; } .plan--tall .plan-gallery { max-width: 300px; } }

.merchant-note { font-size: .82rem; color: var(--text-soft); margin: 14px 0 0; }
.merchant-note--ink { color: var(--ink-soft); }
@media (max-width: 700px) {
  .spec-table { min-width: 520px; font-size: .88rem; }
  .spec-table tbody th[scope="row"] { width: 30%; }
  .spec-table th, .spec-table td, .spec-table tr.group th, .spec-table caption { padding: 10px 12px; }
}


/* merged from carry-over (pages) */
/* Footer column headings: h2 for a correct outline (P1-5), styled like the old h4 labels. */
.site-footer .footer-title { font: 600 .72rem/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 8px 0 20px; }
.site-footer li strong { display: inline-block; color: var(--text); font-weight: 600; margin-bottom: 2px; }


/* merged from carry-over (infra) */
/* Hero dots only work with JS (site.js labels them and moves the slides); hide them without it. */
.no-js .hero-dots { display: none; }

.footer-legal .music-credit { margin-top: 6px; font-size: .78rem; opacity: .8; }
/* Forms work only with the script (no backend); until it runs they are hidden, so no details can go into a URL. */
.no-js [data-booking] form, .no-js form[data-enquiry] { display: none; }
.tiles--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .tiles--two { grid-template-columns: 1fr; } }

/* Brand lockup for the longer name "V&M Meridian Buildtech": one line each, never wrapped. */
.brand-name strong, .brand-name small { white-space: nowrap; }
.footer-grid { grid-template-columns: 1.9fr 1fr 1fr 1.3fr; }
.site-footer .brand-name strong { font-size: 1.25rem; }
.site-footer .brand-name small { letter-spacing: .18em; }
@media (max-width: 1100px) { .site-footer .brand-name small { letter-spacing: .12em; } }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
.footer-legal .footer-links { margin-top: 8px; }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .brand-name strong { font-size: 1.12rem; letter-spacing: .02em; } .brand img { width: 40px; } }
/* A four-image gallery: one large tile, two small, one wide. */
.gallery--four a:nth-child(4) { grid-column: span 2; }
@media (max-width: 760px) { .gallery--four a:nth-child(4) { grid-column: 1 / -1; } }

/* Lightbox arrows stay visible on white floor plans. */
.lightbox button { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox button:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
/* On phones the floating WhatsApp and sound buttons would sit over the booking steps; the steps have their own buttons. */
@media (max-width: 760px) { body:has([data-booking].is-open) .wa-float, body:has([data-booking].is-open) .sound-toggle { display: none; } }
/* Very small phones: keep the brand clear of the menu button. */
@media (max-width: 340px) { .site-header .brand-name strong { font-size: 1rem; } }
#book { scroll-margin-top: 84px; }
