/* =========================================================
   United Revival Automotive
   Palette + type carried over from the original site:
     orange  #db7110   fonts: Contrail One / Share / Raleway
   ========================================================= */

:root{
  --orange:      #db7110;
  --orange-lt:   #f2871f;
  --orange-dk:   #b85a09;

  --ink:         #0c0c0c;
  --graphite:    #1b1b1b;
  --graphite-2:  #262626;
  --steel:       #3a3a3a;

  --silver:      #c9ccd1;
  --muted:       #7c7c7c;
  --line:        #e2e2e2;

  --paper:       #ffffff;
  --paper-alt:   #f5f5f5;

  --nav-h:       92px;
  --wrap:        1200px;

  --f-display: 'Contrail One', 'Share', Impact, sans-serif;
  --f-head:    'Share', 'Contrail One', Georgia, serif;
  --f-body:    'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; scroll-padding-top:var(--nav-h); }

body{
  margin:0;
  font-family:var(--f-body);
  font-size:17px;
  line-height:1.7;
  color:var(--graphite);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 24px; }

/* ---------------- buttons ---------------- */
.btn{
  display:inline-block;
  font-family:var(--f-body);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  padding:16px 34px;
  border:2px solid transparent;
  cursor:pointer;
  transition:background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.btn--primary{ background:var(--orange); color:#fff; border-color:var(--orange); }
.btn--primary:hover{ background:var(--orange-dk); border-color:var(--orange-dk); transform:translateY(-2px); }

.btn--ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.75); }
.btn--ghost:hover{ background:#fff; color:var(--ink); }

/* =========================================================
   TOP NAV
   ========================================================= */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:60;
  height:var(--nav-h);
  background:linear-gradient(180deg, rgba(10,10,10,.82), rgba(10,10,10,0));
  transition:background .3s ease, height .3s ease, box-shadow .3s ease;
}
.nav.is-stuck{
  height:74px;
  background:var(--ink);
  box-shadow:0 2px 18px rgba(0,0,0,.45);
}

.nav__inner{
  height:100%;
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  gap:24px;
}

/* brand */
.brand{ display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.brand__mark{ height:56px; width:auto; transition:height .3s ease; }
.nav.is-stuck .brand__mark{ height:44px; }
.brand__text{
  font-family:var(--f-display);
  font-size:1.65rem;
  line-height:1;
  color:#fff;
  letter-spacing:.01em;
  white-space:nowrap;
}
.brand__accent{ color:var(--orange); }

/* links */
.nav__links{
  flex:1 1 auto;
  display:flex;
  justify-content:center;
  gap:30px;
}
.nav__links a{
  font-size:.74rem;
  font-weight:600;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:#fff;
  padding:6px 0;
  border-bottom:2px solid transparent;
  transition:color .2s ease, border-color .2s ease;
}
.nav__links a:hover{ color:var(--orange-lt); border-bottom-color:var(--orange); }

/* cta */
.nav__cta{
  flex:0 0 auto;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#fff;
  padding:13px 26px;
  border:2px solid rgba(255,255,255,.6);
  transition:background .22s ease, border-color .22s ease, color .22s ease;
}
.nav__cta:hover{ background:var(--orange); border-color:var(--orange); }

/* burger */
.nav__burger{
  display:none;
  width:44px; height:38px;
  background:none; border:0; cursor:pointer;
  flex-direction:column; justify-content:center; gap:6px;
  padding:0;
}
.nav__burger span{ display:block; height:2px; background:#fff; transition:transform .25s ease, opacity .25s ease; }
.nav__burger.is-open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity:0; }
.nav__burger.is-open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* =========================================================
   HERO — night screen-print poster with living garage bay
   ========================================================= */
.nhero{
  position:relative;
  min-height:100vh;
  min-height:100svh;
  overflow:hidden;
  background:#191E32;
}

/* 16:9 stage that covers the viewport; the scene image and the bay
   video share its coordinate space so the video clip stays aligned */
.nhero__stage{
  position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:max(100vw, 177.78vh);
  height:max(100vh, 56.25vw);
}

/* print grain */
.nhero::before{
  content:""; position:absolute; inset:0; z-index:5; pointer-events:none;
  opacity:.05;
  background-image:radial-gradient(rgba(244,239,230,.8) .5px, transparent .6px);
  background-size:5px 5px;
}

/* drifting stars behind the building */
.nhero__stars{ position:absolute; inset:0; z-index:1; }
.nhero__star{
  position:absolute; width:3px; height:3px; border-radius:50%;
  background:#F1ECE1; animation:nheroStarDrift linear infinite;
}
.nhero__star--big{ width:5px; height:5px; box-shadow:0 0 6px rgba(241,236,225,.8); }
@keyframes nheroStarDrift{ from{ transform:translateX(0); } to{ transform:translateX(105vw); } }

/* one brighter shooting star every 10s */
.nhero__shooter{
  position:absolute; top:8%; left:-12%; width:130px; height:2.5px; border-radius:2px;
  background:linear-gradient(90deg, transparent, #fff 65%, #fff);
  box-shadow:0 0 8px rgba(255,255,255,.85);
  transform:rotate(9deg); opacity:0;
  animation:nheroShoot 10s linear infinite; animation-delay:2.5s;
}
@keyframes nheroShoot{
  0%   { opacity:0; transform:translate(0,0) rotate(9deg); }
  1%   { opacity:1; }
  7%   { opacity:1; transform:translate(65vw,10vw) rotate(9deg); }
  8.5% { opacity:0; transform:translate(72vw,11vw) rotate(9deg); }
  100% { opacity:0; transform:translate(72vw,11vw) rotate(9deg); }
}

/* static night scene (sky knocked out so stars pass behind it) */
.nhero__scene{ position:absolute; inset:0; z-index:2; }
.nhero__scene img{ width:100%; height:100%; display:block; }

/* the living bay: looped video clipped to the garage opening */
.nhero__bay{
  position:absolute; inset:0; z-index:3;
  clip-path:inset(28% 54% 13.5% 17.8%);
  opacity:0; transition:opacity 1.2s ease;
}
.nhero__bay.is-on{ opacity:1; }
.nhero__bay video{ width:100%; height:100%; display:block; }

/* warm breathing glow spilling from the bay */
.nhero__glow{
  position:absolute; z-index:4; width:30%; height:40%; left:14%; bottom:2%;
  border-radius:50%; pointer-events:none; mix-blend-mode:screen;
  background:radial-gradient(closest-side, rgba(232,134,46,.22), transparent 70%);
  animation:nheroBreathe 7s ease-in-out infinite;
}
@keyframes nheroBreathe{ 0%,100%{ opacity:.5 } 50%{ opacity:1 } }

/* dark wash on the left so the type sits on the building */
.nhero__scrim{
  position:absolute; inset:0; z-index:6; pointer-events:none;
  background:linear-gradient(97deg, rgba(15,17,28,.8) 0%, rgba(15,17,28,.5) 30%, rgba(15,17,28,.15) 48%, transparent 62%);
}

.nhero__content{
  position:relative; z-index:7;
  max-width:1240px; margin:0 auto;
  padding:calc(var(--nav-h) + 10vh) 24px 64px;
}
.nhero__eyebrow{
  color:var(--orange-lt);
  font-weight:800; letter-spacing:.3em; font-size:.8rem;
  text-transform:uppercase; margin:0 0 14px;
}
.nhero__title{
  font-family:var(--f-display);
  font-weight:400;
  color:#fff;
  margin:0 0 18px;
  line-height:1.03;
  max-width:12ch;
  font-size:clamp(2.6rem, 5.4vw, 5.2rem);
  text-shadow:0 2px 20px rgba(10,12,20,.5);
}
.nhero__sub{
  font-size:clamp(1.02rem, 1.6vw, 1.25rem);
  font-weight:300;
  color:#e8e4d8;
  margin:0 0 28px;
  max-width:30rem;
  text-shadow:0 1px 12px rgba(10,12,20,.6);
}
.nhero__sub b{ color:#fff; font-weight:600; }

.nhero__btn{ box-shadow:0 12px 34px rgba(10,12,20,.4); }

.nhero__call{
  margin-top:22px;
  color:#d9d5c9;
}
.nhero__call span{ display:block; font-size:1.02rem; font-weight:300; }
.nhero__call a{
  display:inline-block; margin-top:4px;
  font-family:var(--f-display);
  font-size:clamp(1.7rem, 3.4vw, 2.5rem);
  color:#fff;
  transition:color .2s ease;
}
.nhero__call a:hover{ color:var(--orange-lt); }

/* portrait: recenter the stage so the glowing bay stays in frame
   (stage is 177.78vh wide; the bay's center sits ~27% in = 48vh) */
@media (orientation:portrait){
  .nhero__stage{ left:calc(50vw + 40.9vh); }
  .nhero__content{ padding-top:calc(var(--nav-h) + 3vh); }
  .nhero__scrim{
    background:linear-gradient(180deg, rgba(15,17,28,.85) 0%, rgba(15,17,28,.6) 42%, rgba(15,17,28,.2) 66%, transparent 80%);
  }
}


/* =========================================================
   SHARED SECTION FURNITURE
   ========================================================= */
.section{ padding:96px 0; }
.section--alt{ background:var(--paper-alt); }
.section--dark{ background:var(--graphite); color:#fff; }

.h-section{
  font-family:var(--f-head);
  font-style:italic;
  font-weight:700;
  font-size:clamp(1.9rem, 4vw, 3rem);
  line-height:1.15;
  color:var(--orange);
  text-align:center;
  margin:0 0 58px;
}
.h-section--light{ color:var(--orange-lt); }



.note{ color:var(--muted); font-size:.94rem; margin:0 0 28px; }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trustbar{ background:var(--ink); color:#fff; padding:34px 0; }
.trust b .count{
  display:inline;
  font:inherit; color:inherit;
  letter-spacing:inherit; text-transform:none;
  font-variant-numeric:tabular-nums;
}
.trust{ opacity:.25; transform:translateY(14px); transition:opacity .5s ease, transform .5s ease; }
.trustbar__grid.is-live .trust{ opacity:1; transform:none; }
.trustbar__grid.is-live .trust:nth-child(2){ transition-delay:.08s; }
.trustbar__grid.is-live .trust:nth-child(3){ transition-delay:.16s; }
.trustbar__grid.is-live .trust:nth-child(4){ transition-delay:.24s; }
@media (prefers-reduced-motion:reduce){
  .trust{ opacity:1; transform:none; transition:none; }
}
.trustbar__grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
  text-align:center;
}
.trust b{
  display:block;
  font-family:var(--f-display);
  font-size:1.5rem;
  color:var(--orange-lt);
  letter-spacing:.02em;
}
.trust span{
  display:block;
  font-size:.76rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.62);
  margin-top:4px;
}

/* =========================================================
   CARDS
   ========================================================= */
.cards{ display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; }
.card-slot{ display:flex; }
.card-slot .card{ flex:1; }

/* -- desktop: scroll-scrubbed stack/split + bobble, driven per-frame by JS -- */
@media (min-width:1025px){
  .card-slot{ will-change:transform; }
  .card-slot:nth-child(1){ z-index:1; }
  .card-slot:nth-child(2){ z-index:3; }
  .card-slot:nth-child(3){ z-index:2; }
}

/* below 3-column: no stack, just a soft rise-in (still replays) */
@media (max-width:1024px){
  .card-slot{ opacity:.3; transform:translateY(18px); transition:opacity .55s ease, transform .55s ease; }
  .cards.is-split .card-slot{ opacity:1; transform:none; }
  .cards.is-split .card-slot:nth-child(2){ transition-delay:.08s; }
  .cards.is-split .card-slot:nth-child(3){ transition-delay:.16s; }
  .cards.is-split .card{ box-shadow:0 22px 48px rgba(0,0,0,.12); }
}

@media (prefers-reduced-motion:reduce){
  .card-slot{ opacity:1 !important; transform:none !important; transition:none !important; animation:none !important; }
}

.card{
  background:#fff;
  border:1px solid var(--line);
  display:flex;
  flex-direction:column;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 42px rgba(0,0,0,.13);
  border-color:var(--orange);
}
.card__img{ aspect-ratio:4/3; overflow:hidden; background:var(--graphite); }
.card__img img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.card:hover .card__img img{ transform:scale(1.06); }

.card__body{ padding:28px 26px 32px; }
.card__body h3{
  font-family:var(--f-head);
  font-style:italic;
  font-weight:700;
  font-size:1.35rem;
  color:var(--ink);
  margin:0 0 10px;
}
.card__body p{ margin:0; color:#4a4a4a; font-size:.97rem; }

/* =========================================================
   PROMISE (dark photo band)
   ========================================================= */
.promise{ position:relative; padding:110px 0; color:#fff; overflow:hidden; background:var(--ink); }
.promise__media{ position:absolute; inset:0; }
.promise__media img{ width:100%; height:100%; object-fit:cover; filter:grayscale(.5); }
.promise__scrim{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(10,10,10,.9), rgba(10,10,10,.82));
}
.promise__inner{ position:relative; z-index:2; text-align:center; max-width:900px; }
.promise__inner p{
  font-weight:300;
  font-size:1.06rem;
  color:rgba(255,255,255,.9);
  margin:0 0 34px;
}

/* =========================================================
   GALLERY — marquee filmstrip over relief-tool depth layers
   ========================================================= */
.mgal{
  position:relative; overflow:hidden; padding:110px 0 120px;
  background:radial-gradient(120% 90% at 50% 0%, #fafaf8 0%, #f2f1ed 55%, #e9e7e1 100%);
}
.mgal .h-section{ position:relative; z-index:2; margin-bottom:10px; }
.mgal__sub{
  text-align:center; color:var(--muted); margin:0 0 54px; position:relative; z-index:2;
  font-size:.85rem; letter-spacing:.18em; text-transform:uppercase;
}
.mgal__hint{
  text-align:center; color:#9b978e; margin:30px 0 0; position:relative; z-index:2;
  font-size:.78rem; letter-spacing:.16em; text-transform:uppercase;
}

/* depth-layered relief pieces (shaded 3D renders lying flat, multiply-blended) */
.mghost{ position:absolute; pointer-events:none; will-change:transform; mix-blend-mode:multiply; }
.mghost img{ width:100%; display:block; }
.mghost--far  { width:620px; left:-150px; top:-30px;   opacity:.22; filter:blur(7px);   animation:mgDriftA 26s ease-in-out infinite; }
.mghost--far2 { width:500px; right:-120px; bottom:-70px; opacity:.24; filter:blur(6px); animation:mgDriftB 31s ease-in-out infinite; }
.mghost--mid  { width:300px; right:9%;   top:5%;      opacity:.34; filter:blur(1.2px); animation:mgDriftB 22s ease-in-out infinite; }
.mghost--near { width:200px; left:6%;    bottom:7%;   opacity:.5;  animation:mgDriftA 18s ease-in-out infinite; }
.mghost--near2{ width:150px; right:26%;  bottom:4%;   opacity:.38; animation:mgDriftB 24s ease-in-out infinite reverse; }
.mghost--spin img{ animation:mgSpin 90s linear infinite; }
@keyframes mgDriftA{ 0%,100%{ transform:translate(0,0) rotate(0deg); } 50%{ transform:translate(14px,-18px) rotate(2.5deg); } }
@keyframes mgDriftB{ 0%,100%{ transform:translate(0,0) rotate(0deg); } 50%{ transform:translate(-16px,12px) rotate(-3deg); } }
@keyframes mgSpin{ to{ transform:rotate(360deg); } }

/* the strip */
.mgal__mq{ overflow:hidden; position:relative; z-index:2; padding:26px 0 34px; }
.mgal__mq::before,.mgal__mq::after{
  content:""; position:absolute; top:0; bottom:0; width:140px; z-index:3; pointer-events:none;
}
.mgal__mq::before{ left:0; background:linear-gradient(90deg, #f2f1ed, transparent); }
.mgal__mq::after { right:0; background:linear-gradient(-90deg, #f0efe9, transparent); }
.mgal__track{ display:flex; gap:26px; width:max-content; will-change:transform; }
.mgal__track img{
  height:300px; width:480px; object-fit:cover; flex:none; border-radius:8px; cursor:zoom-in;
  border:2px solid rgba(219,113,16,.55);
  box-shadow:0 4px 10px rgba(12,12,12,.08), 0 18px 38px rgba(12,12,12,.18);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.mgal__track img:hover{
  transform:translateY(-8px) scale(1.02);
  border-color:var(--orange);
  box-shadow:0 8px 14px rgba(12,12,12,.1), 0 28px 52px rgba(12,12,12,.24);
}
/* prev / next arrows */
.mgal__nav{ display:flex; justify-content:center; gap:14px; margin-top:26px; position:relative; z-index:2; }
.mgal__arrow{
  width:48px; height:48px; border-radius:50%; border:2px solid var(--orange);
  background:#fff; color:var(--orange); font-size:1.15rem; cursor:pointer;
  display:grid; place-items:center;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.mgal__arrow:hover{ background:var(--orange); color:#fff; transform:translateY(-2px); }
.mgal__arrow svg{ width:20px; height:20px; }

@media (max-width:640px){
  .mgal__track img{ height:210px; width:330px; }
  .mgal__track{ gap:16px; animation-duration:115s; }
  .mghost--far{ width:420px; } .mghost--far2{ width:340px; }
}
@media (prefers-reduced-motion:reduce){
  .mgal__track, .mghost, .mghost--spin img{ animation:none !important; }
  .mgal__mq{ overflow-x:auto; }
  .mgal__nav{ display:none; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }

.contact__info h3{
  font-family:var(--f-head);
  font-style:italic;
  font-weight:700;
  font-size:1.6rem;
  margin:0 0 12px;
  color:var(--ink);
}
.contact__info h4{
  font-size:.78rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
  margin:32px 0 10px;
}
.contact__addr{ margin:0 0 8px; font-size:1.1rem; }
.contact__phone{
  font-family:var(--f-display);
  font-size:2rem;
  color:var(--orange);
  transition:color .2s ease;
}
.contact__phone:hover{ color:var(--orange-dk); }

.hours{ width:100%; max-width:380px; border-collapse:collapse; margin-bottom:32px; }
.hours th,.hours td{ text-align:left; padding:10px 0; border-bottom:1px solid var(--line); font-weight:400; }
.hours th{ color:var(--muted); font-size:.9rem; letter-spacing:.05em; }

.contact__form{ background:#fff; border:1px solid var(--line); padding:34px 32px 38px; }
.contact__message p{ margin:0 0 22px; color:var(--muted, #55524b); line-height:1.65; }
.contact__fb{ display:inline-flex; align-items:center; gap:10px; }
.contact__fb svg{ flex:none; }
.contact__alt{ margin-top:22px !important; font-size:.95rem; }
.contact__alt a{ color:var(--orange); font-weight:600; }
.contact__form h3{
  font-family:var(--f-head);
  font-style:italic;
  font-weight:700;
  font-size:1.4rem;
  margin:0 0 22px;
  color:var(--ink);
}
.contact__form label{
  display:block;
  font-size:.76rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:18px;
}
.contact__form input,
.contact__form textarea{
  display:block;
  width:100%;
  margin-top:8px;
  font-family:var(--f-body);
  font-size:1rem;
  color:var(--ink);
  background:var(--paper-alt);
  border:1px solid var(--line);
  padding:13px 14px;
  text-transform:none;
  letter-spacing:normal;
  transition:border-color .2s ease, background .2s ease;
}
.contact__form input:focus,
.contact__form textarea:focus{
  outline:none;
  border-color:var(--orange);
  background:#fff;
}
.contact__form textarea{ resize:vertical; }
.req{ color:var(--orange); }

.form__status{ margin:16px 0 0; font-size:.92rem; min-height:1.2em; }
.form__status.is-err{ color:#c0392b; }
.form__status.is-ok{ color:#217a3c; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{ background:var(--ink); color:#fff; padding:52px 0 42px; }
.footer__inner{ display:flex; flex-direction:column; align-items:center; gap:22px; text-align:center; }
.brand--footer .brand__mark{ height:62px; }
.footer__links{ display:flex; flex-wrap:wrap; justify-content:center; gap:26px; }
.footer__links a{
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:rgba(255,255,255,.75);
  transition:color .2s ease;
}
.footer__links a:hover{ color:var(--orange-lt); }
.footer__legal{ margin:0; font-size:.82rem; color:rgba(255,255,255,.45); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox{
  position:fixed; inset:0; z-index:100;
  background:rgba(6,6,6,.94);
  display:flex; align-items:center; justify-content:center;
  padding:5vh 5vw;
}
.lightbox[hidden]{ display:none; }
.lightbox img{ max-width:100%; max-height:90vh; object-fit:contain; }
.lightbox__close{
  position:absolute; top:18px; right:26px;
  background:none; border:0; cursor:pointer;
  color:#fff; font-size:2.6rem; line-height:1;
}
.lightbox__close:hover{ color:var(--orange-lt); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1024px){
  .cards{ grid-template-columns:1fr 1fr; }
  .nav__links{ gap:20px; }
  .nav__links a{ font-size:.68rem; letter-spacing:.1em; }
}

@media (max-width:860px){
  :root{ --nav-h:74px; }

  .nav__burger{ display:flex; }
  .nav__cta{ display:none; }

  .nav__links{
    position:absolute;
    top:100%; left:0; right:0;
    flex-direction:column;
    align-items:center;
    gap:0;
    background:var(--ink);
    max-height:0;
    overflow:hidden;
    transition:max-height .32s ease;
  }
  .nav__links.is-open{ max-height:420px; }
  .nav__links a{
    width:100%;
    text-align:center;
    padding:16px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .nav__links a:hover{ border-bottom-color:rgba(255,255,255,.08); background:var(--graphite-2); }

  .brand__text{ font-size:1.3rem; }
  .brand__mark{ height:46px; }


  .trustbar__grid{ grid-template-columns:1fr 1fr; gap:26px; }

  .cards{ grid-template-columns:1fr; }
  .contact{ grid-template-columns:1fr; gap:44px; }

  .section{ padding:70px 0; }
}

@media (max-width:560px){
  body{ font-size:16px; }

  .nhero__content{ padding-bottom:60px; }
  .btn{ padding:15px 26px; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ transition-duration:.01ms !important; animation-duration:.01ms !important; }
}

/* =========================================================
   WHO WE ARE  (copy carried over from the original
   "Who we are" page)
   ========================================================= */
.lead{
  text-align:center;
  max-width:820px;
  margin:-30px auto 46px;
  font-size:1.06rem;
  font-weight:300;
  color:#4a4a4a;
}
.lead--accent{
  font-family:var(--f-head);
  font-style:italic;
  font-weight:700;
  font-size:clamp(1.15rem, 2.2vw, 1.5rem);
  color:var(--ink);
}

.values{ display:grid; grid-template-columns:repeat(3, 1fr); gap:30px; }
.value{
  background:#fff;
  border-top:3px solid var(--orange);
  padding:32px 28px 34px;
  box-shadow:0 2px 14px rgba(0,0,0,.05);
}
.value h3{
  font-family:var(--f-head);
  font-style:italic;
  font-weight:700;
  font-size:1.3rem;
  color:var(--ink);
  margin:0 0 12px;
}
.value p{ margin:0; color:#4a4a4a; font-size:.97rem; }

/* contact buttons row */
.contact__actions{ display:flex; flex-wrap:wrap; gap:14px; }
.btn--outline{
  background:transparent;
  color:var(--ink);
  border-color:var(--ink);
}
.btn--outline:hover{ background:var(--ink); color:#fff; }

@media (max-width:1024px){
  .values{ grid-template-columns:1fr 1fr; }
}
@media (max-width:860px){
  .values{ grid-template-columns:1fr; }
  .lead{ margin-top:-20px; }
}

/* =========================================================
   REVIEWS  (slider band, same pattern as the Don & John site)
   ========================================================= */
.reviews{
  position:relative;
  padding:96px 0;
  color:#fff;
  background:var(--graphite);
  overflow:hidden;
}
.reviews__media{ position:absolute; inset:0; }
.reviews__media img{ width:100%; height:100%; object-fit:cover; filter:grayscale(.6); }
.reviews__scrim{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(12,12,12,.93), rgba(12,12,12,.88));
}
.reviews__inner{ position:relative; z-index:2; }

/* head: label + arrows */
.reviews__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  margin-bottom:26px;
}
.reviews__label{
  font-size:.74rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--orange-lt);
}
.reviews__nav{ display:flex; align-items:center; gap:14px; }
.reviews__arrow{
  width:44px; height:44px;
  display:grid; place-items:center;
  background:transparent;
  color:#fff;
  border:2px solid rgba(255,255,255,.32);
  border-radius:50%;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}
.reviews__arrow svg{ width:20px; height:20px; }
.reviews__arrow:hover{ background:var(--orange); border-color:var(--orange); }
.reviews__arrow:focus-visible{ outline:2px solid var(--orange-lt); outline-offset:3px; }
.reviews__count{
  font-family:var(--f-display);
  font-size:1.05rem;
  color:rgba(255,255,255,.65);
  min-width:52px;
  text-align:center;
}

/* slider */
.reviews__slider{ overflow:hidden; }
.reviews__track{
  display:flex;
  align-items:center;
  transition:transform .45s cubic-bezier(.4,0,.2,1);
}
.reviews__slide{
  flex:0 0 100%;
  margin:0;
  padding:40px 0 8px;
  text-align:center;
}

.stars{ display:flex; justify-content:center; gap:5px; margin-bottom:22px; }
.stars svg{ width:22px; height:22px; color:var(--orange); }

.reviews__quote{
  margin:0 auto 22px;
  max-width:820px;
  font-size:clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight:300;
  line-height:1.55;
  color:#fff;
}
.reviews__by{
  font-size:.8rem;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:rgba(255,255,255,.6);
}
.reviews__by b{
  display:block;
  font-family:var(--f-head);
  font-style:italic;
  font-size:1.15rem;
  letter-spacing:.01em;
  text-transform:none;
  color:var(--orange-lt);
  margin-bottom:5px;
}

/* sources row */
.reviews__sources{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:14px 30px;
  margin-top:46px;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,.12);
}
.reviews__note{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.84rem;
  color:rgba(255,255,255,.62);
}
.reviews__check{ width:17px; height:17px; color:var(--orange); flex:0 0 auto; }
.reviews__source{
  font-size:.74rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.28);
  padding-bottom:3px;
  transition:color .2s ease, border-color .2s ease;
}
.reviews__source:hover{ color:var(--orange-lt); border-bottom-color:var(--orange); }

@media (max-width:860px){
  .reviews{ padding:70px 0; }
  .reviews__head{ justify-content:center; }
  .reviews__slide{ padding-top:28px; }
  .reviews__sources{ gap:12px 20px; }
}

/* =========================================================
   SERVICES  (icon card grid, note + rates + callout)
   ========================================================= */
.svc-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

.svc{
  background:#fff;
  border:1px solid var(--line);
  padding:30px 28px 32px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.svc:hover{
  transform:translateY(-6px);
  border-color:var(--orange);
  box-shadow:0 18px 40px rgba(0,0,0,.11);
}

/* frosted glass chip holding a poster-style icon */
.svc__ic{
  display:inline-grid;
  place-items:center;
  width:78px; height:78px;
  padding:15px;
  background:linear-gradient(150deg, rgba(255,255,255,.72), rgba(246,234,216,.38));
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border:1px solid rgba(219,113,16,.28);
  border-radius:16px;
  box-shadow:
    0 14px 28px rgba(12,12,12,.16),
    0 4px 9px rgba(12,12,12,.08),
    inset 0 1px 1px rgba(255,255,255,.95),
    inset 0 -8px 14px rgba(219,113,16,.09);
  margin-bottom:22px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.svc__ic img{ width:100%; height:100%; object-fit:contain; }
.svc:hover .svc__ic{
  transform:translateY(-4px);
  box-shadow:
    0 20px 36px rgba(12,12,12,.2),
    0 6px 12px rgba(12,12,12,.1),
    inset 0 1px 1px rgba(255,255,255,.95),
    inset 0 -8px 14px rgba(219,113,16,.12);
}

.svc h3{
  font-family:var(--f-head);
  font-style:italic;
  font-weight:700;
  font-size:1.28rem;
  color:var(--ink);
  margin:0 0 10px;
}
.svc p{
  margin:0 0 20px;
  font-size:.95rem;
  color:#4a4a4a;
}
.svc__price{
  margin-top:auto;
  font-family:var(--f-display);
  font-size:1.02rem;
  letter-spacing:.02em;
  color:var(--orange);
  border:1px solid rgba(219,113,16,.42);
  padding:7px 16px;
  white-space:nowrap;
}

/* rate strip */
.rates{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:24px;
}
.rate{
  background:var(--ink);
  color:#fff;
  padding:30px 30px 32px;
}
.rate__label{
  display:block;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
  margin-bottom:10px;
}
.rate__figure{
  display:block;
  font-family:var(--f-display);
  font-size:clamp(1.9rem, 3.6vw, 2.5rem);
  color:var(--orange-lt);
  line-height:1.1;
  margin-bottom:12px;
}
.rate__figure i{
  font-style:normal;
  font-family:var(--f-body);
  font-size:.92rem;
  font-weight:400;
  letter-spacing:.06em;
  color:rgba(255,255,255,.6);
}
.rate p{
  margin:0;
  font-size:.93rem;
  font-weight:300;
  color:rgba(255,255,255,.78);
}

/* coming-soon callout */
.callout{
  display:flex;
  align-items:center;
  gap:20px;
  margin-top:20px;
  padding:22px 26px;
  background:var(--paper-alt);
  border-left:4px solid var(--orange);
}
.callout__ic{
  display:grid; place-items:center;
  width:44px; height:44px;
  flex:0 0 auto;
  color:var(--orange);
}
.callout__ic svg{ width:28px; height:28px; }
.callout b{ display:block; color:var(--ink); margin-bottom:3px; }
.callout span{ display:block; font-size:.94rem; color:var(--muted); }

@media (max-width:1024px){
  .svc-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:860px){
  .svc-grid{ grid-template-columns:1fr; }
  .rates{ grid-template-columns:1fr; }
  .callout{ flex-direction:column; align-items:flex-start; gap:12px; }
}

/* =========================================================
   WHO WE ARE — sunrise scene edge + descending cards (scrubbed by JS)
   ========================================================= */
.wwa{ position:relative; overflow:hidden; padding-bottom:280px; }
.wwa .wrap{ position:relative; z-index:2; }
.wwa .value{ will-change:transform, opacity; }

.wwa__edge{
  position:absolute; left:0; right:0; bottom:-40px; height:320px;
  overflow:hidden; pointer-events:none; z-index:1;
}
.wwa__edge img{
  width:100%; height:220%; object-fit:cover; object-position:center 16%;
  will-change:transform; display:block;
}
.wwa__fade{
  position:absolute; inset:0;
  background:linear-gradient(180deg, var(--paper-alt) 0%, rgba(245,245,245,.3) 55%, transparent 100%);
}

@media (max-width:640px){
  .wwa{ padding-bottom:190px; }
  .wwa__edge{ height:220px; }
}
@media (prefers-reduced-motion:reduce){
  .wwa .value{ transform:none !important; opacity:1 !important; }
  .wwa__edge img{ transform:none !important; }
}

/* =========================================================
   PROMISE — half-speed photo drift + line-by-line reveal (JS-scrubbed)
   ========================================================= */
.promise__media{ inset:-16% 0; }
.promise__media img{ will-change:transform; }
.pline{ display:inline; will-change:transform, opacity; }
.promise__inner .pline{ display:inline-block; }
.promise__inner h2.pline{ display:block; }
.pline--btn{ margin-top:6px; }
@media (prefers-reduced-motion:reduce){
  .pline{ transform:none !important; opacity:1 !important; }
  .promise__media img{ transform:none !important; }
}

/* =========================================================
   NAV — services dropdown
   ========================================================= */
.nav__item{ position:relative; }
.nav__item > a{ display:inline-block; }
.nav__dropdown{
  position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(8px);
  min-width:250px; padding:10px 0; background:var(--ink);
  border:1px solid rgba(219,113,16,.35); border-radius:8px;
  box-shadow:0 18px 40px rgba(0,0,0,.45);
  opacity:0; visibility:hidden; transition:opacity .2s ease, transform .2s ease, visibility .2s;
  z-index:70;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown{
  opacity:1; visibility:visible; transform:translateX(-50%) translateY(2px);
}
.nav__dropdown a{
  display:block; padding:10px 20px; font-size:.72rem; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase; color:#fff; border-bottom:0;
  white-space:nowrap; transition:background .15s ease, color .15s ease;
}
.nav__dropdown a:hover{ background:rgba(219,113,16,.18); color:var(--orange-lt); }
@media (max-width:860px){
  .nav__dropdown{
    position:static; transform:none; opacity:1; visibility:visible;
    min-width:0; padding:0 0 6px; background:transparent; border:0; box-shadow:none;
  }
  .nav__dropdown a{ padding:8px 0 8px 18px; font-size:.68rem; color:rgba(255,255,255,.75); }
}

/* homepage service cards are links now */
a.svc{ display:block; color:inherit; text-decoration:none; cursor:pointer; }
.svc__learn{
  display:block; margin-top:16px; font-weight:700; font-size:.76rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--orange);
  opacity:0; transform:translateX(-6px); transition:opacity .25s ease, transform .25s ease;
}
.svc:hover .svc__learn{ opacity:1; transform:none; }

/* =========================================================
   SERVICE FOCUS PAGES
   ========================================================= */
.spage-hero{
  background:#191E32; color:#fff; position:relative; overflow:hidden;
  padding:calc(var(--nav-h) + 60px) 0 70px;
}
.spage-hero::before{
  content:""; position:absolute; inset:0; opacity:.05; pointer-events:none;
  background-image:radial-gradient(rgba(244,239,230,.8) .5px, transparent .6px);
  background-size:5px 5px;
}
.spage-hero__inner{ display:flex; align-items:center; gap:34px; position:relative; }
.spage-hero .svc__ic{ width:110px; height:110px; padding:20px; margin:0; flex:none; }
.spage-hero__eyebrow{
  color:var(--orange-lt); font-weight:800; letter-spacing:.28em;
  font-size:.75rem; text-transform:uppercase; margin:0 0 10px;
}
.spage-hero h1{
  font-family:var(--f-display); font-weight:400; font-size:clamp(2.1rem,4.4vw,3.6rem);
  line-height:1.05; margin:0 0 10px;
}
.spage-hero__price{ font-family:var(--f-display); color:var(--orange-lt); font-size:1.5rem; }
.spage-back{
  display:inline-block; margin-bottom:26px; color:#c9ccd1; font-size:.78rem;
  letter-spacing:.14em; text-transform:uppercase; font-weight:600;
}
.spage-back:hover{ color:var(--orange-lt); }

.spage-body{ padding:70px 0 40px; }
.spage-body h2{
  font-family:var(--f-head); font-size:1.5rem; margin:44px 0 14px; color:var(--graphite);
}
.spage-body h2:first-child{ margin-top:0; }
.spage-body p{ margin:0 0 16px; color:#3c3c3c; max-width:62ch; }
.spage-body ul{ margin:0 0 16px; padding-left:22px; color:#3c3c3c; max-width:62ch; }
.spage-body li{ margin-bottom:8px; }

.spage-book{
  background:var(--ink); color:#fff; border-radius:12px;
  padding:44px 40px; margin:60px 0 80px; text-align:center;
}
.spage-book h2{ font-family:var(--f-display); font-weight:400; font-size:1.9rem; margin:0 0 8px; color:var(--orange-lt); }
.spage-book p{ color:#c9ccd1; margin:0 auto 26px; max-width:44rem; }
.spage-book__btns{ display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }
.spage-book__hours{ margin-top:18px; font-size:.85rem; color:#8f8b83; }

@media (max-width:700px){
  .spage-hero__inner{ flex-direction:column; align-items:flex-start; gap:22px; }
  .spage-book{ padding:36px 22px; }
}

/* =========================================================
   CONTACT — map-led
   ========================================================= */
.cmap{
  display:grid; grid-template-columns:1.2fr 1fr; gap:0;
  border:1px solid var(--line); border-radius:14px; overflow:hidden;
  box-shadow:0 24px 54px rgba(12,12,12,.12);
}
.cmap__map{ width:100%; height:480px; border:0; display:block; filter:grayscale(.2); }
.cmap__info{
  background:var(--ink); color:#fff; padding:42px 38px;
  display:flex; flex-direction:column; justify-content:center;
}
.cmap__info h3{ font-family:var(--f-display); font-weight:400; font-size:1.5rem; margin:0 0 8px; color:var(--orange-lt); }
.cmap__info p{ margin:0 0 6px; color:#d6d9e0; }
.cmap__phone{
  font-family:var(--f-display); font-size:2.1rem; color:#fff; display:block;
  margin:10px 0 14px; transition:color .2s ease;
}
.cmap__phone:hover{ color:var(--orange-lt); }
.cmap__hours{ color:#9aa0af !important; font-size:.9rem; margin-bottom:24px !important; }
.cmap__btns{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:20px; }
.cmap__dir{
  color:#9aa0af; font-size:.85rem; letter-spacing:.08em; text-transform:uppercase;
  font-weight:600; transition:color .2s ease;
}
.cmap__dir:hover{ color:var(--orange-lt); }
@media (max-width:900px){
  .cmap{ grid-template-columns:1fr; }
  .cmap__map{ height:320px; }
  .cmap__info{ padding:32px 24px; }
}

/* services two-tier eyebrows (#7) */
.tier-eyebrow{
  font-weight:800; letter-spacing:.26em; text-transform:uppercase;
  font-size:.78rem; color:var(--orange); margin:0 0 18px;
}
.tier-eyebrow--2{ margin-top:52px; }
.svc-grid--diag .svc{ border-top:3px solid var(--orange); background:#fdf9f4; }

/* footer credibility row (#5) */
.footer__cred{
  margin:14px 0 6px; font-size:.82rem; color:#9a9a9a; text-align:center;
}
.footer__cred a{ color:#c9ccd1; font-weight:600; transition:color .2s ease; }
.footer__cred a:hover{ color:var(--orange-lt); }

/* legal page prose */
.spage-body h2{ margin-top:36px; }

/* mobile micro-fixes (#8) */
@media (max-width:640px){
  .mgal__arrow{ width:52px; height:52px; }
}
