:root{
  --bg:#fcfcf9;
  --bg-alt:#f5f3ef;
  --panel:#ffffff;
  --panel-strong:#eeede8;
  --text:#1c1b18;
  --muted:#787672;
  --line:#e6e4df;
  --line-strong:#cdcbc4;
  --accent:#1c1b18;
  --accent-ink:#ffffff;
  --accent-soft:rgba(28,27,24,.07);
  --topbar-bg:#ffffff;
  --topbar-text:#1c1b18;
  --topbar-muted:#787672;
  --topbar-line:rgba(0,0,0,.07);
  --shadow:0 8px 32px rgba(0,0,0,.07);
  --shadow-soft:0 2px 12px rgba(0,0,0,.045);
  --shadow-lg:0 16px 48px rgba(0,0,0,.1);
  --radius:14px;
  --radius-sm:9px;
  --max:1140px;
  --font-sans:"Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif:"Playfair Display", Georgia, "Times New Roman", serif;
  --touch-target:48px;
  --focus-ring:2px solid #1c1b18;
}

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

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  scrollbar-gutter:stable;
  overflow-x:clip;
}

@media (prefers-reduced-motion: no-preference){
  html{ scroll-behavior:smooth; }
}

body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--text);
  background:var(--bg);
  background-image:radial-gradient(circle at 50% 0%, rgba(0,0,0,.012) 0%, transparent 70%),
                    radial-gradient(circle at 80% 100%, rgba(201,168,76,.03) 0%, transparent 50%);
  line-height:1.7;
  width:100%;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body.nav-open,
body.modal-open{
  position:fixed;
  width:100%;
  overflow:hidden;
}

img{
  display:block;
  max-width:100%;
  height:auto;
  background:var(--bg-alt);
}

.topbar-brand img{
  background:transparent;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
select,
textarea{
  font:inherit;
}

button{
  background:none;
  border:0;
  padding:0;
  color:inherit;
  cursor:pointer;
}

::selection{
  background:var(--accent);
  color:var(--accent-ink);
}

.skip-link{
  position:absolute;
  left:-999px;
  top:1rem;
  z-index:999;
  padding:.8rem 1rem;
  background:var(--accent);
  color:var(--accent-ink);
  font-weight:700;
  font-size:.82rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.skip-link:focus{
  left:1rem;
}

.site-shell{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.topbar{
  position:sticky;
  top:0;
  z-index:100;
  display:flex;
  align-items:center;
  gap:1.5rem;
  padding:.7rem clamp(1rem, 2.5vw, 2.5rem);
  background:var(--topbar-bg);
  border-bottom:1px solid var(--topbar-line);
  box-shadow:0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.03);
  transition:background .3s ease, border-bottom-color .3s ease, box-shadow .3s ease;
  will-change:background;
}

.topbar-brand{
  display:inline-flex;
  align-items:center;
  padding:0;
  border-radius:var(--radius-sm);
  transition:transform .35s cubic-bezier(.22,.61,.36,1), filter .4s ease;
}

@media (hover: hover){
.topbar-brand:hover{
  transform:scale(1.03);
  filter:drop-shadow(0 0 14px rgba(0,0,0,.08));
}

.topbar-brand:hover img{
  transform:scale(1.04);
  filter:brightness(1.15) drop-shadow(0 0 20px rgba(0,0,0,.06));
}
}

.topbar-brand:active{
  transform:scale(.97);
}

.topbar-brand img{
  display:block;
  width:clamp(100px, 12vw, 150px);
  height:auto;
  filter:brightness(1);
  transition:transform .5s cubic-bezier(.22,.61,.36,1), filter .45s ease;
}

.topbar-nav{
  display:flex;
  align-items:center;
  gap:.05rem;
  margin-left:auto;
}

.topbar-nav a{
  display:inline-flex;
  align-items:center;
  position:relative;
  padding:.5rem .9rem;
  border-radius:var(--radius-sm);
  color:var(--topbar-muted);
  font-weight:600;
  font-size:.9rem;
  transition:color .22s cubic-bezier(.22,.61,.36,1), background-color .22s cubic-bezier(.22,.61,.36,1);
}

.topbar-nav a::after{
  content:'';
  position:absolute;
  left:.9rem;
  right:calc(100% - .9rem);
  bottom:.3rem;
  height:1.5px;
  background:var(--topbar-text);
  border-radius:999px;
  opacity:0;
  transition:right .25s cubic-bezier(.22,.61,.36,1), opacity .2s ease;
}

.topbar-nav a.active{
  color:var(--topbar-text);
  background:var(--accent-soft);
}

.topbar-nav a.active::after{
  right:.9rem;
  opacity:1;
}

@media (hover: hover){
.topbar-nav a:hover{
  color:var(--topbar-text);
  background:var(--accent-soft);
}

.topbar-nav a:hover::after{
  right:.9rem;
  opacity:1;
}

.topbar-nav a.btn:hover{
  filter:brightness(1.3);
  transform:translateY(-1px);
}
}

.topbar-nav a.btn{
  margin-left:.35rem;
  background:var(--topbar-text);
  color:var(--topbar-bg);
  border-radius:999px;
}

.topbar-nav a.btn::after{
  display:none;
}

.menu-toggle{
  display:none;
  width:var(--touch-target);
  height:var(--touch-target);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  border:1px solid var(--topbar-line);
  border-radius:var(--radius-sm);
  background:transparent;
  margin-left:auto;
  transition:border-color .2s ease, background-color .2s ease;
}

@media (hover: hover){
.menu-toggle:hover{
  border-color:var(--line-strong);
  background:var(--accent-soft);
}
}

.menu-toggle span{
  width:20px;
  height:1.5px;
  border-radius:999px;
  background:var(--topbar-text);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1), opacity .2s ease;
  transform-origin:center;
}

.menu-toggle.is-open span:nth-child(1){
  transform:translateY(6.5px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2){
  opacity:0;
  transform:scaleX(.6);
}
.menu-toggle.is-open span:nth-child(3){
  transform:translateY(-6.5px) rotate(-45deg);
}

.nav-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease, visibility .25s ease;
  z-index:80;
}

body.nav-open .nav-backdrop{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.container,
.section-inner,
.hero-inner,
.footer-inner,
.section-block .section-inner{
  width:min(calc(100% - 2rem), var(--max));
  margin-inline:auto;
}

main{
  flex:1 0 auto;
}

/* Video hero */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  margin:0 0 .8rem;
  color:var(--muted);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.2em;
  text-transform:uppercase;
}

h1,h2,h3,h4{
  margin:0;
  line-height:1.08;
  letter-spacing:-.03em;
  font-family:var(--font-serif);
  font-weight:700;
}

h1{
  font-size:clamp(2.6rem, 5.5vw, 4.5rem);
  max-width:12ch;
}

h2{
  font-size:clamp(1.8rem, 3.6vw, 2.8rem);
}

h3{
  font-size:clamp(1.15rem, 1.8vw, 1.5rem);
}

p{
  margin:0;
}

.lede{
  color:var(--muted);
  font-size:clamp(1rem, 1.2vw, 1.1rem);
  max-width:52rem;
  line-height:1.7;
}

.hero-actions,
.form-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.85rem;
  margin-top:1.5rem;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:var(--touch-target);
  padding:.8rem 1.5rem;
  border-radius:999px;
  border:1px solid transparent;
  gap:.5rem;
  font-weight:700;
  font-size:.92rem;
  transition:transform .2s cubic-bezier(.34,1.56,.64,1), background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .25s ease;
  will-change:transform;
  cursor:pointer;
}

