/* ═══════════════════════════════════════════════════════════
   EMONFER EBANISTERÍA — Design System
   Palette: logo 05 "El Clásico Renovado" · verde bosque + madera
   Type: Marcellus (display) · Inter (UI/body)
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Inter:wght@300;400;500;600;700&family=Marcellus&family=Nunito:wght@800;900&display=swap');

:root {
  --green-d: #2F3E2E;
  --green-m: #3A4D39;
  --sage:    #4F6F4E;
  --sage-l:  #9db69c;
  --cream:   #F7F7F2;
  --mist:    #E8ECE6;
  --wood-d:  #75542e;
  --wood:    #8f6b3d;
  --wood-l:  #b08954;
  --wood-xl: #c89a5f;
  --white:   #ffffff;
  --ff-display: 'Marcellus', serif;
  --ff-serif: 'Cormorant Garamond', serif;
  --ff-sans: 'Inter', sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 48px);
  --shadow-s: 0 2px 16px rgba(47,62,46,.08);
  --shadow-m: 0 12px 40px rgba(47,62,46,.14);
  --ease: cubic-bezier(.25,.8,.25,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--green-d);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ── typography utilities ── */
.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--wood);
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ''; width: 34px; height: 1.5px; background: var(--wood-l); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ''; width: 34px; height: 1.5px; background: var(--wood-l); }
h1, h2, h3 { font-family: var(--ff-display); font-weight: 400; line-height: 1.15; }
.h-xl { font-size: clamp(38px, 6vw, 72px); letter-spacing: .5px; }
.h-lg { font-size: clamp(30px, 4.4vw, 50px); }
.h-md { font-size: clamp(23px, 2.8vw, 32px); }
.h-sm { font-size: 20px; }
.lead { font-size: clamp(17px, 2vw, 20px); font-weight: 300; line-height: 1.75; color: var(--green-m); }
.serif-i { font-family: var(--ff-serif); font-style: italic; color: var(--wood); }
.muted { color: var(--sage); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border: 1.5px solid var(--green-d); border-radius: 2px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green-d); background: transparent; cursor: pointer;
  transition: all .3s var(--ease);
}
.btn:hover { background: var(--green-d); color: var(--cream); }
.btn-solid { background: var(--green-d); color: var(--cream); }
.btn-solid:hover { background: var(--green-m); border-color: var(--green-m); }
.btn-wood { border-color: var(--wood); color: var(--wood); }
.btn-wood:hover { background: var(--wood); color: var(--cream); }
.btn-light { border-color: var(--cream); color: var(--cream); }
.btn-light:hover { background: var(--cream); color: var(--green-d); }
.btn-wa { background: transparent; border-color: var(--green-d); color: var(--green-d); }
.btn-wa svg { width: 16px; height: 16px; fill: #25D366; flex-shrink: 0; }
.btn-wa:hover { background: var(--green-d); color: var(--cream); }
.btn-wa::before { background: var(--green-d); }
.band-green .btn-wa, .cta-band .btn-wa { border-color: var(--cream); color: var(--cream); }
.band-green .btn-wa:hover, .cta-band .btn-wa:hover { background: var(--cream); color: var(--green-d); }
.cta-band .btn-wa::before { background: var(--cream); }

/* ── header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .35s, box-shadow .35s, transform .35s;
  padding: 18px 0;
}
.site-header.scrolled { background: rgba(247,247,242,.97); box-shadow: var(--shadow-s); padding: 10px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo-link img, .logo-link svg { height: 54px; width: auto; transition: height .3s; }
.site-header.scrolled .logo-link img { height: 44px; }
.nav-desktop { display: flex; gap: 34px; align-items: center; margin-left: 48px; }
.nav-desktop a {
  font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--green-d); position: relative; padding: 4px 0;
}
.nav-desktop a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--wood); transition: width .3s var(--ease);
}
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 100%; }
.nav-cta { border: 1.5px solid var(--green-d); padding: 10px 20px !important; border-radius: 2px; }
.nav-cta:hover { background: var(--green-d); color: var(--cream) !important; }
.nav-cta::after { display: none; }

/* header brand lockup (inline SVG symbol + Nunito wordmark) */
.brand-lock { display: flex; align-items: center; gap: 12px; }
.brand-lock svg { height: 46px; width: auto; transition: height .3s; }
.site-header.scrolled .brand-lock svg { height: 38px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 23px; letter-spacing: .5px; color: var(--green-d); }
.brand-txt span { font-size: 8.5px; font-weight: 600; letter-spacing: 2.6px; color: var(--wood); }
.hero-logo svg { height: clamp(150px, 22vw, 220px); width: auto; }

/* header over dark hero (index): cream links until scrolled */
.site-header.on-dark:not(.scrolled) .nav-desktop a { color: var(--cream); }
.site-header.on-dark:not(.scrolled) .brand-txt b { color: var(--cream); }
.site-header.on-dark:not(.scrolled) .brand-txt span { color: var(--wood-xl); }
.site-header.on-dark:not(.scrolled) .nav-cta { border-color: var(--cream); }
.site-header.on-dark:not(.scrolled) .nav-cta:hover { background: var(--cream); color: var(--green-d) !important; }
.site-header.on-dark:not(.scrolled) .burger span { background: var(--cream); }

/* hamburger */
.burger { display: none; background: none; border: none; cursor: pointer; z-index: 1001; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--green-d); margin: 6px 0; transition: all .3s var(--ease); }
.nav-mobile {
  position: fixed; inset: 0; background: var(--green-d); z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.nav-mobile.open { opacity: 1; pointer-events: auto; }
.nav-mobile a { font-family: var(--ff-display); font-size: 30px; color: var(--cream); padding: 10px; }
.nav-mobile a:hover { color: var(--wood-xl); }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { z-index: 1001; background: transparent; box-shadow: none; }
body.nav-open .site-header .brand-svg .lg-word { fill: #F7F7F2; stroke: rgba(28,38,27,.9); }
body.nav-open .site-header .brand-svg .lg-circle { fill: #9db69c; }
body.nav-open .site-header .brand-svg .lg-sub { fill: var(--wood-xl); }
body.nav-open .nav-desktop { display: none; }
body.nav-open .burger span { background: var(--cream); }
body.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── hero ── */
.hero {
  position: relative; min-height: min(92vh, 880px); display: flex; align-items: center;
  color: var(--cream); overflow: hidden;
}
.hero-media { position: absolute; inset: -12% 0; will-change: transform; transform: translateZ(0); }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-media video.playing { opacity: 1; }
.hero-media .hero-poster { position: absolute; inset: 0; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,38,27,.55) 0%, rgba(28,38,27,.35) 45%, rgba(28,38,27,.72) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 90px; width: 100%; }
.hero .eyebrow { color: var(--wood-xl); }
.hero .eyebrow::before { background: var(--wood-xl); }
.hero h1 { color: var(--white); margin: 22px 0 26px; max-width: 15ch; }
.hero .lead { color: rgba(247,247,242,.85); max-width: 52ch; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(247,247,242,.95);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
}
.scroll-hint::after { content: ''; width: 1px; height: 42px; background: linear-gradient(var(--cream), transparent); animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }

/* ── sections ── */
section { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { margin: 18px 0 16px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.num {
  font-family: var(--ff-serif); font-size: clamp(56px, 7vw, 96px); font-weight: 500;
  color: transparent; -webkit-text-stroke: 1.2px var(--wood-l); line-height: 1;
}

/* alt band */
.band-green { background: var(--green-d); color: var(--cream); }
.band-green .sec-head h2, .band-green h3 { color: var(--cream); }
.band-green .lead { color: var(--sage-l); }
.band-white { background: var(--white); }

/* ── service blocks (floema numbered) ── */
.svc-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--mist);
}
.svc-block:first-of-type { border-top: none; }
.svc-block.flip .svc-media { order: 2; }
.svc-media { position: relative; overflow: hidden; border-radius: 3px; }
.svc-media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.svc-block:hover .svc-media img { transform: scale(1.045); }
.svc-copy .num { display: block; margin-bottom: 6px; }
.svc-copy h3 { margin: 10px 0 14px; }
.svc-copy p { color: var(--green-m); max-width: 46ch; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--wood);
}
.svc-link:hover { gap: 14px; } .svc-link { transition: gap .3s var(--ease); }

/* ── cards / grids ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 32px); }
.card {
  background: var(--white); border-radius: 3px; overflow: hidden;
  box-shadow: var(--shadow-s); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { font-size: 19px; margin-bottom: 8px; }
.card-body p { font-size: 14px; color: var(--sage); }

/* ── portfolio masonry ── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-bar button {
  padding: 9px 18px; border: 1px solid var(--mist); background: var(--white); border-radius: 2px;
  font-family: var(--ff-sans); font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--green-m); cursor: pointer; transition: all .25s;
}
.filter-bar button:hover { border-color: var(--wood-l); color: var(--wood); }
.filter-bar button.active { background: var(--green-d); border-color: var(--green-d); color: var(--cream); }
.masonry { columns: 3; column-gap: 20px; }
.masonry .ph { break-inside: avoid; margin-bottom: 20px; position: relative; border-radius: 3px; overflow: hidden; cursor: pointer; }
.masonry .ph img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.masonry .ph:hover img { transform: scale(1.04); }
.ph-tag {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 34px 16px 12px; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream);
  background: linear-gradient(transparent, rgba(28,38,27,.75)); opacity: 0; transition: opacity .35s;
}
.masonry .ph:hover .ph-tag { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1100; background: rgba(28,38,27,.94);
  display: none; align-items: center; justify-content: center; padding: 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; width: auto; border-radius: 3px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 22px; right: 28px; background: none; border: none; color: var(--cream); font-size: 34px; cursor: pointer; line-height: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--cream); font-size: 46px; cursor: pointer; padding: 20px; opacity: .7; }
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }

/* ── process steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step { position: relative; padding-top: 50px; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  font-family: var(--ff-serif); font-size: 52px; color: transparent;
  -webkit-text-stroke: 1px var(--wood-xl); position: absolute; top: 0; left: 0; line-height: 1;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 14px; line-height: 1.7; }
.band-green .step p { color: var(--sage-l); }
.band-green .step::before { -webkit-text-stroke-color: var(--wood-xl); }

/* ── stats ── */
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(22px, 4vw, 64px); }
.stat b { font-family: var(--ff-display); font-size: clamp(34px, 4.2vw, 54px); color: var(--wood); display: block; line-height: 1.1; }
.stat span { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--sage); white-space: nowrap; }

