/* ==========================================================================
   Pages: home sections, services, projects, about, industries, careers, contact, quote
   ========================================================================== */

/* ── Home hero ─────────────────────────────────────────────────────────── */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--header-h) + 40px) 0 40px;
    background: radial-gradient(ellipse at 70% 40%, #0d0d6e 0%, var(--night) 60%);
    color: #fff;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-aurora { position: absolute; inset: 0; z-index: -2; filter: blur(80px); opacity: .8; }
.hero-aurora span { position: absolute; border-radius: 50%; animation: aurora 18s ease-in-out infinite; }
.hero-aurora span:nth-child(1) { width: 46vw; height: 46vw; right: -8vw; top: -12vw; background: rgba(254, 102, 0, .35); }
.hero-aurora span:nth-child(2) { width: 40vw; height: 40vw; left: -12vw; bottom: -16vw; background: rgba(0, 153, 51, .32); animation-delay: -6s; }
.hero-aurora span:nth-child(3) { width: 30vw; height: 30vw; left: 35%; top: 30%; background: rgba(40, 40, 200, .35); animation-delay: -12s; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px; flex: 1; }
.hero-copy { max-width: 680px; }
.hero-title { margin: 26px 0 24px; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; }
.hero-lead { max-width: 560px; font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, .72); margin-bottom: 36px; }
.play-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(31, 191, 85, .25); animation: blink 1.6s infinite; }
.hero-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-trust > span { font: 500 .72rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.hero-trust > div { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-trust b { font: 700 1.02rem var(--font-display); color: rgba(255, 255, 255, .85); letter-spacing: -.01em; }

.hero-hud { position: relative; height: 100%; min-height: 460px; pointer-events: none; }
.hud-card {
    position: absolute; display: flex; align-items: center; gap: 14px;
    padding: 14px 18px 14px 14px; border-radius: 18px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
    animation: float 6s ease-in-out infinite;
}
.hud-card small { display: block; font: 500 .68rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.hud-card strong { font: 600 .98rem var(--font-display); }
.hud-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; }
.hud-icon.tech { background: var(--orange); }
.hud-icon.build { background: var(--green); }
.hud-a { left: -4%; top: 8%; }
.hud-b { right: 4%; bottom: 24%; animation-delay: -2s; }
.hud-c { left: 14%; bottom: 2%; flex-direction: column; align-items: flex-start; gap: 10px; animation-delay: -4s; }
.hud-live { display: inline-flex; align-items: center; gap: 8px; font: 500 .7rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.hud-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); animation: blink 1.2s infinite; }
.hud-bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
.hud-bars i { width: 7px; height: 100%; border-radius: 3px; background: linear-gradient(to top, var(--orange), #ffb067); transform-origin: bottom; animation: bars 1.8s ease-in-out infinite; }
.hud-bars i:nth-child(2n) { animation-delay: -.4s; background: linear-gradient(to top, var(--green), var(--green-300)); }
.hud-bars i:nth-child(3n) { animation-delay: -.9s; }

.hero-stats-wrap { position: relative; margin-top: 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hero-stat { padding: 24px 28px; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255, 255, 255, .08); }
.hero-stat strong { display: block; font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--font-display); letter-spacing: -.03em; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .7)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat span { display: block; margin-top: 8px; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 20px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: scroll-cue 1.8s ease-in-out infinite; }

/* ── Divisions ────────────────────────────────────────────────────────── */
.division-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.division-card { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: clamp(24px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease); }
.division-card:hover { box-shadow: var(--shadow-lg); }
.division-visual { position: relative; height: 300px; margin: 12px 12px 0; border-radius: clamp(18px, 2.4vw, 28px); overflow: hidden; display: grid; place-items: center; perspective: 1000px; transform-style: preserve-3d; }
.division-technology .division-visual { background: radial-gradient(circle at 80% 10%, rgba(254, 102, 0, .6), transparent 50%), radial-gradient(circle at 0 100%, rgba(60, 60, 220, .5), transparent 55%), var(--night); }
.division-construction .division-visual { background: radial-gradient(circle at 15% 15%, rgba(0, 153, 51, .55), transparent 50%), radial-gradient(circle at 100% 100%, rgba(254, 102, 0, .35), transparent 50%), #04213a; }
.division-body { padding: 30px 34px 34px; display: flex; flex-direction: column; flex: 1; transform: translateZ(20px); }
.division-index { font: 500 .8rem var(--font-mono); color: var(--orange); }
.division-construction .division-index { color: var(--green); }
.division-body h3 { margin: 10px 0 12px; font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--font-display); letter-spacing: -.02em; }
.division-body > p { color: var(--muted); }
.division-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 24px 0 28px; flex: 1; align-content: start; }
.division-list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; }
.division-list .icon { width: 18px; height: 18px; color: var(--orange); }
.division-construction .division-list .icon { color: var(--green); }
.division-body .btn-link { align-self: flex-start; }