@media (hover: hover){
.btn:hover{
  transform:translateY(-2px);
}
}

.btn:active{
  transform:translateY(0) scale(.97);
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.topbar-nav a:focus-visible,
.topbar-brand:focus-visible,
.project-card:focus-visible{
  outline:var(--focus-ring);
  outline-offset:3px;
}

.btn-solid{
  background:var(--accent);
  color:var(--accent-ink);
  box-shadow:0 4px 14px rgba(26,26,26,.08);
}

@media (hover: hover){
.btn-solid:hover{
  background:#2a2926;
  box-shadow:0 8px 24px rgba(26,26,26,.14);
}
}

.btn-outline{
  border-color:var(--line-strong);
  background:transparent;
  color:var(--accent);
}

@media (hover: hover){
.btn-outline:hover{
  background:var(--accent-soft);
  border-color:var(--accent);
  box-shadow:0 4px 16px rgba(28,27,24,.06);
}
}

.btn-call{
  min-width:13rem;
}

/* Video hero */
.hero-video{
  position:relative;
  display:grid;
  place-items:center;
  height:min(90vh, 700px);
  overflow:hidden;
  color:#fff;
}

.hero-video-media{
  position:absolute;
  inset:0;
  background:#1c1b18;
}

.hero-video-media video,
.hero-video-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  transform:scale(1.06);
  transition:opacity 1.2s ease, visibility 1.2s ease, transform 6s ease;
  will-change:opacity, transform;
}

.hero-slide.is-active{
  opacity:1;
  visibility:visible;
  transform:scale(1);
}

.hero-video-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(20,19,17,.82) 0%, rgba(20,19,17,.55) 45%, rgba(20,19,17,.35) 100%);
  z-index:1;
}

.hero-video-content{
  position:relative;
  z-index:2;
  width:min(calc(100% - 3rem), var(--max));
  display:grid;
  gap:1.25rem;
  padding:4rem 0;
}

.hero-video-content .hero-actions,
.video-banner-content .hero-actions{
  margin-top:0;
}