/* ── before/after ── */
.ba-wrap { position: relative; overflow: hidden; border-radius: 3px; user-select: none; }
.ba-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; pointer-events: none; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--cream);
  cursor: ew-resize; z-index: 5; box-shadow: 0 0 12px rgba(0,0,0,.35);
}
.ba-handle::after {
  content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%; background: var(--cream); color: var(--green-d);
  display: flex; align-items: center; justify-content: center; font-size: 21px; box-shadow: var(--shadow-m);
}
.ba-label {
  position: absolute; top: 14px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  background: rgba(28,38,27,.72); color: var(--cream); padding: 6px 12px; border-radius: 2px; z-index: 4;
}
.ba-label.before { left: 14px; } .ba-label.after { right: 14px; }

/* ── blog ── */
.post-card { background: var(--white); border-radius: 3px; overflow: hidden; box-shadow: var(--shadow-s); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.post-card img { aspect-ratio: 16/10; object-fit: cover; }
.post-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-date { font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--wood); }
.post-body h3 { font-size: 21px; line-height: 1.35; }
.post-body p { font-size: 14.5px; color: var(--sage); flex: 1; }
.article { max-width: 680px; margin: 0 auto; }
.article h1 { margin: 16px 0 12px; }
.article .post-hero { border-radius: 3px; margin: 34px 0; aspect-ratio: 16/8; object-fit: cover; width: 100%; }
.article h2 { font-size: 26px; margin: 40px 0 14px; }
.article p { margin-bottom: 18px; color: var(--green-m); }
.article ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; color: var(--green-m); }
.article li { margin-bottom: 8px; }

/* ── contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 26px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-item .ico {
  width: 46px; height: 46px; border-radius: 50%; background: var(--mist); color: var(--green-d);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 19px;
}
.contact-item b { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 3px; }
.contact-item a:hover, .contact-item span { color: var(--green-m); }
.contact-item a { border-bottom: 1px solid transparent; }
.contact-item a:hover { border-color: var(--wood-l); }
.map-embed { border-radius: 3px; overflow: hidden; box-shadow: var(--shadow-s); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ── CTA band ── */
.cta-band { position: relative; color: var(--cream); text-align: center; overflow: hidden; }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after { content: ''; position: absolute; inset: 0; background: rgba(28,38,27,.84); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); max-width: 22ch; margin: 18px auto 30px; }

/* ── footer ── */
.site-footer { background: var(--green-d); color: var(--sage-l); padding: 70px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 54px; }
.site-footer h4 { font-family: var(--ff-display); font-weight: 400; color: var(--cream); font-size: 17px; margin-bottom: 18px; }
.site-footer a:hover { color: var(--wood-xl); }
.footer-nav li, .footer-svc li { margin-bottom: 9px; }
.footer-brand img { height: 84px; margin-bottom: 18px; }
.footer-brand p { max-width: 30ch; line-height: 1.8; }
.footer-contact li { margin-bottom: 12px; display: flex; gap: 10px; align-items: baseline; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid var(--green-m); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: all .3s;
}
.footer-social a:hover { background: var(--wood); border-color: var(--wood); color: var(--cream); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid var(--green-m); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12px;
}
.footer-bottom a { color: var(--sage-l); } .footer-bottom a:hover { color: var(--wood-xl); }