.code-window { width: 78%; border-radius: 16px; background: rgba(10, 10, 60, .65); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); transform: rotateX(16deg) rotateY(-18deg) translateZ(40px); transition: transform .9s var(--ease); }
.division-card:hover .code-window { transform: rotateX(6deg) rotateY(-6deg) translateZ(60px); }
.cw-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cw-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.cw-bar i:first-child { background: #ff5f57; } .cw-bar i:nth-child(2) { background: #febc2e; } .cw-bar i:nth-child(3) { background: #28c840; }
.cw-bar span { margin-left: auto; font: .7rem var(--font-mono); color: rgba(255, 255, 255, .45); }
.code-window pre { margin: 0; padding: 20px 22px 24px; font: .86rem/1.8 var(--font-mono); color: rgba(255, 255, 255, .85); white-space: pre; overflow: hidden; }
.code-window b { color: #ff8a3d; font-weight: 500; } .code-window em { color: #c792ea; font-style: normal; } .code-window span { color: #82aaff; } .code-window s { color: var(--green-300); text-decoration: none; } .code-window i { color: #f78c6c; font-style: normal; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .78rem; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); animation: float 5s ease-in-out infinite; transform: translateZ(80px); }
.float-chip .icon { width: 16px; height: 16px; color: var(--orange); }
.division-construction .float-chip .icon { color: var(--green); }
.chip-1 { left: 7%; bottom: 14%; }
.chip-2 { right: 7%; top: 12%; animation-delay: -2.5s; }
.iso-building { width: 78%; transform: translateZ(30px); transition: transform .9s var(--ease); }
.division-card:hover .iso-building { transform: translateZ(60px) scale(1.04); }
.iso-ground { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .2); }
.iso-left { fill: #0a5a2a; stroke: rgba(255, 255, 255, .3); }
.iso-right { fill: var(--green); stroke: rgba(255, 255, 255, .3); }
.iso-top { fill: #33c166; stroke: rgba(255, 255, 255, .4); }
.iso-windows path { fill: rgba(255, 220, 160, .85); }
.iso-crane { stroke: var(--orange); stroke-width: 3; stroke-linecap: round; }
.iso-load { fill: var(--orange); animation: float 3s ease-in-out infinite; }

/* ── Statement ─────────────────────────────────────────────────────────── */
.statement { background: var(--white); }
.statement-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.statement-text { font: 600 clamp(1.8rem, 4vw, 3.4rem)/1.18 var(--font-display); letter-spacing: -.03em; margin-bottom: 30px; }
.statement .lead { max-width: 640px; margin-bottom: 30px; }

/* ── Work showcase (horizontal scroll) ─────────────────────────────────── */
.work-showcase { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.work-pin { padding: clamp(80px, 9vw, 120px) 0 clamp(60px, 7vw, 90px); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.work-head .section-head { margin-bottom: 44px; }
.work-head .btn { margin-bottom: 50px; }
.work-track { display: flex; gap: 28px; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); will-change: transform; }
.work-track .project-card { flex: none; width: clamp(300px, 34vw, 440px); background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.work-track .project-info p, .work-track .project-meta { color: rgba(255, 255, 255, .6); }
.work-more { flex: none; width: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; border-radius: var(--radius-lg); border: 1.5px dashed rgba(255, 255, 255, .2); font: 600 1.2rem var(--font-display); transition: border-color .3s, background .3s; }
.work-more .icon { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--orange); }
.work-more:hover { border-color: var(--orange); background: rgba(254, 102, 0, .06); }
.work-progress { height: 3px; margin-top: 46px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.work-progress span { display: block; height: 100%; width: 100%; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); }
/* Without the pinned scroll (mobile / no JS) the track simply swipes */
.work-showcase:not(.is-pinned) .work-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.work-showcase:not(.is-pinned) .work-track > * { scroll-snap-align: center; }
.work-showcase:not(.is-pinned) .work-progress { display: none; }

/* ── Process ──────────────────────────────────────────────────────────── */
.process-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-line { position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: var(--line); }
.process-line span { display: block; height: 100%; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); }
.process-step { position: relative; padding-top: 0; }
.process-num { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 26px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); font: 700 1.2rem var(--font-display); color: var(--orange); box-shadow: var(--shadow-md); transform: rotate(-8deg); transition: transform .5s var(--ease), background .3s, color .3s; }
.process-step:hover .process-num { transform: rotate(0) scale(1.06); background: var(--orange); color: #fff; }
.process-step h3 { font: 600 1.3rem var(--font-display); margin-bottom: 10px; }
.process-step p { color: var(--muted); font-size: .96rem; }

/* ── Why ──────────────────────────────────────────────────────────────── */
.why-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.why-intro .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 0; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; perspective: 1200px; }
.why-cards .glass-card:nth-child(even) { transform: translateY(40px); }
.why-orbs span { position: absolute; border-radius: 50%; filter: blur(90px); }
.why-orbs span:first-child { width: 420px; height: 420px; right: -120px; top: -120px; background: rgba(254, 102, 0, .25); }
.why-orbs span:last-child { width: 380px; height: 380px; left: -140px; bottom: -160px; background: rgba(0, 153, 51, .25); }

/* ── Industries strip ─────────────────────────────────────────────────── */
.industry-chips { display: flex; flex-wrap: wrap; gap: 14px; }
.industry-chip { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font: 600 1.02rem var(--font-display); transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .3s; }
.industry-chip .icon { color: var(--orange); transition: color .3s; }
.industry-chip:hover { transform: translateY(-4px) rotate(-1deg); background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.industry-chip:hover .icon { color: var(--orange-300); }

/* ── Services page ─────────────────────────────────────────────────────── */
.division-switch { position: relative; z-index: 3; display: flex; justify-content: center; gap: 12px; margin-top: -30px; }
.division-switch a { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-md); font-weight: 600; transition: transform .3s var(--ease), background .3s, color .3s; }
.division-switch a:hover { transform: translateY(-3px); }
.switch-tech .icon { color: var(--orange); } .switch-build .icon { color: var(--green); }
.switch-tech:hover { background: var(--orange); color: #fff; } .switch-build:hover { background: var(--green); color: #fff; }
.switch-tech:hover .icon, .switch-build:hover .icon { color: #fff; }
.service-division-head { position: relative; }
.division-big-index { position: absolute; right: 0; top: -40px; font: 800 clamp(6rem, 16vw, 13rem)/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px rgba(0, 0, 101, .08); pointer-events: none; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-construction { background: linear-gradient(180deg, rgba(0, 153, 51, .04), transparent 50%); }
.service-construction .eyebrow { color: var(--green); }
.service-construction .h1 em { background: linear-gradient(120deg, var(--green), var(--green-400) 50%, var(--orange)); -webkit-background-clip: text; background-clip: text; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.promise h3 { margin: 22px 0 8px; font: 600 1.15rem var(--font-display); color: #fff; }

/* ── Projects page ────────────────────────────────────────────────────── */
.filter-bar { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 44px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.filter-bar button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: background .3s, color .3s; }
.filter-bar button span { padding: 2px 8px; border-radius: 999px; background: var(--paper); font: 500 .75rem var(--font-mono); }
.filter-bar button.is-active { background: var(--ink); color: #fff; }
.filter-bar button.is-active span { background: var(--orange); color: #fff; }
.project-card.is-filtered { display: none; }

/* Project detail */
.project-detail { padding-top: clamp(40px, 5vw, 64px); }
.project-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 56px; padding: 26px 32px; margin-bottom: 40px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.project-facts span { display: block; font: 500 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.project-facts strong { font: 600 1.05rem var(--font-display); }
.project-facts .btn { margin-left: auto; }
.project-hero-media { position: relative; aspect-ratio: 16 / 8; border-radius: clamp(24px, 3vw, 36px); overflow: hidden; background: var(--night-2); box-shadow: var(--shadow-lg); }
.project-hero-media .pv-image { width: 100%; height: 100%; object-fit: cover; }
.project-hero-media .pv-window { width: 50%; }
.project-hero-media .pv-blueprint svg { width: 60%; }
.project-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; margin-top: clamp(60px, 8vw, 100px); }
.project-story .h2 { margin-top: 16px; }
.tag-title { margin: 34px 0 16px; font: 600 1rem var(--font-display); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.tag-list .icon { width: 16px; height: 16px; color: var(--green); }
.related-projects { padding-top: 0; }

/* ── About ───────────────────────────────────────────────────────────── */
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.story-grid .h1 { margin: 16px 0 26px; }
.story-visual { perspective: 1200px; }
.story-stack { position: relative; aspect-ratio: 1; border-radius: 36px; transform-style: preserve-3d; }
.ss-layer { position: absolute; inset: 0; border-radius: 36px; }
.ss-navy { background: var(--navy); transform: translateZ(-60px) rotate(-6deg); }
.ss-green { background: var(--green); transform: translateZ(-30px) rotate(4deg) scale(.94); }
.ss-orange { background: radial-gradient(circle at 30% 20%, #ff9a3d, var(--orange)); transform: translateZ(0) scale(.88); box-shadow: 0 40px 80px -30px rgba(254, 102, 0, .7); }
.story-stack img { position: absolute; inset: 18%; width: 64%; transform: translateZ(70px); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mission-card { padding: clamp(32px, 4vw, 54px); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); }
.mission-card h2 { margin: 18px 0 14px; font: 700 clamp(1.8rem, 3vw, 2.6rem) var(--font-display); }
.mission-card p { font-size: 1.12rem; line-height: 1.7; }
.mission-vision { background: linear-gradient(160deg, rgba(0, 153, 51, .2), rgba(255, 255, 255, .02)); }
.mission-mission { background: linear-gradient(160deg, rgba(254, 102, 0, .22), rgba(255, 255, 255, .02)); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 40px; }
.timeline-line { position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line); }
.timeline-line span { display: block; height: 100%; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); }
.timeline-dot { position: absolute; top: -40px; left: 0; width: 20px; height: 20px; border-radius: 6px; background: var(--white); border: 3px solid var(--orange); transform: rotate(45deg); }
.timeline-item { position: relative; }
.timeline-year { font: 500 .78rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.timeline-item h3 { margin: 10px 0 8px; font: 600 1.25rem var(--font-display); }
.timeline-item p { color: var(--muted); font-size: .95rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.team-card { padding: 14px 14px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); text-align: center; }
.team-photo { aspect-ratio: 1; border-radius: calc(var(--radius-lg) - 8px); overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--night)); margin-bottom: 20px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo span { font: 800 4rem var(--font-display); color: var(--orange); }
.team-card h3 { font: 600 1.2rem var(--font-display); }
.team-role { display: block; margin: 4px 0 10px; font: 500 .75rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.team-card p { color: var(--muted); font-size: .9rem; padding: 0 10px; }

/* ── Industries page ──────────────────────────────────────────────────── */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ── Careers ─────────────────────────────────────────────────────────── */
.roles-section { padding-top: 0; }
.roles { display: flex; flex-direction: column; gap: 14px; }
.role-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px 34px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: border-color .3s, box-shadow .4s, transform .4s var(--ease); }
.role-row:hover { border-color: rgba(254, 102, 0, .35); box-shadow: var(--shadow-md); transform: translateX(6px); }
.role-meta { font: 500 .74rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.role-row h3 { margin: 8px 0 6px; font: 600 1.3rem var(--font-display); }
.role-row p { color: var(--muted); }
.open-application { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 40px; padding: 36px 40px; border-radius: var(--radius-lg); background: var(--night); color: #fff; }
.open-application h3 { font: 600 1.5rem var(--font-display); }
.open-application p { color: rgba(255, 255, 255, .65); margin-top: 6px; }

/* ── Contact ─────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: box-shadow .4s, border-color .3s; }
.contact-card:not(.is-static):hover { box-shadow: var(--shadow-md); border-color: rgba(254, 102, 0, .3); }
.contact-card small { display: block; font: 500 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font: 600 1.05rem var(--font-display); word-break: break-word; }
.contact-card em { display: block; font-style: normal; font-size: .85rem; color: var(--muted); margin-top: 2px; }

/* ── Quote ───────────────────────────────────────────────────────────── */
.quote-section { padding-top: clamp(50px, 6vw, 80px); }
.quote-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin: 0 auto 50px; }
.quote-tabs button { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); background: var(--white); border: 1.5px solid var(--line); text-align: left; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.quote-tabs button > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--paper); color: var(--ink-2); transition: background .3s, color .3s; }
.quote-tabs strong { display: block; font: 600 1.05rem var(--font-display); }
.quote-tabs small { color: var(--muted); font-size: .82rem; }
.quote-tabs button[aria-selected="true"] { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.quote-tabs button[aria-selected="true"] > .icon { background: var(--orange); color: #fff; }
.quote-tabs button[data-tab="construction"][aria-selected="true"] { border-color: var(--green); }
.quote-tabs button[data-tab="construction"][aria-selected="true"] > .icon { background: var(--green); }
.estimate-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; align-items: start; }
.estimate-form { display: flex; flex-direction: column; gap: 34px; }
.estimate-form fieldset { border: 0; padding: 0; margin: 0; }
.estimate-form legend { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font: 600 1.15rem var(--font-display); }
.estimate-form legend span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; font: 500 .8rem var(--font-mono); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice-grid.scope { grid-template-columns: repeat(4, 1fr); }
.choice { position: relative; }
.choice span { display: flex; align-items: center; gap: 10px; height: 100%; padding: 16px 18px; border-radius: 14px; background: var(--white); border: 1.5px solid var(--line); font-weight: 500; font-size: .94rem; cursor: pointer; transition: border-color .25s, background .25s, color .25s, transform .3s var(--ease); }
.choice span:hover { border-color: rgba(254, 102, 0, .4); transform: translateY(-2px); }
.choice .icon { color: var(--orange); }
.choice input:checked + span { border-color: var(--orange); background: rgba(254, 102, 0, .07); color: var(--ink); box-shadow: 0 0 0 3px rgba(254, 102, 0, .1); }
.choice.check .icon { width: 20px; height: 20px; padding: 3px; border-radius: 6px; border: 1.5px solid rgba(0, 0, 101, .2); color: transparent; transition: all .25s; }
.choice.check input:checked + span .icon { background: var(--orange); border-color: var(--orange); color: #fff; }
.estimate-result { position: sticky; top: calc(var(--header-h) + 20px); padding: 36px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(circle at 100% 0, rgba(254, 102, 0, .55), transparent 55%), radial-gradient(circle at 0 100%, rgba(0, 153, 51, .4), transparent 55%), var(--night); box-shadow: var(--shadow-lg); }
.estimate-total { display: block; margin: 18px 0 14px; font: 700 clamp(2.4rem, 4vw, 3.2rem)/1 var(--font-display); letter-spacing: -.03em; transition: transform .3s var(--ease); }
.estimate-total.is-bump { transform: scale(1.06); }
.estimate-result p { color: rgba(255, 255, 255, .7); font-size: .92rem; }
.estimate-includes { display: flex; flex-direction: column; gap: 10px; margin: 24px 0 28px; font-size: .92rem; }
.estimate-includes li { display: flex; align-items: center; gap: 10px; }
.estimate-includes .icon { width: 18px; height: 18px; color: var(--green-300); }
.estimate-status { display: block; min-height: 18px; margin-top: 12px; font-size: .82rem; color: var(--orange-300); }
.quote-form-wrap { max-width: 860px; margin: 70px auto 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.construction-quote { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.cq-info .h2 { margin-bottom: 30px; }
.cq-steps { display: flex; flex-direction: column; gap: 22px; }
.cq-steps li { display: flex; gap: 18px; }
.cq-steps span { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(0, 153, 51, .1); color: var(--green); font: 600 .85rem var(--font-mono); }
.cq-steps strong { font: 600 1.1rem var(--font-display); }
.cq-steps p { color: var(--muted); font-size: .95rem; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (min-height: 760px) and (min-width: 1000px) { .scroll-cue { display: block; } }
@media (max-width: 1100px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-hud { display: none; }
    .service-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid, .promise-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid, .story-grid, .contact-grid, .construction-quote { grid-template-columns: 1fr; }
    .why-cube { display: none; }
    .estimate-layout { grid-template-columns: 1fr; }
    .estimate-result { position: relative; top: 0; }
}
@media (max-width: 900px) {
    .division-grid, .mission-grid, .project-story { grid-template-columns: 1fr; }
    .process-track, .timeline { grid-template-columns: 1fr 1fr; row-gap: 50px; }
    .process-line, .timeline-line { display: none; }
    .statement-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stat:nth-child(3) { border-left: 0; }
    .hero-stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .08); }
    .work-head { flex-direction: column; align-items: flex-start; }
    .work-head .btn { margin: -20px 0 34px; }
    .story-visual { max-width: 420px; }
}
@media (max-width: 640px) {
    .hero { padding-top: calc(var(--header-h) + 24px); }
    .hero .pill { font-size: .64rem; letter-spacing: .06em; padding-right: 12px; }
    .hero-title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
    .hero-stat { padding: 18px 20px; }
    .division-visual { height: 240px; }
    .division-body { padding: 24px 22px 26px; }
    .division-list { grid-template-columns: 1fr; }
    .code-window pre { font-size: .72rem; padding: 16px; }
    .service-grid, .industry-grid, .values-grid, .promise-grid, .why-cards, .process-track, .timeline { grid-template-columns: 1fr; }
    .why-cards .glass-card:nth-child(even) { transform: none; }
    .choice-grid, .choice-grid.scope { grid-template-columns: 1fr 1fr; }
    .role-row, .open-application { flex-direction: column; align-items: flex-start; }
    .project-facts { gap: 18px 30px; padding: 22px; }
    .project-facts .btn { margin-left: 0; width: 100%; }
    .project-hero-media { aspect-ratio: 4 / 3; }
    .project-hero-media .pv-window { width: 76%; }
    .quote-tabs button { padding: 14px; gap: 10px; }
    .quote-tabs button > .icon { width: 38px; height: 38px; padding: 8px; }
    .division-switch a { padding: 13px 18px; font-size: .9rem; }
}