.hero-video-content .eyebrow{
  color:rgba(255,255,255,.55);
  font-weight:600;
  letter-spacing:.04em;
}

.hero-video-content h1{
  font-size:clamp(2.2rem, 5.5vw, 3.75rem);
  max-width:14ch;
  line-height:1.05;
  color:#fff;
}

.hero-video-content .lede{
  font-size:clamp(1rem, 1.8vw, 1.15rem);
  max-width:48rem;
  color:rgba(255,255,255,.7);
  line-height:1.7;
}

.hero-video-content .hero-actions{
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
}

.hero-video-content .btn-solid{
  background:#fff;
  color:var(--text);
  border-color:#fff;
}

@media (hover: hover){
.hero-video-content .btn-solid:hover{
  background:rgba(255,255,255,.9);
}
}

.hero-video-content .btn-outline{
  color:#fff;
  border-color:rgba(255,255,255,.35);
}

@media (hover: hover){
.hero-video-content .btn-outline:hover{
  border-color:#fff;
  background:rgba(255,255,255,.08);
}
}

@media(max-width:900px){
  .hero-video{
    min-height:70vh;
  }

  .hero-video-content{
    padding:6rem 0 3rem;
  }
}

.section-block{
  padding:clamp(3.5rem, 5.5vw, 5rem) 0;
  position:relative;
  content-visibility:auto;
  contain-intrinsic-size:450px;
}

.section-block::after{
  content:'';
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:min(80%, 200px);
  height:1px;
  background:linear-gradient(90deg, transparent, var(--line), transparent);
  opacity:0;
}

.section-block:last-of-type::after{
  display:none;
}

.section-block:nth-of-type(even){
  background:var(--bg-alt);
}

.section-block:nth-of-type(even)::after{
  opacity:1;
}

.section-heading{
  display:grid;
  gap:.6rem;
  margin-bottom:2.5rem;
  max-width:58rem;
}

.section-heading.center{
  margin-inline:auto;
  text-align:center;
  justify-items:center;
}

.section-heading .lede{
  max-width:50rem;
}

.section-cta{
  display:flex;
  justify-content:center;
  margin-top:2rem;
}

.card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:1.25rem;
}

.service-card,
.trust-card,
.process-card,
.review-card,
.project-card,
.modal-card,
.lightbox-card,
.contact-panel{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}

.contact-panel{
  padding:clamp(1.5rem, 3vw, 2.5rem);
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:clamp(1.5rem, 3vw, 2.5rem);
  align-items:start;
}

.contact-panel .contact-cta--centered{
  justify-items:center;
  text-align:center;
}

.service-card,
.trust-card,
.process-card,
.review-card,
.project-card{
  overflow:hidden;
  position:relative;
  transition:transform .25s cubic-bezier(.22,.61,.36,1), border-color .25s ease, box-shadow .25s ease;
  will-change:transform;
}

.service-card figure,
.project-card figure,
.process-figure{
  margin:0;
  overflow:hidden;
  background:var(--bg-alt);
}

.service-card img,
.project-card img,
.process-figure img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  object-position:center 20%;
  transition:transform .35s cubic-bezier(.22,.61,.36,1);
}

@media (hover: hover){
.service-card:hover,
.trust-card:hover,
.process-card:hover,
.review-card:hover,
.project-card:hover{
  transform:translateY(-4px);
  border-color:var(--line-strong);
  box-shadow:0 16px 40px rgba(0,0,0,.08);
}

.service-card:hover img,
.project-card:hover img,
.process-card:hover .process-figure img{
  transform:scale(1.04);
}
}

.service-card .card-body,
.project-card .card-body{
  display:grid;
  gap:.6rem;
  padding:1.1rem 1.2rem 1.25rem;
}

.card-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:.35rem .65rem;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.service-card p,
.project-card p,
.trust-card p,
.process-card p,
.review-card p{
  color:var(--muted);
  font-size:.92rem;
  line-height:1.6;
}

.service-card figure{
  aspect-ratio:16/10;
}

.service-grid .service-card{
  min-height:100%;
}



.trust-card{
  padding:1.5rem;
}

.trust-icon{
  width:2.5rem;
  height:2.5rem;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  margin-bottom:.85rem;
  font-weight:700;
}

.trust-card h3,
.process-card h3,
.review-card strong{
  font-family:var(--font-serif);
}

.project-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:1.25rem;
}

.project-card{
  text-align:left;
  padding:0;
  cursor:pointer;
}

.project-card .card-body{
  padding:1rem 1.1rem 1.15rem;
}

.process-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:1.25rem;
}

.process-card{
  padding:1.5rem;
}

.process-card::before{
  content:attr(data-step);
  position:absolute;
  top:1.25rem;
  right:1.25rem;
  color:var(--line-strong);
  font-weight:800;
  letter-spacing:.15em;
  font-size:.8rem;
}