/* ── reveal on scroll ── */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ── page hero (interior pages) ── */
.page-hero { padding-top: 150px; padding-bottom: 60px; }
.page-hero h1 { margin: 16px 0 14px; }
.page-hero .lead { max-width: 60ch; }

/* ── responsive ── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .masonry { columns: 2; }
}
@media (max-width: 760px) {
  .nav-desktop { display: none; }
  .burger { display: block; }
  .svc-block, .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .svc-block.flip .svc-media { order: 0; }
  .hero { min-height: 86vh; }
}
@media (max-width: 560px) {
  .masonry { columns: 1; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════ MOTION LAYER (v2) ═══════════ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* image load fade (JS adds .fade before load, .ld when done) */
img.fade { opacity: 0; transform: scale(1.03); }
img.ld { opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .5s var(--ease); }

/* marquee */
.marquee { overflow: hidden; background: var(--white); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); padding: 26px 0; contain: layout paint; }
.mq-track { display: flex; gap: 64px; width: max-content; animation: mq 30s linear infinite; will-change: transform; transform: translateZ(0); }
.mq-track span { font-family: var(--ff-serif); font-size: clamp(30px, 4vw, 48px); white-space: nowrap; line-height: 1; }
.mq-track .mq-o { color: transparent; -webkit-text-stroke: 1px var(--wood-l); }
.mq-track .mq-s { color: var(--green-d); }
.mq-track .mq-dot { color: var(--wood-l); }
@keyframes mq { to { transform: translateX(-50%); } }

