@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Work+Sans:wght@400;500;600&family=Caveat:wght@500;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  --ink:#1c1c1a;
  --ink-soft:#2b2b28;
  --paper:#f1f1ec;
  --paper-dim:#e6e6df;
  --green:#5f9a24;
  --green-bright:#8bc53f;
  --orange:#e8871e;
  --steel:#53564f;
  --white:#fbfbf8;
  --mono:'IBM Plex Mono',monospace;
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Work Sans',sans-serif;
  background:var(--paper);
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{
  font-family:'Space Grotesk',sans-serif;
  letter-spacing:-0.01em;
}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}
.wrap{max-width:1120px;margin:0 auto;padding:0 28px;}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important;transition:none !important;}
  .hero-dim{transform:scaleX(1) !important;}
  .reveal{opacity:1 !important;transform:none !important;}
}

/* ---------- REVEAL ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1;transform:translateY(0);}
.reveal-stagger.in > *{transition-delay:calc(var(--i,0) * 70ms);}

/* ---------- DIMENSION LINE (signature motif) ---------- */
.dim-line{
  display:flex;align-items:center;gap:12px;
  width:100%;
}
.dim-line .dim-bar{flex:1;height:1px;background:currentColor;opacity:0.35;position:relative;}
.dim-line .dim-bar::before,.dim-line .dim-bar::after{
  content:'';position:absolute;top:-4px;width:1px;height:9px;background:currentColor;
}
.dim-line .dim-bar::before{left:0;}
.dim-line .dim-bar::after{right:0;}
.dim-line .dim-label{
  font-family:var(--mono);font-size:0.72rem;letter-spacing:0.06em;
  white-space:nowrap;opacity:0.7;
}
.dim-divider{padding:40px 0;background:var(--paper);color:var(--steel);}
.dim-divider.on-ink{background:var(--ink);color:#9a9a92;}

/* ---------- CORNER FRAME (signature motif) ---------- */
.corner-frame{position:relative;}
.corner-frame::before,.corner-frame::after,
.corner-frame .cf-tr,.corner-frame .cf-bl{
  content:'';position:absolute;width:22px;height:22px;
  border-color:var(--orange);opacity:0;
  transition:opacity .25s ease, width .25s ease, height .25s ease;
  pointer-events:none;z-index:3;
}
.corner-frame::before{top:10px;left:10px;border-top:2px solid;border-left:2px solid;}
.corner-frame::after{bottom:10px;right:10px;border-bottom:2px solid;border-right:2px solid;}
.corner-frame .cf-tr{top:10px;right:10px;border-top:2px solid;border-right:2px solid;}
.corner-frame .cf-bl{bottom:10px;left:10px;border-bottom:2px solid;border-left:2px solid;}
.corner-frame.always::before,.corner-frame.always::after,
.corner-frame.always .cf-tr,.corner-frame.always .cf-bl{opacity:1;}
.corner-frame:hover::before,.corner-frame:hover::after,
.corner-frame:hover .cf-tr,.corner-frame:hover .cf-bl{opacity:1;width:26px;height:26px;}
@media (hover:none){
  .corner-frame::before,.corner-frame::after,
  .corner-frame .cf-tr,.corner-frame .cf-bl{opacity:0.55;}
}

/* ---------- SPARK BUTTON (signature motif) ---------- */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:14px 24px;
  border-radius:3px;
  font-weight:600;
  font-size:0.95rem;
  transition:transform .15s ease, box-shadow .15s ease;
  border:1.5px solid transparent;
  position:relative;
  overflow:visible;
}
.btn:hover{transform:translateY(-2px);}
.btn-solid{background:var(--green-bright);color:var(--ink);}
.btn-solid:hover{box-shadow:0 8px 22px rgba(139,197,63,0.35);}
.btn-outline{border-color:rgba(255,255,255,0.4);color:var(--white);}
.btn-outline:hover{border-color:var(--white);}
.btn .spark{position:absolute;inset:0;pointer-events:none;overflow:visible;}
.btn .spark i{
  position:absolute;top:50%;left:14px;width:3px;height:3px;border-radius:50%;
  background:var(--orange);opacity:0;
}
.btn:hover .spark i{animation:spark-fly .55s ease-out forwards;}
.btn .spark i:nth-child(1){--dx:-10px;--dy:-16px;animation-delay:.02s;}
.btn .spark i:nth-child(2){--dx:6px;--dy:-20px;animation-delay:.06s;}
.btn .spark i:nth-child(3){--dx:-4px;--dy:-24px;animation-delay:.0s;}
.btn .spark i:nth-child(4){--dx:14px;--dy:-12px;animation-delay:.09s;}
.btn .spark i:nth-child(5){--dx:-14px;--dy:-10px;animation-delay:.04s;}
@keyframes spark-fly{
  0%{opacity:1;transform:translate(0,0) scale(1);}
  100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(0.3);}
}

