/* North Ridge Surveying: dark mountain theme (loaded last on every page).
   Every section is night-dark; layered ridgelines divide sections; faint gold level dots twinkle site-wide. */
:root{
  --deep:#030A16; --deep-2:#06111f; --deep-3:#0a1729;
  --gold-l:#D19A48;
  --ridge-a:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0 180V112l70-30 60 22 90-58 70 40 80-34 60 26 95-66 85 52 70-22 80 38 90-56 75 30 70-18 95 52 80-36 70 24 90-50 70 32V180Z' fill='%230b1a2e'/%3E%3Cpath d='M0 112l70-30 60 22 90-58 70 40 80-34 60 26 95-66 85 52 70-22 80 38 90-56 75 30 70-18 95 52 80-36 70 24 90-50 70 32' fill='none' stroke='%23D19A48' stroke-opacity='.28' stroke-width='1.2'/%3E%3Cpath d='M0 180v-36l90-26 70 18 110-44 90 34 100-28 80 22 120-40 90 30 110-22 100 26 90-30 90 18 110-20 90 22V180Z' fill='%23071322'/%3E%3Cpath d='M0 180v-14l120-16 140 10 160-22 150 16 170-14 150 12 180-18 160 14 210-6V180Z' fill='%23030A16'/%3E%3C/svg%3E");
}
body{background:var(--deep)}

/* ---------- all light sections go dark ---------- */
.section--light,.sheet,.stagewrap,.article{
  --line-l:rgba(255,255,255,.1); --muted-l:rgba(236,239,244,.64); --gold-l:#D9A85A;
  background:var(--deep-2); color:var(--text-d); position:relative}
.section--dark{background:var(--deep)}
.section--light .eyebrow,.eyebrow--l{color:var(--gold)}
.section--light .h2,.sheet h2,.sheet h3,.article h2{color:#fff}
.section--light .lede,.sheet p,.blk p{color:var(--muted-l)}

/* faint contour texture behind body sections */
.section--light::before,.sheet::before,.stagewrap::before,.article::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.06;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400' viewBox='0 0 600 400'%3E%3Cg fill='none' stroke='%23D19A48' stroke-width='1'%3E%3Cpath d='M-20 60c80-30 140 20 220-6s140-40 220-4 140 10 200-12'/%3E%3Cpath d='M-20 110c90-26 150 26 230 0s150-36 230 0 130 6 180-14'/%3E%3Cpath d='M-20 170c70-20 160 30 240 4s140-30 220 6 140 4 180-10'/%3E%3Cpath d='M-20 236c80-24 150 22 230-2s150-34 230 2 130 8 180-8'/%3E%3Cpath d='M-20 300c90-20 150 24 230 0s140-28 220 6 140 6 190-12'/%3E%3Cpath d='M-20 360c80-22 160 20 240-2s140-30 220 4 130 8 180-6'/%3E%3C/g%3E%3C/svg%3E") 0 0/600px 400px}
.section--light > .wrap,.sheet > .wrap,.stagewrap > .wrap,.article > .wrap{position:relative;z-index:1}

/* ridgeline divider at the foot of dark heroes and at the top of the footer */
.phero::before,.footer::before,.cta::after{content:"";position:absolute;left:0;right:0;height:clamp(60px,9vw,140px);pointer-events:none;background:var(--ridge-a) bottom/100% 100% no-repeat}
.phero::before{bottom:-1px;z-index:1;filter:brightness(1.0)}
.phero{padding-bottom:clamp(110px,13vw,190px)}
.phero .wrap{z-index:2}
.footer{position:relative;background:var(--deep);padding-top:clamp(110px,12vw,170px)}
.footer::before{top:-1px;background-color:var(--deep-2)}
.footer__grid,.footer__base{position:relative;z-index:1}
.cta{background:var(--deep)}
.cta::after{bottom:-1px;z-index:1}
.ridge::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:clamp(50px,7vw,110px);z-index:1;background:var(--ridge-a) bottom/100% 100% no-repeat}