/* full-bleed parallax break */
.break { position: relative; height: clamp(380px, 68vh, 640px); overflow: hidden; }
.break img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; transform: translateZ(0); }
.break .break-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px var(--pad) 26px; color: var(--cream);
  background: linear-gradient(transparent, rgba(28,38,27,.82));
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.break .break-cap b { font-family: var(--ff-display); font-weight: 400; font-size: clamp(19px, 2.4vw, 26px); }
.break .break-cap span { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--cream); opacity: .9; }

/* media clip reveal targets (JS animates clip-path) */
.js .svc-media, .js .break, .js .ba-wrap, .js .post-card > img { will-change: clip-path; }

/* header brand v2 */
.brand-lock svg { height: 44px; }
.brand-txt { gap: 2px; }
.brand-txt b { font-size: 22px; line-height: 1; letter-spacing: 1px; }
.brand-txt span { white-space: nowrap; font-size: 8px; letter-spacing: 2.4px; }
@media (max-width: 420px) { .brand-txt span { display: none; } .brand-txt b { font-size: 20px; } }

/* hero headline lines */
.hero h1 .hl { display: block; overflow: hidden; }
.hero h1 .hl > span { display: inline-block; }

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; }
  img.fade { opacity: 1; transform: none; }
}
.site-header.on-dark:not(.scrolled) .brand-lock circle { fill: #9db69c; }
@media (max-width: 1380px) { .nav-desktop { gap: 24px; } .nav-desktop a { font-size: 11px; letter-spacing: 1.6px; } }
@media (max-width: 1080px) { .nav-desktop { gap: 18px; } }

/* ── stall-proof reveal system (CSS transitions, IO adds .in) ── */
.masonry .ph { opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .6s var(--ease); }
.masonry .ph.in { opacity: 1; transform: none; }
.js .svc-media, .js .ba-wrap, .js .map-embed { clip-path: inset(11% 8% 11% 8%); transition: clip-path .9s var(--ease); }
.js .svc-media.in, .js .ba-wrap.in, .js .map-embed.in { clip-path: inset(0 0 0 0); }
.js .svc-media img { transform: scale(1.1); transition: transform 1.1s var(--ease); }
.js .svc-media.in img { transform: scale(1.001); }
.svc-block:hover .svc-media.in img { transform: scale(1.045); }

/* hero + page-hero entrance (pure CSS keyframes — run always) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(42px); } to { opacity: 1; transform: none; } }
.hero-content > * { animation: fadeUp 1s var(--ease) both; }
.hero-content > *:nth-child(1) { animation-delay: .15s }
.hero-content > *:nth-child(2) { animation-delay: .28s }
.hero-content > *:nth-child(3) { animation-delay: .41s }
.hero-content > *:nth-child(4) { animation-delay: .54s }
.page-hero .eyebrow, .page-hero h1, .page-hero .lead { animation: fadeUp .9s var(--ease) both; }
.page-hero h1 { animation-delay: .12s } .page-hero .lead { animation-delay: .24s }
@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .page-hero .eyebrow, .page-hero h1, .page-hero .lead { animation: none; }
  .masonry .ph { opacity: 1; transform: none; }
  .js .svc-media, .js .ba-wrap, .js .map-embed { clip-path: none; }
}

/* ── brand SVG lockup (his real logo, wordmark row) ── */
.brand-svg { display: flex; align-items: center; }
.brand-svg svg { height: 52px; width: auto; transition: height .3s; overflow: visible; }
.site-header.scrolled .brand-svg svg { height: 42px; }
.lg-sub { fill: var(--wood); }
.site-header.on-dark:not(.scrolled) .lg-sub { fill: var(--wood-xl); }
.lg-word { fill: var(--green-d); stroke: var(--cream); }
.lg-circle { fill: #3A4D39; }
.site-header.on-dark:not(.scrolled) .lg-word { fill: #F7F7F2; stroke: rgba(28,38,27,.9); }
.site-header.on-dark:not(.scrolled) .lg-circle { fill: #9db69c; }
.site-header.on-dark:not(.scrolled) .brand-sub { color: var(--wood-xl); }
@media (max-width: 420px) { .brand-sub { display: none; } }

/* ═══════════ INTERACTIVITY v3 ═══════════ */
/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2.5px; background: linear-gradient(90deg, var(--wood), var(--wood-xl)); transform-origin: 0 50%; transform: scaleX(0); z-index: 1300; pointer-events: none; }

/* headline word reveal (masked) */
.hero h1 .w, .sec-head h2 .w, .page-hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .w > span, .sec-head h2 .w > span, .page-hero h1 .w > span {
  display: inline-block; transform: translateY(110%); transition: transform .6s var(--ease);
}
h1.hin .w > span, h2.hin .w > span { transform: translateY(0); }
/* hero/page-hero animate on load via .hin added by IO immediately (in view) */
.hero h1 { animation: none; } .page-hero h1 { animation: none; }

/* eyebrow line draw */
.rv .eyebrow::before, .rv .eyebrow::after { width: 0; transition: width .8s var(--ease) .15s; }
.rv.in .eyebrow::before, .rv.in .eyebrow::after { width: 34px; }

/* svc-link arrow slide + underline draw */
.svc-link { position: relative; }
.svc-link::after { content: ''; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0; background: var(--wood); transition: width .35s var(--ease); }
.svc-link:hover::after { width: 100%; }

/* button fill sweep */
.btn { position: relative; overflow: hidden; z-index: 1; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--green-d); transform: translateX(-101%); transition: transform .35s var(--ease); z-index: -1; }
.btn:hover { background: transparent; }
.btn:hover::before { transform: translateX(0); }
.btn-light::before { background: var(--cream); }
.btn-wood::before { background: var(--wood); }
.btn-wa::before { display: none; }
.btn-solid::before { background: var(--green-m); transform: translateX(-101%); }
.btn-solid:hover { background: var(--green-d); }

/* blog card image zoom */
.post-card { overflow: hidden; }
.post-card img { transition: transform .8s var(--ease); }
.post-card:hover img { transform: scale(1.05); }

/* before/after handle idle pulse */
@keyframes baPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(247,247,242,.55); } 50% { box-shadow: 0 0 0 14px rgba(247,247,242,0); } }
.ba-wrap:not(.touched) .ba-handle::after { animation: baPulse 2.2s infinite; }

