/* ==========================================================
   Alaska Rural Construction Services — site styles
   Palette: navy #0B2535 · deep #071A26 · spruce #1F4D3A
            safety orange #F28C28 · aurora teal #2EC4B6 · snow #F4F7F8
   ========================================================== */
:root{
  --navy:#0b2535; --deep:#071a26; --spruce:#1f4d3a; --spruce-2:#2c6a50;
  --orange:#f28c28; --orange-2:#d9731a; --teal:#2ec4b6;
  --snow:#f4f7f8; --mist:#e6edf0; --ink:#15222c; --muted:#5a6b76; --white:#fff;
  --radius:14px; --shadow:0 10px 30px rgba(7,26,38,.12); --shadow-lg:0 24px 60px rgba(7,26,38,.25);
  --header-h:76px;
  --font-head:"Montserrat",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --font-body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 8px);-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font-body);color:var(--ink);background:var(--white);line-height:1.6;font-size:1rem;overflow-x:hidden}
img,video{max-width:100%;display:block}
picture{display:contents}
a{color:var(--spruce-2)}
h1,h2,h3{font-family:var(--font-head);line-height:1.15;margin:0 0 .6em;letter-spacing:-.01em}
h2{font-size:clamp(1.75rem,3.6vw,2.6rem);font-weight:800;color:var(--navy)}
h3{font-size:1.15rem;font-weight:700}
p{margin:0 0 1em}
.container{width:min(1200px,100% - 2.5rem);margin-inline:auto}
.skip-link{position:absolute;left:-999px;top:0;background:var(--orange);color:#111;padding:.7rem 1rem;z-index:1000;font-weight:600}
.skip-link:focus{left:1rem;top:1rem}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.ico{width:1.15em;height:1.15em;fill:currentColor;flex:none}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55em;font-family:var(--font-head);font-weight:700;font-size:.95rem;
  letter-spacing:.02em;padding:.8em 1.35em;border-radius:999px;border:2px solid transparent;text-decoration:none;cursor:pointer;
  transition:transform .2s ease,background-color .2s,color .2s,border-color .2s,box-shadow .2s;white-space:nowrap}