/* home sections */
.svc{color:#fff}
.svc:hover{background:rgba(255,255,255,.04)}
.svc__n,.svc i,.steps span,.why__list span{color:var(--gold-l)}
.why__list span{border-color:var(--gold-l)}
.steps li{border-top-color:rgba(209,154,72,.6)}
.form{background:rgba(255,255,255,.035);border-color:var(--line-d);box-shadow:0 30px 70px -30px rgba(0,0,0,.7)}
.form label{color:#fff}
.form input,.form select,.form textarea{background:rgba(0,6,15,.6);color:#fff;border-color:rgba(255,255,255,.14)}
.form select option,.form select optgroup{background:#06111f;color:#fff}
.form__note,.form__note a{color:var(--muted-d)}
.form__note a{color:var(--gold-2)}

/* inner page components on dark */
.card{background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));border-color:rgba(255,255,255,.09);color:#fff}
.card:hover{border-color:rgba(209,154,72,.55);box-shadow:0 26px 60px -30px rgba(0,0,0,.8)}
.card p{color:var(--muted-l)}
.card small,.card i{color:var(--gold)}
.card::after{border-color:rgba(209,154,72,.22);box-shadow:0 0 0 18px rgba(209,154,72,.04),0 0 0 36px rgba(209,154,72,.025)}
.pegs li,.explain > div,.suburbs li{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.09);color:var(--text-d)}
.xlist li{border-bottom-color:rgba(255,255,255,.1)}
.xlist li::before,.xlist li::after{background:var(--gold)}
.steps2::before{border-top-color:var(--gold)}
.steps2 li::before{background:var(--deep-2);border-color:var(--gold)}
.steps2 li:last-child::before{background:var(--gold)}
.steps2 small{color:var(--gold)}
.toc p{color:var(--gold)}
.toc a{color:var(--muted-l);border-left-color:rgba(255,255,255,.1)}
.toc a:hover,.toc a.is-on{color:#fff;border-color:var(--gold)}
.faqs,.faqs details{border-color:rgba(255,255,255,.1)}
.faqs summary{color:#fff}
.faqs summary::after{background:linear-gradient(var(--gold),var(--gold)) center/14px 2px no-repeat,linear-gradient(var(--gold),var(--gold)) center/2px 14px no-repeat}
.for li{background:rgba(209,154,72,.14);color:var(--gold-2);border:1px solid rgba(209,154,72,.3)}
.stage{border-bottom-color:rgba(255,255,255,.08)}
.stage__head p{color:var(--muted-l)}
.prose p,.prose li{color:rgba(236,239,244,.82)}
.after li{border-color:rgba(255,255,255,.1)}
.after b{border-color:var(--gold);color:var(--gold)}
.about-lock{background:var(--deep)}
.phero{background:radial-gradient(120% 90% at 80% 0%,#0c1c36 0%,#04101f 55%,var(--deep) 100%)}
.stagewrap .stage__n{opacity:.95}

/* ---------- gold level dots (dots.js), deliberately faint ---------- */
.lvl-dots{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.lvl-dots i{position:absolute;width:3px;height:3px;margin:-1.5px;border-radius:50%;background:#fff3d6;opacity:0;
  box-shadow:0 0 6px 2px rgba(240,200,120,.55),0 0 14px 4px rgba(209,154,72,.18);animation:lvlTw var(--d,7s) ease-in-out var(--del,0s) infinite}
@keyframes lvlTw{0%,100%{opacity:0;transform:scale(.6)}40%{opacity:var(--o,.55);transform:scale(1)}60%{opacity:calc(var(--o,.55)*.8);transform:scale(.9)}}
@media (max-width:700px){.lvl-dots i{width:4px;height:4px;margin:-2px;box-shadow:0 0 8px 3px rgba(240,200,120,.65),0 0 18px 6px rgba(209,154,72,.22)}}
@media (prefers-reduced-motion:reduce){.lvl-dots i{animation:none;opacity:.25}}

/* ---------- landing page (home): dark, mountain backdrop ---------- */
.home main{padding-top:0}
.home .nav{background:transparent;border-bottom-color:transparent;backdrop-filter:none;transition:background .35s,border-color .35s}
.home .nav.is-scrolled{background:rgba(3,10,22,.86);backdrop-filter:blur(14px);border-bottom-color:var(--line-d)}
.hero2{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:flex-end;overflow:hidden;background:var(--deep);padding:calc(var(--nav-h) + 40px) 0 clamp(120px,16vh,190px)}
.hero2__bg{position:absolute;left:-4%;right:-4%;top:0;height:82%;background:url(../img/ridge-banner.webp) 46% 30%/cover no-repeat;transform-origin:50% 30%;animation:heroDrift 38s ease-in-out infinite alternate;filter:saturate(.9) contrast(1.05);
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,#000 55%,transparent 100%)}
@keyframes heroDrift{from{transform:scale(1.04) translateX(-1%)}to{transform:scale(1.14) translateX(1.5%)}}
.hero2::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(3,10,22,.9) 0%,rgba(3,10,22,.55) 45%,rgba(3,10,22,.1) 80%),linear-gradient(180deg,rgba(3,10,22,.55) 0%,rgba(3,10,22,0) 25%,rgba(3,10,22,.2) 55%,var(--deep) 92%)}
.hero2::before{content:"";position:absolute;left:0;right:0;bottom:-1px;height:clamp(70px,10vw,150px);z-index:2;pointer-events:none;background:var(--ridge-a) bottom/100% 100% no-repeat}
.hero2 .phero__topo{top:auto;bottom:0;height:60%;opacity:.8;z-index:1;-webkit-mask-image:linear-gradient(180deg,transparent,#000 40%);mask-image:linear-gradient(180deg,transparent,#000 40%)}
.hero2__in{position:relative;z-index:3}
.hero2__t{max-width:15ch;font-size:clamp(44px,6.6vw,100px);font-weight:300;letter-spacing:-.035em;line-height:.98}
.hero2 .phero__topo .lvl circle.glow{r:9px}.hero2 .phero__topo .lvl circle.core{r:2.4px}.hero2 .phero__topo text{font-size:9px;opacity:.7}
.hero2 .phero__lede{max-width:540px}
.hero2__stats{display:flex;flex-wrap:wrap;gap:clamp(18px,3vw,44px);margin:38px 0 0;padding:0}
.hero2__stats div{padding-left:16px;border-left:1px solid rgba(209,154,72,.45)}
.hero2__stats dt{font-size:clamp(20px,2vw,28px);font-weight:400}
.hero2__stats dd{margin:2px 0 0;font-size:13px;color:var(--muted-d)}
.hero2__scroll{position:absolute;z-index:3;left:50%;bottom:clamp(30px,5vh,56px);width:26px;height:42px;margin-left:-13px;border:1.5px solid rgba(240,200,120,.6);border-radius:14px}
.hero2__scroll span{position:absolute;left:50%;top:8px;width:4px;height:8px;margin-left:-2px;border-radius:2px;background:var(--gold-2);animation:scrollDot 1.8s ease-in-out infinite}
@keyframes scrollDot{0%{opacity:0;transform:translateY(0)}30%{opacity:1}100%{opacity:0;transform:translateY(14px)}}
.hstages{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:50px}
.hstage{padding:26px 22px 18px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.01));position:relative;overflow:hidden}
.hstage::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--gold-grad);opacity:.8}
.hstage__n{font-size:54px;font-weight:200;line-height:1;background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.hstage h3{font-size:21px;font-weight:500;margin:12px 0 8px;color:#fff}
.hstage__b{font-size:14px;color:var(--muted-l);margin-bottom:14px}
.hstage a{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid rgba(255,255,255,.07);font-size:15px;color:var(--text-d);transition:color .2s,padding .3s var(--ease)}
.hstage a i{font-style:normal;color:var(--gold);opacity:.6;transition:opacity .2s,transform .3s var(--ease)}
.hstage a:hover{color:#fff;padding-left:4px}.hstage a:hover i{opacity:1;transform:translateX(3px)}
.hchips{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.hchip{padding:10px 16px;border-radius:40px;border:1px solid rgba(209,154,72,.35);background:rgba(209,154,72,.07);font-size:15px;transition:background .2s,border-color .2s}
.hchip:hover{background:rgba(209,154,72,.18);border-color:var(--gold)}
.home .cta{margin-top:0}
@media (max-width:980px){.hstages{grid-template-columns:1fr 1fr}}
@media (max-width:700px){
  .hstages{grid-template-columns:1fr}
  .hero2{padding-bottom:110px}
  .hero2__bg{height:70%;background-position:40% 30%}
  .hero2::after{background:linear-gradient(180deg,rgba(3,10,22,.3) 0%,rgba(3,10,22,.5) 45%,rgba(3,10,22,.85) 70%,var(--deep) 92%)}
  .hero2__t{font-size:42px}
  .hero2__stats{gap:14px}.hero2__stats div{padding-left:10px}
  .hero2__scroll{display:none}
}
@media (prefers-reduced-motion:reduce){.hero2__bg{animation:none}}