/* lightbox fade/zoom */
.lightbox { opacity: 0; pointer-events: none; transition: opacity .3s; display: flex; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { transform: scale(.96); transition: transform .35s var(--ease); }
.lightbox.open img { transform: scale(1); }

/* horizontal drag strip (home projects) */
.hstrip-wrap { position: relative; }
.hstrip { display: flex; gap: 20px; overflow-x: auto; padding: 6px var(--pad) 26px; scrollbar-width: none; cursor: grab; scroll-snap-type: x proximity; }
.hstrip::-webkit-scrollbar { display: none; }
.hstrip.grabbing { cursor: grabbing; scroll-snap-type: none; }
.hstrip .hcard { flex: 0 0 clamp(260px, 30vw, 420px); scroll-snap-align: start; position: relative; border-radius: 3px; overflow: hidden; }
.hstrip .hcard img { aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform .7s var(--ease); pointer-events: none; }
.hstrip .hcard:hover img { transform: scale(1.05); }
.hstrip .hcard .htag { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: var(--cream); font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase; background: linear-gradient(transparent, rgba(28,38,27,.72)); }
.hstrip-wrap::before, .hstrip-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: clamp(12px, 4vw, 60px); z-index: 2; pointer-events: none; }
.hstrip-wrap::before { left: 0; background: linear-gradient(90deg, var(--cream), transparent); }
.hstrip-wrap::after { right: 0; background: linear-gradient(-90deg, var(--cream), transparent); }
.drag-hint { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--sage); margin-top: 4px; }
.drag-hint::before, .drag-hint::after { content: '⟵'; color: var(--wood-l); }
.drag-hint::after { content: '⟶'; }