.process-figure{
  margin:0 0 1rem;
  border-radius:var(--radius-sm);
  overflow:hidden;
  border:1px solid var(--line);
}

.review-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:1.25rem;
}

.review-card{
  padding:1.5rem;
  background:rgba(190,135,70,.07);
  border:1px solid rgba(190,135,70,.18);
  border-radius:10px;
  position:relative;
}

.review-card::before{
  content:"\201C";
  position:absolute;
  top:.35rem;
  left:.85rem;
  font-size:2.8rem;
  line-height:1;
  color:var(--accent);
  opacity:.2;
  font-family:Georgia, serif;
  pointer-events:none;
}

.review-text{
  font-size:1rem;
  color:var(--text);
  line-height:1.65;
  font-weight:500;
}

.review-meta{
  display:grid;
  gap:.1rem;
  margin-top:1rem;
  padding-top:.75rem;
  border-top:1px solid rgba(190,135,70,.15);
}

.review-meta strong{
  font-weight:700;
  color:var(--heading);
  font-size:1rem;
}

.review-meta span{
  color:rgba(190,135,70,.9);
  font-size:.85rem;
  font-weight:600;
}





.map-frame{
  margin-top:1.5rem;
  border-radius:14px;
  overflow:hidden;
  background:var(--bg-alt);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}

.map-frame iframe{
  display:block;
}

.client-logos{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
  gap:1.5rem;
  align-items:center;
  justify-items:center;
  padding:1.5rem 0 0;
}

.client-logo{
  display:grid;
  gap:.5rem;
  justify-items:center;
  text-align:center;
}

.client-logo img{
  max-width:100%;
  height:auto;
  max-height:80px;
  object-fit:contain;
  opacity:.7;
  transition:opacity .25s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
  filter:grayscale(.3);
}

@media (hover: hover){
.client-logo img:hover{
  opacity:1;
  transform:scale(1.04);
  filter:grayscale(0);
}
}

.client-logo span{
  font-size:.82rem;
  color:var(--muted);
  font-weight:600;
}

.home-cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  justify-content:center;
  margin-top:1.5rem;
}





.modal-form,
.form-grid{
  display:grid;
  gap:.85rem;
}

.form-grid{
  grid-template-columns:repeat(2, minmax(0,1fr));
}

.field{
  display:grid;
  gap:.3rem;
}

.field.full-width{
  grid-column:1 / -1;
}

label,
.field label{
  color:var(--text);
  font-size:.82rem;
  font-weight:600;
}

input,
select,
textarea{
  width:100%;
  min-height:var(--touch-target);
  padding:.7rem .9rem;
  border-radius:var(--radius-sm);
  border:1.5px solid var(--line);
  background:var(--bg);
  color:var(--text);
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

textarea{
  min-height:100px;
  resize:vertical;
}

input::placeholder,
textarea::placeholder{
  color:var(--muted);
}

input,
select,
textarea{
  font-size:16px;
}

input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px var(--accent-soft);
  background:var(--panel);
}

@media (hover: hover){
input:hover,
select:hover,
textarea:hover{
  border-color:var(--line-strong);
}
}

.form-status{
  width:100%;
  text-align:center;
  color:var(--muted);
  font-size:.9rem;
  min-height:1.25rem;
}

.form-status-success{
  color:#2e7d32;
  font-weight:600;
}

.field-error{
  color:#d32f2f;
  font-size:.82rem;
}

.autocomplete-wrapper{
  position:relative;
}

.autocomplete-dropdown{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + .35rem);
  z-index:50;
  max-height:240px;
  overflow:auto;
  border:1px solid var(--line-strong);
  border-radius:var(--radius-sm);
  background:var(--bg);
  box-shadow:var(--shadow);
}

.autocomplete-item{
  padding:.75rem .9rem;
  cursor:pointer;
  color:var(--text);
  font-size:.9rem;
  border-bottom:1px solid var(--line);
}

.autocomplete-item:last-child{
  border-bottom:0;
}

.autocomplete-item.active{
  background:var(--accent-soft);
}

@media (hover: hover){
.autocomplete-item:hover{
  background:var(--accent-soft);
}
}

.footer{
  padding:3rem 0 2rem;
  border-top:1px solid var(--line);
  background:var(--bg-alt);
  font-size:.92rem;
  content-visibility:auto;
  contain-intrinsic-size:180px;
}

.footer-inner{
  display:grid;
  gap:1.25rem;
}

.footer-brand{
  display:grid;
  gap:.2rem;
}

.footer-brand strong{
  font-family:var(--font-serif);
  font-size:1.3rem;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem 1rem;
}

.footer-links a{
  color:var(--muted);
  font-size:.9rem;
  transition:color .2s ease;
  position:relative;
}