/* ---------- NAV ---------- */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(28,28,26,0.88);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.nav .wrap{
  display:flex;align-items:center;justify-content:space-between;
  height:68px;
}
.nav-brand{display:flex;align-items:center;gap:10px;}
.nav-brand img{height:36px;width:auto;}
.nav-word{color:var(--white);font-weight:700;font-size:1.05rem;}
.nav-word span{color:var(--green-bright);}
.nav-cta{
  background:var(--green-bright);
  color:var(--ink);
  padding:10px 20px;
  border-radius:3px;
  font-weight:600;
  font-size:0.9rem;
  transition:transform .15s ease, background .15s ease;
}
.nav-cta:hover{background:var(--white);}
.nav-cta:focus-visible, a:focus-visible, button:focus-visible{outline:3px solid var(--orange);outline-offset:2px;}
@media (max-width:640px){.nav-link-desktop{display:none;}}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:var(--ink);
}
.hero-video{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  object-position:70% 30%;
  opacity:0.9;
}
.hero-scrim{
  position:absolute;inset:0;
  background:
    linear-gradient(180deg, rgba(20,20,18,0.55) 0%, rgba(18,18,16,0.35) 35%, rgba(14,14,12,0.92) 92%),
    linear-gradient(90deg, rgba(10,10,9,0.75) 0%, rgba(10,10,9,0.15) 55%);
}
.hero-frame{
  position:absolute;inset:18px;z-index:2;pointer-events:none;
}
.hero-frame span{
  position:absolute;width:26px;height:26px;border-color:var(--orange);opacity:0.9;
}
.hero-frame .hf-tl{top:0;left:0;border-top:2px solid;border-left:2px solid;}
.hero-frame .hf-tr{top:0;right:0;border-top:2px solid;border-right:2px solid;}
.hero-frame .hf-bl{bottom:0;left:0;border-bottom:2px solid;border-left:2px solid;}
.hero-frame .hf-br{bottom:0;right:0;border-bottom:2px solid;border-right:2px solid;}
.hero-content{
  position:relative;z-index:2;
  padding:0 28px 68px;
  width:100%;
  max-width:1120px;
  margin:0 auto;
}
.hero-dim{
  color:var(--orange);
  max-width:340px;
  margin-bottom:16px;
  transform:scaleX(0);transform-origin:left;
  animation:dim-draw .9s .3s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes dim-draw{to{transform:scaleX(1);}}
.hero-eyebrow{
  color:var(--green-bright);
  font-weight:600;
  letter-spacing:0.14em;
  text-transform:uppercase;
  font-size:0.78rem;
  margin-bottom:18px;
}
.hero-word{
  font-size:clamp(3rem, 10vw, 6.4rem);
  font-weight:700;
  color:var(--white);
  line-height:0.95;
}
.hero-word span{color:var(--green-bright);}
.hero-sub{
  margin-top:20px;
  font-size:clamp(1rem, 2vw, 1.25rem);
  color:#d8d8d0;
  max-width:36ch;
  font-weight:400;
}
.hero-bottom{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
  margin-top:44px;
}
.bubble{
  position:relative;
  display:inline-block;
  max-width:400px;
  color:var(--green-bright);
  font-family:'Caveat',cursive;
  font-size:1.55rem;
  line-height:1.3;
  transform:rotate(-1deg);
  margin-bottom:20px;
}
.bubble-svg{
  position:absolute;inset:0;
  width:100%;height:100%;
  z-index:0;
  overflow:visible;
}
.bubble-text{
  position:relative;z-index:1;
  padding:50px 58px 64px;
}
.bubble-puff1{
  position:absolute;left:40px;bottom:-20px;
  width:20px;height:20px;
  border:3px solid var(--green-bright);
  border-radius:50%;
  background:var(--ink);
}
.bubble-puff2{
  position:absolute;left:18px;bottom:-34px;
  width:11px;height:11px;
  border:2.5px solid var(--green-bright);
  border-radius:50%;
  background:var(--ink);
}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;}