/* chat FAB pulse + tip */
@keyframes fabPulse { 0%,100% { box-shadow: 0 8px 28px rgba(47,62,46,.35), 0 0 0 0 rgba(47,62,46,.35); } 55% { box-shadow: 0 8px 28px rgba(47,62,46,.35), 0 0 0 16px rgba(47,62,46,0); } }
.ew-fab { animation: fabPulse 3s 2s 4; }
.ew-tip { position: fixed; right: 92px; bottom: 32px; z-index: 1199; background: var(--green-d); color: var(--cream); font-family: var(--ff-sans); font-size: 12.5px; padding: 11px 16px; border-radius: 12px 12px 3px 12px; box-shadow: var(--shadow-m); cursor: pointer; opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); max-width: 220px; }
.ew-tip.on { opacity: 1; transform: none; }

/* footer giant watermark */
.site-footer { position: relative; overflow: hidden; }
.footer-mark { position: absolute; left: 50%; top: -14px; transform: translateX(-50%); font-family: 'Nunito', sans-serif; font-weight: 900; font-size: clamp(90px, 17vw, 240px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(157,182,156,.14); pointer-events: none; user-select: none; white-space: nowrap; }
.site-footer .wrap { position: relative; z-index: 1; }
.site-footer { padding-top: clamp(90px, 12vw, 150px); }

/* custom cursor (desktop, added by JS only when rAF healthy) */
.cur-dot, .cur-ring { position: fixed; top: 0; left: 0; pointer-events: none; border-radius: 50%; z-index: 1400; }
.cur-dot { width: 6px; height: 6px; background: var(--wood); transform: translate(-50%, -50%); }
.cur-ring { width: 34px; height: 34px; border: 1.5px solid rgba(143,107,61,.5); transform: translate(-50%, -50%); transition: width .25s, height .25s, border-color .25s, background .25s; }
.cur-ring.hov { width: 54px; height: 54px; border-color: rgba(143,107,61,.9); background: rgba(143,107,61,.08); }
html.custom-cursor, html.custom-cursor a, html.custom-cursor button { cursor: none; }
@media (hover: none), (pointer: coarse) { .cur-dot, .cur-ring { display: none !important; } }

/* line icons (replace emoji) */
.li-ico { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transform: translateY(3px); }
.contact-item .ico svg { width: 20px; height: 20px; stroke: var(--green-d); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; gap: 20px; } }

/* ── side-converge reveals ── */
.rv-l { opacity: 0; transform: translateX(-64px); transition: opacity .75s var(--ease), transform .85s var(--ease); }
.rv-r { opacity: 0; transform: translateX(64px); transition: opacity .75s var(--ease), transform .85s var(--ease); }
.rv-l.in, .rv-r.in { opacity: 1; transform: none; }
/* elements that also clip-reveal need combined transitions */
.js .svc-media.rv-l, .js .svc-media.rv-r, .js .ba-wrap.rv-l, .js .ba-wrap.rv-r {
  transition: clip-path .9s var(--ease), opacity .75s var(--ease), transform .85s var(--ease);
}
@media (max-width: 760px) {
  .rv-l, .rv-r { transform: translateY(24px); }  /* vertical on mobile — side slides cause overflow feel */
}
@media (prefers-reduced-motion: reduce) { .rv-l, .rv-r { opacity: 1; transform: none; transition: none; } }

/* ── tap targets (WCAG 2.2 AA: 24px min, aiming 44px on primary actions) ── */
.svc-link { padding: 10px 0; }
.footer-nav a, .footer-svc a, .footer-contact a { display: inline-block; padding: 5px 0; }
.contact-item a { display: inline-block; padding: 6px 0; }
.footer-bottom a { display: inline-block; padding: 6px 2px; }
@media (max-width: 760px) {
  .contact-item a, .footer-nav a, .footer-svc a { padding: 8px 0; }
}