@media (hover: hover){
.footer-links a:hover{
  color:var(--text);
}
}

.footer-hours{
  font-size:.85rem;
  letter-spacing:.02em;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:center;
  padding-top:.5rem;
  border-top:1px solid var(--line);
}

.muted{
  color:var(--muted);
}

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1);
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

.reveal-hero{
  opacity:1;
  transform:translateY(0);
}

.reveal-delay-1{transition-delay:.05s}
.reveal-delay-2{transition-delay:.1s}
.reveal-delay-3{transition-delay:.15s}
.reveal-delay-4{transition-delay:.2s}
.reveal-delay-5{transition-delay:.25s}

.reveal-img{
  opacity:0;
  transform:scale(0.96) translateY(12px);
  filter:blur(3px);
  transition:opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1), filter .7s ease;
}

.reveal-img.active{
  opacity:1;
  transform:scale(1) translateY(0);
  filter:blur(0);
}

.modal,
#lightbox{
  position:fixed;
  inset:0;
  display:grid;
  place-items:center;
  padding:1rem;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease, visibility .25s ease;
  z-index:120;
}

.modal.active,
#lightbox.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}

.modal-card,
.lightbox-card{
  position:relative;
  z-index:1;
  width:min(100%, 640px);
  max-height:calc(100vh - 2rem);
  overflow:auto;
  padding:1.35rem;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:0 24px 80px rgba(0,0,0,.15);
  transform:scale(.94) translateY(8px);
  transition:transform .3s cubic-bezier(.22,.61,.36,1);
}

.modal.active .modal-card,
.modal.active .lightbox-card,
.lightbox.active .lightbox-card{
  transform:scale(1) translateY(0);
}

.lightbox-card{
  width:min(100%, 1000px);
  padding:0;
  overflow:hidden;
  border-radius:20px;
}

.video-lightbox-card{
  position:relative;
  z-index:1;
  width:min(100%, 1200px);
  max-height:calc(100vh - 2rem);
  padding:0;
  overflow:hidden;
  background:#000;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:0 24px 80px rgba(0,0,0,.15);
  transform:scale(.94) translateY(8px);
  transition:transform .3s cubic-bezier(.22,.61,.36,1);
}

.modal.active .video-lightbox-card{
  transform:scale(1) translateY(0);
}

.video-lightbox-card video{
  display:block;
  width:100%;
  height:auto;
  max-height:calc(100vh - 2rem);
  background:#000;
}

.video-lightbox-card .modal-close{
  position:absolute;
  top:1rem;
  right:1rem;
  z-index:2;
  background:rgba(0,0,0,.55);
  border-color:rgba(255,255,255,.25);
  color:#fff;
}

.modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  margin-bottom:.5rem;
}

.modal-header h2{
  font-size:clamp(1.2rem, 2vw, 1.6rem);
}

.modal-close{
  width:48px;
  height:48px;
  border-radius:var(--radius-sm);
  border:1px solid var(--line);
  background:transparent;
  display:grid;
  place-items:center;
  color:var(--muted);
  font-size:1.3rem;
  transition:border-color .15s ease, background-color .15s ease;
}

@media (hover: hover){
.modal-close:hover{
  border-color:var(--line-strong);
  background:var(--accent-soft);
}
}

.quote-note{
  color:var(--muted);
  font-size:.88rem;
  margin-bottom:.75rem;
}

.quote-warranty{
  color:var(--muted);
  font-size:.78rem;
  line-height:1.6;
  padding-top:.75rem;
  margin-bottom:.9rem;
  border-top:1px solid var(--line);
}

.section-graph{
  background:var(--bg-alt);
  position:relative;
}

.section-graph .section-heading{
  text-align:center;
}

.graph-frame{
  width:100%;
  max-width:1100px;
  height:520px;
  margin:1.5rem auto 0;
  border-radius:var(--radius);
  overflow:hidden;
  background:#1c1b18;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  position:relative;
  cursor:grab;
}

.graph-frame:active{
  cursor:grabbing;
}

.graph-frame canvas{
  display:block;
  width:100% !important;
  height:100% !important;
  outline:none;
  touch-action:pan-y;
}

.loc-panel{
  position:absolute;
  top:1rem;
  right:1rem;
  width:320px;
  min-height:200px;
  background:rgba(28,27,24,.85);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(201,168,76,.15);
  border-radius:var(--radius);
  z-index:20;
  box-shadow:0 16px 48px rgba(0,0,0,.5);
  animation:panelIn .25s cubic-bezier(.22,.61,.36,1);
  overflow:hidden;
}

.loc-panel-bg{
  position:absolute;
  inset:0;
  border-radius:var(--radius);
  overflow:hidden;
}

.loc-panel-bg-img{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1.2s ease;
  will-change:opacity;
}