/* ---------- SECTION HEADERS ---------- */
.eyebrow{
  color:var(--green);
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-size:0.78rem;
  margin-bottom:12px;
}
section{padding:96px 0;}
.section-head{max-width:52ch;margin-bottom:56px;}
.section-head h2{font-size:clamp(1.8rem,3.4vw,2.6rem);font-weight:700;}
.section-head p{margin-top:14px;color:var(--steel);font-size:1.05rem;}

/* ---------- SERVICES ---------- */
.services{background:var(--paper);}
.svc-feature{
  background:var(--ink);color:var(--white);
  padding:44px 40px;
  display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;
}
.svc-feature .num{font-family:var(--mono);font-size:3.4rem;color:var(--green-bright);line-height:1;}
.svc-feature .txt{max-width:46ch;}
.svc-feature .txt strong{color:var(--green-bright);}
.svc-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1px;
  background:var(--ink);
  border:1px solid var(--ink);
  border-top:none;
}
.svc-card{
  background:var(--paper);
  padding:40px 36px;
  transition:background .2s ease, transform .2s ease;
  position:relative;
}
.svc-card:hover{background:var(--white);}
.svc-tag{
  font-family:var(--mono);font-size:0.68rem;color:var(--steel);opacity:0.75;
  letter-spacing:0.06em;margin-bottom:18px;display:block;
}
.svc-icon-badge{
  width:58px;height:58px;
  border-radius:50%;
  background:rgba(95,154,36,0.1);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:24px;
  transition:background .2s ease, transform .2s ease;
}
.svc-card:hover .svc-icon-badge{background:var(--green-bright);transform:scale(1.06);}
.svc-card:hover .svc-icon-badge svg{color:var(--ink);}
.svc-icon{width:28px;height:28px;color:var(--green);transition:color .2s ease;}
.svc-card h3{font-size:1.3rem;font-weight:600;margin-bottom:12px;}
.svc-card p{color:var(--steel);font-size:0.97rem;max-width:34ch;}
.svc-band{
  grid-column:1 / -1;
  background:var(--ink);
  color:var(--white);
  padding:30px 36px;
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
.svc-band svg{width:26px;height:26px;color:var(--green-bright);flex-shrink:0;}
.svc-band strong{color:var(--green-bright);}

@media (max-width:720px){
  .svc-grid{grid-template-columns:1fr;}
}

/* ---------- DIVIDER STRIP ---------- */
.strip{
  background:var(--white);
  padding:22px 0;
  overflow:hidden;
  border-top:1px solid var(--paper-dim);
  border-bottom:1px solid var(--paper-dim);
}
.strip img{width:100%;height:auto;opacity:0.92;}

/* ---------- ABOUT ---------- */
.about{background:var(--ink);color:var(--white);}
.about .wrap{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:64px;
  align-items:center;
}
.about-photo img{
  border-radius:4px;
  width:100%;
  height:auto;
}
.about-text .eyebrow{color:var(--green-bright);}
.about-text h2{font-size:clamp(1.8rem,3.2vw,2.4rem);font-weight:700;margin-bottom:22px;}
.about-text p{color:#cfcfc7;font-size:1.05rem;margin-bottom:16px;max-width:52ch;}
.about-quote{
  margin-top:28px;
  font-family:'Caveat',cursive;
  font-size:1.5rem;
  color:var(--green-bright);
  border-left:3px solid var(--green-bright);
  padding-left:18px;
}
@media (max-width:860px){
  .about .wrap{grid-template-columns:1fr;gap:40px;}
  .about-photo{max-width:340px;margin:0 auto;}
}

/* ---------- SIGNATURE BANNER ---------- */
.signature-banner{
  background:var(--ink);
  padding:0;
}
.signature-banner img{
  width:100%;
  height:auto;
  display:block;
}

/* ---------- GALLERY (mosaic) ---------- */
.gallery{background:var(--paper);}
.gal-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:140px;
  grid-auto-flow:dense;
  gap:14px;
}
.g-item{
  position:relative;
  overflow:hidden;
  border-radius:4px;
  background:var(--paper-dim);
}
.g-item img{
  width:100%;height:100%;
  object-fit:cover;display:block;
  transition:transform .45s ease;
}
.g-item:hover img{transform:scale(1.06);}
.g-2x2{grid-column:span 2;grid-row:span 2;}
.g-1x2{grid-row:span 2;}
.g-2x1{grid-column:span 2;}
.g-cap{
  position:absolute;left:0;right:0;bottom:0;
  padding:16px 18px;
  background:linear-gradient(0deg, rgba(10,10,9,0.82), rgba(10,10,9,0));
  color:var(--white);
  z-index:2;
}
.g-cap .g-eyebrow{
  display:block;color:var(--green-bright);
  font-size:0.68rem;letter-spacing:0.1em;text-transform:uppercase;
  font-weight:600;margin-bottom:3px;
}
.g-cap .g-title{font-size:0.95rem;font-weight:600;}
.gal-placeholder{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  border:1.5px dashed var(--steel);
  color:var(--steel);text-align:center;padding:16px;
}
.gal-placeholder svg{width:30px;height:30px;opacity:0.6;}
.gal-placeholder span{font-size:0.82rem;font-weight:500;}

@media (max-width:720px){
  .gal-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:170px;}
  .g-2x2{grid-column:span 2;grid-row:span 2;}
}

