/* SBJ Engineering corporate website — Homepage concept 1.0 */
:root {--ink:#0b1720;--ink2:#122430;--paper:#f2f2ee;--soft:#e5e6e1;--muted:#a8b6be;--white:#fff;--gold:#d3a767;--line:rgba(255,255,255,.18);--max:1280px;--text:#384853}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Inter', 'Segoe UI',Arial,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}img{max-width:100%}::selection{background:#dbb372;color:#13212b}
.wrap{width:min(calc(100% - 96px),var(--max));margin-inline:auto}.eyebrow{font-size:11px;letter-spacing:.25em;font-weight:750;text-transform:uppercase;display:flex;align-items:center;gap:15px}.eyebrow:before{content:'';width:26px;height:1px;background:currentColor;display:inline-block}.micro{font-size:11px;letter-spacing:.16em;font-weight:700;text-transform:uppercase}
.site-header{position:absolute;inset:0 0 auto;z-index:25;color:#fff;border-bottom:1px solid var(--line);background:linear-gradient(to bottom,rgba(5,14,20,.53),transparent)}.nav-shell{height:95px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:15px;min-width:240px}.brand-symbol{height:44px;width:44px;position:relative;display:grid;place-items:center;background:var(--gold);color:#10212b;font-size:14px;font-weight:900;letter-spacing:-.06em;clip-path:polygon(0 0,100% 0,100% 73%,73% 100%,0 100%)}.brand-name{display:block;font-size:16px;font-weight:850;letter-spacing:.07em;line-height:1.13}.brand-sub{display:block;font-size:8px;letter-spacing:.35em;font-weight:650;margin-top:6px;color:#c7d0d5}.nav-links{display:flex;align-items:center;gap:32px}.nav-links a{font-size:11px;letter-spacing:.11em;text-transform:uppercase;font-weight:750;color:#e0e9ea;transition:color .2s}.nav-links a:hover,.nav-links a:focus-visible{color:var(--gold)}.nav-contact{font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;padding:15px 20px;border:1px solid rgba(255,255,255,.6);transition:.2s}.nav-contact:hover{background:var(--gold);border-color:var(--gold);color:var(--ink)}.menu-toggle{display:none;background:transparent;border:1px solid rgba(255,255,255,.5);width:45px;height:42px;color:#fff;font-size:22px;cursor:pointer}
.hero{position:relative;min-height:830px;height:min(920px,100svh);background:#102633;display:flex;align-items:center;overflow:hidden;color:#fff}.hero-img{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(5,20,30,.98) 0%,rgba(5,20,30,.88) 34%,rgba(5,20,30,.44) 69%,rgba(5,20,30,.2) 100%),linear-gradient(0deg,rgba(4,18,26,.72),transparent 40%),url('https://images.unsplash.com/photo-1684497404598-6e844dff9cde?auto=format&fit=crop&w=2200&q=82');background-size:cover;background-position:center;transform:scale(1.01);animation:slowPan 22s ease-in-out infinite alternate}.hero-img:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 55%,rgba(11,36,47,.14) 56%,transparent 57%),repeating-linear-gradient(90deg,transparent 0,transparent 179px,rgba(255,255,255,.022) 180px)}@keyframes slowPan{to{transform:scale(1.065)}}.hero-content{position:relative;z-index:2;padding-top:112px;padding-bottom:90px}.hero-kicker{color:var(--gold);margin-bottom:28px}.hero h1{font-weight:670;letter-spacing:-.065em;font-size:clamp(62px,7.2vw,118px);line-height:.99;max-width:820px;margin:0 0 30px}.hero h1 span{color:var(--gold)}.hero-intro{font-size:15px;max-width:505px;font-weight:390;color:#c3d0d7;margin:0 0 40px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:space-between;min-width:208px;gap:28px;padding:16px 21px;font-size:11px;letter-spacing:.11em;text-transform:uppercase;font-weight:790;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-3px)}.btn-primary{background:var(--gold);color:#101b22}.btn-ghost{border:1px solid rgba(255,255,255,.45);color:#fff}.btn-ghost:hover{border-color:var(--gold)}.hero-side{position:absolute;right:47px;bottom:91px;z-index:4;writing-mode:vertical-rl;transform:rotate(180deg);font-size:9px;letter-spacing:.23em;font-weight:750;color:rgba(255,255,255,.65)}.hero-bottom{position:absolute;inset:auto 0 0;z-index:6;border-top:1px solid rgba(255,255,255,.2);background:rgba(8,23,30,.42)}.hero-bottom-inner{display:flex;min-height:85px;justify-content:space-between;align-items:center;gap:20px}.hero-bottom p{font-size:10px;letter-spacing:.17em;text-transform:uppercase;font-weight:700;margin:0;color:#a7b3b8}.hero-bottom b{font-size:10px;letter-spacing:.12em;font-weight:800;color:#e6edf0}.scroll-cue{display:flex;gap:10px;align-items:center}.scroll-cue:before{content:'';width:48px;height:1px;background:var(--gold)}
.section{padding:116px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:45px;margin-bottom:52px}.section h2{font-size:clamp(38px,4.8vw,66px);letter-spacing:-.05em;line-height:1.1;font-weight:650;margin:16px 0 0}.section-lead{color:#66737a;font-size:15px;line-height:1.85;max-width:470px;margin:0}.dark{background:var(--ink);color:#fff}.light{background:var(--paper)}.warm{background:#e6e7e0}.accent{color:var(--gold)}
.about-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:90px;align-items:center}.about-copy h2{margin-bottom:30px}.about-copy p{font-size:15px;line-height:1.95;color:#5e6b70;max-width:625px}.about-pull{position:relative;min-height:420px;padding:42px;background:#142934;color:#fff;overflow:hidden}.about-pull::before{content:'';position:absolute;width:450px;height:450px;border:1px solid rgba(255,255,255,.09);border-radius:50%;left:120px;bottom:-210px;box-shadow:0 0 0 90px rgba(255,255,255,.035),0 0 0 180px rgba(255,255,255,.015)}.about-pull:after{content:'';position:absolute;width:140%;height:1px;background:rgba(211,167,103,.3);transform:rotate(-29deg);bottom:43%;left:-20%}.about-pull-content{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:space-between;min-height:335px}.about-pull h3{font-size:40px;font-weight:560;letter-spacing:-.05em;line-height:1.15;max-width:300px;margin:0}.about-pull small{font-size:11px;letter-spacing:.18em;color:var(--gold);text-transform:uppercase;font-weight:750}.stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #d6dbd8;margin-top:75px}.stat{padding:33px 0;border-right:1px solid #d6dbd8}.stat:last-child{border:0;padding-left:33px}.stat:nth-child(2){padding-left:33px}.stat strong{font-size:47px;font-weight:650;letter-spacing:-.055em;display:block;line-height:1.2}.stat span{display:block;font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#6a777c;font-weight:750;margin-top:10px}
.service-head .section-lead{color:#a5b2b8}.services-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.18);border-left:1px solid rgba(255,255,255,.18)}.service{padding:43px 34px 37px;border-right:1px solid rgba(255,255,255,.18);border-bottom:1px solid rgba(255,255,255,.18);min-height:266px;transition:background .25s}.service:hover{background:rgba(255,255,255,.055)}.service-n{font-size:11px;font-weight:750;color:var(--gold);letter-spacing:.13em}.service-art{display:block;margin:27px 0 22px;height:28px;width:52px;color:var(--gold)}.service h3{font-weight:600;font-size:20px;letter-spacing:-.03em;margin:0 0 10px}.service p{color:#9eaeb6;font-size:12px;line-height:1.8;margin:0;max-width:260px}
.projects-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.project{background:#fff;min-width:0}.project-viz{height:305px;position:relative;overflow:hidden;background:linear-gradient(130deg,#18313f,#254957)}.project-viz:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0,transparent 34px,rgba(255,255,255,.05) 35px),repeating-linear-gradient(90deg,transparent 0,transparent 34px,rgba(255,255,255,.05) 35px)}.project-viz .project-art{position:absolute;inset:12% 10%;display:grid;place-items:center;color:#c9d7d9;opacity:.7}.project-viz .project-art svg{width:100%;height:100%}.project-viz .frame-tag{position:absolute;left:23px;top:23px;background:rgba(12,29,37,.6);padding:7px 11px;color:#fff;letter-spacing:.13em;font-size:9px;font-weight:700}.project-details{padding:26px 27px 34px}.project-details .micro{color:#8d957f}.project h3{font-size:22px;line-height:1.2;letter-spacing:-.04em;font-weight:650;margin:9px 0 11px}.project p{color:#647279;font-size:12px;line-height:1.8;margin:0}.project .note{font-size:10px;letter-spacing:.035em;color:#a6aeb0;margin-top:20px;font-style:italic}.project:nth-child(2) .project-viz{background:linear-gradient(125deg,#394750,#18232e)}.project:nth-child(3) .project-viz{background:linear-gradient(145deg,#5a6365,#253e45)}
.credential-strip{background:#0f2732;color:#fff;padding:53px 0}.credential-inner{display:flex;align-items:center;gap:30px;justify-content:space-between}.credential-inner h3{font-size:33px;font-weight:620;letter-spacing:-.04em;line-height:1.1;margin:10px 0 0}.cred-badges{display:flex;gap:13px;align-items:center}.cred-badge{padding:17px 22px;border:1px solid rgba(255,255,255,.25);min-width:145px;text-align:center}.cred-badge strong{font-size:20px;letter-spacing:.03em}.cred-badge span{font-size:9px;display:block;text-transform:uppercase;letter-spacing:.12em;color:#a8bbc2}.contact{background:var(--gold);color:#11212a;padding:100px 0}.contact-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:100px}.contact h2{font-size:clamp(43px,5.8vw,77px);letter-spacing:-.055em;line-height:1.02;font-weight:650;margin:14px 0 30px;max-width:700px}.contact-link{font-size:15px;padding:17px 0;border-bottom:1px solid rgba(13,34,44,.3);display:flex;justify-content:space-between;gap:20px;font-weight:650}.contact-link:hover{color:#fff}.contact-aside{align-self:end;font-size:13px;line-height:2;color:#293b43}.contact-aside strong{display:block;text-transform:uppercase;font-size:11px;letter-spacing:.2em}.contact-aside p{margin:9px 0 0}.footer{background:#08171f;color:#8ea1ab;padding:34px 0}.footer-inner{display:flex;justify-content:space-between;gap:35px;align-items:center;font-size:11px}.footer a{color:#d0a66a}.prototype-banner{position:fixed;z-index:50;bottom:16px;right:18px;background:#faf6ec;border:1px solid #bd995c;color:#21323a;box-shadow:0 8px 30px #0004;padding:9px 14px;border-radius:2px;font-size:10px;letter-spacing:.09em;text-transform:uppercase;font-weight:800}.back-to-top{border:1px solid rgba(255,255,255,.4);padding:10px;color:#fff}.reveal{opacity:0;transform:translateY(22px);transition:opacity .75s ease,transform .75s ease}.reveal.in{opacity:1;transform:none}
@media(max-width:1080px){.nav-links{gap:20px}.nav-links a{font-size:10px}.nav-contact{display:none}.hero{min-height:760px}.about-grid{gap:45px}.projects-grid{gap:10px}}
@media(max-width:790px){.wrap{width:min(calc(100% - 40px),var(--max))}.nav-shell{height:78px}.brand{min-width:0}.brand-name{font-size:13px}.brand-sub{font-size:7px}.brand-symbol{height:37px;width:37px}.menu-toggle{display:grid;place-items:center}.nav-links{display:none;position:absolute;top:78px;left:0;right:0;padding:16px 20px 25px;flex-direction:column;align-items:stretch;background:#0b1c26;border-bottom:1px solid #344850;gap:0}.nav-links.open{display:flex}.nav-links a{padding:13px 4px;border-bottom:1px solid #24404d;font-size:12px}.hero{min-height:720px;height:auto}.hero-img{background-position:55% center;background-image:linear-gradient(90deg,rgba(5,20,30,.97),rgba(5,20,30,.70)),linear-gradient(0deg,rgba(4,18,26,.6),transparent),url('https://images.unsplash.com/photo-1684497404598-6e844dff9cde?auto=format&fit=crop&w=1400&q=75')}.hero-content{padding-top:200px;padding-bottom:150px}.hero h1{font-size:clamp(52px,10.5vw,82px)}.hero-side{display:none}.hero-bottom-inner{min-height:72px}.hero-bottom p{font-size:9px}.hero-bottom b{display:none}.section{padding:78px 0}.section-head{display:block}.section-lead{margin-top:24px}.about-grid{grid-template-columns:1fr}.about-pull{min-height:345px}.about-pull-content{min-height:260px}.stats{margin-top:45px}.services-grid{grid-template-columns:repeat(2,1fr)}.projects-grid{grid-template-columns:1fr;gap:25px}.project-viz{height:300px}.credential-inner{display:block}.cred-badges{margin-top:28px}.contact-grid{grid-template-columns:1fr;gap:28px}.footer-inner{flex-wrap:wrap}}
@media(max-width:480px){.wrap{width:calc(100% - 34px)}.hero h1{font-size:49px}.hero-intro{font-size:13px}.btn{width:100%}.section h2{font-size:42px}.services-grid{grid-template-columns:1fr}.service{min-height:230px}.stats{grid-template-columns:1fr 1fr}.stat{padding:23px 0!important}.stat:nth-child(2){padding-left:20px!important;border-right:0}.stat:last-child{grid-column:span 2;border-top:1px solid #d6dbd8}.about-pull{padding:28px}.about-pull h3{font-size:35px}.cred-badges{flex-wrap:wrap}.contact h2{font-size:45px}.prototype-banner{bottom:7px;right:7px;font-size:8px;padding:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}
/* Homepage refinement V1.1 — official SBJ identity, portfolio imagery and credential cards */
.brand-mark{width:72px;height:56px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 2px 9px #0004)}
.brand{gap:12px;min-width:240px}.brand-name{font-size:15px}
.project-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;filter:saturate(.75) contrast(1.05);transition:transform .7s ease,filter .7s ease}
.project:hover .project-photo{transform:scale(1.045);filter:saturate(1)}
.project-viz:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,17,26,.3),transparent 52%,rgba(5,17,23,.12));pointer-events:none}
.project-viz .frame-tag{z-index:2}.project .note{color:#a17b4e!important;font-size:10px!important;line-height:1.5!important}
.current-projects{background:#112631;color:white;padding:95px 0}.current-row{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:9%}.current-row h2{font-size:clamp(42px,4.8vw,68px);line-height:1.05}.current-intro{color:#b6c3c7;max-width:410px;line-height:1.9;margin-top:25px;font-size:14px}
.current-feature{background:radial-gradient(circle at 92% 4%,rgba(211,167,103,.12),transparent 37%),linear-gradient(115deg,#183a46,#0b202a);border:1px solid rgba(255,255,255,.16);padding:31px;min-height:400px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}
.current-feature:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(45deg,transparent 0,transparent 47px,rgba(255,255,255,.024) 48px);pointer-events:none}.current-label{font-size:10px;letter-spacing:.17em;color:#e5c28a;font-weight:750;display:flex;gap:10px;align-items:center;z-index:1}.pulse{width:7px;height:7px;border-radius:50%;background:#d5ab69;box-shadow:0 0 0 6px rgba(213,171,105,.12)}.current-serial{font-size:clamp(105px,14vw,210px);line-height:1;font-weight:850;color:rgba(255,255,255,.044);position:absolute;right:8px;top:76px;letter-spacing:-.07em}.current-feature-body{position:relative;z-index:2}.current-feature-body .micro{color:#d3a767}.current-feature-body h3{font-size:clamp(37px,4.2vw,62px);line-height:1.06;font-weight:650;letter-spacing:-.055em;margin:10px 0 4px}.current-feature-body>p:not(.micro){color:#e8edef;margin:6px 0}.current-note{font-size:10px;display:block;color:#9dabb1;max-width:340px;margin-top:22px;line-height:1.65}
.credentials-section{background:#0b1b24}.credentials-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-left:1px solid rgba(255,255,255,.17);border-top:1px solid rgba(255,255,255,.17)}.credential-card{padding:33px 25px 34px;border-right:1px solid rgba(255,255,255,.17);border-bottom:1px solid rgba(255,255,255,.17);min-height:360px;position:relative;display:flex;flex-direction:column;transition:background .25s}.credential-card:hover{background:rgba(255,255,255,.05)}.credential-index{font-size:9px;letter-spacing:.17em;color:#d3a767;font-weight:750}.credential-monogram{font-size:52px;line-height:1;font-weight:750;letter-spacing:-.07em;color:rgba(211,167,103,.77);margin:32px 0 29px}.credential-monogram span{font-size:24px}.credential-card h3{font-size:21px;line-height:1.23;letter-spacing:-.03em;font-weight:650;margin:0 0 12px}.credential-card p{font-size:12px;line-height:1.75;color:#b0c0c6;margin:0 0 18px}.credential-fine{font-size:10px;line-height:1.6;color:#a7bac1;display:block;margin-top:auto;padding-top:12px}.credential-status{font-size:10px;color:#d7b37e;font-weight:750;letter-spacing:.04em;margin-top:10px}.credential-card--featured{background:linear-gradient(145deg,rgba(111,46,28,.35),rgba(255,255,255,.018))}.cert-disclaimer{font-size:10px;color:#91a4ab;line-height:1.85;max-width:910px;margin:22px 0 0}.contact-source-note{color:#41525a;font-size:10px;margin-top:14px!important}.footer-logo{width:130px;max-height:75px;object-fit:contain;object-position:left center}.footer-inner{gap:25px}
@media(max-width:1080px){.credentials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.current-row{gap:5%}}
@media(max-width:790px){.brand-mark{width:60px;height:46px}.brand-name{font-size:13px}.current-row{grid-template-columns:1fr}.current-feature{min-height:350px}.current-projects{padding:80px 0}.credentials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.credential-card{min-height:310px}}
@media(max-width:480px){.brand{gap:8px}.brand-mark{width:49px;height:40px}.brand-name{font-size:11px}.brand-sub{font-size:7px}.credentials-grid{grid-template-columns:1fr}.credential-card{min-height:270px}.credential-monogram{margin:20px 0}.footer-logo{width:110px}}

/* Phase 2 accessibility polish */
.skip-link{position:absolute;left:12px;top:-70px;background:#fff;color:#0b1720;padding:12px 18px;z-index:100;border-radius:4px;font-weight:700}.skip-link:focus{top:12px}
:focus-visible{outline:2px solid #d3a767;outline-offset:3px}