.loc-panel-bg-img.is-active{
  opacity:1;
}

.loc-panel-bg-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(28,27,24,.75) 0%, rgba(28,27,24,.45) 50%, rgba(28,27,24,.25) 100%);
  border-radius:var(--radius);
}

.loc-panel-content{
  position:relative;
  z-index:2;
  padding:1.5rem 1.5rem 1.25rem;
  min-height:200px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.loc-panel-close{
  position:absolute;
  top:.55rem;
  right:.55rem;
  z-index:3;
  width:44px;
  height:44px;
  border-radius:50%;
  border:none;
  background:rgba(0,0,0,.35);
  color:rgba(255,255,255,.6);
  font-size:1.15rem;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:background .15s ease, color .15s ease;
  line-height:1;
}
@media (hover: hover){
.loc-panel-close:hover{
  background:rgba(201,168,76,.3);
  color:#c9a84c;
}
}

.loc-panel-title{
  font-family:var(--font-serif);
  font-size:1.1rem;
  color:#fff;
  margin:0 0 .25rem;
  line-height:1.35;
  text-shadow:0 1px 4px rgba(0,0,0,.4);
}

.loc-panel-subtitle{
  font-size:.85rem;
  color:rgba(255,255,255,.6);
  margin:0;
  text-shadow:0 1px 3px rgba(0,0,0,.3);
}

.loc-panel-counter{
  font-size:.75rem;
  color:rgba(255,255,255,.4);
  margin-top:.5rem;
}

.loc-panel-play{
  align-self:flex-start;
  margin-top:.9rem;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.65rem 1.1rem;
  border-radius:999px;
  border:1px solid rgba(201,168,76,.55);
  background:rgba(201,168,76,.14);
  color:#f5e6b0;
  font-family:inherit;
  font-size:.85rem;
  font-weight:600;
  letter-spacing:.02em;
  cursor:pointer;
  transition:background .15s, border-color .15s, color .15s;
}
.loc-panel-play-icon{
  font-size:.7rem;
  line-height:1;
}
@media (hover: hover){
.loc-panel-play:hover{
  background:rgba(201,168,76,.32);
  border-color:rgba(201,168,76,.8);
  color:#fff;
}
}

.loc-panel-note{
  font-size:.7rem;
  color:rgba(255,255,255,.45);
  margin:.5rem 0 0;
}

@keyframes panelIn{
  from{ opacity:0; transform:translateY(6px) scale(.96); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}

.graph-reset-btn{
  position:absolute;
  bottom:1rem;
  left:1rem;
  z-index:15;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.7);
  padding:.35rem .75rem;
  border-radius:6px;
  font-size:.75rem;
  cursor:pointer;
  transition:background .15s, color .15s;
  font-family:inherit;
  letter-spacing:.02em;
}
@media (hover: hover){
.graph-reset-btn:hover{
  background:rgba(201,168,76,.2);
  color:#c9a84c;
  border-color:rgba(201,168,76,.3);
}
}

.graph-hint{
  position:absolute;
  bottom:1rem;
  right:1rem;
  z-index:15;
  color:rgba(255,255,255,.35);
  font-size:.65rem;
  letter-spacing:.03em;
  pointer-events:none;
  user-select:none;
}
.graph-hint span{
  opacity:0;
  animation:hintFade 3s ease forwards 2s;
}
@keyframes hintFade{
  to{ opacity:1; }
}

@media (max-width:640px){
  .graph-frame{
    height:380px;
    border-radius:var(--radius-sm);
  }
  .loc-panel{
    top:.6rem;
    right:.6rem;
    left:.6rem;
    width:auto;
    min-height:160px;
  }
  .loc-panel-content{
    padding:1.25rem 1rem 1rem;
    min-height:160px;
  }
  .graph-reset-btn{
    bottom:.6rem;
    left:.6rem;
    font-size:.7rem;
    padding:.5rem .75rem;
  }
  .graph-hint{
    display:none;
  }
}

#lightbox .lightbox-card img{
  width:100%;
  max-height:80vh;
  object-fit:contain;
  background:#e8e6e0;
}

.lightbox-caption{
  padding:1rem 1.25rem 1.25rem;
  color:var(--muted);
  text-align:center;
  font-size:.92rem;
  white-space:pre-line;
}

.about-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:1.5rem;
}

.about-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  padding:2rem;
  position:relative;
  transition:transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease;
}

@media (hover: hover){
.about-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}
}

.about-card-step{
  position:absolute;
  top:1.25rem;
  right:1.25rem;
  font-family:var(--font-serif);
  font-size:1.8rem;
  font-weight:700;
  color:var(--line-strong);
  line-height:1;
  letter-spacing:-.04em;
  opacity:.4;
}

.about-card h2{
  font-size:clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom:.85rem;
  padding-right:2.5rem;
}