.btn:hover{transform:translateY(-2px)}
.btn-lg{font-size:1.05rem;padding:.95em 1.7em}
.btn-block{width:100%}
.btn-accent{background:var(--orange);color:#1b1206;box-shadow:0 8px 22px rgba(242,140,40,.35)}
.btn-accent:hover{background:#ff9d3d}
.btn-ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.75);backdrop-filter:blur(4px)}
.btn-ghost:hover{background:#fff;color:var(--navy)}
.btn-dark{background:var(--navy);color:#fff}
.btn-dark:hover{background:var(--deep)}
.btn-outline-dark{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn-outline-dark:hover{background:var(--navy);color:#fff}

/* ---------- Header ---------- */
.site-header{position:fixed;inset:0 0 auto 0;z-index:100;height:var(--header-h);display:flex;align-items:center;
  background:linear-gradient(to bottom,rgba(7,26,38,.7),rgba(7,26,38,0));transition:background-color .3s,box-shadow .3s,height .3s}
.site-header.scrolled{background:rgba(11,37,53,.97);box-shadow:0 6px 20px rgba(0,0,0,.2);--header-h:66px}
.header-inner{display:flex;align-items:center;gap:1.5rem}
.brand{display:flex;align-items:center;flex:none}
.brand img{height:44px;width:auto;transition:height .3s}
.site-header.scrolled .brand img{height:38px}
.main-nav{margin-left:auto}
.main-nav ul{display:flex;gap:.25rem;list-style:none;margin:0;padding:0}
.main-nav a{color:#fff;text-decoration:none;font-weight:600;font-size:.93rem;padding:.5rem .7rem;border-radius:8px;transition:background-color .2s,color .2s}
.main-nav ul a:hover,.main-nav ul a.active{color:var(--orange)}
.nav-call-mobile{display:none}
.header-call{padding:.65em 1.1em;font-size:.9rem}
.nav-toggle{display:none;background:none;border:0;width:44px;height:44px;padding:10px;cursor:pointer;margin-left:auto}
.nav-toggle span{display:block;height:2px;background:#fff;margin:6px 0;border-radius:2px;transition:transform .3s,opacity .3s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

@media (max-width:1060px){
  .header-call span{display:none}
  .header-call{padding:.7em}
  .main-nav a{padding:.5rem .5rem}
}
@media (max-width:900px){
  .nav-toggle{display:block}
  .header-call{display:none}
  .main-nav{position:fixed;inset:var(--header-h) 0 auto 0;background:rgba(11,37,53,.98);padding:1rem 1.25rem 1.5rem;
    transform:translateY(-12px);opacity:0;visibility:hidden;transition:opacity .25s,transform .25s,visibility .25s;box-shadow:0 20px 30px rgba(0,0,0,.25)}
  .main-nav.open{transform:none;opacity:1;visibility:visible}
  .main-nav ul{flex-direction:column;gap:0}
  .main-nav ul a{display:block;padding:.9rem .25rem;font-size:1.05rem;border-bottom:1px solid rgba(255,255,255,.08)}
  .nav-call-mobile{display:flex;margin-top:1rem;width:100%}
  .brand img{height:38px}
}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;color:#fff;overflow:hidden;background:var(--deep)}
.hero-slides{position:absolute;inset:0}
.slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity 1.4s ease-in-out}
.slide.is-active{opacity:1;z-index:1}
.slide.is-leaving{opacity:0;z-index:0}
.slide img{width:100%;height:100%;object-fit:cover;transform:scale(1.02);will-change:transform}
.slide.is-active img,.slide.is-leaving img{animation:kenburns 9s ease-out forwards}
.slide:nth-child(even).is-active img,.slide:nth-child(even).is-leaving img{animation-name:kenburns-alt}
@keyframes kenburns{from{transform:scale(1.02) translate(0,0)}to{transform:scale(1.14) translate(-1.5%,-1%)}}
@keyframes kenburns-alt{from{transform:scale(1.14) translate(1.5%,0)}to{transform:scale(1.02) translate(0,0)}}
.hero-overlay{position:absolute;inset:0;z-index:2;background:
  linear-gradient(90deg,rgba(7,26,38,.88) 0%,rgba(7,26,38,.6) 45%,rgba(7,26,38,.15) 100%),
  linear-gradient(to top,rgba(7,26,38,.7),rgba(7,26,38,0) 40%)}
.hero-content{position:relative;z-index:3;padding-top:calc(var(--header-h) + 2rem);padding-bottom:7rem}
.eyebrow{display:inline-block;font-family:var(--font-head);font-weight:700;font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--teal);background:rgba(46,196,182,.12);border:1px solid rgba(46,196,182,.4);padding:.45em .9em;border-radius:999px;margin-bottom:1.25rem}
.hero h1{font-size:clamp(2.2rem,5.6vw,4.3rem);font-weight:800;max-width:15ch;margin-bottom:.45em;text-shadow:0 2px 20px rgba(0,0,0,.35)}
.hero h1 .dash{color:var(--orange)}
.hero-sub{font-size:clamp(1.02rem,1.6vw,1.2rem);max-width:58ch;color:rgba(255,255,255,.9);margin-bottom:2rem}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.9rem}
.br-lg{display:none}
@media (min-width:900px){.br-lg{display:inline}.hero h1{max-width:none}}
.hero-controls{position:absolute;z-index:4;left:50%;bottom:1.6rem;transform:translateX(-50%);display:flex;align-items:center;gap:.8rem;
  background:rgba(7,26,38,.45);backdrop-filter:blur(6px);padding:.4rem .6rem;border-radius:999px;border:1px solid rgba(255,255,255,.15)}
.hero-arrow,.hero-pause{width:36px;height:36px;border-radius:50%;border:0;background:transparent;color:#fff;cursor:pointer;display:grid;place-items:center;transition:background-color .2s}
.hero-arrow:hover,.hero-pause:hover{background:rgba(255,255,255,.15)}
.hero-arrow svg,.hero-pause svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hero-pause .i-play{display:none;fill:currentColor;stroke:none}
.hero-pause[aria-pressed="true"] .i-play{display:block}
.hero-pause[aria-pressed="true"] .i-pause{display:none}
.hero-dots{display:flex;gap:.5rem}
.hero-dots button{width:10px;height:10px;padding:0;border-radius:999px;border:0;background:rgba(255,255,255,.45);cursor:pointer;transition:width .35s,background-color .35s}
.hero-dots button[aria-current="true"]{width:28px;background:var(--orange)}
.scroll-cue{position:absolute;z-index:4;right:2rem;bottom:2.2rem;width:26px;height:42px;border:2px solid rgba(255,255,255,.6);border-radius:14px}
.scroll-cue span{position:absolute;left:50%;top:8px;width:4px;height:8px;margin-left:-2px;background:#fff;border-radius:2px;animation:cue 1.8s infinite}
@keyframes cue{0%{opacity:0;transform:translateY(0)}30%{opacity:1}100%{opacity:0;transform:translateY(14px)}}
@media (max-width:700px){.scroll-cue{display:none}.hero-content{padding-bottom:8rem}}

/* ---------- Sections ---------- */
.section{padding:clamp(4rem,9vw,7rem) 0;position:relative}
.kicker{font-family:var(--font-head);font-weight:700;text-transform:uppercase;letter-spacing:.16em;font-size:.8rem;color:var(--orange-2);margin-bottom:.8rem}
.kicker::before{content:"";display:inline-block;width:28px;height:2px;background:currentColor;vertical-align:middle;margin-right:.6rem}
.section-head{max-width:720px;margin-bottom:3rem}
.section-head .lead,.lead{font-size:1.12rem;color:var(--muted)}
.section-head.light h2{color:#fff}
.section-head.light .lead{color:rgba(255,255,255,.85)}
.section-head.light .kicker{color:var(--orange)}

/* About */
.about-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(2rem,6vw,5rem);align-items:center}
.about-media{position:relative}
.about-img{border-radius:var(--radius);overflow:hidden;aspect-ratio:4/5;box-shadow:var(--shadow-lg)}
.about-img img{width:100%;height:115%;object-fit:cover}
.about-badge{position:absolute;right:-1.2rem;bottom:2rem;background:var(--spruce);color:#fff;border-radius:var(--radius);padding:1rem 1.2rem;
  display:flex;align-items:center;gap:.9rem;box-shadow:var(--shadow-lg);font-family:var(--font-head);font-weight:700;font-size:.9rem;line-height:1.3}
.about-badge img{width:54px;height:auto}
.capabilities{list-style:none;padding:0;margin:2rem 0 0;display:grid;grid-template-columns:1fr 1fr;gap:1.4rem 1.6rem}
.capabilities li{display:flex;gap:.9rem;align-items:flex-start}
.capabilities h3{font-size:1rem;margin-bottom:.25rem;color:var(--navy)}
.capabilities p{font-size:.93rem;color:var(--muted);margin:0}
.cap-ico{flex:none;width:44px;height:44px;border-radius:12px;background:rgba(46,196,182,.12);color:var(--spruce-2);display:grid;place-items:center}
.cap-ico svg,.svc-ico svg,.serve-item svg,.cb-ico svg,.ph-ico svg,.thanks-ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:900px){.about-grid{grid-template-columns:1fr}.about-img{aspect-ratio:16/11}.about-badge{right:1rem;bottom:-1.2rem}}
@media (max-width:560px){.capabilities{grid-template-columns:1fr}}

/* Services */
.services{background:var(--snow)}
.card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.card{background:#fff;border-radius:var(--radius);padding:1.7rem 1.5rem;box-shadow:0 1px 0 rgba(7,26,38,.05),0 6px 18px rgba(7,26,38,.06);
  border:1px solid var(--mist);transition:transform .3s ease,box-shadow .3s ease,border-color .3s}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:transparent}
.svc-ico{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;color:#fff;margin-bottom:1.1rem;
  background:linear-gradient(135deg,var(--navy),var(--spruce-2));transition:transform .3s}
.card:hover .svc-ico{transform:rotate(-6deg) scale(1.06)}
.svc-ico svg{width:28px;height:28px}
.card h3{color:var(--navy)}
.card p{color:var(--muted);font-size:.95rem;margin:0}
.service-cta{background:linear-gradient(145deg,var(--navy),var(--spruce));color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;border:0}
.service-cta h3{color:#fff}
.service-cta p{color:rgba(255,255,255,.85);margin-bottom:1.2rem}
@media (max-width:1060px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.card-grid{grid-template-columns:1fr}}

/* Who we serve */
.serve{color:#fff;overflow:hidden;background:var(--navy)}
.serve-bg{position:absolute;inset:0;z-index:0}
.serve-bg img{width:100%;height:130%;object-fit:cover;opacity:.28;margin-top:-10%}
.serve::after{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(11,37,53,.85),rgba(31,77,58,.8));z-index:0}
.serve .container{position:relative;z-index:1}
.serve-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:1rem}
.serve-item{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:var(--radius);padding:1.6rem 1.1rem;text-align:center;
  font-family:var(--font-head);font-weight:700;line-height:1.3;backdrop-filter:blur(4px);transition:background-color .3s,transform .3s}
.serve-item:hover{background:rgba(255,255,255,.14);transform:translateY(-4px)}
.serve-item svg{width:40px;height:40px;color:var(--teal);margin:0 auto 1rem;display:block}
@media (max-width:1060px){.serve-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){.serve-grid{grid-template-columns:1fr 1fr}.serve-item:last-child{grid-column:1/-1}}

/* Process */
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:1.25rem;counter-reset:s;position:relative}
.steps::before{content:"";position:absolute;top:28px;left:8%;right:8%;height:2px;background:repeating-linear-gradient(90deg,var(--orange) 0 10px,transparent 10px 18px);opacity:.6}
.step{position:relative;text-align:center;padding:0 .4rem}
.step-num{position:relative;z-index:1;width:56px;height:56px;margin:0 auto 1.1rem;border-radius:50%;display:grid;place-items:center;
  background:var(--navy);color:#fff;font-family:var(--font-head);font-weight:800;font-size:1.3rem;box-shadow:0 0 0 6px #fff,0 0 0 8px var(--mist)}
.step h3{color:var(--navy);font-size:1.05rem}
.step p{color:var(--muted);font-size:.93rem}
@media (max-width:900px){
  .steps{grid-template-columns:1fr;gap:0}
  .steps::before{top:0;bottom:0;left:27px;right:auto;width:2px;height:auto;background:repeating-linear-gradient(180deg,var(--orange) 0 10px,transparent 10px 18px)}
  .step{text-align:left;display:grid;grid-template-columns:56px 1fr;column-gap:1.2rem;padding:0 0 1.8rem}
  .step-num{grid-row:span 2;margin:0}
  .step h3{margin:.8rem 0 .3rem}
}

/* Projects */
.projects{background:var(--snow)}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem}
.gallery-item{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;display:block;background:#dfe6ea}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.gallery-item:hover img{transform:scale(1.06)}
.gallery-item.placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;text-align:center;
  border:2px dashed #b7c5cd;background:repeating-linear-gradient(135deg,#eef3f5 0 14px,#e7eef1 14px 28px);color:var(--muted)}
.gallery-item.placeholder strong{font-family:var(--font-head);color:var(--navy);font-size:.95rem;letter-spacing:.03em}
.gallery-item.placeholder span:last-child{font-size:.9rem}
.ph-ico{width:52px;height:52px;border-radius:50%;background:#fff;display:grid;place-items:center;color:var(--spruce-2);margin-bottom:.4rem;box-shadow:var(--shadow)}
@media (max-width:900px){.gallery{grid-template-columns:repeat(2,1fr)}}


/* Strip */
.strip-section{padding:clamp(3.5rem,7vw,5.5rem) 0;background:var(--deep);color:#fff;overflow:hidden}
.strip-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem 2rem;margin-bottom:2rem}
.strip-head h2{color:#fff;margin:0}
.strip-note{color:rgba(255,255,255,.65);font-size:.88rem;margin:0}
.strip{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.strip-track{display:flex;gap:1rem;width:max-content;animation:marquee 70s linear infinite}
.strip:hover .strip-track,.strip:focus-within .strip-track{animation-play-state:paused}
.strip-item{flex:none;width:clamp(220px,26vw,340px);aspect-ratio:4/3;border-radius:12px;overflow:hidden;display:block;position:relative}
.strip-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s,filter .5s;filter:saturate(.92)}
.strip-item:hover img{transform:scale(1.07);filter:saturate(1.1)}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(calc(-50% - .5rem))}}

/* Video band */
.video-band{position:relative;min-height:70vh;display:flex;align-items:center;color:#fff;overflow:hidden;background:#0d2230 url("../assets/video/alaska-aerial-poster.jpg") center/cover no-repeat}
.video-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.video-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,26,38,.85),rgba(7,26,38,.35))}
.video-content{position:relative;z-index:1;max-width:1200px}
.video-content h2{color:#fff;max-width:18ch}
.video-content p{font-size:1.15rem;max-width:46ch;color:rgba(255,255,255,.9);margin-bottom:1.6rem}

/* CTA band */
.cta-band{background:linear-gradient(110deg,var(--orange) 0%,#f6a54f 100%);padding:clamp(2.8rem,6vw,4rem) 0;position:relative;overflow:hidden}
.cta-band::before{content:"";position:absolute;right:-60px;top:-80px;width:360px;height:360px;background:url("../assets/img/brand/arcs-mark-white.png") center/contain no-repeat;opacity:.18}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;position:relative}
.cta-band h2{color:var(--deep);margin-bottom:.3rem}
.cta-band p{margin:0;color:#3a2410;font-size:1.08rem}
.cta-actions{display:flex;flex-wrap:wrap;gap:.8rem}

/* Contact */
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(2rem,6vw,4.5rem);align-items:start}
.contact-info>p{color:var(--muted)}
.contact-block{display:flex;align-items:center;gap:1rem;padding:1rem 1.1rem;border-radius:var(--radius);background:var(--snow);border:1px solid var(--mist);
  text-decoration:none;color:var(--ink);margin-bottom:.8rem;transition:border-color .2s,transform .2s,box-shadow .2s}
a.contact-block:hover{border-color:var(--orange);transform:translateX(4px);box-shadow:var(--shadow)}
.cb-ico{flex:none;width:48px;height:48px;border-radius:12px;background:var(--navy);color:#fff;display:grid;place-items:center}
.contact-block small{display:block;color:var(--muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;font-weight:600}
.contact-block strong{font-family:var(--font-head);font-size:1.1rem;color:var(--navy);word-break:break-word}
.contact-block em{display:block;font-style:normal;color:var(--muted);font-size:.88rem}
.contact-person{margin-top:1.2rem;color:var(--muted)}
.form-wrap{background:#fff;border-radius:18px;box-shadow:var(--shadow-lg);padding:clamp(1.4rem,3.5vw,2.4rem);border:1px solid var(--mist);border-top:5px solid var(--orange)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.field{margin-bottom:1rem;display:flex;flex-direction:column}
.field label{font-weight:600;font-size:.9rem;margin-bottom:.35rem;color:var(--navy)}
.field label span{color:var(--orange-2)}
.field input,.field select,.field textarea{font:inherit;font-size:1rem;padding:.8rem .9rem;border:1.5px solid #cdd8de;border-radius:10px;background:#fbfcfd;color:var(--ink);
  transition:border-color .2s,box-shadow .2s;width:100%}
.field textarea{resize:vertical;min-height:130px}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 4px rgba(46,196,182,.18);background:#fff}
.field .invalid,.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{border-color:#c0392b}
.field-hint{font-size:.83rem;color:var(--muted);margin:-.4rem 0 1rem}
.form-error{background:#fdecea;color:#8e2419;border-radius:10px;padding:.7rem .9rem;font-size:.92rem}
.form-fine{font-size:.8rem;color:var(--muted);margin:.9rem 0 0;text-align:center}
.form-thanks{text-align:center;padding:2rem 1rem}
.form-thanks:focus{outline:none}
.thanks-ico{width:72px;height:72px;border-radius:50%;background:rgba(46,196,182,.14);color:var(--spruce-2);display:grid;place-items:center;margin:0 auto 1rem}
.thanks-ico svg{width:40px;height:40px}
.form-thanks h3{font-size:1.6rem;color:var(--navy)}
.form-thanks p{color:var(--muted);max-width:44ch;margin:0 auto 1.4rem}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr}}
@media (max-width:560px){.field-row{grid-template-columns:1fr;gap:0}}

/* Footer */
.site-footer{background:var(--deep);color:rgba(255,255,255,.78);padding:4rem 0 1.5rem;font-size:.95rem}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2.5rem}
.footer-brand img{width:210px;height:auto;margin-bottom:1rem}
.footer-brand p{font-family:var(--font-head);font-weight:600;color:var(--teal);letter-spacing:.03em}
.footer-col h2{font-size:.85rem;text-transform:uppercase;letter-spacing:.16em;color:#fff;margin-bottom:1rem}
.footer-col ul{list-style:none;padding:0;margin:0}
.footer-col li{margin-bottom:.55rem}
.site-footer a{color:rgba(255,255,255,.85);text-decoration:none}
.site-footer a:hover{color:var(--orange)}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 2rem;border-top:1px solid rgba(255,255,255,.1);margin-top:3rem;padding-top:1.4rem;font-size:.85rem}
.footer-bottom p{margin:0}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.site-footer{padding-bottom:6rem}}

/* Floating call button (mobile) */
.fab-call{position:fixed;right:1rem;bottom:1rem;z-index:90;display:none;align-items:center;gap:.45rem;background:var(--orange);color:#1b1206;text-decoration:none;
  font-family:var(--font-head);font-weight:800;padding:.85rem 1.2rem;border-radius:999px;box-shadow:0 10px 30px rgba(0,0,0,.3);animation:pulse 2.8s infinite}
.fab-call svg{width:22px;height:22px;fill:currentColor}
@keyframes pulse{0%,100%{box-shadow:0 10px 30px rgba(0,0,0,.3),0 0 0 0 rgba(242,140,40,.55)}50%{box-shadow:0 10px 30px rgba(0,0,0,.3),0 0 0 12px rgba(242,140,40,0)}}
@media (max-width:900px){.fab-call{display:inline-flex}}

/* Lightbox */
.lightbox{position:fixed;inset:0;z-index:200;background:rgba(4,14,21,.94);display:flex;align-items:center;justify-content:center;padding:3.5rem 4.5rem}
.lightbox[hidden]{display:none}
.lightbox figure{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center}
.lightbox img{max-width:100%;max-height:calc(100vh - 9rem);object-fit:contain;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.lightbox figcaption{color:rgba(255,255,255,.85);margin-top:.9rem;font-size:.95rem;text-align:center}
.lightbox button{position:absolute;background:rgba(255,255,255,.1);border:0;color:#fff;cursor:pointer;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;transition:background-color .2s}
.lightbox button:hover{background:rgba(255,255,255,.22)}
.lightbox button svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.lb-close{top:1rem;right:1rem;font-size:2rem;line-height:1}
.lb-prev{left:1rem;top:50%;transform:translateY(-50%)}
.lb-next{right:1rem;top:50%;transform:translateY(-50%)}
@media (max-width:600px){.lightbox{padding:4rem .75rem}.lb-prev,.lb-next{top:auto;bottom:1rem;transform:none}}

/* Reveal animations */
.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
.js .reveal.in{opacity:1;transform:none}
.card-grid .reveal:nth-child(2),.serve-grid .reveal:nth-child(2),.steps .reveal:nth-child(2),.gallery .reveal:nth-child(2){transition-delay:.08s}
.card-grid .reveal:nth-child(3),.serve-grid .reveal:nth-child(3),.steps .reveal:nth-child(3),.gallery .reveal:nth-child(3){transition-delay:.16s}
.card-grid .reveal:nth-child(4),.serve-grid .reveal:nth-child(4),.steps .reveal:nth-child(4),.gallery .reveal:nth-child(4){transition-delay:.24s}
.card-grid .reveal:nth-child(5),.serve-grid .reveal:nth-child(5),.steps .reveal:nth-child(5),.gallery .reveal:nth-child(5){transition-delay:.32s}
.card-grid .reveal:nth-child(6),.gallery .reveal:nth-child(6){transition-delay:.4s}
.card-grid .reveal:nth-child(7){transition-delay:.48s}
.card-grid .reveal:nth-child(8){transition-delay:.56s}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  .slide.is-active img{animation:none!important;transform:none}
  .js .reveal{opacity:1;transform:none}
  .strip{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
  .strip-track{animation:none!important}
  .fab-call{animation:none}
}

/* Privacy page */
.page-hero{background:linear-gradient(140deg,var(--navy),var(--spruce));color:#fff;padding:calc(var(--header-h) + 3.5rem) 0 3rem}
.page-hero h1{font-size:clamp(2rem,4vw,3rem);font-weight:800}
.page-hero p{color:rgba(255,255,255,.85);margin:0}
.prose{max-width:820px}
.prose h2{font-size:1.5rem;margin-top:2.2rem}
.prose li{margin-bottom:.4rem}
.credits-table{width:100%;border-collapse:collapse;font-size:.9rem;margin-top:1rem}
.credits-table th,.credits-table td{text-align:left;padding:.55rem .6rem;border-bottom:1px solid var(--mist);vertical-align:top}
.credits-table th{background:var(--snow);font-family:var(--font-head);font-size:.8rem;text-transform:uppercase;letter-spacing:.08em}
.table-wrap{overflow-x:auto}

/* ---------- QA refinements ---------- */
.brand img{height:50px}
.site-header.scrolled .brand img{height:42px}
.scroll-cue{bottom:3.4rem}
.serve-bg img{opacity:.5}
.serve::after{background:linear-gradient(160deg,rgba(11,37,53,.86),rgba(31,77,58,.72))}
.has-hero .fab-call{opacity:0;visibility:hidden;transform:translateY(24px);transition:opacity .3s,transform .3s,visibility .3s}
.has-hero.past-hero .fab-call{opacity:1;visibility:visible;transform:none}
@media (max-width:900px){
  .main-nav{background:#0b2535}
  .brand img{height:40px}
  .site-header.scrolled .brand img{height:36px}
}
@media (max-width:560px){
  .eyebrow{font-size:.68rem;letter-spacing:.1em;padding:.4em .8em}
  .gallery{grid-template-columns:1fr 1fr;gap:.75rem}
  .gallery-item.placeholder{aspect-ratio:1/1;padding:.5rem}
  .gallery-item.placeholder strong{font-size:.72rem}
  .gallery-item.placeholder span:last-child{font-size:.8rem}
  .ph-ico{width:40px;height:40px}
}
@media (max-width:700px){
  .hero-overlay{background:linear-gradient(to bottom,rgba(7,26,38,.55) 0%,rgba(7,26,38,.62) 40%,rgba(7,26,38,.85) 100%)}
}

/* ---------- Logo size bump (Oct 1): header logo ~24% larger desktop, ~15% larger mobile; footer logo ~24% larger ---------- */
:root{--header-h:84px}
.site-header.scrolled{--header-h:72px}
.brand img{height:62px}
.site-header.scrolled .brand img{height:52px}
.footer-brand img{width:260px}
@media (max-width:1060px){
  .header-inner{gap:1rem}
  .brand img{height:56px}
  .site-header.scrolled .brand img{height:48px}
}
@media (max-width:900px){
  :root{--header-h:76px}
  .site-header.scrolled{--header-h:66px}
  .brand img{height:46px}
  .site-header.scrolled .brand img{height:42px}
}
@media (max-width:360px){
  .brand img,.site-header.scrolled .brand img{height:40px}
}

/* Projects gallery: real ARCS photos (Oct 1) */
.projects .gallery{grid-template-columns:repeat(4,1fr)}
.gallery-item .gallery-cap{position:absolute;left:0;right:0;bottom:0;padding:1.6rem .8rem .65rem;color:#fff;font-size:.85rem;line-height:1.3;
  background:linear-gradient(to top,rgba(8,20,30,.82),rgba(8,20,30,0));pointer-events:none}
.gallery-ba{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:4px;aspect-ratio:4/3;border-radius:var(--radius);overflow:hidden;background:#dfe6ea}
.gallery-ba .gallery-item.ba-half{aspect-ratio:auto;height:100%;border-radius:0}
.gallery-ba .gallery-cap{font-size:.75rem;padding:1.4rem .5rem .5rem}
.ba-tag{position:absolute;top:.55rem;left:.55rem;background:rgba(8,20,30,.78);color:#fff;font-family:var(--font-head);font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;padding:.25rem .5rem;border-radius:6px}
.gallery-item:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
@media (max-width:900px){.projects .gallery{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.gallery-item .gallery-cap{font-size:.72rem;padding:1.2rem .5rem .45rem}.gallery-ba,.projects .gallery>.gallery-item:first-child{grid-column:1/-1}}