/* ---------- ESTIMATE / TALLY ---------- */
.estimate{background:var(--paper);}
.estimate-inner{
  display:grid;
  grid-template-columns:0.9fr 1.3fr;
  gap:48px;
  align-items:start;
}
.estimate-pitch{padding-top:8px;}
.estimate-benefits{list-style:none;margin-top:28px;display:flex;flex-direction:column;gap:16px;}
.estimate-benefits li{display:flex;align-items:flex-start;gap:12px;font-size:1rem;color:var(--ink);}
.estimate-benefits svg{width:22px;height:22px;flex-shrink:0;color:var(--green);margin-top:1px;}
.estimate-frame{
  position:relative;
  border-radius:10px;
  padding:8px 8px 4px;
  background:var(--white);
  box-shadow:0 1px 3px rgba(28,28,26,0.06), 0 12px 32px rgba(28,28,26,0.08);
  border-top:5px solid var(--green-bright);
  overflow:hidden;
}
.estimate-frame iframe{border-radius:4px;display:block;background:var(--white);}
@media (max-width:860px){
  .estimate-inner{grid-template-columns:1fr;gap:32px;}
}

/* ---------- IMPRESSIONS (video strip) ---------- */
.impressions{background:var(--ink);}
.impressions .section-head{color:var(--white);}
.impressions .section-head p{color:#b9b9b1;}
.imp-row{
  display:flex;
  gap:14px;
  overflow-x:auto;
  scroll-snap-type:x proximity;
  padding-bottom:8px;
  -webkit-overflow-scrolling:touch;
}
.imp-row::-webkit-scrollbar{height:6px;}
.imp-row::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.15);border-radius:3px;}
.imp-tile{
  position:relative;
  flex:0 0 auto;
  width:170px;
  aspect-ratio:9/16;
  border-radius:8px;
  overflow:hidden;
  background:#000;
  scroll-snap-align:start;
  cursor:pointer;
}
.imp-tile:focus-visible{outline:3px solid var(--orange);outline-offset:3px;}
.imp-tile video{width:100%;height:100%;object-fit:cover;display:block;}
.imp-play{
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  background:rgba(10,10,9,0.18);
  transition:background .2s ease, opacity .2s ease;
  z-index:2;
}
.imp-play svg{width:44px;height:44px;color:var(--white);filter:drop-shadow(0 2px 6px rgba(0,0,0,0.5));}
.imp-tile.playing .imp-play{opacity:0;pointer-events:none;}
@media (min-width:640px){
  .imp-tile{width:200px;}
}

/* ---------- CONTACT ---------- */
.contact{
  background:var(--ink);
  color:var(--white);
  position:relative;
}
.contact .wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:28px;
}
.contact h2{font-size:clamp(2rem,4vw,3rem);font-weight:700;max-width:16ch;}
.contact-region{color:var(--green-bright);font-weight:600;letter-spacing:0.06em;text-transform:uppercase;font-size:0.85rem;}
.contact-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:8px;}
.contact-note{color:#a9a9a1;font-size:0.9rem;max-width:44ch;}

/* ---------- FOOTER ---------- */
footer{
  background:var(--ink-soft);
  color:#9a9a92;
  padding:32px 0;
  font-size:0.85rem;
}
footer .wrap{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;}
footer img{height:26px;width:auto;opacity:0.85;}