/* ==========================================================================
   Vastu Construction — "Light & Airy" design system
   Bootstrap 5 provides reboot + grid. Everything visual lives here.
   Brand colours come from the Vastu Construction logo (teal + navy).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    /* Brand */
    --teal:        #094955;   /* logo teal — primary */
    --teal-700:    #073a44;
    --teal-500:    #0f6474;
    --teal-100:    #dcebed;
    --teal-50:     #eef5f6;
    --navy:        #1b2238;   /* logo lines */

    /* Neutrals */
    --white:       #ffffff;
    --bg:          #ffffff;
    --surface:     #f5f5f1;   /* soft warm grey */
    --surface-2:   #ebeae4;
    --ink:         #0e1417;
    --text:        #1c2327;
    --muted:       #5b6468;
    --faint:       #8b9397;
    --line:        #e4e4df;
    --line-strong: #cfd0ca;
    --dark:        #0b1b20;   /* footer */
    --on-dark:     #e8eeee;
    --on-dark-mute:#9fb0b3;

    /* Semantic aliases */
    --primary:   var(--teal);
    --secondary: var(--navy);
    --accent:    var(--teal-500);
    --light:     var(--surface);

    /* Type */
    --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --fs-hero:  clamp(2.6rem, 1.4rem + 5.2vw, 6rem);
    --fs-h1:    clamp(2.3rem, 1.5rem + 3.6vw, 4.4rem);
    --fs-h2:    clamp(1.9rem, 1.3rem + 2.5vw, 3.3rem);
    --fs-h3:    clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
    --fs-h4:    clamp(1.15rem, 1.05rem + .4vw, 1.35rem);
    --fs-lead:  clamp(1.05rem, 1rem + .3vw, 1.2rem);

    /* Space + shape */
    --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);
    --gutter:    clamp(1rem, .6rem + 2vw, 2rem);
    --header-h:  72px;
    --r-xs: 8px;
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(14,20,23,.05), 0 2px 8px rgba(14,20,23,.04);
    --shadow-md: 0 12px 32px -12px rgba(14,20,23,.18);
    --ease: cubic-bezier(.2,.7,.2,1);
    --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: clamp(1rem, .97rem + .12vw, 1.0625rem);
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: var(--header-h);
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-500); }
p { margin-bottom: 1rem; }
address { margin: 0; font-style: normal; }
::selection { background: var(--teal-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; color: var(--ink); }

.container-xl { max-width: 1320px; padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 1600px) { .container-xl { max-width: 1440px; } }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 3000; background: var(--teal); color: #fff; padding: .6rem 1rem; border-radius: var(--r-xs); font-weight: 600; }
.skip-link:focus { top: 1rem; color: #fff; }
.img-missing { display: block; width: 100%; height: 100%; min-height: 180px; background: var(--surface-2); }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.eyebrow--light { color: var(--teal-100); }
.display-2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.03em; line-height: 1.06; margin-bottom: 1.1rem; }
.display-3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 1rem; }
.accent { color: var(--teal); }
.text-light { color: #fff !important; }
.lead-text { font-size: var(--fs-lead); line-height: 1.6; color: var(--text); }
.section-intro { color: var(--muted); max-width: 34rem; margin: 0; font-size: var(--fs-lead); line-height: 1.6; }
.section-intro a, .prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.text-muted-light { color: var(--on-dark-mute); }
.prose { max-width: 44rem; }
.prose p { color: var(--muted); }
.prose p.lead-text { color: var(--text); }

/* ---------- 4. Buttons + links ---------- */
.btn-vc {
    --bh: 52px;
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: var(--bh); padding: .75rem 1.5rem;
    font: 600 .975rem/1.2 var(--font); letter-spacing: -.005em;
    border: 1.5px solid transparent; border-radius: 999px;
    cursor: pointer; white-space: nowrap; text-align: center;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-vc .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn-vc:hover .icon { transform: translateX(3px); }
.btn-vc:active { transform: translateY(1px); }
.btn-vc--primary { background: var(--teal); color: #fff; }
.btn-vc--primary:hover { background: var(--teal-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(9,73,85,.6); }
.btn-vc--dark { background: var(--ink); color: #fff; }
.btn-vc--dark:hover { background: #222c31; color: #fff; }
.btn-vc--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-vc--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.btn-vc--white { background: #fff; color: var(--teal); }
.btn-vc--white:hover { background: var(--teal-50); color: var(--teal-700); }
.btn-vc--ghost-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-vc--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-vc--sm { --bh: 44px; padding: .55rem 1.15rem; font-size: .92rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--teal); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--teal-700); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--teal-100); }
.icon { width: 20px; height: 20px; flex: none; }

.arrow-circle {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--ink);
    transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .3s var(--ease);
}
.arrow-circle .icon { width: 18px; height: 18px; }

/* ---------- 5. Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
    background: rgba(255,255,255,.92); border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
}
@supports (backdrop-filter: blur(10px)) { .site-header { background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px -16px rgba(14,20,23,.25); }
.site-header.is-hidden { transform: translateY(-100%); }
body.nav-open .site-header { transform: none; background: #fff; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.logo-mark { width: 52px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 700; font-stretch: 78%; font-size: 1.35rem; letter-spacing: .06em; color: var(--teal); text-transform: uppercase; }
.brand-sub { font-size: .66rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--navy); margin-top: .28rem; }

.nav-desktop { display: none; margin-left: auto; }
.nav-desktop > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-desktop > ul > li { position: relative; }
.nav-desktop > ul > li > a {
    display: block; padding: .55rem .85rem; border-radius: 999px;
    font-size: .95rem; font-weight: 500; color: var(--text);
    transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-desktop > ul > li > a:hover { background: var(--surface); color: var(--ink); }
.nav-desktop > ul > li > a.is-active { color: var(--teal); background: var(--teal-50); }

.subnav {
    position: absolute; top: calc(100% + 12px); left: 50%; width: 520px; transform: translate(-50%, 6px);
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: .75rem; box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s;
}
.subnav::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.subnav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; }
.subnav-grid a { display: block; padding: .6rem .8rem; border-radius: var(--r-xs); font-size: .92rem; font-weight: 500; color: var(--text); }
.subnav-grid a:hover { background: var(--teal-50); color: var(--teal); }
.subnav-all { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; padding: .7rem .8rem; border-radius: var(--r-xs); background: var(--surface); font-weight: 600; font-size: .92rem; color: var(--teal); }
.subnav-all .icon { width: 16px; height: 16px; }

.header-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: .45rem; font-size: .95rem; font-weight: 500; color: var(--text); white-space: nowrap; }
.header-phone .icon { width: 18px; height: 18px; color: var(--teal); }
.header-cta { display: none; }

.nav-toggle {
    width: 46px; height: 46px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle-bars { position: relative; width: 18px; height: 10px; }
.nav-toggle-bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle-bars span:first-child { top: 0; }
.nav-toggle-bars span:last-child { top: 8px; }
.nav-open .nav-toggle-bars span:first-child { top: 4px; transform: rotate(45deg); }
.nav-open .nav-toggle-bars span:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 990; background: #fff;
    padding: 1rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; overflow-y: auto;
    opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav-list { list-style: none; padding: 0; margin: 0; }
.mobile-nav-list li { border-bottom: 1px solid var(--line); }
.mobile-nav-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem .25rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.mobile-nav-list a[aria-current="page"] { color: var(--teal); }
.mobile-nav-list .num { order: 2; font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: var(--faint); }
.mobile-nav-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .75rem; }
.mobile-nav-quick a { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .85rem .25rem; border-radius: var(--r-sm); background: var(--surface); font-size: .85rem; font-weight: 600; color: var(--ink); }
.mobile-nav-quick .icon { color: var(--teal); }
body.nav-open { overflow: hidden; }

/* ---------- 6. Home hero ---------- */
.hero-home { padding: clamp(2rem, 1rem + 4vw, 4.5rem) 0 clamp(2.5rem, 1rem + 4vw, 4rem); }
.hero-grid { display: grid; gap: 1.5rem 3rem; align-items: end; }
.hero-title { font-size: var(--fs-hero); font-weight: 600; line-height: .98; letter-spacing: -.045em; margin: 0; max-width: 13ch; }
.hero-title em { font-style: normal; color: var(--teal); }
.hero-side { max-width: 30rem; }
.hero-lead { font-size: var(--fs-lead); color: var(--muted); margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-visual { position: relative; margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); isolation: isolate; }
.hero-visual img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: 60% center; }
.hero-badge {
    position: absolute; left: .75rem; bottom: .75rem; right: .75rem; z-index: 2;
    display: flex; align-items: center; gap: .85rem; padding: .8rem 1rem;
    background: rgba(255,255,255,.94); border-radius: var(--r-md); box-shadow: var(--shadow-md); color: var(--ink);
}
@supports (backdrop-filter: blur(10px)) { .hero-badge { background: rgba(255,255,255,.8); backdrop-filter: blur(14px) saturate(150%); } }
.hero-badge-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hero-badge-icon .icon { width: 20px; height: 20px; }
.hero-badge strong { display: block; font-size: .98rem; line-height: 1.25; }
.hero-badge span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.hero-tags { display: none; }
.hero-anim { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- 7. Sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--tight-top { padding-top: calc(var(--section-y) * .4); }
.section--surface, .section--concrete { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--split { display: flex; flex-direction: column; gap: 1rem; }
.section-head--split .display-2 { margin-bottom: 0; max-width: 18ch; }
.section-foot { margin-top: 2.5rem; display: flex; justify-content: center; }

/* Intro statement */
.statement { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 3rem); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; color: var(--ink); max-width: 1100px; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.statement .muted { color: var(--faint); }
.chip-img { display: inline-block; vertical-align: middle; width: 2.2em; height: 1em; margin: 0 .08em; border-radius: 999px; overflow: hidden; position: relative; top: -.08em; background: var(--surface-2); }
.chip-img img { width: 100%; height: 100%; object-fit: cover; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0; }
.stat { background: var(--surface); border-radius: var(--r-md); padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; min-height: 150px; }
.stat-num { order: -1; font-size: clamp(2.4rem, 1.8rem + 2.6vw, 4.2rem); font-weight: 600; letter-spacing: -.05em; line-height: .9; margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-num::after { content: ""; }
.stat-label { font-size: .9rem; font-weight: 500; color: var(--muted); line-height: 1.4; }
.stat:first-child { background: var(--teal); }
.stat:first-child .stat-num { color: #fff; }
.stat:first-child .stat-label { color: var(--teal-100); }

/* Split media */
.media-rounded { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); position: relative; }
.media-rounded img { width: 100%; height: 100%; object-fit: cover; }
.framed-figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.framed-figure img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.framed-figure figcaption {
    position: absolute; left: .75rem; bottom: .75rem; padding: .5rem .85rem; border-radius: 999px;
    background: rgba(255,255,255,.92); color: var(--ink); font-size: .82rem; font-weight: 600;
}
.detail-list { list-style: none; padding: 0; margin: 1.75rem 0 2rem; border-top: 1px solid var(--line); }
.detail-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.detail-list span { font-size: .875rem; color: var(--muted); font-weight: 500; }

/* ---------- 8. Services (home bento) ---------- */
.svc-bento { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.svc-card {
    position: relative; display: flex; flex-direction: column; gap: .75rem;
    padding: 1.4rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--text);
    transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.svc-card:hover { color: var(--text); border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc-card:hover .arrow-circle { background: var(--teal); border-color: var(--teal); color: #fff; transform: rotate(-45deg); }
.svc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.svc-num { font-size: .82rem; font-weight: 600; color: var(--teal); background: var(--teal-50); padding: .25rem .6rem; border-radius: 999px; }
.svc-card h3 { font-size: var(--fs-h4); letter-spacing: -.02em; margin: .25rem 0 0; }
.svc-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.svc-card--feature { padding: 0; overflow: hidden; background: var(--teal); border-color: var(--teal); color: #fff; }
.svc-card--feature:hover { color: #fff; }
.svc-card--feature .svc-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card--feature .svc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.svc-card--feature:hover .svc-card-media img { transform: scale(1.04); }
.svc-card--feature .svc-card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.svc-card--feature h3 { color: #fff; font-size: var(--fs-h3); }
.svc-card--feature p { color: var(--teal-100); }
.svc-card--feature .svc-num { background: rgba(255,255,255,.14); color: #fff; }
.svc-card--feature .arrow-circle { border-color: rgba(255,255,255,.4); color: #fff; }
.svc-card--feature:hover .arrow-circle { background: #fff; color: var(--teal); border-color: #fff; }

/* ---------- 9. Projects ---------- */
.filters { display: flex; gap: .4rem; margin-bottom: 1.75rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filter {
    flex: none; min-height: 44px; padding: .5rem 1.05rem; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--text);
    font: 600 .92rem/1 var(--font); display: inline-flex; align-items: center; gap: .4rem; transition: all .2s var(--ease);
}
.filter sup { top: 0; font-size: .75rem; color: var(--faint); font-weight: 600; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter.is-active sup { color: var(--teal-100); }

.project-grid { display: grid; grid-template-columns: 1fr; gap: 2rem 1.25rem; }
.project-tile.is-hidden { display: none; }
.project-tile.is-entering { animation: tileIn .5s var(--ease-out) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.project-tile-link { display: flex; flex-direction: column; gap: 1rem; color: var(--ink); }
.project-tile-link:hover { color: var(--ink); }
.project-tile-media { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); aspect-ratio: 5 / 4; }
.project-tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 1.1s var(--ease-out); }
.project-tile-link:hover .project-tile-media img { transform: scale(1.05); }
.project-tile-body { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: start; }
.project-tile-meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; font-size: .85rem; font-weight: 500; color: var(--muted); }
.project-tile-meta span:first-child { color: var(--teal); font-weight: 600; }
.project-tile-meta span + span::before { content: "·"; margin-right: .5rem; color: var(--faint); }
.project-tile-title { grid-column: 1; font-size: var(--fs-h4); margin: 0; letter-spacing: -.02em; }
.project-tile-text { display: none; }
.project-tile-cta { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.project-tile-cta .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.project-tile-link:hover .arrow-circle { background: var(--teal); border-color: var(--teal); color: #fff; transform: rotate(-45deg); }

/* Elevation gallery */
.elevation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.elevation-grid figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.elevation-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1s var(--ease-out); }
.elevation-grid a:hover img { transform: scale(1.05); }

/* Sectors */
.sectors { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.sector { display: flex; flex-direction: column; gap: .9rem; color: var(--ink); }
.sector:hover { color: var(--ink); }
.sector-media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.sector-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform 1.1s var(--ease-out); }
.sector:hover .sector-media img { transform: scale(1.05); }
.sector-body { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: center; }
.sector h3 { font-size: var(--fs-h4); margin: 0; }
.sector p { grid-column: 1; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.sector .arrow-circle { grid-column: 2; grid-row: 1 / span 2; }
.sector:hover .arrow-circle { background: var(--teal); border-color: var(--teal); color: #fff; transform: rotate(-45deg); }

/* ---------- 10. Vastu section ---------- */
.vastu-figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.vastu-figure img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; }
.principles { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; grid-template-columns: 1fr; gap: .6rem; }
.principles li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .2rem; }
.principles strong { font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.principles span { color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* ---------- 11. Process ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; counter-reset: step; }
.timeline-step { position: relative; background: #fff; border-radius: var(--r-md); padding: 1.35rem 1.35rem 1.35rem 4.6rem; border: 1px solid var(--line); }
.timeline-num {
    position: absolute; left: 1.2rem; top: 1.25rem; width: 2.5rem; height: 2.5rem; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--teal-50); color: var(--teal); font-size: .9rem; font-weight: 700; transition: background .4s var(--ease), color .4s var(--ease);
}
.timeline-step.is-visible .timeline-num { background: var(--teal); color: #fff; }
.timeline-dot { display: none; }
.timeline-title { font-size: var(--fs-h4); margin: 0 0 .35rem; }
.timeline-text { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- 12. Why grid ---------- */
.why-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: .75rem; }
.why-item { padding: 1.4rem; border-radius: var(--r-md); background: var(--surface); }
.why-num { display: inline-flex; font-size: .82rem; font-weight: 700; color: var(--teal); margin-bottom: .9rem; }
.why-title { font-size: var(--fs-h4); margin-bottom: .45rem; }
.why-item p { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.55; }
.why-figure { margin-top: 2rem; display: none; border-radius: var(--r-lg); overflow: hidden; }
.why-figure img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.why-grid--dark .why-item { background: rgba(255,255,255,.06); }
.why-grid--dark .why-title { color: #fff; }
.why-grid--dark .why-item p { color: var(--on-dark-mute); }
.why-grid--dark .why-num { color: var(--teal-100); }

/* ---------- 13. FAQ ---------- */
.faq { display: grid; gap: .6rem; }
.faq-item { border-radius: var(--r-md); background: var(--surface); transition: background .25s var(--ease); }
.faq-item[open] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: #fff; color: var(--teal); transition: transform .3s var(--ease), background .3s var(--ease); flex: none; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-answer { padding: 0 1.25rem 1.25rem; color: var(--muted); max-width: 46rem; }
.faq-answer p { margin: 0; }

/* ---------- 14. CTA panel ---------- */
.cta-wrap { padding: 0 0 var(--section-y); }
.cta-panel { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--teal); color: #fff; display: grid; isolation: isolate; }
.cta-body { padding: clamp(1.75rem, 1rem + 4vw, 4rem); position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; font-size: var(--fs-h2); max-width: 14ch; margin-bottom: 1rem; }
.cta-lead { color: var(--teal-100); max-width: 30rem; font-size: var(--fs-lead); margin-bottom: 1.75rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cta-media { min-height: 240px; position: relative; }
.cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.05); z-index: 0; pointer-events: none; }

/* ---------- 15. Inner page hero ---------- */
.page-hero { padding: clamp(1.75rem, 1rem + 3vw, 3.5rem) 0 0; }
.page-hero-inner { display: grid; gap: 1rem 3rem; align-items: end; }
.page-hero-title { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; margin: 0; max-width: 16ch; }
.page-hero-title em { font-style: normal; color: var(--teal); }
.page-hero-lead { color: var(--muted); max-width: 34rem; font-size: var(--fs-lead); margin: 0; }
.page-hero-media { margin-top: clamp(1.75rem, 1rem + 3vw, 3rem); border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.page-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 45%; }
.page-hero--plain { padding-bottom: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1.25rem; font-size: .875rem; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--faint); border-right: 1.5px solid var(--faint); transform: rotate(45deg); margin-right: .2rem; }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- 16. Services index ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.svc-item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; color: var(--text); transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease); }
.svc-item:hover { color: var(--text); box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.svc-item-media { aspect-ratio: 7 / 5; overflow: hidden; background: var(--surface-2); }
.svc-item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.svc-item:hover .svc-item-media img { transform: scale(1.05); }
.svc-item-body { padding: 1.35rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.svc-item-kicker { font-size: .82rem; font-weight: 600; color: var(--teal); margin: 0; }
.svc-item h2 { font-size: var(--fs-h4); margin: 0; letter-spacing: -.02em; }
.svc-item p { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.55; }
.svc-item .link-arrow { margin-top: auto; padding-top: .75rem; }

/* ---------- 17. Service detail ---------- */
.list-title { font-size: var(--fs-h4); margin: 2.5rem 0 1rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: .75rem; align-items: start; padding: .85rem 1rem; border-radius: var(--r-sm); background: var(--surface); font-weight: 500; color: var(--ink); line-height: 1.5; }
.check-list .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--teal); color: #fff; }
.service-figure { margin: 0 0 1rem; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.service-figure img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.aside-card { background: var(--surface); border-radius: var(--r-md); padding: 1.5rem; }
.aside-card h2, .aside-card h3 { font-size: var(--fs-h4); margin-bottom: .75rem; }
.aside-card p { color: var(--muted); font-size: .95rem; }
.aside-card .btn-vc { width: 100%; }
.aside-card .btn-vc + .btn-vc { margin-top: .5rem; }
.aside-card .btn-vc--ghost-light { border-color: var(--line-strong); color: var(--ink); }
.aside-card .btn-vc--ghost-light:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.aside-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.aside-list li { padding: .4rem .8rem; border-radius: 999px; background: #fff; font-size: .88rem; font-weight: 500; color: var(--ink); }
.sticky-lg { position: static; }
.related-links { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.related-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--r-sm); background: var(--surface); font-weight: 600; color: var(--ink); }
.related-links a .icon { color: var(--teal); transition: transform .3s var(--ease); }
.related-links a:hover { background: var(--teal-50); color: var(--teal); }
.related-links a:hover .icon { transform: translate(3px, -3px); }

/* ---------- 18. Project detail ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.facts > div { padding: 1rem 1.1rem; border-radius: var(--r-sm); background: var(--surface); }
.facts dt { font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: .2rem; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.35; overflow-wrap: anywhere; }
.facts dd a { color: var(--teal); }
.scope-tags { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.scope-tags li { padding: .45rem .9rem; border-radius: 999px; background: var(--teal-50); color: var(--teal); font-size: .9rem; font-weight: 600; }
.scope-tags--light li { background: rgba(255,255,255,.08); color: var(--on-dark); }
.gallery-group + .gallery-group { margin-top: 3rem; }
.gallery-title { display: flex; align-items: center; gap: .75rem; font-size: var(--fs-h4); margin-bottom: 1.1rem; }
.gallery-title span { font-size: .8rem; font-weight: 700; color: var(--teal); background: var(--teal-50); border-radius: 999px; padding: .2rem .55rem; }
.gallery { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.gallery figure { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.gallery img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.gallery a { display: block; cursor: zoom-in; }
.gallery a:hover img { transform: scale(1.03); }
.project-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.project-nav a { padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: var(--surface); color: var(--ink); min-width: 0; }
.project-nav a:hover { background: var(--teal-50); }
.project-nav a + a { text-align: right; }
.project-nav small { display: block; font-size: .8rem; color: var(--muted); margin-bottom: .15rem; }
.project-nav strong { font-weight: 600; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); letter-spacing: -.02em; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(11,27,32,.92); display: flex; align-items: center; justify-content: center; padding: 4.5rem 1rem 1.5rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; width: auto; max-width: min(100%, 1400px); object-fit: contain; border-radius: var(--r-sm); }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- 19. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.contact-card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 2.5vw, 2.75rem); }
.contact-info { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.contact-info li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; padding: 1rem; border-radius: var(--r-md); border: 1px solid var(--line); }
.contact-info .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--teal-50); color: var(--teal); }
.contact-info small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: .15rem; }
.contact-info a, .contact-info address, .contact-info span { font-weight: 600; font-size: 1rem; display: block; color: var(--ink); overflow-wrap: anywhere; line-height: 1.5; }
.contact-info a:hover { color: var(--teal); }
.contact-quick { display: grid; grid-template-columns: 1fr; gap: .5rem; margin-top: 1rem; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--teal); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 52px; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
    background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
    -webkit-appearance: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23094955' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.75rem; cursor: pointer; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-50); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field-error { font-size: .85rem; color: #b3261e; }
.field-error:empty { display: none; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--teal); font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.25rem; }
.form-actions .btn-vc { min-width: 200px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert-vc { padding: 1rem 1.2rem; border-radius: var(--r-sm); margin-bottom: 1.5rem; font-weight: 500; }
.alert-vc--success { background: #e3f1ea; color: #1d5236; }
.alert-vc--error { background: #fbe9e7; color: #8c1d18; }
.alert-vc p:last-child { margin: 0; }
.alert-vc a { text-decoration: underline; }

.map-wrap { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4); }

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; padding: 3rem 0; }
.notfound-code { font-size: clamp(6rem, 3rem + 16vw, 14rem); font-weight: 700; letter-spacing: -.06em; line-height: .85; color: var(--teal-50); -webkit-text-stroke: 2px var(--teal-100); }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-mute); padding-top: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); --logo-fill: #7fb3bb; --logo-line: #e8eeee; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; padding-bottom: 2.75rem; }
.footer-brand, .footer-contact { grid-column: 1 / -1; }
.brand--footer .brand-name { color: #fff; }
.brand--footer .brand-sub { color: var(--on-dark-mute); }
.footer-brand p { max-width: 26rem; margin: 1.25rem 0; font-size: .95rem; line-height: 1.6; }
.footer-title { font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact address { line-height: 1.6; margin-top: .25rem; }
.footer-social { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.footer-social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.07); color: #fff; }
.footer-social a:hover { background: var(--teal-500); color: #fff; }
.footer-wordmark { display: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: .35rem; }
.to-top:hover { color: #fff; }
.to-top .icon { width: 16px; height: 16px; }

/* Mobile action bar */
.action-bar {
    position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 900;
    display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: .35rem; padding: .35rem;
    background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(14,20,23,.35);
    transform: translateY(160%); transition: transform .4s var(--ease);
}
@supports (backdrop-filter: blur(10px)) { .action-bar { background: rgba(255,255,255,.85); backdrop-filter: blur(14px) saturate(160%); } }
.action-bar.is-visible { transform: none; }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.action-bar .icon { width: 18px; height: 18px; color: var(--teal); }
.action-bar a.is-primary { background: var(--teal); color: #fff; }
.action-bar a.is-primary .icon { color: #fff; }
.nav-open .action-bar { transform: translateY(160%); }

/* ---------- 21. Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal="image"] { transform: none; opacity: 1; clip-path: inset(8% 0 0 0 round var(--r-lg)); transition: clip-path 1.2s var(--ease-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="image"].is-visible { clip-path: inset(0 0 0 0 round var(--r-lg)); }

/* ---------- 22. Responsive ---------- */
@media (max-width: 991.98px) {
    body { padding-bottom: 76px; }
    .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2.5rem; }
}
@media (max-width: 359.98px) {
    :root { --header-h: 64px; }
    .logo-mark { width: 42px; }
    .brand-name { font-size: 1.15rem; }
    .brand-sub { font-size: .58rem; letter-spacing: .22em; }
    .hero-actions .btn-vc, .cta-actions .btn-vc { width: 100%; }
    .detail-list li { grid-template-columns: 1fr; gap: .1rem; }
    .action-bar a span { font-size: .82rem; }
}
@media (min-width: 480px) {
    .hero-badge { right: auto; max-width: 340px; left: 1rem; bottom: 1rem; }
}
@media (min-width: 576px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .elevation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
    .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sectors > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .sectors > :last-child:nth-child(odd) .sector-media { aspect-ratio: 16 / 7; }
    .svc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc-card--feature { grid-column: 1 / -1; }
    .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
    .gallery figure:first-child:nth-last-child(odd) img { aspect-ratio: 16 / 9; }
    .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-visual img { aspect-ratio: 16 / 10; }
}
@media (min-width: 768px) {
    :root { --header-h: 80px; }
    .logo-mark { width: 58px; }
    .section-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 3rem; }
    .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stat { min-height: 190px; padding: 1.5rem; }
    .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
    .hero-side { padding-bottom: .4rem; }
    .hero-visual img { aspect-ratio: 21 / 10; }
    .page-hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
    .page-hero-media img { aspect-ratio: 21 / 9; }
    .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-panel { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
    .cta-media { min-height: 100%; }
    .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
    .footer-brand, .footer-contact { grid-column: auto; }
    .facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .map-wrap { aspect-ratio: 16 / 8; }
    .project-nav a { padding: 1.4rem 1.5rem; }
}
@media (min-width: 992px) {
    .nav-desktop { display: block; }
    .nav-toggle, .action-bar, .mobile-nav { display: none !important; }
    .header-cta { display: inline-flex; }
    .header-actions { margin-left: .75rem; }
    .hero-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1.5rem; }
    .hero-tags li { list-style: none; padding: .4rem .85rem; border-radius: 999px; background: var(--surface); font-size: .88rem; font-weight: 500; color: var(--ink); }
    .hero-tags { padding: 0; }
    .hero-badge { left: 1.5rem; bottom: 1.5rem; }
    .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem 1.5rem; padding-bottom: 3rem; }
    .project-grid:not(.is-filtered) > .project-tile:nth-child(3n+2) { transform: translateY(3rem); }
    .js .project-grid:not(.is-filtered) > .project-tile[data-reveal]:nth-child(3n+2) { transform: translateY(calc(3rem + 22px)); }
    .js .project-grid:not(.is-filtered) > .project-tile[data-reveal].is-visible:nth-child(3n+2) { transform: translateY(3rem); }
    .project-grid.is-filtered { padding-bottom: 0; }
    .is-category .project-grid { padding-bottom: 0; }
    .is-category .project-grid > .project-tile:nth-child(3n+2) { transform: none !important; }
    .elevation-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
    .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
    .sectors > :last-child:nth-child(odd) { grid-column: auto; }
    .sectors > :last-child:nth-child(odd) .sector-media { aspect-ratio: 4 / 3; }
    .svc-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 1rem; }
    .svc-card--feature { grid-column: span 2; grid-row: span 2; }
    .svc-card--feature .svc-card-media { aspect-ratio: auto; flex: 1; min-height: 260px; }
    .svc-card { padding: 1.6rem; }
    .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
    .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .why-figure { display: block; }
    .sticky-lg { position: sticky; top: calc(var(--header-h) + 24px); }
    .contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; }
    .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .gallery figure:first-child:nth-last-child(odd) { grid-column: span 2; grid-row: span 2; }
    .gallery figure:first-child:nth-last-child(odd) img { aspect-ratio: auto; height: 100%; }
    .gallery figure:only-child { grid-column: 1 / -1; }
    .gallery figure:only-child img { aspect-ratio: 16 / 9; height: auto; }
    .page-hero-media img { aspect-ratio: 21 / 8; }
}
@media (min-width: 1200px) {
    .header-phone { display: inline-flex; }
    .nav-desktop > ul { gap: .4rem; }
    .timeline { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
    .timeline-step { padding: 1.35rem 1.2rem 1.5rem; display: flex; flex-direction: column; }
    .timeline-num { position: static; margin-bottom: 1.1rem; }
    .timeline-title { font-size: 1.1rem; }
    .timeline-text { font-size: .9rem; }
    .why-grid { gap: 1rem; }
    .why-item { padding: 1.75rem; }
}

/* Landscape phones: keep hero compact */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-visual img, .page-hero-media img { aspect-ratio: 21 / 8; }
    .mobile-nav-list a { padding: .6rem .25rem; font-size: 1.2rem; }
}

/* ---------- 23. Motion + print ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal], .js [data-reveal="image"], .hero-anim { opacity: 1 !important; clip-path: none !important; }
    .js [data-reveal]:not(.project-tile), .hero-anim { transform: none !important; }
}
@media print {
    .site-header, .action-bar, .mobile-nav, .cta-wrap { display: none !important; }
    body { padding-top: 0; }
}
.why-grid--white .why-item { background: #fff; }
.section--surface .principles li, .section--surface .timeline-step { background: #fff; }
.section--surface .sector-media { background: var(--surface-2); }
.svc-card.svc-card--feature { padding: 0; }
.svc-card--feature .svc-card-body { flex: 0 0 auto; }
@media (min-width: 992px) { .svc-card--feature .svc-card-media { flex: 1 1 auto; } }
.cta-panel::after { z-index: -1; }
@media (max-width: 479.98px) {
    .hero-badge { padding: .55rem .75rem; gap: .6rem; }
    .hero-badge span { display: none; }
    .hero-badge strong { font-size: .88rem; }
    .hero-badge-icon { width: 32px; height: 32px; }
    .hero-visual img { aspect-ratio: 4 / 3.4; }
}

/* About: vision / mission pillars */
.pillars { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.pillar { padding: 1.5rem; border-radius: var(--r-md); background: var(--surface); }
.pillar h3 { font-size: var(--fs-h4); margin-bottom: .5rem; }
.pillar p { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.55; }
.pillar-num { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--teal); background: var(--teal-50); padding: .25rem .65rem; border-radius: 999px; margin-bottom: 1rem; }
.pillar:first-child { background: var(--teal); }
.pillar:first-child h3 { color: #fff; }
.pillar:first-child p { color: var(--teal-100); }
.pillar:first-child .pillar-num { background: rgba(255,255,255,.14); color: #fff; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } .pillar { padding: 1.75rem; } }

/* Touch-target + small-screen refinements */
.link-arrow { min-height: 44px; }
.brand, .header-phone { min-height: 44px; }
.section-head--split { align-items: flex-start; }
.facts dd a { display: inline-flex; align-items: center; min-height: 32px; }
.cta-panel { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
    .section-head--split { align-items: flex-end; }
    .cta-panel { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
@media (max-width: 399.98px) {
    .cta-actions .btn-vc { width: 100%; }
}
@media (min-width: 768px) {
    .section-head--split > :first-child { flex: 1 1 58%; min-width: 0; }
    .section-head--split > :last-child:not(:first-child) { flex: 0 1 26rem; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
    .framed-figure img, .vastu-figure img { aspect-ratio: 16 / 11; }
    .why-figure { display: none; }
}
