/* Purple Rain Construction — shared redesign stylesheet */
:root{
  --purple:#6D00A3; --violet:#8B1FD6; --violet-2:#A855F7; --indigo:#4A0A8F;
  --plum:#160022; --plum-2:#22043a; --ink:#1a0b26;
  --paper:#ffffff; --paper-2:#f6f1fb; --line:#e9ddf6;
  --gold:#e8b45a; --text:#33243f; --muted:#6b5a7a; --white:#fff;
  --grad-bright:linear-gradient(110deg,#7d12c4,#a855f7 60%,#6d00a3);
  /* shared dark-section backdrop: replaces the old particle-dot canvas — solid brand gradient, no motion */
  --grad-dark:radial-gradient(120% 70% at 18% 0%,rgba(168,85,247,.16),transparent 60%),linear-gradient(165deg,var(--plum) 0%,var(--ink) 55%,var(--plum-2) 100%);
  --shadow:0 18px 50px -14px rgba(60,0,100,.26);
  --r:10px; --btn-r:2px;  /* geometric / sharper corners */
  --font:'Segoe UI Variable Display','Segoe UI',system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:clip;scroll-padding-top:var(--headerH,130px)}
.snap-anchor{display:none}   /* scroll-snap removed — free scrolling everywhere */
body{font-family:var(--font);color:var(--text);background:var(--paper);line-height:1.6;overflow-x:clip;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{width:min(1200px,92vw);margin:0 auto}

/* eyebrow — centered with lines on BOTH sides */
.eyebrow{display:inline-flex;align-items:center;gap:.7em;font-size:.85rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--violet)}
.eyebrow::before,.eyebrow::after{content:"";width:30px;height:2px;background:currentColor;border-radius:2px;opacity:.7}
.eyebrow.solo::after{display:none} /* left-aligned variant keeps one line */

h1,h2,h3{line-height:1.1;letter-spacing:-.02em;font-weight:700;color:var(--ink)}
/* big headings: ALL CAPS + lighter weight to match the logo wordmark */
h2.title{font-size:clamp(2.1rem,4.6vw,3.3rem);margin:.6rem 0;font-weight:600;text-transform:uppercase;letter-spacing:.02em}
.section{padding:clamp(54px,7vw,90px) 0}
.lead{font-size:clamp(1.02rem,1.4vw,1.2rem);color:var(--muted);max-width:64ch}
.head-center{text-align:center;max-width:62ch;margin:0 auto 3rem}
.head-center .eyebrow{justify-content:center}
.head-center .lead{margin:1.1rem auto 0}

.btn{display:inline-flex;align-items:center;gap:.55em;font-weight:700;font-size:1rem;padding:.95em 1.7em;border-radius:var(--btn-r);white-space:nowrap;cursor:pointer;border:0;transition:transform .25s,box-shadow .25s,background .25s;line-height:1;letter-spacing:.01em}
.btn-primary{background:var(--grad-bright);color:#fff;box-shadow:0 12px 30px -8px rgba(139,31,214,.6)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 18px 40px -8px rgba(139,31,214,.7)}
.btn-ghost{background:rgba(255,255,255,.10);color:#fff;border:1.5px solid rgba(255,255,255,.55);backdrop-filter:blur(4px)}
.btn-ghost:hover{background:rgba(255,255,255,.2);transform:translateY(-3px)}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{transform:translateY(-3px);box-shadow:var(--shadow)}

/* ---------- HEADER: standard 2-row (logo row + links row), used on every page ---------- */
.site-header{position:fixed;inset:0 0 auto 0;z-index:90;transition:background .4s,box-shadow .4s,backdrop-filter .4s,opacity .35s}
.site-header::before{content:"";position:absolute;inset:0;z-index:-1;opacity:1;transition:opacity .4s;
  background:linear-gradient(180deg,rgba(74,0,128,.7),rgba(52,0,98,.28) 64%,transparent)}
.site-header.scrolled::before{opacity:0}
.site-header.scrolled{background:rgba(16,0,28,.7);backdrop-filter:blur(18px) saturate(1.5);box-shadow:0 8px 30px rgba(0,0,0,.42)}
/* solid purple accent across the very top (no movement) */
.site-header::after{content:"";position:absolute;left:0;right:0;top:0;height:3px;z-index:3;
  background:#8b2fd6;opacity:.95}
/* logo bar: logo ALONE, centered — nothing beside it, so it can never be overlapped.
   SIZED TO MATCH THE HOME PAGE EXACTLY: home's docked banner is min(560px, 40vw) wide
   (JS), i.e. height min(100.5px, 7.181vw) at the logo's 5.57 aspect, with 20px above and
   below — inner pages use the same numbers so every header is identical. */
.hbar-inner{position:relative;display:flex;align-items:center;justify-content:center;min-height:calc(clamp(54px,7.181vw,100.5px) + 40px);padding:20px 0}
.hlogo{display:inline-block;line-height:0;max-width:94%}
.hlogo img{height:clamp(54px,7.181vw,100.5px);max-width:100%;width:auto;filter:drop-shadow(0 2px 10px rgba(0,0,0,.45))}  /* responsive so the centred logo never collides with the right-side actions */
/* full-width menu BAR below the logo: the WHOLE bar glows; "MENU + arrow" sit together, centered */
.navbar{position:relative;border-top:1px solid rgba(198,132,255,.28);border-bottom:1px solid rgba(198,132,255,.24);
  background:rgba(96,20,180,.42);backdrop-filter:blur(6px);animation:barGlow 4.6s ease-in-out infinite}
@keyframes barGlow{0%,100%{box-shadow:inset 0 0 16px rgba(168,85,247,.28),0 0 14px rgba(168,85,247,.3)}50%{box-shadow:inset 0 0 28px rgba(198,132,255,.5),0 0 26px rgba(198,132,255,.6)}}
/* nav bar: direct links on the LEFT, Call + Quote (equal size) on the RIGHT — compact, short bar */
.navbar-inner{position:relative;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.45rem 1.4rem;padding:.34rem 0}
.nav-links{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:.2rem clamp(.9rem,2.4vw,2.2rem)}
.nav-links a{position:relative;color:#fff;text-transform:uppercase;letter-spacing:.13em;font-weight:600;font-size:.88rem;padding:.14rem .15rem;transition:color .2s}
.nav-links a::after{content:"";position:absolute;left:.15rem;right:.15rem;bottom:-2px;height:2px;background:var(--violet-2);border-radius:2px;transform:scaleX(0);transition:transform .25s}
.nav-links a:hover::after,.nav-links a:focus-visible::after{transform:scaleX(1)}
/* Call + Quote pinned to the RIGHT, ABSOLUTE so they don't push the centred links off-centre under the logo */
.nav-actions{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:.5rem}
.nav-actions .btn{display:inline-flex;align-items:center;justify-content:center;font-size:.76rem;height:30px;padding:0 .95em;min-width:130px;white-space:nowrap;text-transform:uppercase}  /* both: same size, all caps, primary style; FIXED height so the phone icon can't make the call button taller than the quote button */
.hcall{gap:.5em}
.hcall svg{width:15px;height:15px;flex:none}
/* hamburger toggle — mobile only; collapses the links so the header stays short (no 2-line wrap covering content) */
.nav-toggle{display:none;position:absolute;right:0;top:50%;transform:translateY(-50%);width:42px;height:42px;padding:0;background:none;border:0;cursor:pointer;z-index:6}
.nav-toggle span{display:block;width:25px;height:2px;margin:5.5px auto;background:#fff;border-radius:2px;transition:transform .3s ease,opacity .2s ease}
body.nav-open .nav-toggle span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
body.nav-open .nav-toggle span:nth-child(2){opacity:0}
body.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
@media(max-width:768px){
  .nav-toggle{display:block}
  .navbar-inner{justify-content:center;min-height:40px}        /* slim bar; links collapse into the menu */
  .nav-links{display:none}
  body.nav-open .nav-links{display:flex;flex-direction:column;align-items:stretch;gap:0;
    position:absolute;left:0;right:0;top:100%;background:rgba(13,0,26,.985);backdrop-filter:blur(16px) saturate(1.3);
    -webkit-backdrop-filter:blur(16px) saturate(1.3);padding:.3rem 0 .9rem;border-top:1px solid rgba(198,132,255,.25);
    box-shadow:0 18px 40px rgba(0,0,0,.55);z-index:5}
  body.nav-open .nav-links a{width:100%;text-align:center;padding:.9rem 1rem;font-size:1.02rem;letter-spacing:.1em;border-bottom:1px solid rgba(255,255,255,.06)}
  body.nav-open .nav-links a::after{display:none}
}
/* Services dropdown */
.nav-item{position:relative;display:inline-flex;align-items:center}
.dropdown-toggle{background:none;border:0;color:#fff;padding:.2rem .35rem;margin-left:-.1rem;cursor:pointer;display:inline-flex;align-items:center;opacity:.8}
.dropdown-toggle svg{transition:transform .2s}
.nav-item:hover .dropdown-toggle svg,.nav-item.open .dropdown-toggle svg{transform:rotate(180deg)}
.dropdown-menu{opacity:0;visibility:hidden;transition:opacity .2s,transform .2s}
@media(min-width:769px){
  .dropdown-menu{position:absolute;top:100%;left:50%;min-width:210px;background:rgba(96,20,180,.92);backdrop-filter:blur(16px) saturate(1.3);
    -webkit-backdrop-filter:blur(16px) saturate(1.3);border:1px solid rgba(198,132,255,.28);border-radius:10px;padding:.4rem;
    box-shadow:inset 0 0 16px rgba(168,85,247,.28),0 18px 40px rgba(0,0,0,.55);transform:translateX(-50%) translateY(4px);z-index:20}
  .dropdown-menu a{display:block;color:#fff;text-transform:none;letter-spacing:.02em;font-weight:600;font-size:.86rem;padding:.6rem .85rem;border-radius:6px;white-space:nowrap}
  .dropdown-menu a::after{display:none}
  .dropdown-menu a:hover,.dropdown-menu a:focus-visible{background:rgba(168,85,247,.28)}
  .nav-item:hover .dropdown-menu,.nav-item:focus-within .dropdown-menu,.nav-item.open .dropdown-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
}
@media(max-width:768px){
  .nav-item{width:100%;justify-content:center}
  .nav-item>a{flex:1}
  .dropdown-toggle{position:absolute;right:.4rem;top:50%;transform:translateY(-50%);width:36px;height:36px;justify-content:center}
  .dropdown-menu{display:none;width:100%}
  .nav-item.open .dropdown-menu{display:block;opacity:1;visibility:visible}
}
/* compact locality ribbon under the menu bar — 45° angled sides only, hugging the text (desktop only) */
.localbar{display:flex;justify-content:center;position:relative;z-index:1;pointer-events:none}
.localbar span{display:inline-block;color:#fff;font-weight:600;font-size:1rem;text-transform:uppercase;letter-spacing:.13em;word-spacing:.34em;
  padding:.5rem 2.1rem;background:linear-gradient(180deg,rgba(155,75,240,.28),rgba(80,15,160,.1));
  clip-path:polygon(20px 0,calc(100% - 20px) 0,100% 50%,calc(100% - 20px) 100%,20px 100%,0 50%);
  text-shadow:0 0 12px rgba(198,132,255,.65),0 1px 6px rgba(0,0,0,.5);animation:locShine 3.4s ease-in-out infinite}
/* HOME: header bg + chrome fade in as the fly-logo docks (driven by --p) */
body.home .hlogo{visibility:hidden}
body.home .site-header::before{opacity:0}
body.home .site-header::after{opacity:var(--p,0)}     /* the top accent line stays hidden until you scroll */
/* saturate is gated by --p too — an un-gated saturate(1.4) over-saturated the wallpaper and showed a seam at the header's bottom edge */
body.home .site-header{background:rgba(16,0,28,calc(var(--p,0)*.72));backdrop-filter:blur(calc(var(--p,0)*18px)) saturate(calc(1 + var(--p,0)*.4));box-shadow:0 10px 30px rgba(0,0,0,calc(var(--p,0)*.4))}
html.js body.home .navbar{opacity:var(--p,0)}   /* JS-gated only; a no-JS load leaves the menu bar visible (actions live inside .navbar now) */
/* GATE until the logo docks: visually blank + not hoverable/tappable (no early nav popup, no line/backdrop seam).
   Uses opacity (NOT visibility) so the nav stays keyboard/AT reachable; scoped to html.js so a JS-off load still shows the header. */
html.js body.home:not(.headerOn) .site-header{opacity:0;pointer-events:none}

/* sticky mobile bottom CTA bar (glowy, dynamic) */
.mobile-cta{display:none}
@media(max-width:1120px){   /* below here the centred links would collide with the right-side buttons: hide the buttons, show the bottom CTA bar instead */
  /* bottom bar = locality banner ON TOP of the two short buttons; safe-area strip below */
  .mobile-cta{display:flex;flex-direction:column;position:fixed;left:0;right:0;bottom:0;z-index:88;background:rgba(16,0,28,.98);padding-bottom:env(safe-area-inset-bottom,0px)}
  .mcta-loc{text-align:center;color:#fff;font-weight:600;font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;padding:.4rem .5rem;
    background:linear-gradient(180deg,rgba(155,75,240,.32),rgba(80,15,160,.12));text-shadow:0 0 10px rgba(198,132,255,.7)}
  .mcta-row{display:flex}
  .mcta{flex:1;display:flex;align-items:center;justify-content:center;gap:.5em;height:46px;padding:0 .7rem;
    font-weight:700;font-size:.9rem;color:#fff;text-transform:uppercase;letter-spacing:.05em}
  .mcta.call{background:rgba(16,0,28,.98);border-top:2px solid var(--violet-2);animation:pulseGlow 2.6s ease-in-out infinite}
  .mcta.quote{background:var(--grad-bright);position:relative;overflow:hidden;box-shadow:0 -3px 22px rgba(139,31,214,.5)}
  .mcta.quote::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.4),transparent 70%);transform:translateX(-120%);animation:shimmer 3.2s ease-in-out infinite}
  body{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}   /* loc banner + buttons */
  .nav-actions{display:none}.navbar-inner{justify-content:center}.nav-links{justify-content:center;width:100%}   /* mobile: CTAs live in the bottom bar; centre the links */
}
/* ALL widths: dark body (no white flash) and a solid white reviews section — the home wallpaper is
   position:fixed behind everything now, and dark ink titles were unreadable over it on desktop */
body.home{background:var(--ink)}
body.home #reviews{background:#fff}
@keyframes shimmer{0%{transform:translateX(-120%)}55%,100%{transform:translateX(120%)}}
@keyframes pulseGlow{0%,100%{box-shadow:0 -2px 14px rgba(139,31,214,.3)}50%{box-shadow:0 -2px 26px rgba(168,85,247,.6)}}

/* ---------- HERO (free native scroll on ALL widths — the desktop pinned/scroll-jacked
   sequence was removed 2026-07-02; wallpaper is FIXED, panels are normal sections that
   reveal via IntersectionObserver, and content starts right below the header) ---------- */
.hero-pin{position:relative;height:auto}
.hero-sticky{position:static;height:auto;overflow:visible;color:#fff;isolation:auto;text-align:center}
/* spacer just clears the fixed header (var set by JS) — content visible with NO scroll */
.hero-sticky::before{content:"";display:block;height:calc(var(--headerH,168px) + 20px)}
/* .hero-bg is shared: page-hero (inner pages) keeps it CONTAINED (absolute, inside the isolated
   hero); ONLY the home hero (.hero-pin) promotes it to a fixed full-page wallpaper. (An unscoped
   fixed rule here once wallpapered privacy/terms/faq behind their dark hero photo.) */
.hero-bg{position:absolute;inset:0;z-index:-2;background-position:center;background-size:cover;background-repeat:no-repeat}
.hero-pin .hero-bg{position:fixed;z-index:-3}
.hero-sticky::after{content:"";position:fixed;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(22,0,44,.32) 0%,rgba(14,0,30,.24) 30%,rgba(0,0,0,.34) 55%,rgba(4,0,14,.7) 100%)}
/* smaller, softer purple glow so the sky reads through (no big purple wash) */
.hero-glow{position:fixed;top:-10%;left:50%;width:120%;height:62%;z-index:-1;pointer-events:none;transform:translateX(-50%);
  background:radial-gradient(50% 50% at 50% 4%,rgba(170,80,245,.26),rgba(120,20,200,.12) 44%,transparent 72%);
  filter:blur(46px);animation:smoke 8s ease-in-out infinite}
.hero-glow::before,.hero-glow::after{content:"";position:absolute;border-radius:50%;filter:blur(58px)}
.hero-glow::before{width:46%;height:54%;left:14%;top:-4%;background:radial-gradient(circle,rgba(204,110,255,.22),transparent 66%);animation:drift1 9s ease-in-out infinite}
.hero-glow::after{width:42%;height:50%;right:13%;top:-2%;background:radial-gradient(circle,rgba(130,30,215,.2),transparent 66%);animation:drift2 12s ease-in-out infinite}
@keyframes smoke{0%,100%{transform:translateX(-50%) scale(1);opacity:.5}50%{transform:translateX(-45%) scale(1.14);opacity:.7}}
@keyframes drift1{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(11%,9%) scale(1.22)}}
@keyframes drift2{0%,100%{transform:translate(0,0) scale(1.06)}50%{transform:translate(-12%,6%) scale(.88)}}
/* white glowing locality — persistent header above the cycling panels (JS sets top + opacity) */
#heroLocality{position:absolute;left:0;right:0;top:168px;z-index:3;text-align:center;opacity:0;pointer-events:none;
  font-size:clamp(1.1rem,2.1vw,1.55rem);font-weight:600;letter-spacing:.08em;color:#fff;text-transform:uppercase;animation:locShine 3.4s ease-in-out infinite}
@keyframes locShine{0%,100%{text-shadow:0 0 8px rgba(198,132,255,.4),0 2px 14px rgba(0,0,0,.6)}50%{text-shadow:0 0 22px rgba(222,162,255,.95),0 0 36px rgba(168,85,247,.55),0 2px 14px rgba(0,0,0,.6)}}
/* panels: normal flow sections over the fixed wallpaper; fade + grow in as they enter
   (JS IntersectionObserver adds .in — same mechanic on desktop and mobile) */
.panel{position:relative;z-index:2;opacity:0;transform:translateY(40px) scale(.965);padding:8vh 6vw;
  transition:opacity .6s ease,transform .7s ease;will-change:opacity,transform}
.panel.in{opacity:1;transform:none}
.panel .wrap{max-width:1040px;margin:0 auto;width:100%}
.hero-sticky h1,.panel .ptitle{color:#fff;font-size:clamp(2.3rem,4.8vw,4rem);max-width:24ch;margin:0 auto;text-shadow:0 4px 30px rgba(0,0,0,.55);font-weight:600;text-transform:uppercase;letter-spacing:.02em}
.panel-eye{justify-content:center;color:var(--gold);margin-bottom:.5rem;font-size:.92rem}
.panel .sub{font-size:clamp(1.16rem,1.9vw,1.5rem);max-width:56ch;margin:1.2rem auto 1.5rem;color:rgba(255,255,255,.9);text-shadow:0 2px 14px rgba(0,0,0,.55)}
.pcards{display:flex;gap:1.3rem;justify-content:center;flex-wrap:wrap;margin-top:1.6rem}
.pcard{display:block;background:rgba(20,2,38,.5);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(8px);border-radius:4px;overflow:hidden;width:320px;text-align:left;transition:transform .25s}
.pcard img{width:100%;height:180px;object-fit:cover;display:block}
.pcard-b{padding:1.1rem 1.2rem;transition:background .25s}
.pcard:hover{transform:translateY(-5px)}
.pcard:hover .pcard-b{background:rgba(168,85,247,.22)}
.pcard h3{color:#fff;font-size:1.22rem;margin-bottom:.4rem}
.pcard p{color:rgba(255,255,255,.82);font-size:.94rem}
/* Why panel: team photo + checklist side by side */
.psplit{display:flex;gap:2.2rem;align-items:center;justify-content:center;margin-top:1.6rem;flex-wrap:wrap}
.pimg{width:min(380px,40vw);border-radius:6px;box-shadow:0 16px 40px rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.2)}
.psplit .pchecks{margin:0;max-width:440px}
.pchecks{max-width:560px;margin:1.4rem auto 0;text-align:left}
.checks.pchecks li{color:#fff;font-size:1.12rem}   /* compound selector beats .checks li so the text stays white */
.pchecks .ic{width:30px;height:30px}
.hero-badges{display:flex;gap:1rem 2rem;flex-wrap:wrap;justify-content:center;margin-top:1.5rem;padding-top:1.6rem;border-top:1px solid rgba(255,255,255,.16)}
.hero-badges div{display:flex;align-items:center;gap:.55em;font-weight:600;font-size:.92rem;color:rgba(255,255,255,.64);text-shadow:0 1px 10px rgba(0,0,0,.4)}
.hero-badges svg{flex:none;color:var(--violet-2);filter:drop-shadow(0 0 7px rgba(168,85,247,.95))}
/* dark brand-gradient section for Panels 2 & 3 (Our Core Services / Why Purple Rain) — the
   photo wallpaper ends after Panel 1, so this is where the transition to the purple backdrop happens */
.hero-dark{position:relative;overflow:hidden;isolation:isolate;background:var(--grad-dark);text-align:center;color:#fff}
.hero-dark .panel{padding-top:6vh}
.scroll-ind{display:none}   /* free-scroll everywhere now — no scroll prompt needed */
.scroll-ind-unused{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.7);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;display:flex;flex-direction:column;align-items:center;gap:.5rem;z-index:2;transition:opacity .3s}
body.scrolled .scroll-ind{opacity:0;pointer-events:none}
.scroll-ind .mouse{width:23px;height:36px;border:2px solid rgba(255,255,255,.6);border-radius:14px;position:relative}
.scroll-ind .mouse::after{content:"";position:absolute;top:6px;left:50%;transform:translateX(-50%);width:4px;height:7px;background:#fff;border-radius:2px;animation:scrolldot 1.6s infinite}
@keyframes scrolldot{0%{opacity:0;top:6px}40%{opacity:1}80%{opacity:0;top:17px}100%{opacity:0}}

/* page-hero for inner pages */
.page-hero{position:relative;color:#fff;isolation:isolate;padding:192px 0 70px;text-align:center}   /* clears the (now home-matched, taller) fixed header */
.page-hero .hero-bg{filter:none}
.page-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,.66))}
.page-hero h1{color:#fff;font-size:clamp(2rem,4.6vw,3.4rem);font-weight:700;text-shadow:0 3px 20px rgba(0,0,0,.4)}
.page-hero p{color:rgba(255,255,255,.92);max-width:60ch;margin:1rem auto 0;font-size:1.1rem}
.crumb{display:flex;gap:.5em;justify-content:center;margin-top:1rem;font-size:.85rem;color:rgba(255,255,255,.8)}
.crumb a:hover{color:#fff;text-decoration:underline}

/* ---------- TRUST STRIP (darker purple, own bottom line) ---------- */
.trust{background:var(--grad-dark);color:#fff;position:relative;overflow:hidden;isolation:isolate;border-bottom:2px solid rgba(168,85,247,.45)}
.trans{padding-top:clamp(36px,4.5vw,56px)}   /* tighten the gap below the trust strip */
.trust .grid{display:grid;grid-template-columns:repeat(4,1fr);position:relative;z-index:1}
.trust .item{padding:1.5rem 1.6rem;display:flex;align-items:center;justify-content:flex-start;gap:.95rem;min-height:84px;border-right:1px solid rgba(255,255,255,.09)}
.trust .item:last-child{border-right:0}
.trust svg{color:var(--violet-2);flex:none}
.trust .txt{display:flex;flex-direction:column;justify-content:center}
.trust b{font-size:1.02rem;line-height:1.2}.trust span{font-size:.82rem;color:rgba(255,255,255,.62)}

/* ---------- SERVICES ---------- */
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem}
.svc{position:relative;border-radius:var(--r);overflow:hidden;min-height:420px;display:flex;align-items:flex-end;color:#fff;box-shadow:var(--shadow);isolation:isolate}
.svc img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;transition:transform .7s}
/* neutral darkening only at the bottom for text legibility (no purple cast) */
.svc::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 38%,rgba(0,0,0,.55) 66%,rgba(0,0,0,.9))}
.svc:hover img{transform:scale(1.07)}
.svc .body{padding:2rem}
.svc h3{color:#fff;font-size:1.5rem}
.svc p{color:rgba(255,255,255,.88);margin:.5rem 0 1rem;font-size:.96rem}
.svc .more{font-weight:700;color:#fff;display:inline-flex;align-items:center;gap:.4em;border-bottom:2px solid var(--gold);padding-bottom:2px}
.svc .tag{position:absolute;top:1.2rem;left:1.2rem;z-index:1;background:rgba(0,0,0,.4);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.25);padding:.35em .9em;border-radius:2px;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}

/* ---------- WHY ---------- */
.why{background:var(--paper-2)}
.split{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:start}
.split:has(.why-img){align-items:center}   /* text+image splits stay vertically centered; text-only compares (Composite vs Wood) top-align so unequal columns line up */
.split>div:not(.why-img)>.btn{display:flex;width:fit-content;margin-left:auto;margin-right:auto}   /* centre the section CTA below its column, not left-aligned */
.why-img{position:relative;border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.why-img img{width:100%;height:100%;object-fit:cover;min-height:360px}
.why-img .stat{position:absolute;bottom:1.2rem;left:1.2rem;background:rgba(255,255,255,.96);border-radius:14px;padding:1rem 1.3rem;box-shadow:var(--shadow)}
.why-img .stat b{font-size:1.9rem;color:var(--purple);display:block;line-height:1;font-weight:700}
.why-img .stat span{font-size:.82rem;color:var(--muted);font-weight:600}
.checks{list-style:none;margin:1.7rem 0 2.1rem;display:flex;flex-direction:column;gap:1rem}
/* hanging-indent (NOT flex): a flex row makes "<b>Name</b> - text" two separate flex items and the gap
   shoves them apart. position-based keeps the bold label and its description flowing together. */
.checks li{position:relative;padding-left:2.7rem;font-weight:600;font-size:1.05rem;color:var(--text);line-height:1.5}
.checks li b{color:var(--ink)}   /* keep the bold label readable in "<b>Name</b> - description" items */
.checks .ic{position:absolute;left:0;top:.05em;width:30px;height:30px;border-radius:50%;background:var(--grad-bright);display:grid;place-items:center;box-shadow:0 6px 14px -4px rgba(139,31,214,.55)}
.checks .ic svg{color:#fff}

/* ---------- TRANSPARENCY ---------- */
.trans{background:var(--grad-dark);color:#fff;position:relative;overflow:hidden;isolation:isolate}
.trans .wrap{position:relative;z-index:1}
.trans h2.title{color:#fff}
/* flex+wrap (not grid) so a trailing partial row of cards centers itself instead of
   hugging the left edge under empty grid tracks — item count varies a lot page to page */
.tcards{display:flex;flex-wrap:wrap;justify-content:center;gap:1.4rem;margin-top:3rem}
.tcards.tcards-5{display:grid;grid-template-columns:repeat(5,1fr)}
.tcards.tcards-3{display:grid;grid-template-columns:repeat(3,1fr)}
.tcard{flex:1 1 250px;max-width:280px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:var(--r);padding:1.8rem;transition:transform .3s,background .3s}
.tcard:hover{transform:translateY(-6px);background:rgba(255,255,255,.09)}
.tcard .ic{width:52px;height:52px;border-radius:4px;background:var(--grad-bright);display:grid;place-items:center;margin-bottom:1.1rem;box-shadow:0 10px 24px -8px rgba(139,31,214,.6)}
.tcard .ic svg{color:#fff}
.tcard-photo{display:block;width:100%;height:190px;object-fit:cover;border-radius:8px;margin-bottom:1.2rem;box-shadow:0 10px 24px -14px rgba(0,0,0,.5)}
.tcards-portal{display:grid;grid-template-columns:repeat(2,1fr);gap:1.6rem;margin-top:3rem;max-width:920px;margin-left:auto;margin-right:auto}
.tcard-portal{flex:none;max-width:none}
.portal-shot{display:block;width:100%;height:auto;object-fit:contain;border-radius:8px;background:#fff;box-shadow:0 10px 24px -14px rgba(0,0,0,.5);margin-bottom:1.2rem}
@media(max-width:760px){.tcards-portal{grid-template-columns:1fr}}
.tcard h3{color:#fff;font-size:1.15rem;margin-bottom:.5rem}
.tcard p{color:rgba(255,255,255,.72);font-size:.92rem}

/* ---------- BEFORE/AFTER ---------- */
.ba-wrap{max-width:900px;margin:3rem auto 0;border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);position:relative;user-select:none;touch-action:none}
.ba{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden}
.ba img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.ba .after-img{clip-path:inset(0 0 0 50%)}
.ba .lbl{position:absolute;top:14px;padding:.3em .8em;border-radius:2px;font-size:.75rem;font-weight:700;color:#fff;background:rgba(0,0,0,.6);backdrop-filter:blur(4px);text-transform:uppercase;letter-spacing:.05em}
.ba .lbl.before{left:14px}.ba .lbl.after{right:14px}
.ba .handle{position:absolute;top:0;bottom:0;left:50%;width:4px;background:#fff;transform:translateX(-50%);box-shadow:0 0 12px rgba(0,0,0,.4)}
.ba .handle::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;background:var(--grad-bright);box-shadow:0 4px 16px rgba(0,0,0,.4);border:3px solid #fff}
.ba .handle .arrows{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;color:#fff;font-size:1.05rem;letter-spacing:-2px}

/* ---------- SUNRIVER ---------- */
.sunriver{position:relative;color:#fff;isolation:isolate}
.sunriver-bg{position:absolute;inset:0;z-index:-2;background:url('../img/sunriver.jpg') center/cover}
/* neutral dark scrim, weighted to the text side — no purple wash */
.sunriver::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,rgba(0,0,0,.78),rgba(0,0,0,.45) 55%,rgba(0,0,0,.15))}
.sunriver .box{max-width:560px}
.sunriver h2{color:#fff;font-weight:700}

/* ---------- TESTIMONIALS ---------- */
.tg{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;margin-top:3rem}
.tcard2{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:2rem;box-shadow:0 10px 30px -16px rgba(60,0,100,.22);display:flex;flex-direction:column;gap:1rem}
.stars{color:var(--gold);font-size:1.1rem;letter-spacing:2px}
.tcard2 p{font-style:italic;color:var(--text);font-size:1.02rem;flex:1}
.tcard2 .who{display:flex;align-items:center;gap:.7rem;font-weight:700}
.tcard2 .who .av{width:40px;height:40px;border-radius:50%;background:var(--grad-bright);color:#fff;display:grid;place-items:center;font-weight:800}
.tcard2 .who small{display:block;font-weight:500;color:var(--muted);font-size:.78rem}

/* ---------- CTA ---------- */
.cta{position:relative;color:#fff;text-align:center;isolation:isolate;overflow:hidden;background:var(--grad-dark)}
.cta h2{color:#fff;font-size:clamp(2rem,4.6vw,3.2rem);font-weight:700}
.cta p{max-width:54ch;margin:1.1rem auto 2rem;color:rgba(255,255,255,.9);font-size:1.1rem;position:relative;z-index:1}
.cta .wrap{position:relative;z-index:1}
.cta-row{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* ---------- FOOTER ---------- */
.footer{background:var(--plum);color:rgba(255,255,255,.72);padding:0 0 2rem;position:relative}
.footer::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--violet),var(--violet-2),var(--gold),var(--violet-2),var(--violet))}
.footer>.wrap{padding-top:4rem}
.fgrid{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr 1.3fr;gap:2.4rem}
.footer .logo{height:40px;margin-bottom:1.1rem}
.fbrand p{max-width:34ch;font-size:.92rem}
.fccb{margin-top:1rem;color:#fff;font-weight:600;font-size:.9rem}
.fcontact .fct{display:flex;align-items:center;gap:.55em;margin-bottom:.7rem;font-weight:600}
.fcontact .fct svg{color:var(--violet-2);flex:none}
.fcontact .btn{font-size:.92rem;padding:.7em 1.3em}
.flinks a:hover{color:#fff;text-decoration:underline}
.footer h4{color:#fff;font-size:.95rem;letter-spacing:.05em;text-transform:uppercase;margin-bottom:1.1rem}
.footer ul{list-style:none;display:flex;flex-direction:column;gap:.6rem}
.footer a:hover{color:#fff}
.footer .badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.footer .badges span{font-size:.72rem;border:1px solid rgba(255,255,255,.2);border-radius:2px;padding:.3em .8em}
.footer .contact a{display:flex;align-items:center;gap:.5em;margin-bottom:.5rem}
.fbar{border-top:1px solid rgba(255,255,255,.12);margin-top:3rem;padding-top:1.6rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;font-size:.85rem}
.fbar .social{display:flex;gap:1rem}
.fbar .social a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.1);display:grid;place-items:center;transition:background .3s}
.fbar .social a:hover{background:var(--violet)}

/* ---------- INNER PAGE CONTENT ---------- */
.content{padding:clamp(48px,6vw,84px) 0}
.prose{max-width:820px;margin:0 auto}
.prose>.lead{font-size:1.22rem;color:var(--muted);margin-bottom:1.6rem}
.prose h2{font-size:clamp(1.6rem,3vw,2.15rem);margin:2.3rem 0 .8rem;font-weight:700}
.prose h3{font-size:1.3rem;margin:1.7rem 0 .6rem;font-weight:700}
.prose h4{font-size:1.05rem;margin:1.3rem 0 .4rem;font-weight:700;color:var(--purple)}
.prose p{margin:.9rem 0;color:var(--text);font-size:1.06rem}
.prose ul{margin:1.1rem 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.6rem}
.prose ul li{position:relative;padding-left:1.7rem;color:var(--text)}
.prose ul li::before{content:"";position:absolute;left:0;top:.55em;width:9px;height:9px;border-radius:50%;background:var(--grad-bright)}
.prose img{border-radius:var(--r);margin:1.5rem 0;box-shadow:var(--shadow)}
.imgrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:1.6rem 0}
.imgrow img{margin:0;height:100%;object-fit:cover}
/* certification / trust chips — come to life on hover */
.prose .chips{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.5rem 0}
.prose .chip{display:inline-flex;align-items:center;gap:.55em;padding:.62em 1.1em;border:1px solid var(--line);border-radius:3px;background:#fff;font-weight:600;font-size:.95rem;color:var(--text);box-shadow:0 6px 18px -12px rgba(60,0,100,.3);transition:transform .25s,box-shadow .25s,border-color .25s,color .25s}
.prose .chip::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--grad-bright);flex:none}
.prose .chip:hover{transform:translateY(-4px);border-color:var(--violet);color:var(--purple);box-shadow:0 14px 28px -10px rgba(139,31,214,.5)}

/* gallery */
.gallery-grid{columns:3;column-gap:1rem}
.gallery-grid img{width:100%;margin:0 0 1rem;border-radius:14px;break-inside:avoid;box-shadow:var(--shadow);transition:transform .3s}
.gallery-grid img:hover{transform:scale(1.02)}
@media(max-width:900px){.gallery-grid{columns:2}}
@media(max-width:560px){.gallery-grid{columns:1}}

/* faq */
.faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:1rem}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:3px;padding:1.2rem 1.4rem;box-shadow:0 6px 20px -14px rgba(60,0,100,.2)}
.faq-item summary{font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:1rem;color:var(--ink)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";color:var(--violet);font-size:1.4rem;line-height:1}
.faq-item[open] summary::after{content:"\2013"}
.faq-item p{margin-top:.8rem;color:var(--muted)}

/* contact */
.contact-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:3rem;max-width:1000px;margin:0 auto;align-items:start}
.cform{display:flex;flex-direction:column;gap:1rem}
.cform label{font-weight:600;font-size:.9rem;margin-bottom:-.5rem}
.cform input,.cform textarea{width:100%;padding:.9rem 1.1rem;border:1.5px solid var(--line);border-radius:3px;font:inherit;background:#fff}
.cform input:focus,.cform textarea:focus{outline:none;border-color:var(--violet)}
.cinfo .row{display:flex;gap:.8rem;align-items:flex-start;margin-bottom:1.3rem}
.cinfo .row .ic{width:42px;height:42px;border-radius:12px;background:var(--paper-2);display:grid;place-items:center;color:var(--purple);flex:none}
.cinfo .row b{display:block}
@media(max-width:760px){.contact-grid{grid-template-columns:1fr}}

/* blog */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem}
.bcard{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:0 10px 30px -18px rgba(60,0,100,.2);transition:transform .3s}
.bcard:hover{transform:translateY(-6px)}
.bcard img{height:200px;width:100%;object-fit:cover}
.bcard .b{padding:1.4rem}
.bcard h3{font-size:1.15rem;margin-bottom:.5rem}
.bcard p{color:var(--muted);font-size:.92rem}
@media(max-width:900px){.blog-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.blog-grid{grid-template-columns:1fr}}
/* richer blog cards: category eyebrow, excerpt, read-time meta */
.bcard{display:flex;flex-direction:column}
.bcard .b{display:flex;flex-direction:column;flex:1}
.bcard .bcat{display:inline-block;font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--violet);margin-bottom:.45rem}
.bcard h3{font-size:1.12rem;line-height:1.28;color:var(--ink)}
.bcard p{line-height:1.5;flex:1}
.bcard .bmeta{display:flex;align-items:center;gap:.5rem;margin-top:.9rem;font-size:.8rem;color:var(--muted);font-weight:700}
.bcard .bmeta .more{color:var(--violet);margin-left:auto}
/* featured post: image + body side-by-side */
.bfeature{display:grid;grid-template-columns:1.15fr 1fr;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:0 18px 46px -24px rgba(60,0,100,.34);transition:transform .3s}
.bfeature:hover{transform:translateY(-5px)}
.bfeature .bf-img{position:relative;min-height:320px;background-size:cover;background-position:center}
.bfeature .bf-img .bcat{position:absolute;top:1rem;left:1rem;background:var(--violet);color:#fff;padding:.35rem .7rem;border-radius:6px;font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.bfeature .bf-body{padding:2.4rem;display:flex;flex-direction:column;justify-content:center}
.bfeature .bf-body .feye{font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);margin-bottom:.6rem}
.bfeature .bf-body h2{font-size:clamp(1.5rem,3vw,2rem);line-height:1.15;color:var(--ink);margin-bottom:.7rem}
.bfeature .bf-body p{color:var(--muted);font-size:1.02rem;line-height:1.55;margin-bottom:1.2rem}
@media(max-width:760px){.bfeature{grid-template-columns:1fr}.bfeature .bf-img{min-height:210px}.bfeature .bf-body{padding:1.6rem}}

/* ---------- HOME SCROLL CHOREOGRAPHY (JS-driven) ---------- */
/* morphing logo: huge & page-centered -> flies to header top-center. JS animates a single TRANSFORM
   (translate + scale) — GPU-composited, so the dock is smooth (no per-frame width/top reflow jank). */
#flyLogo{position:fixed;left:50%;top:0;transform:translate(-50%,30vh);transform-origin:50% 0;z-index:96;width:min(1320px,95vw);line-height:0;will-change:transform}
/* subtle, STATIC light halo behind the wordmark — just enough to lift the darker-purple off the dark sky (no fog) */
#flyLogo::before{content:"";position:absolute;inset:-6% -2%;z-index:-1;pointer-events:none;
  background:radial-gradient(54% 68% at 50% 50%,rgba(255,255,255,.12),rgba(190,150,255,.07) 46%,transparent 68%);filter:blur(18px)}
#flyLogo img{width:100%;height:auto;display:block;opacity:.97;
  filter:drop-shadow(0 0 6px rgba(255,255,255,.26)) drop-shadow(0 2px 10px rgba(0,0,0,.5))}   /* static subtle glow — no pulsing/movement */
/* metallic shine sweeping across the logo (masked to the letter shapes) — the ONLY logo movement */
#flyLogo::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
  background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.65) 48%,rgba(255,255,255,.95) 50%,rgba(255,255,255,.65) 52%,transparent 60%);
  background-size:260% 100%;mix-blend-mode:screen;
  -webkit-mask:url(../img/logo-banner-color.svg) center/contain no-repeat;mask:url(../img/logo-banner-color.svg) center/contain no-repeat;
  animation:logoShine 12.5s ease-in-out infinite}
@keyframes logoShine{0%{background-position:175% 0}48%,100%{background-position:-75% 0}}
body:not(.home) #flyLogo{display:none}
/* ---- intro hero: 3 banner layers (mark / PURPLE RAIN / CONSTRUCTION LLC) animated separately — DESKTOP + MOBILE ---- */
#flyHero{display:none;transform-origin:0 0}
body:not(.home) #flyHero{display:none}
html.js body.home #flyLogo{display:none}                /* the animated #flyHero replaces the static banner everywhere */
html.js body.home #flyHero{display:block;position:fixed;z-index:96;line-height:0;pointer-events:none;will-change:transform;backface-visibility:hidden;opacity:0;transition:opacity .5s ease}
html.js body.home #flyHero.ready{opacity:1}   /* revealed only after JS sizes+positions it — kills the first-paint flash/jump; transition gives a gentle fade-in instead of a hard snap */
#flyHero .ly{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;will-change:transform,opacity,filter}
#flyHero .markp,#flyHero .markr{transform-origin:7.7% 50%;animation:markIn .9s ease-out both}  /* pivot = monogram centre; no glow — matches the docked logo */
#flyHero .rain{transform-origin:60% 32%}                /* pivot = the "PURPLE RAIN" line centre */
#flyHero .constr{transform-origin:60% 81%}              /* pivot = the "CONSTRUCTION LLC" line centre */
#flyHero .rain,#flyHero .constr{opacity:0}              /* text stays hidden until the JS reveal (no flash) */
@keyframes markIn{from{opacity:0}to{opacity:1}}         /* the mark just "loads in" on first paint */
/* ---- dynamic shimmer sweeping across the intro monogram (desktop + mobile) — two masked bands so BOTH halves
   of the two-tone mark catch the light: screen brightens the purple R, multiply tints the white P. The sweep is
   TUNED to the mark's narrow x-band (it sits in the left ~15% of the wide banner box) so the glint actually
   crosses the logo instead of wasting its travel over empty space. Fades the instant you scroll. ---- */
/* a single SPECULAR band (dark -> bright -> dark) overlaid with NORMAL alpha — no blend-mode dependency,
   so it reads reliably on BOTH halves: the white core glints the purple R, the dark shoulders ripple the white P. */
#flyHero::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:3;
  background:linear-gradient(100deg,transparent 39%,rgba(28,6,52,.34) 45%,rgba(255,255,255,.95) 50%,rgba(212,176,255,.8) 53%,rgba(28,6,52,.34) 57%,transparent 63%);
  background-size:260% 100%;transition:opacity .4s ease;
  -webkit-mask:url(../img/logo-mark.svg) center/contain no-repeat;mask:url(../img/logo-mark.svg) center/contain no-repeat;
  animation:markShine 4s linear -1.3s infinite}                                           /* slower, graceful sweep; negative delay = glints right away */
body.scrolled #flyHero::after{opacity:0;animation-play-state:paused}
body.lite #flyHero::after{display:none}                                                  /* low-power fallback: drop the effect */
body.lite .hero-glow,body.lite .hero-glow::before,body.lite .hero-glow::after{animation:none}   /* low-power: stop the blurred glow drift, keep it static */
@media(prefers-reduced-motion:reduce){#flyHero::after{display:none}}
@keyframes markShine{from{background-position:100% 0}to{background-position:40% 0}}        /* continuous sweep across the mark's x-band */
/* locality under the big logo (grouped & page-centered); fixed + JS-positioned; fades on scroll */
#heroLocality{position:fixed;left:50%;top:48vh;transform:translateX(-50%);z-index:96;text-align:center;width:max-content;max-width:92vw;
  font-size:clamp(1.25rem,2.7vw,2rem);font-weight:600;letter-spacing:.06em;color:var(--gold);text-transform:uppercase;text-shadow:0 2px 18px rgba(0,0,0,.6);pointer-events:none}
body:not(.home) #heroLocality{display:none}
/* locality that re-appears above the services (deck) section */
.svc-locality{display:block;font-size:clamp(.92rem,1.7vw,1.15rem);font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--violet);margin-bottom:1.1rem}

/* ---------- INTRO SPLASH (desktop home): the big R shows alone for ~1s, then the site
   cross-fades in as the splash fades out. Gated SYNCHRONOUSLY by an inline <script> that
   sets html.splash-on BEFORE first paint (never retro-applied) — weak devices, data-saver,
   reduced-motion, and mobile skip it entirely and just get the page. FAIL-OPEN: a pure-CSS
   fallback animation removes the overlay at 2.8s even if every line of JS dies. ---------- */
#splash{display:none}
html.splash-on body.home #splash{display:block;position:fixed;inset:0;z-index:220;background:var(--plum);
  transition:opacity .6s ease;animation:splashAway .8s ease 2.8s forwards}
#splash.off{opacity:0;pointer-events:none}
/* banner-ratio box positioned so the MARK (at 7.7% of the banner canvas) sits dead-center —
   same geometry as the old intro (--w = heroW: mark width 58vw capped by height) */
#splash .sp-box{--w:min(377.8vw,311.9vh);position:absolute;width:var(--w);height:calc(var(--w)*.1798);
  left:calc(50vw - var(--w)*.077);top:calc(50vh - var(--w)*.0899)}
#splash .sp-box img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
@keyframes splashAway{to{opacity:0;visibility:hidden}}

/* ---------- REVEAL ---------- */
.js .reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}

/* ---------- RESPONSIVE ---------- */
@media(max-width:980px){
  .localbar{display:none}        /* mobile: locality lives in the bottom bar instead */
  .hbar-inner{min-height:80px}
  .hlogo img{height:54px}
  .trust .grid{grid-template-columns:repeat(2,1fr)}
  .trust .item:nth-child(2){border-right:0}
  .svc-grid{grid-template-columns:1fr 1fr}
  .tcards.tcards-5{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr}
  .tg{grid-template-columns:1fr}
}
@media(max-width:640px){
  .wrap{width:90vw}
  .svc-grid,.tcards.tcards-5,.trust .grid{grid-template-columns:1fr}
  .trust .item{border-right:0;border-bottom:1px solid rgba(255,255,255,.09);justify-content:center;text-align:left}
  /* ---- MOBILE hero overrides (the free-scroll structure itself now lives in the BASE rules) ---- */
  .hero-glow{top:-8%;height:48%}
  .hero-sticky::after{background:linear-gradient(180deg,rgba(14,0,32,.3),rgba(8,0,20,.5) 55%,rgba(4,0,14,.66))}
  .hero-sticky::before{height:calc(var(--headerH,124px) + 8px)}   /* content sits right under the header */
  .panel{padding:7vh 6vw}
  /* panel 0 = the primary hero content. Shows immediately with a gentle one-shot fade (no scroll gate),
     pulled UP so the headline sits forward on the first screen. */
  .panel#panel0{opacity:1;transform:none;animation:heroPanelIn .7s ease-out .05s both;padding-top:2.5vh}
  @keyframes heroPanelIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
  /* eyebrow: "FAMILY-OWNED" and "CENTRAL OREGON" each get their OWN centered line on phones
     (no mid-phrase wrap); the dot separator and side dashes hide in the stacked layout */
  #panel0 .panel-eye{flex-direction:column;gap:.25em}
  #panel0 .panel-eye .eysep{display:none}
  #panel0 .panel-eye::before,#panel0 .panel-eye::after{display:none}
  /* bigger section content (per request) */
  .panel .ptitle,.hero-sticky h1{font-size:clamp(1.7rem,7.4vw,2.45rem)}
  .panel .sub{font-size:1.02rem;margin:.7rem auto 1rem}
  .panel-eye{font-size:.82rem;margin-bottom:.45rem}
  .hero-badges{gap:.5rem 1.4rem;margin-top:1rem;padding-top:1rem}
  .hero-badges div{font-size:.85rem}
  /* phones: each service card = larger photo + title */
  .pcards{flex-direction:column;align-items:center;gap:.8rem;margin-top:1.1rem}
  .pcard{width:min(400px,90vw)}
  .pcard img{height:160px}
  .pcard-b{padding:.7rem 1rem}
  .pcard h3{font-size:1.1rem;margin-bottom:0}
  .pcard p{display:none}
  /* Why panel: bigger photo + checklist */
  .psplit{flex-direction:column;gap:1rem}
  .pimg{width:min(280px,66vw)}
  .psplit .pchecks{max-width:90vw}
  .pchecks{margin-top:.8rem}
  .pchecks li{font-size:1.02rem;gap:.7rem;margin-bottom:.2rem}
  .pchecks .ic{width:28px;height:28px}
  .section{padding:48px 0}
  .page-hero{padding:158px 0 52px}
  .fgrid{grid-template-columns:1fr 1fr}
  .fbar{flex-direction:column;align-items:flex-start}
}
@media(max-width:430px){.fgrid{grid-template-columns:1fr}}
/* reduced-motion: panels appear immediately + the mark doesn't auto-animate in */
@media(max-width:640px) and (prefers-reduced-motion:reduce){.panel,.panel#panel0{opacity:1;transform:none;transition:none;animation:none}#flyHero .markp,#flyHero .markr{animation:none}#flyHero::before,#flyHero::after{display:none}}

/* ============ ABOUT PAGE ============ */
.about-top{position:relative;min-height:90vh;overflow:hidden;isolation:isolate;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;text-align:center;padding:0 5vw 13vh}
.ah-bg{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:50% 20%;
  -webkit-mask:radial-gradient(150% 120% at 50% 38%,#000 60%,transparent 100%);mask:radial-gradient(150% 120% at 50% 38%,#000 60%,transparent 100%)}
@media(max-width:640px){.ah-bg{background-position:50% 18%}}   /* reverted to the original framing (full frame; crew right, build-site left) */
/* neutral DARK scrim (no purple tint on the crew): a bit at top for the logo, CLEAR over the heads, dark at the foot behind the headline */
.about-top::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,2,18,.7) 0%,rgba(8,2,18,.14) 22%,rgba(8,2,18,.1) 44%,rgba(8,2,18,.58) 70%,rgba(10,2,22,.96) 100%)}
.ah-content{position:relative;max-width:780px}
.about-top h1{color:#fff;font-size:clamp(2.5rem,7vw,4.8rem);font-weight:600;text-transform:uppercase;letter-spacing:.01em;line-height:1.02;text-shadow:0 4px 30px rgba(0,0,0,.65)}
.about-top .ah-content p{margin:1.3rem auto 0;max-width:52ch;font-size:clamp(1.04rem,1.6vw,1.3rem);color:rgba(255,255,255,.92);text-shadow:0 2px 16px rgba(0,0,0,.7)}
.ah-cue{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:.35rem;font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.82);z-index:1}
.ah-cue svg{animation:cueBob 1.8s ease-in-out infinite}
@keyframes cueBob{0%,100%{transform:translateY(0);opacity:.7}50%{transform:translateY(5px);opacity:1}}
/* Meet the Team cards */
.team-sec{background:var(--grad-dark);color:#fff;position:relative;overflow:hidden;isolation:isolate}
.team-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:2.6rem;position:relative;z-index:1}
.tmcard{position:relative;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:1.7rem;overflow:hidden;transition:transform .3s,border-color .3s,box-shadow .3s}
.tmcard::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--accent),var(--accent2))}
.tmcard:hover{transform:translateY(-6px);border-color:color-mix(in srgb,var(--accent) 55%,transparent);box-shadow:0 24px 50px -22px var(--accent)}
.tm-head{display:flex;align-items:center;gap:1rem;margin-bottom:1.1rem}
.tm-av{flex:none;width:92px;height:92px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:1.7rem;color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent2));box-shadow:0 8px 22px -6px var(--accent);overflow:hidden;position:relative}
.tm-av img{width:100%;height:100%;object-fit:cover;object-position:center 40%;display:block}
.tm-av.photo{background:#0d0518;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 80%,transparent),0 12px 26px -10px rgba(0,0,0,.65)}
.tm-av img[data-egg]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}   /* press-and-hold reveals the egg, not the iOS save menu */
.tm-head h3{color:#fff;font-size:1.3rem;line-height:1.1}
.tm-role{display:inline-block;margin-top:.35rem;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);background:color-mix(in srgb,var(--accent) 16%,transparent);padding:.25em .7em;border-radius:4px}
.tmcard p{color:rgba(255,255,255,.78);font-size:.95rem;margin-bottom:1rem}
.tmcard blockquote{margin:0;padding-left:1rem;border-left:3px solid var(--accent);color:rgba(255,255,255,.92);font-style:italic;font-size:.95rem}
/* Our Story image */
.story-sec .split{align-items:center}
.story-img{position:relative;border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.story-img img{width:100%;height:100%;object-fit:cover;min-height:400px;display:block}
.story-tag{position:absolute;left:1rem;bottom:1rem;background:var(--grad-bright);color:#fff;font-weight:700;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;padding:.5em 1em;border-radius:4px;box-shadow:0 10px 24px -8px rgba(139,31,214,.6)}
/* Credentials — flex+wrap (not grid) so a trailing partial row centers instead of hugging
   the left edge; item count varies page to page (2, 3, 4, 6, 7, 8...) */
.creds{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-top:2.6rem}
.cred{flex:1 1 230px;max-width:265px;position:relative;text-align:center;padding:1.8rem 1rem 1.4rem;border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,#fff,#f7f1fd);box-shadow:0 10px 26px -18px rgba(60,0,100,.35);overflow:hidden;transition:transform .25s,border-color .25s,box-shadow .25s}
.cred::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--grad-bright)}
.cred-ic{display:grid;place-items:center;width:50px;height:50px;margin:0 auto 1rem;border-radius:13px;color:#fff;background:linear-gradient(135deg,var(--violet-2),var(--purple));box-shadow:0 9px 20px -7px rgba(139,31,214,.6)}
.cred-ic svg{width:27px;height:27px}
.cred:hover{transform:translateY(-5px);border-color:var(--violet);box-shadow:0 18px 34px -14px rgba(139,31,214,.5)}
.cred:hover .cred-ic{transform:translateY(-2px) rotate(-3deg)}
.cred .cred-ic{transition:transform .25s}
.cred b{display:block;color:var(--purple);font-size:1rem;line-height:1.25}
.cred span:not(.cred-ic){display:block;margin-top:.4rem;color:var(--muted);font-size:.84rem;font-weight:600}   /* :not so it doesn't clobber the icon span */
/* Reviews reuse .creds but have only 2 cards and no .cred-ic — give them larger centered cards instead of stranding them left in a 4-up grid */
.creds:not(:has(.cred-ic)) .cred{flex-basis:360px;max-width:400px}
@media(max-width:680px){.creds:not(:has(.cred-ic)) .cred{max-width:440px}}
@media(max-width:640px){
  .about-top{min-height:86vh;padding-top:16vh}
  .team-grid{grid-template-columns:1fr;margin-top:1.8rem}
  .story-img img{min-height:300px}
  .creds{gap:.7rem;margin-top:1.8rem}
  .cred{padding:1.1rem .7rem}
  .cred b{font-size:.92rem}
}

/* ============ CONTACT PAGE ============ */
.contact-hero{position:relative;overflow:hidden;isolation:isolate;color:#fff;text-align:center;padding:192px 5vw 66px}
.ch-bg{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center 42%}
.contact-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(12,2,28,.88),rgba(10,2,22,.78) 55%,rgba(10,2,22,.94))}
.contact-hero h1{color:#fff;font-size:clamp(2.2rem,4.8vw,3.6rem);font-weight:600;text-transform:uppercase;letter-spacing:.01em;margin-top:.4rem}
.contact-hero p{max-width:56ch;margin:1.1rem auto 0;font-size:clamp(1.02rem,1.5vw,1.22rem);color:rgba(255,255,255,.88)}
.contact-main{background:var(--paper)}
.contact-grid{grid-template-columns:1.25fr .9fr;align-items:start}
.cform-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:2rem;box-shadow:0 24px 60px -34px rgba(60,0,100,.4)}
.cform-card h2{font-size:1.7rem;color:var(--ink)}
.cform-sub{color:var(--muted);margin:.3rem 0 1.4rem}
.frow{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.cform select{width:100%;padding:.9rem 1.1rem;border:1.5px solid var(--line);border-radius:3px;font:inherit;background:#fff;color:var(--text)}
.cform select:focus{outline:none;border-color:var(--violet)}
.cform-fine{font-size:.8rem;color:var(--muted);text-align:center;margin-top:.3rem}
.cpanel{display:flex;flex-direction:column;gap:.9rem}
.cmethod{display:flex;align-items:center;gap:1rem;background:var(--ink);color:#fff;border:1px solid rgba(168,85,247,.25);border-radius:12px;padding:1.1rem 1.2rem;transition:transform .25s,border-color .25s,box-shadow .25s}
a.cmethod:hover{transform:translateY(-3px);border-color:var(--violet-2);box-shadow:0 16px 34px -18px rgba(139,31,214,.7)}
.cm-ic{flex:none;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--grad-bright);color:#fff;box-shadow:0 8px 18px -6px rgba(139,31,214,.6)}
.cmethod b{display:block;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;color:var(--violet-2);margin-bottom:.15rem}
.cmethod span:last-child{font-weight:600;font-size:1.02rem}
.cpanel-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .4rem 0;color:var(--muted);font-weight:600;font-size:.9rem}
.cpanel-foot .social{display:flex;gap:.6rem}
.cpanel-foot .social a{width:36px;height:36px;border-radius:50%;background:var(--paper-2);display:grid;place-items:center;color:var(--purple);transition:background .25s,color .25s}
.cpanel-foot .social a:hover{background:var(--violet);color:#fff}
.steps{display:flex;flex-wrap:wrap;justify-content:center;gap:1.5rem;margin-top:3rem}
.step{flex:0 1 calc((100% - 3rem) / 3);position:relative;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:2.4rem 1.6rem 1.6rem;transition:transform .3s,border-color .3s}
.steps.steps-4 .step{flex-basis:calc((100% - 4.5rem) / 4);padding-top:1.6rem}
@media(max-width:900px){.steps.steps-4 .step{flex-basis:calc((100% - 1.5rem) / 2)}}
@media(max-width:640px){.steps.steps-4 .step{flex-basis:100%}}
.step:hover{transform:translateY(-5px);border-color:rgba(168,85,247,.4)}
.step-n{position:absolute;top:-22px;left:1.6rem;width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-weight:800;font-size:1.3rem;color:#fff;background:var(--grad-bright);box-shadow:0 10px 24px -8px rgba(139,31,214,.6)}
.step h3{color:#fff;font-size:1.2rem;margin-bottom:.4rem}
.step p{color:rgba(255,255,255,.74);font-size:.95rem}
@media(max-width:640px){.frow{grid-template-columns:1fr}.steps{gap:2.2rem}.steps .step{flex-basis:100%}.cform-card{padding:1.4rem}.contact-hero{padding:148px 5vw 50px}}

/* ============ FOOTER SOCIAL ICONS (so they don't render as bare 'f'/'ig' text) ============ */
.footer .social{display:flex;gap:.6rem;margin-top:1rem}
.footer .social a{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.1);display:grid;place-items:center;font-weight:700;font-size:.85rem;color:#fff;transition:background .25s,transform .25s}
.footer .social a:hover{background:var(--violet);transform:translateY(-2px)}

/* ============ MOBILE: bigger header logo + dark blurred backdrop + centered layout ============ */
@media(max-width:640px){
  /* header logo fills the bar (small side padding); backdrop is a dark blur, not the see-through photo */
  .hbar-inner{min-height:auto;padding:16px 0}
  .hlogo{width:88vw;max-width:420px;margin:0 auto;max-height:none}
  .hlogo img{height:auto;width:100%}
  body:not(.home) .site-header{background:rgba(12,2,26,.9);backdrop-filter:blur(16px) saturate(1.3);-webkit-backdrop-filter:blur(16px) saturate(1.3)}
  body:not(.home) .site-header::before{display:none}
  body.home .site-header{background:rgba(12,2,26,calc(.16 + var(--p,0)*.76));backdrop-filter:blur(calc(6px + var(--p,0)*16px)) saturate(calc(1 + var(--p,0)*.35));-webkit-backdrop-filter:blur(calc(6px + var(--p,0)*16px)) saturate(calc(1 + var(--p,0)*.35))}

  /* ABOUT: center everything */
  .story-sec .split>div,.story-sec .reveal{text-align:center}
  .story-sec .eyebrow{justify-content:center}
  .story-sec .btn{margin-left:auto;margin-right:auto}
  .tcard{text-align:center}
  .tcard .ic{margin-left:auto;margin-right:auto}
  .tmcard{text-align:center}
  .tm-head{flex-direction:column;gap:.55rem}
  .tmcard blockquote{border-left:0;border-top:3px solid var(--accent);padding-left:0;padding-top:.7rem}

  /* CONTACT: stack the grid so the info cards aren't off-screen, form on top */
  .contact-grid{grid-template-columns:1fr}
  .cpanel{margin-top:1.2rem}

  /* FOOTER: centered on mobile */
  .fgrid{grid-template-columns:1fr;text-align:center}
  .footer .fgrid>div{display:flex;flex-direction:column;align-items:center}
  .fbrand p{max-width:40ch}
  .footer .logo{margin-left:auto;margin-right:auto}
  .footer .badges{justify-content:center}
  .footer ul{align-items:center}
  .fcontact .fct{justify-content:center}
  .fcontact .btn{margin-left:auto;margin-right:auto}
  .footer .social{justify-content:center}
  .fbar{flex-direction:column;align-items:center;text-align:center;gap:.6rem}
}

/* ============ GALLERY PAGE ============ */
.gal-hero{position:relative;overflow:hidden;isolation:isolate;color:#fff;text-align:center;padding:192px 5vw 60px}
.gh-bg{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center}
.gal-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(12,2,28,.86),rgba(10,2,22,.8) 58%,rgba(10,2,22,.95))}
.gal-hero h1{color:#fff;font-size:clamp(2.3rem,5vw,3.8rem);font-weight:600;text-transform:uppercase;letter-spacing:.01em;margin-top:.4rem}
.gal-hero p{max-width:60ch;margin:1.1rem auto 0;font-size:clamp(1.02rem,1.5vw,1.2rem);color:rgba(255,255,255,.9)}
.gal-nav{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin-top:1.9rem}
.gal-nav a{font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#fff;border:1px solid rgba(255,255,255,.32);border-radius:999px;padding:.55em 1.2em;transition:background .25s,border-color .25s,transform .2s}
.gal-nav a:hover{background:var(--violet);border-color:var(--violet);transform:translateY(-2px)}
/* before/after section */
.ba-sec{background:var(--grad-dark);color:#fff;position:relative;overflow:hidden;isolation:isolate}
.ba-sec h2.title,.team-sec h2.title{color:#fff}   /* h2.title defaults to INK — invisible on these dark sections */
.ba-sec .lead,.team-sec .lead{color:rgba(255,255,255,.78)}
.ba-grid{display:grid;grid-template-columns:1fr;justify-items:center;gap:1.8rem;margin-top:2.6rem;position:relative;z-index:1}
.ba-card{margin:0;width:100%;max-width:900px}
.ba-card .ba-wrap{max-width:none;margin:0}
.ba-card figcaption{margin-top:1rem;text-align:center}
.ba-card figcaption b{display:block;color:#fff;font-size:1.15rem}
.ba-card figcaption span{color:rgba(255,255,255,.66);font-size:.92rem}
/* category photo grid (overrides the old columns masonry) — flex+wrap (not grid) so a
   trailing partial row of photos centers instead of hugging the left edge under empty tracks */
.gallery-grid{columns:auto;display:flex;flex-wrap:wrap;justify-content:center;gap:1.1rem;margin-top:2.4rem}
.gphoto{position:relative;display:block;flex:1 1 248px;max-width:300px;aspect-ratio:4/3;border:0;padding:0;border-radius:12px;overflow:hidden;cursor:pointer;box-shadow:var(--shadow);background:var(--ink)}
.gphoto img{width:100%;height:100%;object-fit:cover;display:block;margin:0;border-radius:0;transition:transform .5s ease}
.gphoto:hover img{transform:scale(1.08)}
.gphoto .gcap{position:absolute;left:0;right:0;bottom:0;padding:1.5rem .9rem .8rem;text-align:left;color:#fff;font-weight:700;font-size:.95rem;background:linear-gradient(180deg,transparent,rgba(8,0,20,.82));transform:translateY(8px);opacity:.92;transition:transform .3s,opacity .3s}
.gphoto:hover .gcap{transform:none;opacity:1}
.gphoto::after{content:"\2922";position:absolute;top:.7rem;right:.7rem;width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:rgba(8,0,20,.5);backdrop-filter:blur(4px);color:#fff;font-size:1rem;opacity:0;transform:scale(.85);transition:opacity .25s,transform .25s}
.gphoto:hover::after{opacity:1;transform:none}
/* lightbox */
.lightbox{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:4vw;background:rgba(6,0,16,.92);backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.lightbox.open{opacity:1;visibility:visible}
.lb-stage{display:flex;flex-direction:column;align-items:center;gap:.9rem;max-width:94vw}
.lightbox img{max-width:94vw;max-height:80vh;border-radius:10px;box-shadow:0 30px 80px rgba(0,0,0,.6);transform:scale(.96);transition:transform .3s}
.lightbox.open img{transform:none}
.lb-cap{color:#fff;text-align:center;font-size:.95rem;background:rgba(8,0,20,.55);padding:.55rem 1.2rem;border-radius:999px;max-width:90vw}
.lb-cap:empty{display:none}
.lb-close{position:absolute;top:18px;right:24px;width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:1.9rem;line-height:1;cursor:pointer;transition:background .2s;z-index:2}
.lb-close:hover{background:var(--violet)}
.lb-prev,.lb-next{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:2rem;line-height:1;cursor:pointer;transition:background .2s;display:grid;place-items:center;z-index:2}
.lb-prev[hidden],.lb-next[hidden]{display:none}
.lb-prev{left:18px}.lb-next{right:18px}
.lb-prev:hover,.lb-next:hover{background:var(--violet)}
@media(max-width:760px){.ba-grid{grid-template-columns:1fr}}
@media(max-width:640px){.gallery-grid{gap:.7rem}.gphoto{flex-basis:140px}.gal-hero{padding:148px 5vw 48px}.gphoto .gcap{font-size:.8rem;padding:1.1rem .6rem .6rem}.lb-prev,.lb-next{width:42px;height:42px;font-size:1.5rem}.lb-prev{left:6px}.lb-next{right:6px}}

/* ---- .tcard / .step are dark-section components (white text). On a LIGHT (non-.trans) section, adapt them so text stays visible ---- */
.section:not(.trans) .tcard,.section:not(.trans) .step{background:linear-gradient(180deg,#fff,#f7f1fd);border-color:var(--line);box-shadow:0 10px 26px -18px rgba(60,0,100,.35)}
.section:not(.trans) .tcard:hover,.section:not(.trans) .step:hover{background:#fff;border-color:var(--violet)}
.section:not(.trans) .tcard h3,.section:not(.trans) .step h3{color:var(--ink)}
.section:not(.trans) .tcard p,.section:not(.trans) .step p{color:var(--muted)}

/* ---------- PREVIEW-ONLY change highlighting (activated by main.js ONLY on Netlify
   preview/branch deploy hostnames — inert on the live site) ---------- */
.preview-changed{outline:3px solid #A855F7;outline-offset:5px;border-radius:6px;
  box-shadow:0 0 26px rgba(168,85,247,.5);position:relative}
.preview-changed::after{content:"UPDATED";position:absolute;top:-11px;right:10px;
  background:#6D00A3;color:#fff;font-size:10px;font-weight:800;letter-spacing:.1em;
  padding:2px 9px;border-radius:3px;z-index:6}