.about-card p{
  color:var(--muted);
  font-size:.92rem;
  line-height:1.65;
}

.about-card p + p{
  margin-top:.75rem;
}

.about-card a:not(.btn){
  color:var(--text);
  font-weight:600;
  font-size:.92rem;
  transition:color .2s ease;
  text-decoration:none;
  display:inline-block;
}

@media (hover: hover){
.about-card a:not(.btn):hover{
  text-decoration:underline;
  color:var(--text);
}
}

.about-card .btn{
  font-size:.88rem;
  padding:.65rem 1.25rem;
}

.about-services-list{
  list-style:none;
  padding:0;
  margin:.8rem 0 0;
  display:grid;
  gap:.75rem;
}

.about-services-list li{
  display:grid;
  gap:.1rem;
  padding:.85rem 1rem;
  background:var(--bg-alt);
  border-radius:var(--radius-sm);
  border-left:3px solid var(--line-strong);
  transition:border-color .2s ease, background .2s ease;
}

@media (hover: hover){
.about-services-list li:hover{
  border-left-color:var(--accent);
  background:var(--accent-soft);
}
}

.about-services-list li strong{
  font-size:.9rem;
  color:var(--text);
}

.about-services-list li span{
  font-size:.82rem;
  color:var(--muted);
  line-height:1.4;
}

.about-expertise-list{
  list-style:none;
  padding:0;
  margin:.8rem 0 0;
  display:grid;
  gap:.65rem;
}

.about-expertise-list li{
  padding-left:1.35rem;
  position:relative;
  color:var(--muted);
  font-size:.9rem;
  line-height:1.55;
}

.about-expertise-list li::before{
  content:'';
  position:absolute;
  left:0;
  top:.6em;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--accent);
  opacity:.35;
}

.section-clients{
  background:var(--panel);
}

.section-clients .section-heading{
  text-align:center;
  margin-inline:auto;
  justify-items:center;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:1.25rem;
}

.gallery-grid figure{
  margin:0;
  overflow:hidden;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:var(--panel);
  box-shadow:var(--shadow-soft);
  cursor:pointer;
  transition:transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease;
  min-height:100px;
}

@media (hover: hover){
.gallery-grid figure:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}

.gallery-grid figure:hover img{
  transform:scale(1.04);
}
}

.gallery-grid img{
  width:100%;
  aspect-ratio:4/3;
  height:auto;
  object-fit:cover;
  object-position:center 20%;
  background:var(--line);
  min-height:120px;
  transition:transform .35s cubic-bezier(.22,.61,.36,1);
}

.gallery-grid figcaption{
  padding:.85rem 1rem;
  color:var(--muted);
  font-size:.9rem;
}

.gallery-grid figcaption .fig-desc{
  display:block;
  margin-top:.3rem;
  font-size:.82rem;
  line-height:1.5;
  color:var(--text);
}

.contact-cta{
  display:grid;
  gap:1rem;
  justify-items:start;
  align-content:start;
  padding:.5rem;
}

[data-company-phone],
[data-company-email],
[data-company-response],
[data-company-name]{
  word-break:break-word;
}

@media (max-width: 1100px){
  .card-grid,
  .project-grid,
  .process-grid,
  .review-grid,
  .gallery-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 900px){
  .menu-toggle{
    display:inline-flex;
    margin-left:auto;
  }

  .topbar{
    justify-content:flex-start;
  }

  .topbar-nav{
    position:fixed;
    top:4.5rem;
    left:.75rem;
    right:.75rem;
    display:grid;
    gap:.25rem;
    padding:.65rem;
    border:1px solid var(--topbar-line);
    border-radius:var(--radius);
    background:var(--topbar-bg);
    box-shadow:0 12px 40px rgba(0,0,0,.28);
    transform:translateY(-8px) scale(.97);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .25s cubic-bezier(.22,.61,.36,1), transform .25s cubic-bezier(.22,.61,.36,1), visibility .25s ease;
    max-height:calc(100dvh - 5rem);
    overflow:auto;
    z-index:90;
  }

  body.nav-open .topbar-nav{
    transform:translateY(0) scale(1);
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .topbar-nav a{
    width:100%;
    justify-content:flex-start;
    padding:.85rem 1rem;
    opacity:0;
    transform:translateY(-6px);
    transition:color .22s cubic-bezier(.22,.61,.36,1), background-color .22s cubic-bezier(.22,.61,.36,1), opacity .28s cubic-bezier(.22,.61,.36,1), transform .28s cubic-bezier(.22,.61,.36,1);
  }

  .topbar-nav a::after{
    left:1rem;
    right:calc(100% - 1rem);
    bottom:.35rem;
  }

  .topbar-nav a.active::after{
    right:1rem;
  }

  @media (hover: hover){
  .topbar-nav a:hover::after{
    right:1rem;
  }
  }

  body.nav-open .topbar-nav a{
    opacity:1;
    transform:translateY(0);
  }

  body.nav-open .topbar-nav a:nth-child(1){transition-delay:.03s}
  body.nav-open .topbar-nav a:nth-child(2){transition-delay:.06s}
  body.nav-open .topbar-nav a:nth-child(3){transition-delay:.09s}
  body.nav-open .topbar-nav a:nth-child(4){transition-delay:.12s}
  body.nav-open .topbar-nav a:nth-child(5){transition-delay:.15s}
  .topbar-nav a.btn{
    justify-content:center;
    margin-top:.25rem;
  }

  .topbar-nav a.btn::after{
    display:none;
  }

  .card-grid,
  .project-grid,
  .process-grid,
  .review-grid,
  .gallery-grid,
  .about-grid,
  .form-grid{
    grid-template-columns:1fr;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .client-logos{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .topbar-brand img{
    width:clamp(100px, 40vw, 140px);
  }

  h1{
    font-size:clamp(1.9rem, 9vw, 2.6rem);
    overflow-wrap:break-word;
  }

  h2{
    font-size:clamp(1.4rem, 6.5vw, 1.8rem);
  }

  .hero-video{
    height:auto;
    min-height:min(90vh, 700px);
  }

  .video-banner{
    height:auto;
    min-height:min(60vh, 480px);
  }

  .hero-actions,
  .form-actions,
  .home-cta-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .btn,
  .btn-call{
    width:100%;
    justify-content:center;
  }

  .autocomplete-item{
    padding:.85rem .9rem;
  }

  .modal-card,
  .lightbox-card{
    padding:.85rem;
    border-radius:16px;
    max-height:calc(100dvh - 1rem);
  }

  .modal{
    padding:.5rem;
    align-items:flex-start;
    padding-top:clamp(2rem, 8vh, 3rem);
  }

  .section-block{
    padding:3rem 0;
  }

}

.text-center{ text-align:center; }

/* Video banner — full-width background section */
.video-banner{
  position:relative;
  display:grid;
  place-items:center;
  height:min(60vh, 480px);
  overflow:hidden;
  color:#fff;
}

.video-banner-media{
  position:absolute;
  inset:0;
  background:#1c1b18;
}

.video-banner-media video,
.video-banner-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.video-banner-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(28,27,24,.55) 0%, rgba(28,27,24,.25) 60%, rgba(28,27,24,.1) 100%);
  z-index:1;
}

.video-banner-content{
  position:relative;
  z-index:2;
  width:min(calc(100% - 3rem), var(--max));
  display:grid;
  gap:.85rem;
  padding:3rem 0;
}

.video-banner-content h2{
  font-size:clamp(1.6rem, 3.5vw, 2.5rem);
  max-width:18ch;
  line-height:1.1;
  color:#fff;
}

.video-banner-content .lede{
  max-width:36rem;
  color:rgba(255,255,255,.7);
}

.video-banner-content .btn-solid{
  background:#fff;
  color:var(--text);
  border-color:#fff;
}

@media (hover: hover){
.video-banner-content .btn-solid:hover{
  background:rgba(255,255,255,.9);
}
}

.video-banner-content .btn-outline{
  color:#fff;
  border-color:rgba(255,255,255,.35);
}

@media (hover: hover){
.video-banner-content .btn-outline:hover{
  border-color:#fff;
  background:rgba(255,255,255,.08);
}
}

@media(max-width:900px){
  .video-banner{
    height:min(50vh, 360px);
  }
}

.contact-cta.contact-cta--centered{
  justify-items:center;
  text-align:center;
}
.contact-cta.contact-cta--centered .hero-actions{
  justify-content:center;
}

/* Honeypot — hidden from users, catches bots */
.honeypot{
  position:absolute;
  left:-9999px;
  opacity:0;
  height:0;
  overflow:hidden;
  pointer-events:none;
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}

/* ---- Mobile usability ---- */
html{
  -webkit-tap-highlight-color:transparent;
}

a,
button,
.btn,
.btn-call,
input,
select,
textarea,
.gallery-grid figure,
.menu-toggle,
.autocomplete-item,
.loc-panel-play{
  touch-action:manipulation;
}

.modal-card,
.lightbox-card,
.topbar-nav,
body.modal-open{
  overscroll-behavior:contain;
}

.topbar{
  padding-top:calc(.7rem + env(safe-area-inset-top, 0px));
  padding-bottom:calc(.7rem + env(safe-area-inset-bottom, 0px));
}

.footer{
  padding-bottom:calc(2rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 900px){
  .modal{
    padding-top:calc(clamp(2rem, 8vh, 3rem) + env(safe-area-inset-top, 0px));
  }
}

@media (max-width: 640px){
  .loc-panel-play{
    min-height:48px;
  }
}

