/* ============================================================
   Mellbuilt Homes — shared stylesheet
   Palette: premium green + yellow, derived from brand_assets/logo.png
   Fonts: Anybody (display) + IBM Plex Sans (text) since the v4 layer. v2–v9 layers are appended at the end; later rules win.
   ============================================================ */

:root {
  /* Brand greens */
  --green-950: #0B1F0E;
  --green-900: #10290F;
  --green-800: #163D18;
  --green-700: #1F5C22;
  --green-600: #2E7D32;
  --green-500: #8FB73D;
  --green-300: #B4D45C;
  --green-200: #D6E8A6;

  /* Brand yellows */
  --yellow-400: #E5E818;
  --yellow-500: #F2D43C;

  /* Semantic aliases (the previous build's names are kept so lifted rules still resolve) */
  --primary:        var(--green-600);
  --primary-dark:   var(--green-700);
  --primary-light:  var(--green-500);
  --primary-alpha:  rgba(46, 125, 50, 0.12);
  --accent:         var(--green-500);
  --accent-light:   var(--green-300);
  --accent-dark:    var(--green-700);
  --accent-deep:    #1B3C0D;
  --accent-bright:  var(--yellow-500);
  --accent-alpha:   rgba(143, 183, 61, 0.14);
  --yellow:         var(--yellow-500);

  --gradient-brand: linear-gradient(135deg, #E5E818 0%, #8FB73D 45%, #265212 100%);
  --gradient-btn:   linear-gradient(135deg, #CFE23A 0%, #9AC43E 48%, #6F9E2E 100%);
  --gradient-rule:  linear-gradient(90deg, #E5E818 0%, #8FB73D 100%);
  --gradient-dark:  linear-gradient(160deg, var(--green-800) 0%, var(--green-900) 55%, var(--green-950) 100%);

  /* Text */
  --text-heading:   #10200F;
  --text-body:      #475244;
  --text-muted:     #7C877A;
  --text-inverted:  #FFFFFF;
  --heading:        var(--text-heading);
  --body:           var(--text-body);
  --muted:          var(--text-muted);
  --inverted:       var(--text-inverted);

  /* Backgrounds */
  --bg-white:       #FFFFFF;
  --bg-subtle:      #F5F8F0;
  --bg-muted:       #ECF2E3;
  --bg-dark:        var(--green-800);
  --bg-darker:      var(--green-950);

  /* Borders */
  --border:         rgba(16, 32, 15, 0.10);
  --border-subtle:  rgba(16, 32, 15, 0.06);

  /* Shadows — multi-stop, green-tinted */
  --shadow-xs:      0 1px 2px rgba(16,32,15,0.05);
  --shadow-sm:      0 1px 3px rgba(16,32,15,0.06), 0 4px 12px rgba(16,32,15,0.05);
  --shadow-md:      0 4px 8px rgba(16,32,15,0.04), 0 12px 32px rgba(16,32,15,0.10), 0 2px 4px rgba(16,32,15,0.04);
  --shadow-lg:      0 8px 16px rgba(16,32,15,0.05), 0 24px 56px rgba(16,32,15,0.16), 0 2px 4px rgba(16,32,15,0.04);
  --shadow-brand:   0 6px 24px rgba(143,183,61,0.34), 0 1px 4px rgba(16,32,15,0.10);
  --shadow-glow:    0 8px 32px rgba(229,232,24,0.30), 0 6px 30px rgba(143,183,61,0.45), 0 1px 4px rgba(16,32,15,0.10);

  /* Type scale */
  --text-xs:    0.7rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.0625rem;
  --text-xl:    1.25rem;
  --text-2xl:   clamp(1.25rem, 2.5vw, 1.5rem);
  --text-3xl:   clamp(1.5rem, 3vw, 2rem);
  --text-4xl:   clamp(1.6rem, 3vw, 2.25rem);
  --text-5xl:   clamp(2rem, 4vw, 3rem);
  --text-hero:  clamp(2.4rem, 5vw, 3.5rem);

  /* Depth planes */
  --z-base: 0; --z-raised: 1; --z-floating: 10; --z-overlay: 50; --z-nav: 100; --z-top: 200;
  --depth-0: 0px; --depth-1: 4px; --depth-2: 8px; --depth-3: 16px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-heading); line-height: 1.18; font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(229,232,24,0.55); color: var(--green-950); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: var(--z-top);
  background: var(--green-950); color: #fff; padding: 10px 16px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 0.875rem; transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 16px; outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Scroll progress bar (M1) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: var(--z-top);
  background: var(--gradient-rule);
  transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

/* ============================================================
   Section furniture (mirrors the reference template)
   ============================================================ */
.sec { padding: 88px 0; position: relative; }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head h2 {
  font-size: var(--text-4xl);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
}
.sec-head .subtext { max-width: 560px; margin: 20px auto 0; font-size: 1rem; line-height: 1.75; color: var(--text-body); }

.eyebrow-serif {
  font-family: var(--font-display);
  font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 500;
}
.eyebrow {
  display: inline-block;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-600);
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--yellow); }

.arrow-link {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep); padding: 6px 2px; position: relative;
  transition: color 0.25s ease, transform 0.25s var(--ease);
}
.arrow-link::after {
  content: ''; position: absolute; left: 2px; bottom: 2px; width: 0; height: 1.5px;
  background: var(--gradient-rule); transition: width 0.3s var(--ease);
}
.arrow-link:hover { color: var(--green-600); transform: translateX(3px); }
.arrow-link:hover::after { width: calc(100% - 4px); }
.arrow-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 2px; }
.arrow-link:active { transform: translateX(1px); }
.arrow-link.on-dark { color: #fff; }
.arrow-link.on-dark::after { background: var(--yellow); }
.arrow-link.on-dark:hover { color: var(--yellow); }

.text-link { color: var(--green-600); font-weight: 600; background-image: linear-gradient(var(--green-500), var(--green-500)); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.3s var(--ease), color 0.2s ease; }
.text-link:hover { background-size: 100% 1.5px; color: var(--green-700); }
.text-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 12px 28px;
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; position: relative; overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.18s var(--ease), border-color 0.25s ease, filter 0.25s ease;
}
.btn-primary { background: var(--gradient-btn); color: var(--green-950); box-shadow: var(--shadow-brand); }
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-110%); transition: transform 0.6s var(--ease);
}
.btn-primary:hover { filter: brightness(1.06) saturate(1.05); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.btn-primary:hover::before { transform: translateX(110%); }
.btn-primary:active { transform: translateY(1px) scale(0.98); box-shadow: var(--shadow-brand); }
.btn-primary:focus-visible { outline: 3px solid rgba(143,183,61,0.55); outline-offset: 3px; }

.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; transform: translateY(-2px); }
.btn-ghost:active { background: rgba(255,255,255,0.2); transform: translateY(1px); }
.btn-ghost:focus-visible { outline: 2px solid rgba(255,255,255,0.75); outline-offset: 3px; }

.btn-outline { background: transparent; color: var(--green-700); border: 1.5px solid rgba(46,125,50,0.45); }
.btn-outline:hover { background: var(--primary-alpha); border-color: var(--green-600); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(1px); }
.btn-outline:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.btn-magnetic { will-change: transform; }

/* ============================================================
   Reveal system (M3 / M4)
   ============================================================ */
.reveal        { opacity: 0; transform: translateY(26px);  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal-l      { opacity: 0; transform: translateX(-34px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal-r      { opacity: 0; transform: translateX(34px);  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal-scale  { opacity: 0; transform: scale(0.94);       transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible, .reveal-l.visible, .reveal-r.visible, .reveal-scale.visible { opacity: 1; transform: none; }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }
.stagger > :nth-child(1) { --i: 0; } .stagger > :nth-child(2) { --i: 1; } .stagger > :nth-child(3) { --i: 2; }
.stagger > :nth-child(4) { --i: 3; } .stagger > :nth-child(5) { --i: 4; } .stagger > :nth-child(6) { --i: 5; }
.stagger > :nth-child(7) { --i: 6; } .stagger > :nth-child(8) { --i: 7; }
/* image wipe: the media box unmasks left-to-right once in view */
.reveal-wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.15s var(--ease); }
.work-grid > :nth-child(even) .reveal-wipe, .bento > :nth-child(even).reveal { transition-delay: 0.15s; }
.reveal-wipe.visible { clip-path: inset(0 0 0 0); }
.reveal-wipe img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.reveal-wipe.visible img { transform: scale(1); }
html:not(.js) .reveal, html:not(.js) .reveal-l, html:not(.js) .reveal-r, html:not(.js) .reveal-scale { opacity: 1; transform: none; }
html:not(.js) .reveal-wipe { clip-path: none; }
html:not(.js) .reveal-wipe img { transform: none; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  height: 84px; display: flex; align-items: center;
  background: transparent;
  transition: height 0.35s var(--ease), background 0.35s ease, box-shadow 0.35s ease;
}
.nav::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,14,0.48) 0%, rgba(11,31,14,0.14) 60%, transparent 100%);
  transition: opacity 0.35s ease; pointer-events: none;
}
.nav.scrolled, .nav.solid {
  height: 68px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--shadow-md);
}
.nav.scrolled::before, .nav.solid::before { opacity: 0; }
.nav-inner {
  position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo-stack { position: relative; display: block; height: 46px; transition: height 0.35s var(--ease); }
.logo-stack img { height: 100%; width: auto; transition: opacity 0.35s ease; filter: drop-shadow(0 1px 5px rgba(11,31,14,0.45)); }
.logo-stack .logo-dark { position: absolute; top: 0; left: 0; opacity: 0; filter: none; }
.nav.scrolled .logo-stack, .nav.solid .logo-stack, .nav.menu-open .logo-stack { height: 38px; }
.nav.scrolled .logo-light, .nav.solid .logo-light, .nav.menu-open .logo-light { opacity: 0; }
.nav.scrolled .logo-dark, .nav.solid .logo-dark, .nav.menu-open .logo-dark { opacity: 1; }
.nav-logo:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; border-radius: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 13px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.94);
  text-shadow: 0 1px 6px rgba(11,31,14,0.4); position: relative;
  transition: color 0.25s ease, background 0.25s ease, text-shadow 0.25s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1.5px;
  background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav.scrolled .nav-link, .nav.solid .nav-link { color: var(--text-body); text-shadow: none; }
.nav.scrolled .nav-link::after, .nav.solid .nav-link::after { background: var(--green-500); }
.nav-link:hover { color: var(--yellow); background: rgba(255,255,255,0.10); }
.nav.scrolled .nav-link:hover, .nav.solid .nav-link:hover { color: var(--green-700); background: var(--accent-alpha); }
.nav-link[aria-current="page"] { font-weight: 600; }
.nav-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.nav-link:active { transform: translateY(1px); }

.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.02em; color: #fff;
  text-shadow: 0 1px 6px rgba(11,31,14,0.45);
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 4px;
  transition: color 0.25s ease, transform 0.2s var(--ease);
}
.nav.scrolled .nav-phone, .nav.solid .nav-phone { color: var(--green-700); text-shadow: none; }
.nav-phone:hover { color: var(--yellow); transform: translateY(-1px); }
.nav.scrolled .nav-phone:hover, .nav.solid .nav-phone:hover { color: var(--green-500); }
.nav-phone:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.nav-phone:active { transform: translateY(1px); }
.nav-phone svg { width: 15px; height: 15px; flex-shrink: 0; }
.nav-cta { min-height: 40px; padding: 9px 20px; font-size: 0.72rem; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s ease, background 0.3s ease; }
.nav.scrolled .burger span, .nav.solid .burger span, .nav.menu-open .burger span { background: var(--text-heading); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.burger:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Sticky mobile call bar */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-nav);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11,31,14,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -4px 20px rgba(11,31,14,0.25), 0 -1px 0 rgba(255,255,255,0.08);
  gap: 10px;
}
.mobile-cta .btn { flex: 1; min-height: 46px; padding: 10px 12px; font-size: 0.74rem; }
.mobile-cta .btn-ghost { border-color: rgba(255,255,255,0.4); }

/* ============================================================
   Hero (home) + page hero (interior)
   ============================================================ */
.hero {
  position: relative; min-height: 88vh;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 25vh 24px 84px; text-align: center; overflow: hidden;
  background: var(--green-900);
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 58%;
  transform-origin: center 55%;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.11); } }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,31,14,0.50) 0%, rgba(11,31,14,0.10) 36%, rgba(11,31,14,0.06) 68%, rgba(11,31,14,0.50) 100%),
    radial-gradient(ellipse 62% 44% at 50% 30%, rgba(11,31,14,0.36) 0%, transparent 74%);
}
.hero-inner { position: relative; z-index: 2; max-width: 1024px; }
.hero-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--yellow); text-shadow: 0 1px 10px rgba(11,31,14,0.6); margin-bottom: 18px;
  animation: rise 0.8s var(--ease) both;
}
.hero h1 {
  font-size: var(--text-hero); font-weight: 400; letter-spacing: -0.01em; color: #fff;
  text-shadow: 0 3px 26px rgba(11,31,14,0.5), 0 1px 3px rgba(11,31,14,0.35);
}
.hero h1 .w { display: inline-block; animation: rise 0.8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.hero-sub {
  font-size: 1.05rem; font-weight: 400; letter-spacing: 0.02em; color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 14px rgba(11,31,14,0.5); max-width: 640px; margin: 0 auto;
  animation: rise 0.9s var(--ease) 0.36s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; animation: rise 0.9s var(--ease) 0.46s both; }
.hero-meta {
  margin-top: 26px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); text-shadow: 0 1px 10px rgba(11,31,14,0.5);
  animation: rise 0.9s var(--ease) 0.56s both;
}
.meta-item + .meta-item::before { content: '\00b7'; margin: 0 12px; color: rgba(255,255,255,0.5); }
.meta-stars { color: var(--yellow); letter-spacing: 0.06em; }
@keyframes rise  { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
html:not(.js) .hero-eyebrow, html:not(.js) .hero h1 .w, html:not(.js) .hero-sub,
html:not(.js) .hero-actions, html:not(.js) .hero-meta { animation: none; opacity: 1; transform: none; }

/* Interior page hero */
.page-hero {
  position: relative; overflow: hidden; min-height: 54vh;
  display: flex; align-items: flex-end;
  padding: 150px 0 72px; color: #fff; background: var(--green-900);
}
.page-hero.short { min-height: 0; padding: 140px 0 56px; }
.page-hero .hero-media img { animation: none; object-position: center 50%; will-change: transform; }
.page-hero .hero-scrim { background: linear-gradient(180deg, rgba(11,31,14,0.55) 0%, rgba(11,31,14,0.18) 45%, rgba(11,31,14,0.72) 100%); }
.page-hero.dark { background: var(--gradient-dark); }
.page-hero.dark::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(143,183,61,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 90%, rgba(229,232,24,0.14) 0%, transparent 55%);
  animation: breathe 9s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: 0.75; transform: scale(1); } to { opacity: 1; transform: scale(1.05); } }
.page-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 820px; }
.page-hero .hero-eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: var(--text-5xl); font-weight: 400; color: #fff; letter-spacing: -0.01em; text-shadow: 0 3px 22px rgba(11,31,14,0.5); }
.page-hero h1 .w { display: inline-block; animation: rise 0.8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.page-hero .hero-sub { margin: 0; max-width: 620px; font-size: 1.02rem; }
.page-hero .hero-actions { justify-content: flex-start; margin-top: 26px; }
.page-hero .breadcrumb { position: relative; z-index: 2; }

.breadcrumb { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-bottom: 18px; animation: rise 0.8s var(--ease) both; }
.breadcrumb a { color: rgba(255,255,255,0.72); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.breadcrumb span::before { content: '/'; margin: 0 8px; color: rgba(255,255,255,0.4); }

/* ============================================================
   Intro (drop cap)
   ============================================================ */
.intro { background: var(--bg-white); text-align: center; }
.intro-body { max-width: 760px; margin: 0 auto; }
.intro h2 { font-size: var(--text-3xl); letter-spacing: 0; text-transform: none; color: var(--text-heading); margin-top: 26px; }
.intro-lead { font-size: var(--text-lg); line-height: 1.95; color: var(--text-body); margin-top: 32px; text-align: left; }
.intro-note { margin-top: 22px; font-size: 0.95rem; line-height: 1.85; color: var(--text-muted); text-align: left; }
.intro-cta { margin-top: 34px; }

/* ============================================================
   Full-bleed band with left card
   ============================================================ */
.band { position: relative; overflow: hidden; min-height: 620px; display: flex; align-items: center; }
.band-media { position: absolute; left: 0; right: 0; top: -12%; height: 124%; z-index: 0; will-change: transform; }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.band-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11,31,14,0.46) 0%, rgba(11,31,14,0.14) 46%, transparent 72%); }
.band-inner { position: relative; z-index: 2; width: 100%; }
.band-card {
  max-width: 460px; padding: 40px 38px;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 30px rgba(11,31,14,0.16), 0 30px 70px rgba(11,31,14,0.20), inset 0 1px 0 rgba(255,255,255,0.7);
}
.band-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-deep); }
.band-card p { margin-top: 22px; font-size: 0.975rem; line-height: 1.85; }
.band-card p + p { margin-top: 14px; }
.band-card .arrow-link { margin-top: 24px; }

/* ============================================================
   Portfolio tiles (home) + project grid (our homes)
   ============================================================ */
.work { background: var(--bg-white); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 48px; align-items: start; }
.tile { display: block; position: relative; }
.tile-media { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-muted); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.85s var(--ease), filter 0.5s ease; will-change: transform; }
.tile-frame {
  position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,0.75);
  opacity: 0; transform: scale(1.06); transition: opacity 0.7s var(--ease) 0.2s, transform 0.7s var(--ease) 0.2s; pointer-events: none; z-index: 1;
}
.visible .tile-frame, html:not(.js) .tile-frame { opacity: 1; transform: scale(1); }
.tile-cap {
  display: block; margin-top: 18px; text-align: center;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
  transition: color 0.3s ease, letter-spacing 0.4s var(--ease);
}
.tile-sub { display: block; text-align: center; margin-top: 6px; font-size: 0.85rem; color: var(--text-body); }
.tile:hover .tile-media img { transform: scale(1.07); }
.tile:hover .tile-cap { color: var(--green-700); letter-spacing: 0.2em; }
.tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.tile:focus-visible .tile-cap { color: var(--green-700); }
.tile:active .tile-media img { transform: scale(1.04); }
.work-more { text-align: center; margin-top: 56px; }

.badge-count {
  position: absolute; left: 30px; bottom: 30px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
  background: rgba(11,31,14,0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22); border-radius: 100px;
}
.badge-count svg { width: 13px; height: 13px; }


.proj { transition: opacity 0.35s ease, transform 0.35s var(--ease); }
.proj-toggle { display: block; width: 100%; background: none; border: none; cursor: pointer; text-align: center; padding: 0; color: inherit; }
.proj-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.proj-toggle:focus-visible .tile-cap { color: var(--green-700); }
.proj-toggle .tile-cap::after {
  content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 10px; vertical-align: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.proj.is-open .proj-toggle .tile-cap::after { transform: rotate(-135deg); vertical-align: -2px; }
.proj-drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.proj.is-open .proj-drawer { grid-template-rows: 1fr; }
.proj-drawer-inner { overflow: hidden; }
.proj-drawer-body { padding: 22px 0 6px; border-bottom: 1px solid var(--border-subtle); }
.proj-drawer-body p { font-size: 0.95rem; line-height: 1.8; max-width: 60ch; margin: 0 auto 18px; text-align: center; }
.thumb-strip { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.thumb {
  flex: 0 0 auto; width: 220px; aspect-ratio: 3 / 2; scroll-snap-align: start; overflow: hidden;
  border: none; padding: 0; background: var(--bg-muted); cursor: zoom-in; position: relative;
  box-shadow: var(--shadow-xs); transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.thumb.portrait { width: 150px; aspect-ratio: 3 / 4; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.thumb:hover img { transform: scale(1.05); }
.thumb:active { transform: translateY(0); }
.thumb:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* Lightbox (M12) */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-top); display: none; align-items: center; justify-content: center;
  padding: 24px; background: rgba(11,31,14,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lightbox.is-open { display: flex; animation: fadein 0.25s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.lightbox-fig { position: relative; margin: 0; max-width: min(960px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox-fig.lowres { max-width: min(680px, 100%); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 4px 14px rgba(0,0,0,0.35); animation: popin 0.35s var(--ease) both; }
@keyframes popin { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.lightbox figcaption { margin-top: 14px; color: rgba(255,255,255,0.8); font-size: 0.85rem; text-align: center; display: flex; gap: 14px; align-items: center; }
.lightbox-count { font-variant-numeric: tabular-nums; color: var(--yellow); font-weight: 600; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s var(--ease), border-color 0.2s ease;
}
.lb-btn svg { width: 18px; height: 18px; }
.lb-btn:hover { background: rgba(255,255,255,0.22); border-color: #fff; }
.lb-btn:active { transform: translateY(-50%) scale(0.95); }
.lb-btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close { position: absolute; top: 18px; right: 18px; transform: none; }
.lb-close:active { transform: scale(0.95); }

/* ============================================================
   Testimonial
   ============================================================ */
.quote-sec { background: var(--bg-subtle); }
.quote-box { border: 1px solid var(--border); background: var(--bg-white); padding: 60px 56px; text-align: center; box-shadow: var(--shadow-sm); position: relative; }
.stars { display: flex; justify-content: center; gap: 5px; margin-bottom: 26px; }
.stars svg { width: 17px; height: 17px; fill: var(--yellow); opacity: 0; transform: scale(0.5); }
.visible .stars svg, html:not(.js) .stars svg { animation: pop 0.5s var(--ease) forwards; }
.visible .stars svg:nth-child(1) { animation-delay: 0.10s; }
.visible .stars svg:nth-child(2) { animation-delay: 0.19s; }
.visible .stars svg:nth-child(3) { animation-delay: 0.28s; }
.visible .stars svg:nth-child(4) { animation-delay: 0.37s; }
.visible .stars svg:nth-child(5) { animation-delay: 0.46s; }
@keyframes pop { 0% { opacity: 0; transform: scale(0.5); } 65% { opacity: 1; transform: scale(1.18); } 100% { opacity: 1; transform: scale(1); } }
.quote-box blockquote { font-family: var(--font-display); font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.75; font-weight: 400; color: var(--text-heading); max-width: 830px; margin: 0 auto; }
.quote-attrib { margin-top: 30px; font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); }
.quote-source { margin-top: 8px; font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-muted); }

/* ============================================================
   Services (home cards) + service blocks (what we build)
   ============================================================ */
.svc { background: var(--bg-white); }
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--border-subtle); scroll-margin-top: 90px; }
.svc-block:first-of-type { border-top: 0; padding-top: 0; }
.svc-block.flip .svc-block-media { order: 2; }
.svc-block h2 { font-size: var(--text-3xl); letter-spacing: 0; text-transform: none; color: var(--text-heading); margin-top: 12px; }
.svc-block p { margin-top: 20px; }
.svc-list { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.svc-list li { position: relative; padding-left: 28px; font-size: 0.95rem; line-height: 1.6; }
.svc-list li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gradient-rule); box-shadow: 0 0 0 4px rgba(143,183,61,0.14);
}
.svc-block .btn { margin-top: 26px; }

/* Photo cluster (overlapping images with depth) */
.cluster { position: relative; aspect-ratio: 5 / 4; }
.cluster-img {
  position: absolute; overflow: hidden; background: var(--bg-muted);
  border: 6px solid #fff; box-shadow: var(--shadow-lg); will-change: transform;
}
.cluster-img img { width: 100%; height: 100%; object-fit: cover; }
.cluster-img.a { left: 0; top: 0; width: 66%; aspect-ratio: 3 / 2; z-index: 1; }
.cluster-img.b { right: 0; bottom: 6%; width: 50%; aspect-ratio: 4 / 3; z-index: 2; }
.cluster-img.c { right: 6%; top: 0; width: 32%; aspect-ratio: 1; z-index: 3; }
.cluster-img.d { left: -24px; bottom: 0; width: 44%; aspect-ratio: 4 / 3; z-index: 0; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 4px; font-family: var(--font-display); font-size: 1.1rem; color: var(--text-heading);
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: 0 0 auto; width: 10px; height: 10px; margin-right: 8px;
  border-right: 1.5px solid var(--green-600); border-bottom: 1.5px solid var(--green-600);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--green-700); }
.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.faq-a { padding: 0 4px 22px; font-size: 0.95rem; line-height: 1.8; max-width: 70ch; }
.faq-a p + p { margin-top: 10px; }
.last-updated { margin-top: 24px; text-align: center; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

/* Service-area pills */
.area-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.area-pill { padding: 7px 14px; border-radius: 100px; background: var(--bg-white); border: 1px solid var(--border); font-size: 0.82rem; font-weight: 600; color: var(--green-800); }
.on-dark .area-pill { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }

/* ============================================================
   How We Build: timeline (M9), stages (M8), counters (M10), principles
   ============================================================ */
.timeline { position: relative; max-width: 1024px; margin: 0 auto; padding: 10px 0; }
.tl-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--border); }
.tl-line::before { content: ''; position: absolute; inset: 0; background: var(--gradient-brand); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); transition: transform 0.15s linear; }
.tl-step { position: relative; display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; gap: 0; padding: 26px 0; }
.tl-num {
  grid-column: 2; justify-self: center; width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--green-950);
  background: var(--gradient-btn); box-shadow: var(--shadow-brand), 0 0 0 6px var(--bg-white);
  opacity: 0; transform: scale(0.4); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.tl-node.visible .tl-num, html:not(.js) .tl-num { opacity: 1; transform: scale(1); }
.tl-card {
  grid-column: 1; grid-row: 1; background: var(--bg-white); border: 1px solid var(--border); padding: 26px 28px; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateX(-30px); transition: opacity 0.7s var(--ease) 0.1s, transform 0.7s var(--ease) 0.1s, box-shadow 0.3s ease;
}
.tl-step:nth-child(even) .tl-card { grid-column: 3; transform: translateX(30px); }
.tl-node.visible .tl-card, html:not(.js) .tl-card { opacity: 1; transform: none; }
.tl-card:hover { box-shadow: var(--shadow-md); }
.tl-card h3 { font-size: 1.15rem; color: var(--text-heading); }
.tl-card .tl-kicker { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-600); margin-bottom: 8px; }
.tl-card p { margin-top: 10px; font-size: 0.93rem; line-height: 1.75; }

.stages { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.stage-pane { position: sticky; top: 96px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-muted); box-shadow: var(--shadow-lg); }
.stage { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage.is-active, .stage:first-child:not(.is-off) { opacity: 1; transform: none; }
.stage-tag { position: absolute; left: 20px; top: 20px; padding: 6px 12px; background: rgba(11,31,14,0.7); color: var(--yellow); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 100px; backdrop-filter: blur(6px); }
.stage-dots { position: absolute; right: 20px; bottom: 18px; display: flex; gap: 6px; }
.stage-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: background 0.3s ease, transform 0.3s var(--ease); }
.stage-dots i.is-active { background: var(--yellow); transform: scale(1.3); }
.beats { display: grid; gap: 28px; padding: 20px 0; }
.beat { padding: 28px 30px; border-left: 2px solid var(--border); transition: border-color 0.4s ease, background 0.4s ease; min-height: 38vh; display: flex; flex-direction: column; justify-content: center; }
.beat.is-active { border-color: var(--green-500); background: var(--bg-subtle); }
.beat .eyebrow { margin-bottom: 10px; }
.beat h3 { font-size: 1.3rem; }
.beat p { margin-top: 10px; font-size: 0.95rem; line-height: 1.8; }

.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.counter { padding: 30px 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(8px); }
.counter-num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--yellow); font-variant-numeric: tabular-nums; line-height: 1; }
.counter-label { margin-top: 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.82); }


/* ============================================================
   About: story, generations timeline, expect cards
   ============================================================ */
.story { max-width: 760px; margin: 0 auto; }
.story h2 { font-size: var(--text-3xl); letter-spacing: 0; text-transform: none; color: var(--text-heading); }
.story .intro-lead { margin-top: 28px; }
.story p + p { margin-top: 18px; font-size: 1rem; line-height: 1.9; }

.generations { position: relative; padding: 24px 0 10px; }
.gen-line { position: absolute; left: 8%; right: 8%; top: 44px; height: 2px; background: var(--border); }
.gen-line::before { content: ''; position: absolute; inset: 0; background: var(--gradient-brand); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform 0.15s linear; }
.gen-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.gen-node { text-align: center; opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.gen-node.visible, html:not(.js) .gen-node { opacity: 1; transform: none; }
.gen-dot { width: 42px; height: 42px; margin: 0 auto; border-radius: 50%; background: var(--bg-white); border: 2px solid var(--green-500); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--bg-subtle), 0 2px 6px rgba(16,32,15,0.10); position: relative; z-index: 1; color: var(--green-700); }
.gen-node:last-child .gen-dot { background: var(--gradient-btn); border-color: transparent; color: var(--green-950); }
.gen-card { margin-top: 22px; padding: 22px 16px; background: var(--bg-white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.3s ease; min-height: 150px; }
.gen-node:hover .gen-card { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gen-card .eyebrow { font-size: 0.62rem; }
.gen-card h3 { font-size: 1rem; margin-top: 8px; line-height: 1.3; }
.gen-card p { margin-top: 8px; font-size: 0.85rem; line-height: 1.6; }

.words { max-width: 820px; margin: 0 auto; text-align: center; }
.words blockquote { font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.8; color: #fff; }
.words .eyebrow { margin-bottom: 18px; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.form-card { background: var(--bg-white); border: 1px solid var(--border); padding: 36px; box-shadow: var(--shadow-md); scroll-margin-top: 90px; }
.form-card h2 { font-size: var(--text-2xl); letter-spacing: 0; text-transform: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.form-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--text-heading); margin-bottom: 6px; display: block; }
.form-label .opt { font-weight: 500; color: var(--text-muted); }
.form-input, .form-select, .form-textarea {
  width: 100%; min-height: 48px; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 12px 14px;
  font-size: 0.95rem; font-family: inherit; color: var(--text-heading); background: var(--bg-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease; appearance: none;
}
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: rgba(46,125,50,0.4); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(46,125,50,0.14); outline: none; transform: translateY(-1px); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232E7D32' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; }
.form-actions .btn { width: 100%; min-height: 50px; }
.form-note { margin-top: 12px; font-size: 0.85rem; color: var(--text-muted); text-align: center; }
.form-consent { margin-top: 10px; font-size: 0.78rem; color: var(--text-muted); text-align: center; }
.form-consent a { color: var(--green-600); text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--green-700); }
.form-consent a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.details { display: grid; gap: 22px; }
.detail { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; background: var(--bg-white); border: 1px solid var(--border); box-shadow: var(--shadow-xs); transition: box-shadow 0.3s ease, transform 0.3s var(--ease); }
.detail:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.detail h3 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700); }
.detail p, .detail a.big { margin-top: 6px; font-size: 0.95rem; line-height: 1.7; display: block; }
.detail a.big { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-heading); transition: color 0.2s ease; }
.detail a.big:hover { color: var(--green-600); }
.detail a.big:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.detail .area-pills { margin-top: 10px; }

/* Thanks / 404 */
.simple-page { min-height: 60vh; display: flex; align-items: center; text-align: center; padding: 160px 0 96px; }
.simple-page h1 { font-size: var(--text-5xl); }
.simple-page p { max-width: 560px; margin: 20px auto 0; }
.simple-page .hero-actions { margin-top: 30px; justify-content: center; animation: none; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; letter-spacing: 0; text-transform: none; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--border); }
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 36px; }
.legal p, .legal li { font-size: 1rem; line-height: 1.8; margin-top: 14px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--green-600); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--green-700); }
.legal a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.legal-contact { margin-top: 40px; padding: 26px 28px; background: var(--bg-subtle); border: 1px solid var(--border); }
.legal-contact p { margin-top: 6px; }
.legal .btn { margin-top: 32px; }

/* ============================================================
   CTA band + footer (dark, layered, noise)
   ============================================================ */
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 92px 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(143,183,61,0.30) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 100%, rgba(229,232,24,0.14) 0%, transparent 55%),
    var(--gradient-dark);
}
.cta::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.10) 50%, transparent 62%);
  background-size: 260% 100%; animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 130% 0; } 50% { background-position: -30% 0; } }
.noise { position: absolute; inset: 0; opacity: 0.045; pointer-events: none; }
.cta-inner { position: relative; z-index: 1; }
.cta .eyebrow { color: var(--yellow); }
.cta h2 { font-size: var(--text-4xl); letter-spacing: 0.07em; text-transform: uppercase; color: #fff; margin-top: 14px; }
.cta p { max-width: 680px; margin: 26px auto 0; color: rgba(255,255,255,0.86); font-size: 1rem; line-height: 1.85; }
.cta-actions { margin-top: 32px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.dark-sec { position: relative; overflow: hidden; color: #fff; background: var(--gradient-dark); }
.dark-sec::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 15% 0%, rgba(143,183,61,0.26) 0%, transparent 60%); animation: breathe 10s ease-in-out infinite alternate; pointer-events: none; }
.dark-sec .sec-head h2 { color: #fff; }
.dark-sec .container { position: relative; z-index: 1; }
.dark-sec p { color: rgba(255,255,255,0.78); }

.footer {
  position: relative; overflow: hidden; color: rgba(255,255,255,0.72); padding: 68px 0 30px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(143,183,61,0.18) 0%, transparent 62%), linear-gradient(160deg, var(--green-900) 0%, var(--green-950) 100%);
}
.footer-inner { position: relative; z-index: 1; }
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer-logo img { height: 54px; width: auto; }
.footer-blurb { max-width: 560px; font-size: 0.92rem; line-height: 1.8; color: rgba(255,255,255,0.72); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,0.8); padding: 5px 2px; position: relative; transition: color 0.25s ease; }
.footer-nav a::after { content: ''; position: absolute; left: 2px; bottom: 0; width: 0; height: 1.5px; background: var(--yellow); transition: width 0.3s var(--ease); }
.footer-nav a:hover { color: var(--yellow); }
.footer-nav a:hover::after { width: calc(100% - 4px); }
.footer-nav a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 48px; padding-top: 42px; border-top: 1px solid rgba(255,255,255,0.12); text-align: center; }
.footer-col h3 { font-size: 0.72rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.footer-col p { font-size: 0.925rem; line-height: 1.8; color: rgba(255,255,255,0.76); }
.footer-phone { font-size: 1.15rem; font-weight: 700; color: #fff; display: inline-block; padding: 2px; transition: color 0.25s ease, transform 0.2s var(--ease); }
.footer-phone:hover { color: var(--yellow); transform: translateY(-1px); }
.footer-phone:active { transform: translateY(1px); }
.footer-phone:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 3px; }
.footer-areas { margin-top: 36px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.8; }
.footer-areas strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.footer-base { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: 0.78rem; color: rgba(255,255,255,0.5); text-align: center; }
.footer-base a { color: rgba(255,255,255,0.72); transition: color 0.25s ease; }
.footer-base a:hover { color: var(--yellow); }
.footer-base a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.legal-links a + a::before { content: '\00b7'; margin: 0 8px; color: rgba(255,255,255,0.35); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .band-card { max-width: 420px; padding: 34px 30px; }
  .hero { padding-top: 22vh; }
  .svc-block { gap: 36px; }
  .gen-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .gen-card { padding: 16px 10px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 1024px) {
  .nav-right .nav-phone span, .nav-cta { display: none; }
  .burger { display: flex; }
  /* the menu itself is the full-screen overlay — see the v7 block at the end of this file */
  .mobile-cta { display: flex; }
  body.has-mobile-cta { padding-bottom: 72px; }
  .work-grid { gap: 40px 32px; }
  .stages { grid-template-columns: 1fr; gap: 24px; }
  .stage-pane { position: relative; top: 0; display: none; }
  .beats { gap: 16px; padding: 0; }
  .beat { min-height: 0; padding: 0 0 8px; border-left: 0; background: transparent !important; }
  .beat-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow-md); }
  .beat-img img { width: 100%; height: 100%; object-fit: cover; }
  .svc-block { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .svc-block.flip .svc-block-media { order: 0; }
  .cluster { max-width: 520px; }
  .cluster-img.d { left: 0; }
  .timeline .tl-line { left: 23px; }
  .tl-step { grid-template-columns: 46px 1fr; gap: 18px; padding: 18px 0; }
  .tl-num { grid-column: 1; grid-row: 1; }
  .tl-card, .tl-step:nth-child(even) .tl-card { grid-column: 2; grid-row: 1; transform: translateX(20px); }
  .gen-line { display: none; }
  .gen-grid { grid-template-columns: 1fr; gap: 14px; }
  .gen-node { display: grid; grid-template-columns: 42px 1fr; gap: 16px; text-align: left; align-items: start; }
  .gen-dot { box-shadow: none; margin: 0; }
  .gen-card { margin-top: 0; min-height: 0; }
}
@media (min-width: 1025px) { .beat-img { display: none; } }
@media (max-width: 768px) {
  .sec { padding: 64px 0; }
  .hero { min-height: 92vh; padding: 20vh 22px 64px; }
  .page-hero { min-height: 0; padding: 124px 0 48px; }
  .band { min-height: 520px; }
  .band-card { max-width: 100%; padding: 30px 24px; }
  .band-scrim { background: linear-gradient(120deg, rgba(11,31,14,0.5) 0%, rgba(11,31,14,0.28) 60%, rgba(11,31,14,0.18) 100%); }
  .quote-box { padding: 44px 26px; }
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
  .intro-lead { font-size: 1rem; }
  .counters { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .thumb { width: 180px; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
}
@media (max-width: 640px) {
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .cta { padding: 68px 0; }
  .hero-meta { font-size: 0.7rem; letter-spacing: 0.08em; line-height: 2; }
  .meta-mid { display: none; }
}

/* ============================================================
   Motion safety
   ============================================================ */
@media (hover: none), (pointer: coarse) {
  [data-parallax] { transform: none !important; }
}
/* Reduced motion — tone down continuous/large motion only. Entrances and scroll reveals keep working. */
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: scale(1.03); }
  .band-media, [data-parallax], .page-hero .hero-media img { transform: none !important; }
  .cta::after, .page-hero.dark::before, .dark-sec::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   v2 — editorial layer: stone + paper + deep green + yellow
   (appended after the base layer; later rules win)
   ============================================================ */
:root {
  --stone: #F4F1E8; --stone-2: #ECE7D9;
  --paper: #EEF3E1; --paper-2: #E2EAD0;
  --bg-subtle: var(--paper); --bg-muted: var(--paper-2);
}
body { background: var(--stone); }
.sec { background: var(--stone); }
.sec-paper, .intro, .quote-sec { background: var(--paper); }
.work, .svc { background: var(--stone); }
.sec.dark-sec, .dark-sec { background: var(--gradient-dark); }
.form-card, .detail, .gen-card, .tl-card, .quote-box, .area-pill { background: #fff; }

/* blueprint grid behind paper sections */
.bp { position: relative; }
.bp::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(46,125,50,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(46,125,50,0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 20%, transparent 100%);
}
.bp > .container { position: relative; z-index: 1; }

.sec > .container { position: relative; z-index: 1; }

/* eyebrow dash */
.eyebrow::before { content: ''; display: inline-block; width: 22px; height: 2px; background: var(--yellow); margin-right: 10px; vertical-align: 3px; }
.eyebrow-serif::before { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--gradient-rule); margin-right: 12px; vertical-align: 5px; }
.eyebrow-serif::after  { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--gradient-rule); margin-left: 12px; vertical-align: 5px; }

/* brush word (section version, draws on reveal) */
.brush-word { position: relative; display: inline-block; white-space: nowrap; font-style: italic; }

.cursor-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 50%), rgba(229,232,24,0.16), transparent 70%); transition: opacity 0.4s ease; opacity: 0; }
[data-glow]:hover .cursor-glow { opacity: 1; }

/* ---------- Editorial hero (home) ---------- */
.hero { align-items: stretch; justify-content: flex-start; text-align: left; padding: 0; min-height: 88vh; }
.hero-media img { object-position: 72% 56%; }
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(11,31,14,0.95) 0%, rgba(11,31,14,0.82) 30%, rgba(11,31,14,0.30) 62%, rgba(11,31,14,0.08) 100%),
    linear-gradient(180deg, rgba(11,31,14,0.45) 0%, transparent 28%, transparent 72%, rgba(11,31,14,0.40) 100%);
}
.hero-inner {
  width: 100%; max-width: 1140px; margin: 0 auto; padding: 21vh 24px 92px;
  display: grid; grid-template-columns: minmax(0, 640px) 1fr; align-items: end; gap: 32px;
}
.hero h1 { line-height: 1.05; text-align: left; }
.hero h1 em { font-style: italic; }
.hero-sub { margin: 0; max-width: 560px; }
.hero-actions { justify-content: flex-start; }
.hero-meta { text-align: left; }
.hero-eyebrow::before { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--yellow); margin-right: 12px; vertical-align: 3px; }


/* ---------- Band crossfade ---------- */
.xfade img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; }
.xfade[data-stage="0"] img:nth-child(1), .xfade[data-stage="1"] img:nth-child(2), .xfade[data-stage="2"] img:nth-child(3) { opacity: 1; }
html:not(.js) .xfade img:first-child { opacity: 1; animation: none; }
.band-tag { position: absolute; right: 28px; bottom: 26px; z-index: 3; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; background: rgba(11,31,14,0.7); color: var(--yellow); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 100px; backdrop-filter: blur(6px); }

/* ---------- Photo break ---------- */
.photo-break { position: relative; overflow: hidden; min-height: 54vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: var(--green-900); }
.photo-break .hero-media { position: absolute; left: 0; right: 0; top: -14%; height: 128%; z-index: 0; will-change: transform; }
.photo-break .hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) contrast(1.04); }
.photo-break .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,31,14,0.66) 0%, rgba(11,31,14,0.38) 50%, rgba(11,31,14,0.70) 100%); }
.photo-break .scrim2 { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(22,61,24,0.35) 0%, transparent 70%), radial-gradient(ellipse 45% 50% at 50% 50%, rgba(229,232,24,0.10) 0%, transparent 70%); }
.photo-break-inner { position: relative; z-index: 2; max-width: 860px; padding: 88px 24px; }
.photo-break h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: 0; text-transform: none; font-style: italic; font-weight: 400; line-height: 1.25; text-shadow: 0 3px 24px rgba(11,31,14,0.5); }
.photo-break .eyebrow { color: var(--yellow); margin-bottom: 16px; }
.photo-break .arrow-link { margin-top: 24px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px;
  padding: 28px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--yellow); color: inherit; box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.bento-card:active { transform: translateY(-1px); }
.bento-card.feature { grid-column: span 7; grid-row: span 2; min-height: 480px; color: #fff; background: var(--gradient-dark); border-color: transparent; border-top-color: var(--yellow); }
.bento-card.side { grid-column: span 5; }
.bento-card.wide { grid-column: span 12; flex-direction: row; align-items: center; gap: 28px; min-height: 0; padding: 0 28px 0 0; }
.bento-img { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.bento-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento-card:hover .bento-img img { transform: scale(1.05); }
.bento-card.feature .bento-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,14,0.34) 0%, rgba(11,31,14,0.08) 28%, rgba(11,31,14,0.55) 60%, rgba(11,31,14,0.94) 100%); }
.bento-card.wide .bento-img { position: relative; flex: 0 0 38%; width: 38%; aspect-ratio: 16 / 9; }
.bento-card.side .bento-img { display: none; }
.bento-body { position: relative; z-index: 1; }
.bento-card.wide .bento-body { padding: 26px 0; }
.bento-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: var(--yellow); color: var(--green-950); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; font-weight: 600; }
.bento-card h3 { font-size: 1.2rem; margin-top: 14px; color: var(--text-heading); }
.bento-card.feature h3 { font-size: var(--text-3xl); color: #fff; }
.bento-card p { margin-top: 10px; font-size: 0.93rem; line-height: 1.7; }
.bento-card.feature p { color: rgba(255,255,255,0.84); max-width: 480px; }
.bento-card .arrow-link { margin-top: 14px; font-size: 0.66rem; }
.bento-card.feature .arrow-link { color: var(--yellow); }
.bento-card.feature .arrow-link::after { background: var(--yellow); }

/* ---------- Proof block: stats + giant quote on deep green ---------- */
.proof { position: relative; overflow: hidden; color: #fff; background: var(--gradient-dark); }
.proof::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 12% 0%, rgba(143,183,61,0.28) 0%, transparent 60%), radial-gradient(ellipse 40% 40% at 90% 100%, rgba(229,232,24,0.12) 0%, transparent 60%); animation: breathe 10s ease-in-out infinite alternate; pointer-events: none; }
.proof .counters { margin-bottom: 72px; }
.big-quote { position: relative; max-width: 960px; margin: 0 auto; text-align: center; padding-top: 40px; }
.big-quote .stars { margin-bottom: 22px; }
.big-quote .stars svg { fill: var(--yellow); width: 19px; height: 19px; }
.big-quote blockquote { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.2rem, 2.1vw, 1.85rem); line-height: 1.6; color: #fff; }
.big-quote .quote-attrib { color: var(--yellow); margin-top: 28px; }
.big-quote .quote-source { color: rgba(255,255,255,0.6); }

/* ---------- Yellow CTA band ---------- */
.cta {
  color: var(--green-950);
  background:
    radial-gradient(ellipse 60% 80% at 88% 8%, rgba(255,255,255,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 8% 100%, rgba(143,183,61,0.35) 0%, transparent 60%),
    linear-gradient(135deg, #F8E052 0%, #F2D43C 48%, #E9C72B 100%);
}
.cta::after { background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.28) 50%, transparent 62%); background-size: 260% 100%; }
.cta .noise { opacity: 0.07; }
.cta .eyebrow { color: var(--green-800); }
.cta .eyebrow::before { background: var(--green-800); }
.cta h2 { color: var(--green-950); }
.cta p { color: rgba(11,31,14,0.82); }
.cta .btn-primary { background: var(--green-900); color: #fff; box-shadow: 0 10px 28px rgba(11,31,14,0.30), 0 1px 4px rgba(11,31,14,0.22); }
.cta .btn-primary:hover { background: var(--green-800); filter: none; box-shadow: 0 14px 34px rgba(11,31,14,0.36), 0 1px 4px rgba(11,31,14,0.22); }
.cta .btn-primary::before { background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.22) 50%, transparent 60%); }
.cta .btn-ghost { color: var(--green-950); border-color: rgba(11,31,14,0.45); }
.cta .btn-ghost:hover { background: rgba(11,31,14,0.08); border-color: var(--green-950); }
.cta .btn-ghost:focus-visible { outline-color: var(--green-800); }
.cta .cursor-glow { background: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.35), transparent 70%); }

/* ---------- Map of the patch ---------- */
.map-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.map-copy h2 { font-size: var(--text-3xl); letter-spacing: 0; text-transform: none; color: var(--text-heading); margin-top: 12px; }
.map-copy p { margin-top: 20px; }
.map-copy .area-pills { margin-top: 20px; }
.map-copy .arrow-link { margin-top: 22px; }
.map { position: relative; }
.map svg { width: 100%; height: auto; display: block; overflow: visible; }
.map-contour { fill: none; stroke: rgba(46,125,50,0.18); stroke-width: 1; }
.map-line { fill: none; stroke: var(--green-600); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease); }
.map-line.dotted { stroke-dasharray: 0.02 0.03; stroke-dashoffset: 0; opacity: 0; transition: opacity 0.8s ease 1.2s; }
.visible .map-line { stroke-dashoffset: 0; }
.visible .map-line.dotted { opacity: 1; }
.visible .map-line:nth-of-type(2) { transition-delay: 0.1s; } .visible .map-line:nth-of-type(3) { transition-delay: 0.2s; }
.visible .map-line:nth-of-type(4) { transition-delay: 0.3s; } .visible .map-line:nth-of-type(5) { transition-delay: 0.4s; } .visible .map-line:nth-of-type(6) { transition-delay: 0.5s; }
html:not(.js) .map-line { stroke-dashoffset: 0; opacity: 1; }
.town-dot { fill: var(--yellow); stroke: var(--green-900); stroke-width: 2; }
.town-dot.home { stroke-width: 3; }
.town-pulse { fill: none; stroke: var(--yellow); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse-ring 2.8s ease-out infinite; }
.town-pulse.p2 { animation-delay: 0.9s; } .town-pulse.p3 { animation-delay: 1.6s; }
@keyframes pulse-ring { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.town-label { font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; fill: var(--green-900); }
.town-label.home { font-size: 13px; fill: var(--green-950); }
.map-note { font-family: var(--font-display); font-style: italic; font-size: 13px; fill: var(--green-700); }

/* ---------- Footer: ghost wordmark + signature ---------- */
.footer { padding-top: 96px; }
.footer-ghost {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%); z-index: 0; white-space: nowrap; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(4.5rem, 13vw, 12rem); letter-spacing: 0.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(242,212,60,0.16);
}
.footer-script { height: 38px; width: auto; margin: 4px auto 0; opacity: 0.95; }

/* ---------- Responsive for the v2 layer ---------- */
@media (max-width: 1024px) {
  .bento-card.feature { grid-column: span 12; min-height: 400px; }
  .bento-card.side { grid-column: span 6; }
  .map-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 18vh 22px 80px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(11,31,14,0.62) 0%, rgba(11,31,14,0.42) 50%, rgba(11,31,14,0.78) 100%); }
  .hero-media img { object-position: 60% 56%; }
}
@media (max-width: 640px) {
  .bento-card.side { grid-column: span 12; }
  .bento-card.wide { flex-direction: column; align-items: stretch; padding: 0 22px 22px; gap: 0; }
  .bento-card.wide .bento-img { width: calc(100% + 44px); margin: 0 -22px; flex-basis: auto; }
  .bento-card.wide .bento-body { padding: 22px 0 0; }
  .bento-card { padding: 22px; }
  .photo-break { min-height: 0; }
  .photo-break-inner { padding: 64px 22px; }
  .footer-ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .xfade img { transition-duration: 0.2s; }
  .town-pulse { animation: none; opacity: 0; }
  .proof::before { animation: none; }
}

/* ============================================================
   v3 — brand type + slant layer (29 Oct 2026, Adam: "match the logo, less template-y, more colour")
   (Archivo was the v3 face; v4 moved the site to Anybody + IBM Plex Sans.) Wide 900 italic for the logo voice, 800 for headings.
   The logo's lean (skewX -12deg) drives buttons, tags, section edges and reveals; yellow highlighter;
   solid logo-green section; dark slanted hero panel with the logo-gradient edge.
   Appended after the v2 layer — later rules win.
   ============================================================ */
:root {
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;
  --skew: -12deg;
  --cut: 3.5vw;
  --text-hero: clamp(2.5rem, 4.6vw, 3.5rem);
  --text-5xl: clamp(1.9rem, 3.4vw, 2.6rem);
  --text-4xl: clamp(1.7rem, 2.8vw, 2.25rem);
  --gradient-logo-v: linear-gradient(180deg, #E5E818 0%, #8FB73D 50%, #265212 100%);
  --gradient-text: linear-gradient(100deg, #E5E818 0%, #C9DD3A 45%, #8FB73D 100%);
  --gradient-btn: linear-gradient(100deg, #D9E63A 0%, #9AC43E 55%, #7FA535 100%);
}
body { font-family: var(--font-body); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
h3, h4 { font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Section heads: left, sentence case, no rule, no ghost numerals ---------- */
.sec-head { text-align: left; }
.sec-head h2 { text-transform: none; letter-spacing: -0.02em; color: var(--text-heading); font-weight: 800; }
.sec-head .subtext { margin: 16px 0 0; }
.intro { text-align: left; }
.intro .sec-head { max-width: 760px; margin-left: auto; margin-right: auto; }
.intro h2 { margin-top: 0; }
.intro-lead { margin-top: 26px; }
.work-more { text-align: left; margin-top: 40px; }
.proj-toggle { text-align: left; }
.proj-drawer-body p { margin: 0 0 18px; text-align: left; }
.quote-box, .quote-attrib, .quote-source, .last-updated { text-align: left; }
.quote-box .stars { justify-content: flex-start; }
.band-card h2 { text-transform: none; letter-spacing: -0.02em; }
.band-card { border-left: 4px solid var(--green-500); }
.band-card p { margin-top: 16px; }
.cta h2 { text-transform: none; letter-spacing: -0.02em; margin-top: 0; }
.photo-break h2 { font-family: var(--font-display); font-weight: 700; font-style: italic; letter-spacing: -0.015em; font-size: clamp(1.5rem, 2.7vw, 2.15rem); }
.page-hero h1, .hero h1 { font-weight: 800; letter-spacing: -0.025em; }
.svc-block p, .map-copy p { margin-top: 16px; }
.faq summary { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.detail a.big { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.detail h3, .footer-col h3 { font-family: var(--font-display); }
.form-label { font-family: var(--font-display); }
.tl-num { font-family: var(--font-display); font-weight: 800; }
.town-label { font-family: var(--font-display); font-weight: 800; }
.map-note { font-family: var(--font-display); font-weight: 500; font-style: italic; }

/* ---------- Highlighter: a yellow marker sweeps under the key phrase on reveal ---------- */
.brush-word {
  font-style: normal; white-space: nowrap; padding: 0 0.12em; margin: 0 -0.06em;
  background-image: linear-gradient(transparent 52%, rgba(242,212,60,0.95) 52%, rgba(242,212,60,0.95) 94%, transparent 94%);
  background-repeat: no-repeat; background-size: 0% 100%; background-position: 0 0;
  transition: background-size 0.9s var(--ease) 0.35s;
}
.visible .brush-word, html:not(.js) .brush-word { background-size: 100% 100%; }

/* ---------- Slanted yellow tags replace every eyebrow ---------- */
.eyebrow, .eyebrow-serif, .hero-eyebrow, .tl-kicker {
  position: relative; isolation: isolate; display: inline-block;
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2;
  color: var(--green-950); padding: 7px 13px 6px; margin-bottom: 16px;
  text-shadow: none; background: none; border: 0; border-radius: 0; box-shadow: none;
}
.eyebrow::before, .eyebrow-serif::before, .hero-eyebrow::before, .tl-kicker::before {
  content: ''; position: absolute; inset: 0; z-index: -1; display: block; width: auto; height: auto; margin: 0; vertical-align: baseline;
  background: var(--yellow); border-radius: 2px; transform: skewX(var(--skew));
  box-shadow: 0 4px 12px rgba(11,31,14,0.10);
}
.eyebrow-serif::after { content: none; }
.on-dark .eyebrow, .eyebrow.on-dark, .proof .eyebrow, .dark-sec .eyebrow, .photo-break .eyebrow, .bento-card.feature .eyebrow { color: var(--green-950); }
.cta .eyebrow, .sec-green .eyebrow { color: var(--yellow); }
.cta .eyebrow::before, .sec-green .eyebrow::before { background: var(--green-900); }
.gen-card .eyebrow { font-size: 0.6rem; padding: 6px 10px 5px; margin-bottom: 10px; }
.beat .eyebrow { margin-bottom: 12px; }
.hero-eyebrow { margin-bottom: 20px; }
.page-hero .hero-eyebrow { margin-bottom: 16px; }
.form-card .eyebrow { margin-bottom: 14px; }
/* photo-overlay tags keep their position, lose the pill */
.band-tag, .stage-tag, .badge-count {
  isolation: isolate; background: none; border: 0; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.12em; padding: 8px 13px 7px; color: var(--yellow);
}
.band-tag::before, .stage-tag::before, .badge-count::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(11,31,14,0.84); transform: skewX(var(--skew)); border-radius: 2px; }
.badge-count { left: 18px; top: 18px; bottom: auto; color: var(--green-950); }
.badge-count::before { background: var(--yellow); }

/* ---------- Slanted buttons (the logo's lean), sentence case, arrow nudge, yellow fill wipe ---------- */
.btn {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; text-transform: none;
  min-height: 50px; padding: 0 26px; border-radius: 0; overflow: visible; isolation: isolate; background: none; box-shadow: none; border: 0;
  transition: color 0.25s ease, transform 0.18s var(--ease);
}
.btn::before, .btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 3px; transform: skewX(var(--skew));
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.4s var(--ease);
}
.btn::after { transform: skewX(var(--skew)) scaleX(0); transform-origin: 0 50%; background: var(--yellow); }
.btn:hover::after { transform: skewX(var(--skew)) scaleX(1); }
.btn-ico, .ico-arrow { width: 16px; height: 16px; flex: 0 0 auto; transition: transform 0.3s var(--ease); }
.btn:hover .btn-ico { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary { color: var(--green-950); background: none; box-shadow: none; }
.btn-primary::before { background: var(--gradient-btn); box-shadow: var(--shadow-brand); transform: skewX(var(--skew)); }
.btn-primary:hover { filter: none; transform: translateY(-2px); box-shadow: none; }
.btn-primary:hover::before { transform: skewX(var(--skew)); box-shadow: var(--shadow-glow); }
.btn-primary:active::before { box-shadow: var(--shadow-brand); }
.btn-primary:focus-visible { outline: 3px solid rgba(242,212,60,0.7); outline-offset: 4px; }

.btn-ghost { color: #fff; border: 0; background: none; }
.btn-ghost::before { background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.62); }
.btn-ghost::after { background: rgba(255,255,255,0.16); }
.btn-ghost:hover, .btn-ghost:active { background: none; border-color: transparent; }
.btn-ghost:hover::before { border-color: #fff; }

.btn-outline { color: var(--green-800); border: 0; background: none; }
.btn-outline::before { border: 1.5px solid rgba(46,125,50,0.5); }
.btn-outline::after { background: var(--accent-alpha); }
.btn-outline:hover { background: none; }
.btn-outline:hover::before { border-color: var(--green-600); }

/* buttons on the CTA band sit on the dark slab, so the gradient primary and the white ghost apply */
.cta .btn-primary { color: var(--green-950); background: none; box-shadow: none; }
.cta .btn-primary::before { background: var(--gradient-btn); box-shadow: 0 10px 28px rgba(11,31,14,0.35), 0 1px 4px rgba(11,31,14,0.22); }
.cta .btn-primary:hover { background: none; filter: none; box-shadow: none; }
.cta .btn-primary:hover::before { background: var(--gradient-btn); box-shadow: var(--shadow-glow); }
.cta .btn-ghost { color: #fff; border: 0; }
.cta .btn-ghost::before { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.6); }
.cta .btn-ghost:hover { background: none; border-color: transparent; }
.cta .btn-ghost:hover::before { border-color: #fff; }
.cta .btn-ghost:focus-visible { outline-color: var(--yellow); }

.nav-cta { min-height: 40px; padding: 0 18px; font-size: 0.85rem; }
.mobile-cta .btn { min-height: 46px; padding: 0 12px; font-size: 0.88rem; }
.form-actions .btn { width: 100%; }
.svc-block .btn { margin-top: 24px; }

.area-pill { border-radius: 2px; font-family: var(--font-display); font-weight: 700; }

/* ---------- Text links: bold, sentence case, yellow rule draws in, arrow nudges ---------- */
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--green-800); padding: 2px 0 6px; }
.arrow-link::after { left: 0; bottom: 0; height: 3px; background: var(--yellow); }
.arrow-link:hover { color: var(--green-950); transform: none; }
.arrow-link:hover::after { width: 100%; }
.arrow-link:hover .ico-arrow { transform: translateX(4px); }
.arrow-link.on-dark { color: #fff; }
.arrow-link.on-dark:hover { color: var(--yellow); }
.bento-card .arrow-link { font-size: 0.88rem; }
.bento-card.feature .arrow-link { color: var(--yellow); }
.text-link { font-weight: 700; }

/* ---------- Nav ---------- */
.nav-link { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.nav-phone { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; }
.breadcrumb { font-family: var(--font-display); font-weight: 600; }

/* ---------- Hero: dark slanted panel with the logo-gradient edge, photo on the right ---------- */
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(11,31,14,0.30) 0%, rgba(11,31,14,0.10) 45%, rgba(11,31,14,0.06) 100%),
    linear-gradient(180deg, rgba(11,31,14,0.50) 0%, transparent 30%, transparent 70%, rgba(11,31,14,0.40) 100%);
}
.hero-inner { grid-template-columns: 1fr; padding: 20vh 24px 88px; }
.hero-copy { max-width: 640px; }
.hero h1 { line-height: 1.02; }
.hero h1 .w { animation: rise-mask 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.page-hero h1 .w { animation: rise-mask 0.8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.hero h1 em, .page-hero h1 em {
  font-style: italic; font-weight: 900; font-stretch: 125%; padding-right: 0.08em; text-shadow: none;
  background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes rise-mask {
  from { opacity: 0; transform: translateY(0.55em) skewX(-6deg); clip-path: inset(-15% -6% 100% -6%); }
  to   { opacity: 1; transform: none; clip-path: inset(-15% -6% -25% -6%); }
}
.hero-sub { max-width: 540px; margin-top: 18px; font-size: 1.02rem; }
.hero-actions { margin-top: 28px; }
.hero-meta { margin-top: 24px; font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; }
.page-hero-inner { max-width: 760px; }
.page-hero .hero-sub { margin-top: 16px; }
/* curtain: two slanted panels open on load to reveal the photo */
.hero-curtain { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-curtain span { position: absolute; top: -10%; bottom: -10%; width: 62%; background: var(--green-950); transform: skewX(var(--skew)); animation: 1.1s var(--ease) 0.25s both; }
.hero-curtain span:first-child { left: -10%; animation-name: curtain-l; }
.hero-curtain span:last-child { right: -10%; animation-name: curtain-r; }
@keyframes curtain-l { to { transform: skewX(var(--skew)) translateX(-115%); } }
@keyframes curtain-r { to { transform: skewX(var(--skew)) translateX(115%); } }
html:not(.js) .hero-curtain { display: none; }

/* ---------- Diagonal section edges (the top edge rises to the right, like the logo) ---------- */
.band, .proof, .sec-green, .photo-break, .dark-sec, .cta, .footer {
  position: relative; z-index: 1;
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(-1 * var(--cut));
}
.sec.proof, .sec.sec-green, .sec.dark-sec { padding-top: calc(88px + var(--cut)); }
.cta { padding-top: calc(80px + var(--cut)); padding-bottom: 80px; }
.footer { padding-top: calc(96px + var(--cut)); }
.photo-break-inner { padding-top: calc(88px + var(--cut)); }
.band-inner { padding-top: var(--cut); }
/* ruler ticks down the left edge of blueprint sections */
.bp::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 18px; z-index: 0; pointer-events: none; opacity: 0.6;
  background-image: repeating-linear-gradient(180deg, rgba(46,125,50,0.5) 0 1px, transparent 1px 12px), repeating-linear-gradient(180deg, rgba(46,125,50,0.75) 0 1px, transparent 1px 60px);
  background-size: 8px 100%, 16px 100%; background-repeat: no-repeat;
}

/* ---------- Diagonal image reveal ---------- */
.reveal-wipe { clip-path: polygon(0 0, 0 0, -25% 100%, 0 100%); transition: clip-path 1.15s var(--ease); }
.reveal-wipe.visible { clip-path: polygon(0 0, 125% 0, 100% 100%, 0 100%); }

/* ---------- Work grid: editorial layout on the home page, slanted name tags everywhere ---------- */
.work-grid.editorial { grid-template-columns: repeat(12, 1fr); gap: 32px 24px; align-items: stretch; }
.editorial > .tile:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 3; }
.editorial > .tile:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.editorial > .tile:nth-child(3) { grid-column: 8 / 13; grid-row: 2; }
.editorial > .tile:nth-child(4) { grid-column: 1 / 6; grid-row: 3; }
.editorial > .tile:nth-child(5) { grid-column: 1 / 6; grid-row: 4; }
.editorial > .tile:nth-child(6) { grid-column: 6 / 13; grid-row: 3 / 5; }
.editorial > .tile.tall { display: flex; flex-direction: column; }
.editorial > .tile.tall .tile-media { flex: 1 1 auto; aspect-ratio: auto; min-height: 420px; }
.editorial > .tile.tall .tile-cap { font-size: 0.82rem; padding: 11px 18px 10px; }
.tile-cap {
  display: block; width: max-content; max-width: calc(100% - 36px); position: relative; z-index: 2; isolation: isolate;
  margin: -17px 0 0 18px; text-align: left;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-950);
  padding: 9px 14px 8px; transition: transform 0.35s var(--ease);
}
.tile-cap::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: skewX(var(--skew)); border-radius: 2px; box-shadow: 0 6px 16px rgba(11,31,14,0.18); }
.tile:hover .tile-cap, .proj-toggle:hover .tile-cap, .tile:focus-visible .tile-cap, .proj-toggle:focus-visible .tile-cap { letter-spacing: 0.12em; color: var(--green-950); transform: translateX(6px); }
.tile-sub { text-align: left; margin-top: 10px; padding-left: 2px; }
.tile:hover .tile-media img { transform: scale(1.06) translateX(-1.5%); }

/* "View" cursor dot that trails the pointer over project tiles (pointer: fine only) */
.cursor-dot { position: fixed; left: 0; top: 0; z-index: var(--z-top); pointer-events: none; width: 64px; height: 64px; margin: -32px 0 0 -32px; transform: translate(-200px, -200px); }
.cursor-dot span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; background: var(--yellow); color: var(--green-950); font-family: var(--font-display); font-weight: 800; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; transform: scale(0); transition: transform 0.3s var(--ease); box-shadow: 0 8px 24px rgba(11,31,14,0.25); }
.cursor-dot.is-on span { transform: scale(1); }

/* ---------- Proof block: numbers left in the logo voice, review beside them ---------- */
.proof .container { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 64px; align-items: center; }
.proof .counters { grid-template-columns: 1fr; gap: 8px; margin: 0; text-align: left; }
.proof .counter { background: none; border: 0; border-left: 3px solid var(--yellow); padding: 8px 0 8px 22px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.counter-num { font-family: var(--font-display); font-weight: 900; font-style: italic; font-stretch: 125%; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.02em; color: var(--yellow); }
.counter-label { margin-top: 6px; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.1em; font-size: 0.7rem; }
.big-quote { max-width: none; margin: 0; padding: 0; text-align: left; }
.big-quote .stars { justify-content: flex-start; margin-bottom: 18px; }
.big-quote blockquote { font-family: var(--font-display); font-style: normal; font-weight: 500; font-size: clamp(1.1rem, 1.55vw, 1.4rem); line-height: 1.55; letter-spacing: -0.01em; }
.big-quote .quote-attrib { margin-top: 22px; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.1em; font-size: 0.8rem; }
.big-quote .quote-source { margin-top: 6px; }
.words blockquote { font-family: var(--font-display); font-weight: 500; font-style: italic; }
.quote-box blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; }
.quote-attrib { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.1em; font-size: 0.8rem; margin-top: 22px; }

/* ---------- Solid logo-green section ---------- */
.sec.sec-green, .sec-green {
  color: var(--green-950);
  background:
    radial-gradient(ellipse 60% 70% at 85% 10%, rgba(229,232,24,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 5% 95%, rgba(38,82,18,0.28) 0%, transparent 60%),
    linear-gradient(135deg, #9CC244 0%, #8FB73D 50%, #82AA37 100%);
}
.sec-green .sec-head h2 { color: var(--green-950); }
.sec-green .subtext, .sec-green p { color: rgba(11,31,14,0.82); }
.sec-green .bento-card { background: var(--stone); border-color: rgba(11,31,14,0.14); border-top-color: var(--green-950); }
.sec-green .bento-card.feature { background: var(--gradient-dark); border-color: transparent; border-top-color: var(--yellow); }
.sec-green .bento-card.feature p { color: rgba(255,255,255,0.84); }
.sec-green .bento-num { background: var(--green-950); color: var(--yellow); }
.sec-green .arrow-link { color: var(--green-900); }
.sec-green .arrow-link:hover { color: var(--green-950); }
.sec-green .bento-card.feature .arrow-link { color: var(--yellow); }
.bento-num { font-family: var(--font-display); font-weight: 900; font-style: italic; }

/* ---------- CTA band: yellow copy side, dark slanted slab carrying the buttons ---------- */
.cta { text-align: left; }
.cta::before { content: ''; position: absolute; top: -12%; bottom: -12%; right: -10%; width: 58%; z-index: 0; background: var(--gradient-dark); transform: skewX(var(--skew)); transform-origin: 50% 100%; box-shadow: -20px 0 60px rgba(11,31,14,0.25); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 40px; align-items: center; }
.cta p { margin: 16px 0 0; max-width: 480px; }
.cta-actions { margin: 0; flex-direction: column; align-items: flex-end; justify-content: center; gap: 14px; }
.cta-actions .btn { min-width: 250px; }
.cta .cursor-glow { background: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.30), transparent 70%); }

/* ---------- Footer ---------- */
.footer-ghost { font-family: var(--font-display); font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: 0.02em; -webkit-text-stroke: 1px rgba(242,212,60,0.18); }
.footer-nav a, .footer-base, .footer-areas { font-family: var(--font-display); }
.footer-nav a { font-weight: 600; }
.footer-phone { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }

/* ---------- Responsive for the v3 layer ---------- */
@media (max-width: 1024px) {
  .proof .container { grid-template-columns: 1fr; gap: 40px; }
  .proof .counters { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { grid-template-columns: minmax(0, 460px) 1fr; }
}
@media (max-width: 1024px) {
  .hero-curtain, .bp::after { display: none; }
  .hero-inner { padding: 44vh 22px 64px; }
  .work-grid.editorial { gap: 32px 24px; }
}
@media (max-width: 768px) {
  :root { --cut: 5vw; }
  .sec.proof, .sec.sec-green, .sec.dark-sec { padding-top: calc(64px + var(--cut)); }
  .cta { padding-top: calc(64px + var(--cut)); padding-bottom: 0; }
  .cta::before { display: none; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-actions { align-items: stretch; background: var(--gradient-dark); margin: 0 -24px; padding: 44px 24px 56px; clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%); }
  .cta-actions .btn { min-width: 0; }
  .work-grid.editorial { grid-template-columns: 1fr; gap: 36px; }
  .editorial > .tile { grid-column: auto !important; grid-row: auto !important; }
  .editorial > .tile.tall { display: block; }
  .editorial > .tile.tall .tile-media { aspect-ratio: 3 / 2; min-height: 0; }
  .editorial > .tile.tall .tile-cap { font-size: 0.72rem; padding: 9px 14px 8px; }
  .proof .counters { grid-template-columns: 1fr; }
  .footer { padding-top: calc(72px + var(--cut)); }
}
@media (max-width: 640px) {
  .hero-inner { padding: 42vh 22px 56px; }
  .hero-sub { font-size: 1rem; }
  .cta-actions { margin: 0 -24px; }
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-curtain { display: none; }
  .hero h1 .w, .page-hero h1 .w { animation-name: rise; }
}

/* v3 fixes after the first review pass */
.tl-card .tl-kicker { display: inline-block; }
.beat .eyebrow, .counter .eyebrow, .words .eyebrow, .big-quote .eyebrow { align-self: flex-start; }
.gen-card .eyebrow { white-space: nowrap; max-width: 100%; }
@media (max-width: 768px) { .band-tag { display: none; } }

/* ============================================================
   v4 — distinct-from-portfolio pass (29 Oct 2026, Adam: "full house in the hero; not similar at all to
   any other Payed Clients site"). Fonts: Anybody (display, width axis up to 150) + IBM Plex Sans (text):
   no other Horizon client uses either. Portfolio-wide devices removed: marquee/ticker strips, drop caps,
   the vertical alternating timeline, the single-list FAQ accordion, the glass band card, boxed stat
   cards and 3D tilt. New hero: the whole house, full width, with the headline band cutting into the
   lawn beneath it. Also folds in the QA reviewer's focus/contrast/shadow fixes. Appended last — wins.
   ============================================================ */
:root {
  --font-display: 'Anybody', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --text-muted: #5F6A5C;
  --focus: var(--green-600);
  --shadow-xs: 0 1px 2px rgba(16,32,15,0.05), 0 3px 8px rgba(16,32,15,0.04);
}
body { font-size: 1rem; }
h1, h2, h3, h4 { letter-spacing: -0.015em; }
.hero h1, .page-hero h1 { letter-spacing: -0.025em; }
.hero h1 em, .page-hero h1 em, .counter-num, .footer-ghost { font-stretch: 135%; }
.footer-ghost { letter-spacing: 0; font-size: clamp(4rem, 11.5vw, 10.5rem); }

/* ---------- Hero: the whole house, then the headline band cuts into the lawn ---------- */
.hero { min-height: 0; display: block; padding: 0; background: var(--green-950); overflow: hidden; }
.hero-media { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 1200 / 576; max-height: 72vh; overflow: hidden; }
.hero-media img { animation: none; transform: none; object-position: 50% 55%; }
.hero > .hero-scrim { background: linear-gradient(180deg, rgba(11,31,14,0.55) 0%, rgba(11,31,14,0.14) 26%, transparent 44%); }
.hero-band {
  position: relative; z-index: 2;
  margin-top: calc(-1 * var(--cut) - 56px);
  padding: calc(var(--cut) + 64px) 0 40px;
  clip-path: polygon(0 calc(var(--cut) + 40px), 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(165deg, rgba(11,31,14,0.985) 0%, rgba(16,41,15,0.975) 55%, rgba(22,61,24,0.95) 100%);
}
.hero-band::before {
  content: ''; position: absolute; left: -1%; top: calc(var(--cut) + 40px - 4px); width: 102%; height: 8px; z-index: 1;
  background: var(--gradient-logo-h);
  transform-origin: 0 50%; transform: rotate(atan2(calc(-1 * (var(--cut) + 40px)), 100vw));
  box-shadow: 0 0 22px rgba(229,232,24,0.35), 0 1px 2px rgba(11,31,14,0.3);
}
.hero-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 70% at 12% 100%, rgba(143,183,61,0.22) 0%, transparent 60%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end;
}
.hero-copy { max-width: 620px; }
.hero-eyebrow { margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.35rem); line-height: 1.02; }
.hero-sub { margin-top: 14px; max-width: 560px; font-size: 1rem; animation-delay: 0.12s; animation-duration: 0.7s; }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; padding-bottom: 4px; }
.hero-actions { margin: 0; justify-content: flex-end; animation-delay: 0.2s; animation-duration: 0.7s; }
.hero-meta { margin: 0; text-align: right; animation-delay: 0.28s; animation-duration: 0.7s; }
.hero-curtain { z-index: 1; }
.hero-curtain span { width: 64%; }

/* ---------- Portfolio devices replaced ---------- */
/* drop cap -> slanted lede bar */
.intro-lead { position: relative; padding-left: 26px; font-size: 1.0625rem; font-weight: 500; color: var(--text-heading); line-height: 1.75; }
.intro-lead::before { content: ''; position: absolute; left: 4px; top: 0.3em; bottom: 0.3em; width: 4px; background: var(--yellow); transform: skewX(var(--skew)); }
.intro-note, .intro-cta { padding-left: 26px; }
.story p + p { padding-left: 26px; }
/* glass band card -> solid stone card with the logo-gradient edge */
.band-card { background: var(--stone); backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; padding: 32px 30px; position: relative; box-shadow: 0 10px 30px rgba(11,31,14,0.18), 0 30px 70px rgba(11,31,14,0.22); }
.band-card::before { content: ''; position: absolute; left: -5px; top: 0; bottom: 0; width: 8px; background: var(--gradient-logo-v); transform: skewX(var(--skew)); }
/* vertical timeline -> build schedule: one row of stage cards under a progress bar that fills as you scroll */
.timeline { max-width: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 64px 0 0; }
.tl-line { left: 0; right: 0; top: 22px; bottom: auto; width: auto; height: 4px; margin: 0; background: rgba(16,32,15,0.10); }
.tl-line::before { transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.tl-step { display: block; position: relative; padding: 0; }
.tl-num {
  position: absolute; left: 0; top: -64px; width: 48px; height: 48px; border-radius: 2px;
  background: var(--yellow); color: var(--green-950); font-weight: 900; font-style: italic; font-stretch: 135%; font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(11,31,14,0.14), 0 1px 3px rgba(11,31,14,0.12); transform: skewX(var(--skew)) scale(0.4);
}
.tl-node.visible .tl-num, html:not(.js) .tl-num { transform: skewX(var(--skew)) scale(1); }
.tl-card, .tl-step:nth-child(even) .tl-card { grid-column: auto; height: 100%; padding: 24px 22px; border: 0; border-top: 3px solid var(--green-950); box-shadow: var(--shadow-sm); transform: translateY(24px); }
.tl-node.visible .tl-card, html:not(.js) .tl-card { transform: none; }
.tl-card h3 { font-size: 1.1rem; }
.tl-card p { font-size: 0.92rem; }
/* single accordion -> numbered question cards in two columns (still details/summary) */
.faq-list { max-width: none; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; counter-reset: faq; }
.faq { position: relative; border: 1px solid var(--border); background: #fff; padding: 0 20px 0 64px; box-shadow: var(--shadow-xs); counter-increment: faq; transition: box-shadow 0.3s ease; }
.faq:hover, .faq[open] { box-shadow: var(--shadow-md); }
.faq summary { padding: 18px 0; font-size: 1rem; }
.faq summary::before { content: counter(faq, decimal-leading-zero); position: absolute; left: 18px; top: 17px; font-family: var(--font-display); font-weight: 900; font-style: italic; font-stretch: 135%; font-size: 1rem; color: var(--green-600); }
.faq summary::after { margin-right: 0; }
.faq summary:active { color: var(--green-800); }
.faq-a { padding: 0 0 18px; }
/* boxed stats -> the same left-rule numbers as the home proof block */
.dark-sec .counters { text-align: left; gap: 32px; }
.dark-sec .counter { background: none; border: 0; border-left: 3px solid var(--yellow); padding: 8px 0 8px 22px; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- QA pass: focus, contrast, shadows, states, offsets ---------- */
.sec-green .bento-card:focus-visible { outline-color: var(--green-950); }
.nav:not(.scrolled):not(.solid):not(.menu-open) .nav-link:focus-visible,
.nav:not(.scrolled):not(.solid):not(.menu-open) .nav-phone:focus-visible,
.nav:not(.scrolled):not(.solid):not(.menu-open) .nav-logo:focus-visible,
.nav:not(.scrolled):not(.solid):not(.menu-open) .burger:focus-visible { outline-color: var(--yellow); }
.nav-phone { color: var(--yellow); }
.nav.scrolled .nav-phone, .nav.solid .nav-phone, .nav.menu-open .nav-phone { color: var(--green-700); }
.burger:hover span { background: var(--yellow); }
.nav.scrolled .burger:hover span, .nav.solid .burger:hover span, .nav.menu-open .burger:hover span { background: var(--green-600); }
.footer-logo { display: inline-block; transition: opacity 0.25s ease; }
.footer-logo:hover { opacity: 0.85; }
.footer-logo:active { opacity: 0.7; }
.footer-logo:focus-visible { outline: 2px solid var(--yellow); outline-offset: 6px; border-radius: 3px; }
.proj, .quote-sec, .proof { scroll-margin-top: 90px; }
.eyebrow::before, .eyebrow-serif::before, .hero-eyebrow::before, .tl-kicker::before { box-shadow: 0 4px 12px rgba(11,31,14,0.10), 0 1px 2px rgba(11,31,14,0.08); }
.tile-cap::before { box-shadow: 0 6px 16px rgba(11,31,14,0.18), 0 1px 3px rgba(11,31,14,0.12); }
.cursor-dot span { box-shadow: 0 8px 24px rgba(11,31,14,0.25), 0 2px 6px rgba(11,31,14,0.18); }
.cta::before { box-shadow: -20px 0 60px rgba(11,31,14,0.25), -2px 0 6px rgba(11,31,14,0.18); }
.proj-toggle:active .tile-cap { transform: translateX(3px); }
.bento-card:hover .arrow-link::after { width: 100%; }
.bento-card:hover .ico-arrow { transform: translateX(4px); }
.breadcrumb a, .text-link, .footer-nav a, .footer-base a { display: inline-block; }
.breadcrumb a:active, .text-link:active, .footer-nav a:active, .footer-base a:active { transform: translateY(1px); }
.quote-box { padding: 32px 28px; }
.form-card { padding: 28px; }
.legal h2 { font-size: var(--text-2xl); }
.gen-card .eyebrow { font-size: 0.65rem; }
.stars[role="img"] { display: flex; }

/* ---------- Responsive for the v4 layer ---------- */
@media (max-width: 1024px) {
  .hero-inner { padding: 0 22px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 16px; padding: 0; }
  .tl-line { display: none; }
  .tl-num { position: static; display: inline-flex; margin-bottom: 12px; transform: skewX(var(--skew)) scale(1); opacity: 1; }
  .tl-card, .tl-step:nth-child(even) .tl-card { grid-column: auto; grid-row: auto; transform: none; height: auto; }
}
@media (max-width: 768px) {
  .hero-media { aspect-ratio: auto; height: 46vh; max-height: none; }
  .hero-media img { object-position: 58% 55%; }
  .hero-band { margin-top: calc(-1 * var(--cut) - 20px); padding: calc(var(--cut) + 36px) 0 28px; clip-path: polygon(0 calc(var(--cut) + 14px), 100% 0, 100% 100%, 0 100%); }
  .hero-band::before { top: calc(var(--cut) + 14px - 4px); transform: rotate(atan2(calc(-1 * (var(--cut) + 14px)), 100vw)); }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; padding: 0 22px; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .hero-side { align-items: stretch; padding-bottom: 0; }
  .hero-actions { justify-content: stretch; }
  .hero-meta { text-align: left; }
  .timeline { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .faq { padding-left: 56px; }
  .faq summary::before { left: 16px; }
  .dark-sec .counters { gap: 10px; }
}
@media (max-width: 640px) {
  .hero-inner { padding: 0 22px; }
}

/* v4 fixes after the review pass */
/* focus rings on dark surfaces stay yellow */
.footer :focus-visible, .photo-break :focus-visible, .proof :focus-visible, .dark-sec :focus-visible, .bento-card.feature:focus-visible { outline-color: var(--yellow); }
/* grain on the solid green sections */
.sec-green::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* mobile hero: shorter photo so the trust row clears the sticky call bar */
@media (max-width: 768px) {
  .hero-media { height: 40vh; }
}

/* ============================================================
   v5 — interior page heroes (29 Oct 2026, Adam: "this on every page looks weird, fix it, put a photo
   there and brand it"). The v4 full-width media rule had leaked from the home hero onto every
   .hero-media; it is scoped here, and interior heroes now share the home's language: the photo full
   width on top, the dark band cutting diagonally into it with the logo-gradient line along the cut
   and the M mark as a watermark. Legal pages keep a photo-free dark band with the same branding.
   ============================================================ */
.page-hero { display: block; min-height: 0; padding: 0; background: var(--green-950); overflow: hidden; }
.page-hero.short { min-height: 0; padding: 0; }
.page-hero .hero-media {
  position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: auto; height: 46vh; min-height: 300px; max-height: 520px; overflow: hidden;
}
.page-hero.short .hero-media { height: 38vh; min-height: 260px; }
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; animation: none; }
.page-hero .hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,31,14,0.62) 0%, rgba(11,31,14,0.18) 30%, transparent 55%, rgba(11,31,14,0.22) 100%);
}
.page-hero-band {
  position: relative; z-index: 2;
  margin-top: calc(-1 * var(--cut) - 28px);
  padding: calc(var(--cut) + 44px) 0 48px;
  clip-path: polygon(0 calc(var(--cut) + 28px), 100% 0, 100% 100%, 0 100%);
  background:
    radial-gradient(ellipse 50% 70% at 12% 100%, rgba(143,183,61,0.22) 0%, transparent 60%),
    linear-gradient(165deg, rgba(11,31,14,0.985) 0%, rgba(16,41,15,0.975) 55%, rgba(22,61,24,0.95) 100%);
}
.page-hero-band::before {
  content: ''; position: absolute; left: -1%; top: calc(var(--cut) + 28px - 4px); width: 102%; height: 8px; z-index: 1;
  background: var(--gradient-logo-h);
  transform-origin: 0 50%; transform: rotate(atan2(calc(-1 * (var(--cut) + 28px)), 100vw));
  box-shadow: 0 0 22px rgba(229,232,24,0.35), 0 1px 2px rgba(11,31,14,0.3);
}
.page-hero .page-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.page-hero .breadcrumb { margin-bottom: 16px; }
.page-hero h1 { max-width: 860px; font-size: var(--text-5xl); line-height: 1.05; text-shadow: none; }
.page-hero .hero-sub { max-width: 640px; margin-top: 16px; }

/* legal pages: no photo, the band carries the brand on its own */
.page-hero.dark { padding: 150px 0 56px; background: var(--gradient-dark); }
.page-hero.dark::before {
  content: ''; position: absolute; top: -20%; bottom: -20%; right: 14%; width: 12px; z-index: 0; border-radius: 0;
  background: var(--gradient-logo-v); transform: skewX(var(--skew)); box-shadow: 0 0 30px rgba(229,232,24,0.30);
  animation: none; opacity: 1;
}

@media (max-width: 1024px) {
  .page-hero .hero-media { height: 40vh; min-height: 260px; }
}
@media (max-width: 768px) {
  .page-hero .hero-media, .page-hero.short .hero-media { height: 34vh; min-height: 220px; max-height: none; }
  .page-hero-band { margin-top: calc(-1 * var(--cut) - 14px); padding: calc(var(--cut) + 32px) 0 36px; clip-path: polygon(0 calc(var(--cut) + 14px), 100% 0, 100% 100%, 0 100%); }
  .page-hero-band::before { top: calc(var(--cut) + 14px - 4px); transform: rotate(atan2(calc(-1 * (var(--cut) + 14px)), 100vw)); }
  .page-hero .page-hero-inner { padding: 0 22px; }
  .page-hero.dark { padding: 124px 0 44px; }
  .page-hero.dark::before { right: 6%; }
}

/* v5 fix: the legal-hero stripe sits on the right */
.page-hero.dark::before { left: auto; }

/* ============================================================
   v6 (30 Oct 2026, Adam): home-hero buttons sit higher, the M watermark is gone from every band
   (the photo carries the interior heroes instead), and Our Homes tiles open the photo viewer.
   ============================================================ */

/* home hero: actions + trust row level with the headline instead of hanging off the bottom */
@media (min-width: 769px) {
  .hero-side { align-self: start; padding-top: 40px; padding-bottom: 0; }
  .hero-band { padding-bottom: 36px; }
}

/* interior heroes: the photo runs the full height of the hero and shows through the band on the right */
.page-hero { position: relative; padding-top: clamp(300px, 46vh, 520px); }
.page-hero.short { padding-top: clamp(260px, 38vh, 520px); }
.page-hero .hero-media, .page-hero.short .hero-media {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: auto;
}
.page-hero-band {
  background:
    radial-gradient(ellipse 50% 70% at 12% 100%, rgba(143,183,61,0.18) 0%, transparent 60%),
    linear-gradient(100deg, rgba(11,31,14,0.975) 0%, rgba(11,31,14,0.965) 44%, rgba(11,31,14,0.82) 62%, rgba(11,31,14,0.52) 84%, rgba(11,31,14,0.44) 100%);
}
/* no ghost M anywhere (the v2/v5 watermark rules were removed in v9; this guard stays) */
.page-hero-band::after, .page-hero.dark::after, .proof::after { content: none; }
/* legal pages keep the photo-free band */
.page-hero.dark, .page-hero.short.dark { padding-top: 150px; }

@media (max-width: 1024px) {
  .page-hero { padding-top: clamp(260px, 40vh, 520px); }
}
@media (max-width: 768px) {
  .page-hero, .page-hero.short { padding-top: clamp(220px, 34vh, 400px); }
  .page-hero-band { background: linear-gradient(180deg, rgba(11,31,14,0.95) 0%, rgba(11,31,14,0.985) 100%); }
  .page-hero.dark, .page-hero.short.dark { padding-top: 124px; }
}

/* Our Homes: the photo opens the viewer, the name tag opens the details */
.proj-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; text-align: left; }
.proj-open:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.proj-open:hover .tile-media img { transform: scale(1.06) translateX(-1.5%); }
.proj-open:active .tile-media img { transform: scale(1.03); }
.proj-open .badge-count { transition: transform 0.3s var(--ease); }
.proj-open:hover .badge-count { transform: translateY(-2px); }
.proj-toggle { width: auto; }
.proj-toggle:hover .tile-sub, .proj-toggle:focus-visible .tile-sub { color: var(--text-heading); }
.lightbox-title { color: #fff; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; }
.lightbox-title + .lightbox-count::before { content: '·'; margin-right: 14px; color: rgba(255,255,255,0.45); }
/* viewer caption: name + count never wrap, the description wraps underneath when the photo is narrow */
.lightbox figcaption { flex-wrap: wrap; justify-content: center; row-gap: 4px; max-width: min(960px, 100%); }
.lightbox-title, .lightbox-count { white-space: nowrap; flex-shrink: 0; }

/* ============================================================
   v7 (30 Oct 2026, Adam: "these boxes look very claudy, get rid of them wherever they are").
   No more white cards with icon tiles. Every boxed card is now an open, ruled "site docket":
   hairlines, slanted yellow numeral tabs, outlined italic numerals, text sitting on the page.
   ============================================================ */

/* --- spec sheet rows (How We Build: principles) --- */
.spec { margin: 0; padding: 0; border-top: 2px solid var(--green-950); }
.spec-row {
  position: relative; display: grid; grid-template-columns: 104px minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 0 40px; align-items: start;
  padding: 30px 0 32px 22px; border-bottom: 1px solid rgba(16,32,15,0.16);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.spec-row::before {
  content: ''; position: absolute; left: 2px; top: 30px; bottom: 32px; width: 4px; background: var(--yellow);
  transform: skewX(var(--skew)) scaleY(0); transform-origin: 50% 0;
  transition: transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 0.25s);
}
.spec-row.visible::before, html:not(.js) .spec-row::before { transform: skewX(var(--skew)) scaleY(1); }
.spec-num {
  font-family: var(--font-display); font-weight: 900; font-style: italic; font-stretch: 135%; font-size: 2.75rem; line-height: 0.9; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--green-600); margin-top: -3px;
  transition: color 0.35s ease, -webkit-text-stroke-color 0.35s ease;
}
.spec-row:hover .spec-num { color: var(--green-500); -webkit-text-stroke-color: var(--green-500); }
.spec-row h3 { margin: 0; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.015em; transition: transform 0.35s var(--ease); }
.spec-row:hover h3 { transform: translateX(6px); }
.spec-row p { margin: 0; font-size: 0.97rem; line-height: 1.75; max-width: 60ch; }

/* --- build schedule (How We Build: steps): open columns under the progress bar --- */
.timeline { padding-top: 68px; }
.tl-card, .tl-step:nth-child(even) .tl-card { background: transparent; border: 0; box-shadow: none; padding: 0 20px 0 0; height: auto; }
.tl-card:hover { box-shadow: none; }
.tl-step + .tl-step::before { content: ''; position: absolute; left: -10px; top: 0; bottom: 6px; width: 1px; background: rgba(16,32,15,0.16); transform: skewX(var(--skew)); }
.tl-card .tl-kicker { margin-bottom: 12px; }
.tl-card h3 { font-size: 1.2rem; }

/* --- generations (About): slanted numeral tabs on the drawn line, text on the page --- */
.generations { padding: 0; }
.gen-line { left: 0; right: 0; top: 22px; height: 4px; background: rgba(16,32,15,0.10); }
.gen-grid { gap: 20px; }
.gen-node { text-align: left; }
.gen-dot {
  width: 48px; height: 48px; margin: 0; border-radius: 2px; border: 0; background: var(--yellow); color: var(--green-950);
  box-shadow: 0 6px 16px rgba(11,31,14,0.14), 0 1px 3px rgba(11,31,14,0.12); transform: skewX(var(--skew));
  font-family: var(--font-display); font-weight: 900; font-style: italic; font-stretch: 135%; font-size: 1.1rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.gen-dot.wide { width: auto; padding: 0 16px; }
.gen-node:last-child .gen-dot { background: var(--green-950); color: var(--yellow); }
.gen-card { margin-top: 26px; padding: 0 12px 0 0; background: transparent; border: 0; box-shadow: none; min-height: 0; text-align: left; }
.gen-node:hover .gen-card { transform: none; box-shadow: none; }
.gen-card h3 { font-size: 1.08rem; }
.gen-card p { font-size: 0.88rem; line-height: 1.65; }

/* --- contact details: a ruled list, no tiles --- */
.details { gap: 0; border-top: 2px solid var(--green-950); }
.detail { display: block; padding: 20px 0 22px; background: transparent; border: 0; border-bottom: 1px solid rgba(16,32,15,0.16); box-shadow: none; }
.detail:hover { box-shadow: none; transform: none; }
.detail h3 {
  position: relative; isolation: isolate; display: inline-block; font-family: var(--font-display); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2;
  color: var(--green-950); padding: 6px 12px 5px; margin: 0 0 10px;
}
.detail h3::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--yellow); border-radius: 2px; transform: skewX(var(--skew)); box-shadow: 0 4px 12px rgba(11,31,14,0.10), 0 1px 2px rgba(11,31,14,0.08); }
.detail p, .detail a.big { margin-top: 0; }
.detail a.big { font-size: 1.6rem; }
.detail .text-link { display: inline-block; margin-top: 4px; }
.detail .area-pills { margin-top: 12px; }

/* --- FAQ (What We Build): one ruled column with outlined numerals --- */
.faq-list { grid-template-columns: 1fr; gap: 0; max-width: 880px; margin: 0; border-top: 2px solid var(--green-950); }
.faq { border: 0; border-bottom: 1px solid rgba(16,32,15,0.16); background: transparent; box-shadow: none; padding: 0 8px 0 72px; }
.faq:hover, .faq[open] { box-shadow: none; }
.faq summary { padding: 20px 0; font-size: 1.05rem; }
.faq summary::before { left: 0; top: 18px; font-size: 1.4rem; color: transparent; -webkit-text-stroke: 1.2px var(--green-600); transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease; }
.faq[open] summary::before, .faq summary:hover::before { color: var(--green-500); -webkit-text-stroke-color: var(--green-500); }
.faq-a { padding: 0 0 22px; max-width: 70ch; }

/* --- review (About): an open pull quote with the slanted yellow bar --- */
.quote-box { background: transparent; border: 0; box-shadow: none; padding: 4px 0 4px 36px; }
.quote-box::after { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 4px; background: var(--yellow); transform: skewX(var(--skew)); }

@supports not (-webkit-text-stroke: 1px #000) {
  .spec-num, .faq summary::before { color: var(--green-500); }
}

@media (max-width: 1024px) {
  .spec-row { grid-template-columns: 84px minmax(0, 1fr); gap: 8px 20px; }
  .spec-num { grid-row: 1 / span 2; }
  .spec-row h3, .spec-row p { grid-column: 2; }
  .timeline { padding-top: 0; }
  .tl-step + .tl-step::before { display: none; }
  .tl-step { padding-top: 20px; border-top: 1px solid rgba(16,32,15,0.16); }
  .tl-card, .tl-step:nth-child(even) .tl-card { padding: 0; }
  .gen-grid { gap: 14px; }
  .gen-dot.wide { padding: 0 12px; font-size: 0.95rem; }
}
@media (max-width: 768px) {
  .spec-row { grid-template-columns: 60px minmax(0, 1fr); gap: 6px 14px; padding: 22px 0 24px 14px; }
  .spec-row::before { top: 22px; bottom: 24px; }
  .spec-num { font-size: 2.1rem; }
  .spec-row h3 { font-size: 1.15rem; }
  .gen-grid { gap: 0; border-top: 2px solid var(--green-950); }
  .gen-node { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(16,32,15,0.16); }
  .gen-dot, .gen-dot.wide { width: 48px; padding: 0; font-size: 0.78rem; letter-spacing: -0.02em; box-shadow: none; }
  .gen-dot { font-size: 1rem; }
  .gen-card { margin-top: 0; padding: 0; }
  .faq { padding-left: 52px; }
  .faq summary::before { left: 0; font-size: 1.15rem; top: 20px; }
  .quote-box { padding-left: 28px; }
}
/* v7 fixes after the screenshot pass */
.quote-box::after { transform: none; left: 6px; }
.quote-box blockquote { margin: 0; }
.area-pill { position: relative; isolation: isolate; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.area-pill::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid rgba(16,32,15,0.30); border-radius: 2px; transform: skewX(var(--skew)); transition: background 0.25s ease, border-color 0.25s ease; }
.area-pill:hover::before { background: var(--yellow); border-color: var(--yellow); }
@media (max-width: 1024px) {
  .tl-step { display: grid; grid-template-columns: 48px 1fr; gap: 0 14px; align-items: start; }
  .tl-num { order: -1; grid-column: 1; grid-row: 1; margin: 0; }
  .tl-card, .tl-step:nth-child(even) .tl-card { grid-column: 2; }
}


/* ============================================================
   v7 (30 Oct 2026, Adam: "make the mobile nav go over the whole screen with the text spaced out",
   "this text overlaps", "on mobile you cannot see the photo properly on top").
   1. The burger opens a full-screen menu (≤1024px, wherever the burger shows). The overlay box,
      its show/hide transition, the link stagger and the header state live here; the look of the
      links and the facts footer was restyled by the v8 block below (v9 removed the v7 rules v8 replaced).
   2. Every full-height thin rule is straight again. A 12° lean on a rule the height of a card drifts
      ±50px sideways, so the band card's gradient edge was cutting through its own heading.
   3. Interior page heroes on phones and tablets: the photo is its own box on top, sized close to the
      photo's aspect ratio so the whole house shows; the band is near-solid underneath it.
   ============================================================ */

/* ---------- 1. Full-screen menu ---------- */
.nav-mob-foot { display: none; }
@media (max-width: 1024px) {
  .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; inset: 0; z-index: -1;
    padding: 92px max(28px, calc((100vw - 620px) / 2)) calc(28px + env(safe-area-inset-bottom));
    box-shadow: none; transform: none;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
    overflow: hidden auto;
  }
  .nav.menu-open .nav-links { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.3s ease, visibility 0s; }

  .nav.menu-open .nav-link { animation: menu-link-in 0.55s var(--ease) both; }
  .nav.menu-open .nav-link:nth-child(1) { animation-delay: 0.05s; }
  .nav.menu-open .nav-link:nth-child(2) { animation-delay: 0.10s; }
  .nav.menu-open .nav-link:nth-child(3) { animation-delay: 0.15s; }
  .nav.menu-open .nav-link:nth-child(4) { animation-delay: 0.20s; }
  .nav.menu-open .nav-link:nth-child(5) { animation-delay: 0.25s; }
  .nav.menu-open .nav-mob-foot { animation: menu-link-in 0.55s var(--ease) 0.32s both; }
  .nav-link::after { display: none; }

  /* header while the menu is open: transparent over the overlay, light logo, white burger (an X) */
  .nav.menu-open, .nav.scrolled.menu-open, .nav.solid.menu-open {
    height: 68px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
  }
  .nav.menu-open::before { opacity: 0; }
  .nav.menu-open .logo-stack { height: 38px; }
  .nav.menu-open .logo-light { opacity: 1; }
  .nav.menu-open .logo-dark { opacity: 0; }
  .nav.menu-open .burger span { background: #fff; }
  .nav.menu-open .burger:hover span { background: var(--yellow); }
  .nav.menu-open .nav-phone { color: var(--yellow); text-shadow: none; }
  .nav.menu-open .nav-phone:hover { color: #fff; }
  .nav.menu-open ~ .mobile-cta { opacity: 0; pointer-events: none; }
}
@keyframes menu-link-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 2. No leaning rules through text ---------- */
.band-card::before, .intro-lead::before, .quote-box::after, .tl-step + .tl-step::before { transform: none; }
.spec-row::before { transform: scaleY(0); }
.spec-row.visible::before, html:not(.js) .spec-row::before { transform: scaleY(1); }

/* ---------- 3. Interior heroes on phones and tablets: the whole photo on top ---------- */
@media (max-width: 1024px) {
  .page-hero, .page-hero.short { padding-top: clamp(220px, 50vw, 520px); }
  .page-hero .hero-media, .page-hero.short .hero-media { top: 0; bottom: auto; height: calc(clamp(220px, 50vw, 520px) + var(--cut) + 28px); }
  .page-hero .hero-media img { transform: none !important; }
  .page-hero-band { background: linear-gradient(180deg, rgba(11,31,14,0.95) 0%, rgba(11,31,14,0.985) 100%); }
  .page-hero.dark, .page-hero.short.dark { padding-top: 150px; }
}
@media (max-width: 768px) {
  .page-hero, .page-hero.short { padding-top: clamp(200px, 64vw, 400px); }
  .page-hero .hero-media, .page-hero.short .hero-media { height: calc(clamp(200px, 64vw, 400px) + var(--cut) + 14px); }
  .page-hero.dark, .page-hero.short.dark { padding-top: 124px; }
}

/* ============================================================
   v8 menu (30 Oct 2026, Adam: "this is too similar to our Horizon Digitech [menu], make it so it's
   between these two" — the other being Chris Fella Carpentry's).
   Gone (Horizon's formula): the gradient + grid backdrop, the 01–05 numerals, the hairline dividers,
   the two full-width buttons. Instead: a deep-green backdrop textured with the timber-frame photo,
   a plain uppercase stack of links sitting mid-screen, the current page carried on a slanted yellow
   tag, and a ruled two-column facts footer (call / quote / hours / address) with no buttons.
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links {
    padding: 84px max(28px, calc((100vw - 620px) / 2)) calc(22px + env(safe-area-inset-bottom));
    background: var(--green-950);
  }
  /* the frame photo, sunk into the green */
  .nav-links::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: url(assets/img/construction/frame-800.webp) center 42% / cover no-repeat;
    opacity: 0.17; filter: grayscale(0.55) contrast(1.15);
  }
  .nav-links::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(ellipse 70% 50% at 100% 100%, rgba(143,183,61,0.16) 0%, transparent 60%),
      linear-gradient(180deg, rgba(11,31,14,0.94) 0%, rgba(11,31,14,0.30) 26%, rgba(11,31,14,0.30) 64%, rgba(11,31,14,0.96) 100%);
  }

  /* links: a plain stack, no numerals, no dividers */
  .nav-link, .nav.menu-open .nav-link {
    counter-increment: none;
    position: relative; z-index: 1; isolation: isolate;
    display: inline-flex; align-self: flex-start; align-items: center; gap: 0;
    margin: 0; padding: 5px 12px; border: 0; border-radius: 0;
    font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-style: normal;
    text-transform: uppercase; letter-spacing: 0.02em;
    font-size: clamp(1.45rem, 6vw, 1.85rem); line-height: 1.1;
    color: #fff; text-shadow: none; background: none;
    transition: color 0.25s ease, transform 0.3s var(--ease);
  }
  .nav-link + .nav-link { margin-top: clamp(10px, 1.8vh, 16px); }
  .nav-link::before, .nav.menu-open .nav-link::before { content: none; }
  .nav.menu-open .nav-link:first-child { margin-top: auto; border-top: 0; }
  .nav.menu-open .nav-link:nth-last-child(2) { margin-bottom: auto; }
  .nav.menu-open .nav-link:hover { color: var(--yellow); background: none; padding-left: 12px; transform: translateX(6px); }
  .nav.menu-open .nav-link:active { padding-left: 12px; transform: translateX(3px); }
  .nav.menu-open .nav-link:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; border-radius: 2px; }

  /* the current page sits on the slanted yellow tag */
  .nav.menu-open .nav-link[aria-current="page"], .nav.menu-open .nav-link[aria-current="page"]:hover { color: var(--green-950); transform: none; }
  .nav.menu-open .nav-link[aria-current="page"]::after {
    content: ''; display: block; position: absolute; inset: 0; width: auto; height: auto; z-index: -1;
    background: var(--yellow); border-radius: 2px; transform: skewX(var(--skew)); transform-origin: 50% 50%; transition: none;
    box-shadow: 0 8px 22px rgba(0,0,0,0.28), 0 1px 3px rgba(0,0,0,0.2);
  }

  /* footer: ruled facts, no buttons */
  .nav-mob-foot {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 18px; align-items: start;
    margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.16);
  }
  .nmf { display: flex; flex-direction: column; gap: 5px; color: #fff; }
  .nmf:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; border-radius: 2px; }
  .nmf-lab { font-family: var(--font-body); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
  .nmf-val { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.15; letter-spacing: -0.01em; color: #fff; transition: color 0.25s ease; }
  .nmf-tel .nmf-val { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
  .nmf:hover .nmf-val, .nmf:active .nmf-val { color: var(--yellow); }
  .nmf-arrow { display: inline-block; transition: transform 0.3s var(--ease); }
  .nmf:hover .nmf-arrow { transform: translateX(4px); }
  .nmf-meta {
    grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.10); font-size: 0.74rem; line-height: 1.5; color: rgba(255,255,255,0.58);
  }

  @media (max-height: 600px) {
    .nav-links { padding-top: 68px; }
    .nav-link, .nav.menu-open .nav-link { font-size: 1.2rem; padding: 3px 10px; }
    .nav-link + .nav-link { margin-top: 4px; }
    .nav-mob-foot { grid-template-columns: auto auto minmax(0, 1fr); align-items: end; gap: 6px 28px; margin-top: 14px; padding-top: 12px; }
    .nmf-meta { grid-column: auto; padding-top: 0; border-top: 0; justify-content: flex-end; text-align: right; }
    .nmf-tel .nmf-val { font-size: 1.15rem; }
  }
}

/* v8 menu fixes: the overlay covers the scrollbar gutter too (Windows laptops at <=1024 CSS px keep a classic
   scrollbar; `scrollbar-gutter: stable` left a page-coloured strip down the right edge), and the quote line
   sits a touch smaller on narrow phones so it wraps on one word, not two. */
@media (max-width: 1024px) {
  .nav-links { left: 0; right: auto; width: 100vw; }
}
@media (max-width: 420px) {
  .nmf-quote .nmf-val { font-size: 0.98rem; letter-spacing: -0.015em; }
}

/* the root canvas (which paints the reserved scrollbar gutter) goes menu-green while the menu is open */
html.menu-open { background-color: var(--green-950); }


/* ============================================================
   v9 (30 Oct 2026, review pass: SEO/AEO auditor, QA cold-read, copy proofread, design critique;
   Adam picked the items). One left edge: lede columns and the nav sit on the same 1140px container
   as everything else. Left-aligned footer with a brand column and a page list. Shorter Contact hero
   so the form lands on the first screen. What We Build: the four service blocks alternate stone and
   paper, and the cluster photos lose the white polaroid border for the tiles' hairline inset frame.
   Our Homes: the photo-count badge goes dark with yellow text and sits inside the frame; filters sit
   left. Phones: a strip of yellow stays between the CTA slab and the footer; "Young NSW" never
   orphans in an interior H1. Non-link bento cards no longer lift on hover. Inline styles moved into
   classes. The retired v2/v3 devices (rules, hero rules, stamp, numerals, marquee, strip, tilt, M
   watermark, rating chip, svc/principle/expect cards) and the v7 menu rules v8 replaced are gone.
   ============================================================ */

/* one left edge */
.nav-inner { max-width: 1140px; padding: 0 24px; }
.intro .sec-head { max-width: none; margin-left: 0; margin-right: 0; }
.intro-body, .story { max-width: 66ch; margin: 0; }

/* utilities that replaced inline styles */
.sec-head.flush { margin-bottom: 0; }
.sec.pb0 { padding-bottom: 0; }
.subtext.narrow { max-width: 640px; }
.subtext.wide { max-width: 720px; }
.nowrap { white-space: nowrap; }
.counter-sub { margin-top: 6px; font-size: 0.85rem; }
.big-quote .stars { margin-top: 18px; }
.words-source { margin-top: 18px; font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; }
.spec, .gen-grid { list-style: none; }

/* contact: a shorter hero so the quote form is on the first screen */
@media (min-width: 1025px) { .page-hero.short { padding-top: clamp(220px, 30vh, 420px); } }

/* non-link bento cards (About) do not lift or zoom like the home page links */
div.bento-card:hover, div.bento-card:active { transform: none; box-shadow: var(--shadow-sm); }
div.bento-card:hover .bento-img img { transform: none; }

/* states, contrast, shadows */
.nav.scrolled .nav-phone:hover, .nav.solid .nav-phone:hover { color: var(--green-950); }
.legal a:active, .form-consent a:active, .detail a.big:active { opacity: 0.75; }
.burger:active span { background: var(--green-500); }
.page-hero.dark::before { box-shadow: 0 0 22px rgba(229,232,24,0.35), 0 1px 2px rgba(11,31,14,0.3); }
.svc-list li::before { box-shadow: 0 0 0 4px rgba(143,183,61,0.14), 0 1px 2px rgba(16,32,15,0.08); }

/* Our Homes: count badge steps back, filters left */
.badge-count { left: 30px; top: 30px; color: var(--yellow); }
.badge-count::before { background: rgba(11,31,14,0.84); }

/* What We Build: stone / paper alternation, full bleed; clusters carry the hairline inset frame */
.svc-block { border-top: 0; }
.svc-block:nth-of-type(even) { background: var(--paper); margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
.cluster-img { border: 0; box-shadow: 0 14px 36px rgba(16,32,15,0.20), 0 2px 6px rgba(16,32,15,0.10); }
.cluster-img::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,0.7); pointer-events: none; }

/* phones: yellow stays visible between the dark button slab and the footer */
@media (max-width: 768px) { .cta { padding-bottom: calc(var(--cut) + 20px); } }

/* small phones: interior H1 a touch smaller so it holds to four lines */
@media (max-width: 480px) { :root { --text-5xl: clamp(1.7rem, 7.2vw, 2.6rem); } }

/* footer: brand column left, page list right, ruled columns beneath, all left-aligned */
.footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 48px; text-align: left; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 460px; }
.footer-brand .footer-script { margin: 0; }
.footer-nav { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; padding-top: 6px; }
.footer-nav a { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.88); padding: 6px 0; }
.footer-nav a::after { left: 0; }
.footer-nav a:hover::after { width: 100%; }
.footer-cols { text-align: left; margin-top: 44px; padding-top: 36px; }
.footer-areas { text-align: left; }
.footer-base { justify-content: space-between; text-align: left; }
@media (max-width: 768px) {
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 2px 22px; padding-top: 0; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 8px; }
}


/* v9b (30 Oct 2026, Adam: "put the ABN there and the Facebook icon"): slanted outline Facebook tag in the
   footer brand column; the ABN sits in the footer base line, the legal pages and the schema. */
.footer-social {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 0 16px 0 12px; margin-top: 2px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: #fff;
  transition: color 0.25s ease, transform 0.2s var(--ease);
}
.footer-social::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 2px;
  transform: skewX(var(--skew)); transition: background 0.25s ease, border-color 0.25s ease;
}
.footer-social svg { width: 18px; height: 18px; flex: 0 0 auto; }
.footer-social:hover { color: var(--green-950); }
.footer-social:hover::before { background: var(--yellow); border-color: var(--yellow); }
.footer-social:active { transform: translateY(1px); }
.footer-social:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; border-radius: 2px; }

/* v10 hero (10 Nov 2026, Adam: "move this photo so it is nicely centred in that gap"): on wide, short laptop
   screens the 72vh cap crops the 2.08:1 photo, and the old centre anchor lost the roof under the nav.
   Anchor the dusk photo to the top on desktop (the master now carries a strip of sky above the ridge), so
   roof, lit windows and garden sit between the nav and the band; the lawn is what the band covers. */
@media (min-width: 769px) {
  .hero > .hero-media img { object-position: 50% 0; }
}

/* ============================================================
   v11 interior heroes (11 Nov 2026, Adam drew a red line: "most of the picture shown and not covered";
   then "do it much earlier so the photo shows even more"). Desktop only (>=1025px): the green band's top
   edge is a curve that leaves the breadcrumb level at the LEFT edge and falls away across the whole width
   to 100% - 60px at the right, with the logo-gradient line (a 5px polygon strip) following it. The power
   per width keeps the longest heading (About, two lines) and the breadcrumb inside the green with ~12px
   to spare: 1025-1439px power 2.3, 1440-1599px power 2.1, >=1600px flat for the first 12% (the empty
   gutter left of the 1140px column) then power 2.0. Points are generated (32 segments): x = r * 100%,
   y = (1 - s)(var(--cut) + 22px) + s(100% - 60px), s = ((r - a)/(1 - a))^p.
   Phones and tablets keep the v7 photo-on-top layout; legal pages have no photo band and are untouched.
   ============================================================ */
@media (min-width: 1025px) {
  .page-hero-band { clip-path: polygon(0.00% calc(0.00% + 1.000 * var(--cut) + 22.0px), 3.13% calc(0.03% + 1.000 * var(--cut) + 22.0px), 6.25% calc(0.17% + 0.998 * var(--cut) + 21.9px), 9.38% calc(0.43% + 0.996 * var(--cut) + 21.6px), 12.50% calc(0.84% + 0.992 * var(--cut) + 21.3px), 15.63% calc(1.40% + 0.986 * var(--cut) + 20.9px), 18.75% calc(2.13% + 0.979 * var(--cut) + 20.3px), 21.88% calc(3.03% + 0.970 * var(--cut) + 19.5px), 25.00% calc(4.12% + 0.959 * var(--cut) + 18.6px), 28.13% calc(5.41% + 0.946 * var(--cut) + 17.6px), 31.25% calc(6.89% + 0.931 * var(--cut) + 16.4px), 34.38% calc(8.58% + 0.914 * var(--cut) + 15.0px), 37.50% calc(10.48% + 0.895 * var(--cut) + 13.4px), 40.63% calc(12.60% + 0.874 * var(--cut) + 11.7px), 43.75% calc(14.94% + 0.851 * var(--cut) + 9.8px), 46.88% calc(17.51% + 0.825 * var(--cut) + 7.6px), 50.00% calc(20.31% + 0.797 * var(--cut) + 5.3px), 53.13% calc(23.34% + 0.767 * var(--cut) + 2.9px), 56.25% calc(26.62% + 0.734 * var(--cut) + 0.2px), 59.38% calc(30.15% + 0.698 * var(--cut) + -2.7px), 62.50% calc(33.93% + 0.661 * var(--cut) + -5.8px), 65.63% calc(37.95% + 0.620 * var(--cut) + -9.1px), 68.75% calc(42.24% + 0.578 * var(--cut) + -12.6px), 71.88% calc(46.79% + 0.532 * var(--cut) + -16.4px), 75.00% calc(51.60% + 0.484 * var(--cut) + -20.3px), 78.13% calc(56.68% + 0.433 * var(--cut) + -24.5px), 81.25% calc(62.03% + 0.380 * var(--cut) + -28.9px), 84.38% calc(67.65% + 0.323 * var(--cut) + -33.5px), 87.50% calc(73.56% + 0.264 * var(--cut) + -38.3px), 90.63% calc(79.74% + 0.203 * var(--cut) + -43.4px), 93.75% calc(86.21% + 0.138 * var(--cut) + -48.7px), 96.88% calc(92.96% + 0.070 * var(--cut) + -54.2px), 100.00% calc(100.00% + 0.000 * var(--cut) + -60.0px), 100% 100%, 0 100%); }
  .page-hero-band::before {
    left: 0; top: 0; width: 100%; height: 100%; transform: none; box-shadow: none;
    background: var(--gradient-logo-h);
    clip-path: polygon(0.00% calc(0.00% + 1.000 * var(--cut) + 22.0px), 3.13% calc(0.03% + 1.000 * var(--cut) + 22.0px), 6.25% calc(0.17% + 0.998 * var(--cut) + 21.9px), 9.38% calc(0.43% + 0.996 * var(--cut) + 21.6px), 12.50% calc(0.84% + 0.992 * var(--cut) + 21.3px), 15.63% calc(1.40% + 0.986 * var(--cut) + 20.9px), 18.75% calc(2.13% + 0.979 * var(--cut) + 20.3px), 21.88% calc(3.03% + 0.970 * var(--cut) + 19.5px), 25.00% calc(4.12% + 0.959 * var(--cut) + 18.6px), 28.13% calc(5.41% + 0.946 * var(--cut) + 17.6px), 31.25% calc(6.89% + 0.931 * var(--cut) + 16.4px), 34.38% calc(8.58% + 0.914 * var(--cut) + 15.0px), 37.50% calc(10.48% + 0.895 * var(--cut) + 13.4px), 40.63% calc(12.60% + 0.874 * var(--cut) + 11.7px), 43.75% calc(14.94% + 0.851 * var(--cut) + 9.8px), 46.88% calc(17.51% + 0.825 * var(--cut) + 7.6px), 50.00% calc(20.31% + 0.797 * var(--cut) + 5.3px), 53.13% calc(23.34% + 0.767 * var(--cut) + 2.9px), 56.25% calc(26.62% + 0.734 * var(--cut) + 0.2px), 59.38% calc(30.15% + 0.698 * var(--cut) + -2.7px), 62.50% calc(33.93% + 0.661 * var(--cut) + -5.8px), 65.63% calc(37.95% + 0.620 * var(--cut) + -9.1px), 68.75% calc(42.24% + 0.578 * var(--cut) + -12.6px), 71.88% calc(46.79% + 0.532 * var(--cut) + -16.4px), 75.00% calc(51.60% + 0.484 * var(--cut) + -20.3px), 78.13% calc(56.68% + 0.433 * var(--cut) + -24.5px), 81.25% calc(62.03% + 0.380 * var(--cut) + -28.9px), 84.38% calc(67.65% + 0.323 * var(--cut) + -33.5px), 87.50% calc(73.56% + 0.264 * var(--cut) + -38.3px), 90.63% calc(79.74% + 0.203 * var(--cut) + -43.4px), 93.75% calc(86.21% + 0.138 * var(--cut) + -48.7px), 96.88% calc(92.96% + 0.070 * var(--cut) + -54.2px), 100.00% calc(100.00% + 0.000 * var(--cut) + -60.0px), 100.00% calc(100.00% + 0.000 * var(--cut) + -55.0px), 96.88% calc(92.96% + 0.070 * var(--cut) + -49.2px), 93.75% calc(86.21% + 0.138 * var(--cut) + -43.7px), 90.63% calc(79.74% + 0.203 * var(--cut) + -38.4px), 87.50% calc(73.56% + 0.264 * var(--cut) + -33.3px), 84.38% calc(67.65% + 0.323 * var(--cut) + -28.5px), 81.25% calc(62.03% + 0.380 * var(--cut) + -23.9px), 78.13% calc(56.68% + 0.433 * var(--cut) + -19.5px), 75.00% calc(51.60% + 0.484 * var(--cut) + -15.3px), 71.88% calc(46.79% + 0.532 * var(--cut) + -11.4px), 68.75% calc(42.24% + 0.578 * var(--cut) + -7.6px), 65.63% calc(37.95% + 0.620 * var(--cut) + -4.1px), 62.50% calc(33.93% + 0.661 * var(--cut) + -0.8px), 59.38% calc(30.15% + 0.698 * var(--cut) + 2.3px), 56.25% calc(26.62% + 0.734 * var(--cut) + 5.2px), 53.13% calc(23.34% + 0.767 * var(--cut) + 7.9px), 50.00% calc(20.31% + 0.797 * var(--cut) + 10.3px), 46.88% calc(17.51% + 0.825 * var(--cut) + 12.6px), 43.75% calc(14.94% + 0.851 * var(--cut) + 14.8px), 40.63% calc(12.60% + 0.874 * var(--cut) + 16.7px), 37.50% calc(10.48% + 0.895 * var(--cut) + 18.4px), 34.38% calc(8.58% + 0.914 * var(--cut) + 20.0px), 31.25% calc(6.89% + 0.931 * var(--cut) + 21.4px), 28.13% calc(5.41% + 0.946 * var(--cut) + 22.6px), 25.00% calc(4.12% + 0.959 * var(--cut) + 23.6px), 21.88% calc(3.03% + 0.970 * var(--cut) + 24.5px), 18.75% calc(2.13% + 0.979 * var(--cut) + 25.3px), 15.63% calc(1.40% + 0.986 * var(--cut) + 25.9px), 12.50% calc(0.84% + 0.992 * var(--cut) + 26.3px), 9.38% calc(0.43% + 0.996 * var(--cut) + 26.6px), 6.25% calc(0.17% + 0.998 * var(--cut) + 26.9px), 3.13% calc(0.03% + 1.000 * var(--cut) + 27.0px), 0.00% calc(0.00% + 1.000 * var(--cut) + 27.0px));
  }
}
@media (min-width: 1440px) {
  .page-hero-band { clip-path: polygon(0.00% calc(0.00% + 1.000 * var(--cut) + 22.0px), 3.13% calc(0.07% + 0.999 * var(--cut) + 21.9px), 6.25% calc(0.30% + 0.997 * var(--cut) + 21.8px), 9.38% calc(0.69% + 0.993 * var(--cut) + 21.4px), 12.50% calc(1.27% + 0.987 * var(--cut) + 21.0px), 15.63% calc(2.03% + 0.980 * var(--cut) + 20.3px), 18.75% calc(2.97% + 0.970 * var(--cut) + 19.6px), 21.88% calc(4.11% + 0.959 * var(--cut) + 18.6px), 25.00% calc(5.44% + 0.946 * var(--cut) + 17.5px), 28.13% calc(6.97% + 0.930 * var(--cut) + 16.3px), 31.25% calc(8.69% + 0.913 * var(--cut) + 14.9px), 34.38% calc(10.62% + 0.894 * var(--cut) + 13.3px), 37.50% calc(12.75% + 0.873 * var(--cut) + 11.5px), 40.63% calc(15.08% + 0.849 * var(--cut) + 9.6px), 43.75% calc(17.62% + 0.824 * var(--cut) + 7.6px), 46.88% calc(20.37% + 0.796 * var(--cut) + 5.3px), 50.00% calc(23.33% + 0.767 * var(--cut) + 2.9px), 53.13% calc(26.49% + 0.735 * var(--cut) + 0.3px), 56.25% calc(29.87% + 0.701 * var(--cut) + -2.5px), 59.38% calc(33.46% + 0.665 * var(--cut) + -5.4px), 62.50% calc(37.27% + 0.627 * var(--cut) + -8.6px), 65.63% calc(41.29% + 0.587 * var(--cut) + -11.9px), 68.75% calc(45.53% + 0.545 * var(--cut) + -15.3px), 71.88% calc(49.98% + 0.500 * var(--cut) + -19.0px), 75.00% calc(54.65% + 0.453 * var(--cut) + -22.8px), 78.13% calc(59.55% + 0.405 * var(--cut) + -26.8px), 81.25% calc(64.66% + 0.353 * var(--cut) + -31.0px), 84.38% calc(69.99% + 0.300 * var(--cut) + -35.4px), 87.50% calc(75.55% + 0.245 * var(--cut) + -39.9px), 90.63% calc(81.32% + 0.187 * var(--cut) + -44.7px), 93.75% calc(87.33% + 0.127 * var(--cut) + -49.6px), 96.88% calc(93.55% + 0.064 * var(--cut) + -54.7px), 100.00% calc(100.00% + 0.000 * var(--cut) + -60.0px), 100% 100%, 0 100%); }
  .page-hero-band::before { clip-path: polygon(0.00% calc(0.00% + 1.000 * var(--cut) + 22.0px), 3.13% calc(0.07% + 0.999 * var(--cut) + 21.9px), 6.25% calc(0.30% + 0.997 * var(--cut) + 21.8px), 9.38% calc(0.69% + 0.993 * var(--cut) + 21.4px), 12.50% calc(1.27% + 0.987 * var(--cut) + 21.0px), 15.63% calc(2.03% + 0.980 * var(--cut) + 20.3px), 18.75% calc(2.97% + 0.970 * var(--cut) + 19.6px), 21.88% calc(4.11% + 0.959 * var(--cut) + 18.6px), 25.00% calc(5.44% + 0.946 * var(--cut) + 17.5px), 28.13% calc(6.97% + 0.930 * var(--cut) + 16.3px), 31.25% calc(8.69% + 0.913 * var(--cut) + 14.9px), 34.38% calc(10.62% + 0.894 * var(--cut) + 13.3px), 37.50% calc(12.75% + 0.873 * var(--cut) + 11.5px), 40.63% calc(15.08% + 0.849 * var(--cut) + 9.6px), 43.75% calc(17.62% + 0.824 * var(--cut) + 7.6px), 46.88% calc(20.37% + 0.796 * var(--cut) + 5.3px), 50.00% calc(23.33% + 0.767 * var(--cut) + 2.9px), 53.13% calc(26.49% + 0.735 * var(--cut) + 0.3px), 56.25% calc(29.87% + 0.701 * var(--cut) + -2.5px), 59.38% calc(33.46% + 0.665 * var(--cut) + -5.4px), 62.50% calc(37.27% + 0.627 * var(--cut) + -8.6px), 65.63% calc(41.29% + 0.587 * var(--cut) + -11.9px), 68.75% calc(45.53% + 0.545 * var(--cut) + -15.3px), 71.88% calc(49.98% + 0.500 * var(--cut) + -19.0px), 75.00% calc(54.65% + 0.453 * var(--cut) + -22.8px), 78.13% calc(59.55% + 0.405 * var(--cut) + -26.8px), 81.25% calc(64.66% + 0.353 * var(--cut) + -31.0px), 84.38% calc(69.99% + 0.300 * var(--cut) + -35.4px), 87.50% calc(75.55% + 0.245 * var(--cut) + -39.9px), 90.63% calc(81.32% + 0.187 * var(--cut) + -44.7px), 93.75% calc(87.33% + 0.127 * var(--cut) + -49.6px), 96.88% calc(93.55% + 0.064 * var(--cut) + -54.7px), 100.00% calc(100.00% + 0.000 * var(--cut) + -60.0px), 100.00% calc(100.00% + 0.000 * var(--cut) + -55.0px), 96.88% calc(93.55% + 0.064 * var(--cut) + -49.7px), 93.75% calc(87.33% + 0.127 * var(--cut) + -44.6px), 90.63% calc(81.32% + 0.187 * var(--cut) + -39.7px), 87.50% calc(75.55% + 0.245 * var(--cut) + -34.9px), 84.38% calc(69.99% + 0.300 * var(--cut) + -30.4px), 81.25% calc(64.66% + 0.353 * var(--cut) + -26.0px), 78.13% calc(59.55% + 0.405 * var(--cut) + -21.8px), 75.00% calc(54.65% + 0.453 * var(--cut) + -17.8px), 71.88% calc(49.98% + 0.500 * var(--cut) + -14.0px), 68.75% calc(45.53% + 0.545 * var(--cut) + -10.3px), 65.63% calc(41.29% + 0.587 * var(--cut) + -6.9px), 62.50% calc(37.27% + 0.627 * var(--cut) + -3.6px), 59.38% calc(33.46% + 0.665 * var(--cut) + -0.4px), 56.25% calc(29.87% + 0.701 * var(--cut) + 2.5px), 53.13% calc(26.49% + 0.735 * var(--cut) + 5.3px), 50.00% calc(23.33% + 0.767 * var(--cut) + 7.9px), 46.88% calc(20.37% + 0.796 * var(--cut) + 10.3px), 43.75% calc(17.62% + 0.824 * var(--cut) + 12.6px), 40.63% calc(15.08% + 0.849 * var(--cut) + 14.6px), 37.50% calc(12.75% + 0.873 * var(--cut) + 16.5px), 34.38% calc(10.62% + 0.894 * var(--cut) + 18.3px), 31.25% calc(8.69% + 0.913 * var(--cut) + 19.9px), 28.13% calc(6.97% + 0.930 * var(--cut) + 21.3px), 25.00% calc(5.44% + 0.946 * var(--cut) + 22.5px), 21.88% calc(4.11% + 0.959 * var(--cut) + 23.6px), 18.75% calc(2.97% + 0.970 * var(--cut) + 24.6px), 15.63% calc(2.03% + 0.980 * var(--cut) + 25.3px), 12.50% calc(1.27% + 0.987 * var(--cut) + 26.0px), 9.38% calc(0.69% + 0.993 * var(--cut) + 26.4px), 6.25% calc(0.30% + 0.997 * var(--cut) + 26.8px), 3.13% calc(0.07% + 0.999 * var(--cut) + 26.9px), 0.00% calc(0.00% + 1.000 * var(--cut) + 27.0px)); }
}
@media (min-width: 1600px) {
  .page-hero-band { clip-path: polygon(0.00% calc(0.00% + 1.000 * var(--cut) + 22.0px), 3.13% calc(0.00% + 1.000 * var(--cut) + 22.0px), 6.25% calc(0.00% + 1.000 * var(--cut) + 22.0px), 9.38% calc(0.00% + 1.000 * var(--cut) + 22.0px), 12.50% calc(0.00% + 1.000 * var(--cut) + 22.0px), 15.63% calc(0.17% + 0.998 * var(--cut) + 21.9px), 18.75% calc(0.59% + 0.994 * var(--cut) + 21.5px), 21.88% calc(1.26% + 0.987 * var(--cut) + 21.0px), 25.00% calc(2.18% + 0.978 * var(--cut) + 20.2px), 28.13% calc(3.36% + 0.966 * var(--cut) + 19.2px), 31.25% calc(4.79% + 0.952 * var(--cut) + 18.1px), 34.38% calc(6.46% + 0.935 * var(--cut) + 16.7px), 37.50% calc(8.40% + 0.916 * var(--cut) + 15.1px), 40.63% calc(10.58% + 0.894 * var(--cut) + 13.3px), 43.75% calc(13.02% + 0.870 * var(--cut) + 11.3px), 46.88% calc(15.71% + 0.843 * var(--cut) + 9.1px), 50.00% calc(18.65% + 0.814 * var(--cut) + 6.7px), 53.13% calc(21.84% + 0.782 * var(--cut) + 4.1px), 56.25% calc(25.28% + 0.747 * var(--cut) + 1.3px), 59.38% calc(28.98% + 0.710 * var(--cut) + -1.8px), 62.50% calc(32.93% + 0.671 * var(--cut) + -5.0px), 65.63% calc(37.13% + 0.629 * var(--cut) + -8.4px), 68.75% calc(41.59% + 0.584 * var(--cut) + -12.1px), 71.88% calc(46.29% + 0.537 * var(--cut) + -16.0px), 75.00% calc(51.25% + 0.487 * var(--cut) + -20.0px), 78.13% calc(56.46% + 0.435 * var(--cut) + -24.3px), 81.25% calc(61.93% + 0.381 * var(--cut) + -28.8px), 84.38% calc(67.64% + 0.324 * var(--cut) + -33.5px), 87.50% calc(73.61% + 0.264 * var(--cut) + -38.4px), 90.63% calc(79.83% + 0.202 * var(--cut) + -43.5px), 93.75% calc(86.30% + 0.137 * var(--cut) + -48.8px), 96.88% calc(93.02% + 0.070 * var(--cut) + -54.3px), 100.00% calc(100.00% + 0.000 * var(--cut) + -60.0px), 100% 100%, 0 100%); }
  .page-hero-band::before { clip-path: polygon(0.00% calc(0.00% + 1.000 * var(--cut) + 22.0px), 3.13% calc(0.00% + 1.000 * var(--cut) + 22.0px), 6.25% calc(0.00% + 1.000 * var(--cut) + 22.0px), 9.38% calc(0.00% + 1.000 * var(--cut) + 22.0px), 12.50% calc(0.00% + 1.000 * var(--cut) + 22.0px), 15.63% calc(0.17% + 0.998 * var(--cut) + 21.9px), 18.75% calc(0.59% + 0.994 * var(--cut) + 21.5px), 21.88% calc(1.26% + 0.987 * var(--cut) + 21.0px), 25.00% calc(2.18% + 0.978 * var(--cut) + 20.2px), 28.13% calc(3.36% + 0.966 * var(--cut) + 19.2px), 31.25% calc(4.79% + 0.952 * var(--cut) + 18.1px), 34.38% calc(6.46% + 0.935 * var(--cut) + 16.7px), 37.50% calc(8.40% + 0.916 * var(--cut) + 15.1px), 40.63% calc(10.58% + 0.894 * var(--cut) + 13.3px), 43.75% calc(13.02% + 0.870 * var(--cut) + 11.3px), 46.88% calc(15.71% + 0.843 * var(--cut) + 9.1px), 50.00% calc(18.65% + 0.814 * var(--cut) + 6.7px), 53.13% calc(21.84% + 0.782 * var(--cut) + 4.1px), 56.25% calc(25.28% + 0.747 * var(--cut) + 1.3px), 59.38% calc(28.98% + 0.710 * var(--cut) + -1.8px), 62.50% calc(32.93% + 0.671 * var(--cut) + -5.0px), 65.63% calc(37.13% + 0.629 * var(--cut) + -8.4px), 68.75% calc(41.59% + 0.584 * var(--cut) + -12.1px), 71.88% calc(46.29% + 0.537 * var(--cut) + -16.0px), 75.00% calc(51.25% + 0.487 * var(--cut) + -20.0px), 78.13% calc(56.46% + 0.435 * var(--cut) + -24.3px), 81.25% calc(61.93% + 0.381 * var(--cut) + -28.8px), 84.38% calc(67.64% + 0.324 * var(--cut) + -33.5px), 87.50% calc(73.61% + 0.264 * var(--cut) + -38.4px), 90.63% calc(79.83% + 0.202 * var(--cut) + -43.5px), 93.75% calc(86.30% + 0.137 * var(--cut) + -48.8px), 96.88% calc(93.02% + 0.070 * var(--cut) + -54.3px), 100.00% calc(100.00% + 0.000 * var(--cut) + -60.0px), 100.00% calc(100.00% + 0.000 * var(--cut) + -55.0px), 96.88% calc(93.02% + 0.070 * var(--cut) + -49.3px), 93.75% calc(86.30% + 0.137 * var(--cut) + -43.8px), 90.63% calc(79.83% + 0.202 * var(--cut) + -38.5px), 87.50% calc(73.61% + 0.264 * var(--cut) + -33.4px), 84.38% calc(67.64% + 0.324 * var(--cut) + -28.5px), 81.25% calc(61.93% + 0.381 * var(--cut) + -23.8px), 78.13% calc(56.46% + 0.435 * var(--cut) + -19.3px), 75.00% calc(51.25% + 0.487 * var(--cut) + -15.0px), 71.88% calc(46.29% + 0.537 * var(--cut) + -11.0px), 68.75% calc(41.59% + 0.584 * var(--cut) + -7.1px), 65.63% calc(37.13% + 0.629 * var(--cut) + -3.4px), 62.50% calc(32.93% + 0.671 * var(--cut) + -0.0px), 59.38% calc(28.98% + 0.710 * var(--cut) + 3.2px), 56.25% calc(25.28% + 0.747 * var(--cut) + 6.3px), 53.13% calc(21.84% + 0.782 * var(--cut) + 9.1px), 50.00% calc(18.65% + 0.814 * var(--cut) + 11.7px), 46.88% calc(15.71% + 0.843 * var(--cut) + 14.1px), 43.75% calc(13.02% + 0.870 * var(--cut) + 16.3px), 40.63% calc(10.58% + 0.894 * var(--cut) + 18.3px), 37.50% calc(8.40% + 0.916 * var(--cut) + 20.1px), 34.38% calc(6.46% + 0.935 * var(--cut) + 21.7px), 31.25% calc(4.79% + 0.952 * var(--cut) + 23.1px), 28.13% calc(3.36% + 0.966 * var(--cut) + 24.2px), 25.00% calc(2.18% + 0.978 * var(--cut) + 25.2px), 21.88% calc(1.26% + 0.987 * var(--cut) + 26.0px), 18.75% calc(0.59% + 0.994 * var(--cut) + 26.5px), 15.63% calc(0.17% + 0.998 * var(--cut) + 26.9px), 12.50% calc(0.00% + 1.000 * var(--cut) + 27.0px), 9.38% calc(0.00% + 1.000 * var(--cut) + 27.0px), 6.25% calc(0.00% + 1.000 * var(--cut) + 27.0px), 3.13% calc(0.00% + 1.000 * var(--cut) + 27.0px), 0.00% calc(0.00% + 1.000 * var(--cut) + 27.0px)); }
}


/* Quote form status note (11 Nov 2026): "Sending..." while the Formspree request runs, an error note if it fails.
   A successful send always goes to thanks.html. */
:root { --error-text: #8A1C1C; --error-bg: #FBEAEA; --error-rule: #C0392B; }
.form-status {
  margin-top: 12px; padding: 10px 14px; font-size: 0.9rem; line-height: 1.5; text-align: center;
  color: var(--green-800); background: var(--paper); border-left: 3px solid var(--green-500);
}
.form-status.is-error { color: var(--error-text); background: var(--error-bg); border-left-color: var(--error-rule); }
.form-status a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.form-actions .btn[aria-disabled="true"] { opacity: 0.75; cursor: progress; }
.form-actions .btn[aria-disabled="true"]:hover { transform: none; }


/* Home link (11 Nov 2026, Adam: "put a home button because many people don't know to click on the logo"):
   six links now, so the full-screen menu stagger gets a sixth step and the facts footer follows it. */
@media (max-width: 1024px) {
  .nav.menu-open .nav-link:nth-child(6) { animation-delay: 0.30s; }
  .nav.menu-open .nav-mob-foot { animation-delay: 0.37s; }
}

/* Desktop nav on one line from 1025px, where the burger hands over (11 Nov 2026, after the Home link made
   six links): labels never wrap, and 1025-1239px trims link padding, gaps and the logo a touch. */
.nav-link, .nav-phone, .nav-cta { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1239px) {
  .nav-inner { gap: 14px; }
  .nav-links { gap: 2px; }
  .nav-link { padding: 8px 7px; font-size: 0.85rem; }
  .nav-link::after { left: 7px; right: 7px; }
  .nav-right { gap: 12px; }
  .logo-stack { height: 40px; }
  .nav-phone { font-size: 0.88rem; }
  .nav-cta { padding: 0 14px; }
}


/* ============================================================
   v12 (11 Nov 2026) — fixes from the final five-reviewer pass that Adam approved.
   ============================================================ */
:root {
  --green-650: #265212;
  --gradient-logo-h: linear-gradient(90deg, var(--yellow-400) 0%, var(--green-500) 55%, var(--green-650) 100%);
  --input-border: #7C877A;
}

/* Our Homes drawers: closed drawers are out of the Tab order; without JS every drawer is open */
html.js .proj-drawer-inner { visibility: hidden; transition: visibility 0s linear 0.55s; }
html.js .proj.is-open .proj-drawer-inner { visibility: visible; transition-delay: 0s; }
html:not(.js) .proj-drawer { grid-template-rows: 1fr; }
html:not(.js) .proj-toggle .tile-cap::after { content: none; }

/* focus rings that show on every surface: dark green on light, yellow on dark */
.btn-primary:focus-visible, .btn-outline:focus-visible { outline: 3px solid var(--green-950); outline-offset: 4px; }
.hero .btn:focus-visible, .cta .btn:focus-visible, .mobile-cta .btn:focus-visible, .photo-break .btn:focus-visible,
.dark-sec .btn:focus-visible, .proof .btn:focus-visible, .nav:not(.scrolled):not(.solid) .nav-cta:focus-visible,
.nav.menu-open :focus-visible, .footer .footer-nav a:focus-visible, .footer .footer-base a:focus-visible, .footer .footer-social:focus-visible { outline-color: var(--yellow); }
.sec-green .bento-card.feature:focus-visible { outline-color: var(--green-950); }
.thumb-strip { padding: 6px 6px 14px; }

/* quote form: visible input edges, readable placeholders, the status line always present */
.form-input, .form-select, .form-textarea { border-color: var(--input-border); }
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: var(--green-700); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); opacity: 1; }
.form-hint { margin: 6px 0 0; font-size: 0.85rem; color: var(--text-muted); }
.form-status:empty { padding: 0; margin: 0; border: 0; }
.form-status:focus { outline: none; }
.form-status a:hover { text-decoration-thickness: 2px; }
.form-status a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }

/* touch targets and focused items never hidden under the fixed bars */
html { scroll-padding-top: 90px; }
.proj, .quote-sec, .proof, .svc-block, .form-card { scroll-margin-top: 0; }
@media (max-width: 1024px) {
  .nav-phone { min-width: 44px; min-height: 44px; justify-content: center; padding: 0; }
  .nav-phone svg { width: 20px; height: 20px; }
  .burger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  html { scroll-padding-bottom: 88px; }
  .nav.menu-open ~ .mobile-cta { visibility: hidden; }
  /* white text on the feature photo card stays readable where the text sits higher on the photo */
  .bento-card.feature .bento-img::after { background: linear-gradient(180deg, rgba(11,31,14,0.35) 0%, rgba(11,31,14,0.55) 25%, rgba(11,31,14,0.85) 45%, rgba(11,31,14,0.95) 70%); }
  .bento-card.feature p { color: var(--text-inverted); }
}

/* small leftovers */
.nav-logo { transition: opacity 0.25s ease; }
.nav-logo:hover { opacity: 0.85; }
.nav-logo:active { opacity: 0.7; }
.words blockquote, .map-note { font-weight: 700; } /* italic 500 is not loaded; 700 is what rendered anyway */


/* v12b (11 Nov 2026) */
/* button drift: `translate` animates on its own, `transform` keeps the hover lift and the press */
.btn-magnetic { transition: color 0.25s ease, transform 0.18s var(--ease), translate 0.45s var(--ease); will-change: transform, translate; }
.btn-magnetic:hover { transition: color 0.25s ease, transform 0.18s var(--ease), translate 0.1s linear; }
.btn-magnetic[aria-disabled="true"] { translate: none; }

/* Our Homes: project names are h3 headings around the toggle; the sub-line sits under them as a paragraph */
.proj-title { margin: 0; font: inherit; letter-spacing: normal; color: inherit; text-wrap: initial; }
.proj > .tile-sub { line-height: normal; cursor: pointer; transition: color 0.25s ease; }
.proj-title:hover + .tile-sub, .proj-title:focus-within + .tile-sub { color: var(--text-heading); }

/* quote box in the empty cell at the end of an odd-length project list (two-column layout only) */
.proj-cta { display: none; }
@media (min-width: 769px) {
  .work-grid > article.proj:last-of-type:nth-of-type(odd) ~ .proj-cta { display: flex; }
}
.proj-cta {
  position: relative; overflow: hidden; aspect-ratio: 3 / 2;
  flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 36px 40px;
  color: var(--text-inverted); border-top: 3px solid var(--yellow); box-shadow: var(--shadow-md);
  background: radial-gradient(ellipse 70% 60% at 100% 100%, rgba(143,183,61,0.22) 0%, transparent 60%), var(--gradient-dark);
}
.proj-cta .eyebrow { margin-bottom: 0; }
.proj-cta h3 { margin: 0; color: var(--text-inverted); font-size: var(--text-3xl); line-height: 1.1; }
.proj-cta p { margin: 0; max-width: 34ch; color: rgba(255,255,255,0.84); }
.proj-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.proj-cta :focus-visible { outline-color: var(--yellow); }
@media (min-width: 769px) and (max-width: 1024px) { .proj-cta { padding: 24px 26px; gap: 10px; } .proj-cta h3 { font-size: var(--text-2xl); } }
/* the toggle fills its heading again, so the name tag has room for one line (it shrink-wrapped once the sub-line moved out) */
.proj-title .proj-toggle { width: 100%; }


/* v12c (11 Nov 2026): no endless decorative motion (WCAG 2.2.2). The map pulse rings three times when the map
   scrolls into view, the CTA sheen sweeps once when its copy appears, the background glows hold still. */
.town-pulse { animation: none; opacity: 0; }
.visible .town-pulse { animation: pulse-ring 2.8s ease-out 3 both; }
.visible .town-pulse.p2 { animation-delay: 0.9s; }
.visible .town-pulse.p3 { animation-delay: 1.6s; }
.cta::after { animation: none; }
.cta:has(.cta-copy.visible)::after { animation: sheen 4.5s ease-in-out 1; }
.proof::before, .dark-sec::before, .page-hero.dark::before { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .visible .town-pulse { animation: none; opacity: 0; }
  .cta:has(.cta-copy.visible)::after { animation: none; }
}

/* home "What we have built": the big Skillion tile crops in from the top so the white sky doesn't read as a blank block
   (`scale` is separate from `transform`, so the reveal and hover zoom still work) */
.editorial > .tile.tall:first-child .tile-media img { scale: 1.32; transform-origin: 62% 92%; }
@media (max-width: 768px) {
  .editorial > .tile.tall:first-child .tile-media img { scale: 1.2; transform-origin: 62% 96%; }
}


/* ============================================================
   v13 (11 Nov 2026) — Our Homes project viewer. One click on a project (photo, name or sub-line) opens it:
   the description sits on the left and stays put, the photos are on the right with arrows, a counter and
   thumbnails. Phones stack it: photo, then name and description, then thumbnails. The inline drawer is gone
   (it stays in the HTML for search engines and no-JS visitors, hidden when JS runs).
   ============================================================ */
html.js .proj-drawer { display: none; }
.proj-toggle .tile-cap::after { content: none; }

.lightbox.pv { padding: 28px; align-items: center; justify-content: center; background: rgba(6,16,8,0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pv [hidden] { display: none !important; }
.pv-shell {
  position: relative; display: grid; width: min(1320px, 100%); height: min(860px, calc(100vh - 56px)); overflow: hidden;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "info stage" "info thumbs";
  background: var(--gradient-dark); border-top: 3px solid var(--yellow);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 4px 14px rgba(0,0,0,0.35);
  animation: popin 0.35s var(--ease) both;
}
.pv-info { grid-area: info; overflow-y: auto; padding: 44px 36px 36px; border-right: 1px solid rgba(255,255,255,0.10); }
.pv-count { margin-bottom: 14px; }
.pv-title { margin: 0 0 18px; color: var(--text-inverted); font-size: var(--text-4xl); line-height: 1.08; }
.pv-desc p { margin: 0 0 14px; font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.84); }
.pv-stage { grid-area: stage; position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 28px 78px 6px; }
.lightbox .pv-fig { margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox .pv-fig img { flex: 0 1 auto; min-height: 0; max-width: 100%; max-height: calc(100% - 46px); width: auto; height: auto; object-fit: contain; animation: none; box-shadow: 0 18px 50px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.3); }
.lightbox .pv-fig figcaption { margin-top: 12px; max-width: 100%; }
.pv .lb-prev { left: 18px; }
.pv .lb-next { right: 18px; }
.pv .lb-close { position: fixed; top: 14px; right: 14px; z-index: 2; background: rgba(11,31,14,0.75); }
.pv-thumbs { grid-area: thumbs; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px 24px 22px; }
.pv-thumb {
  width: 76px; height: 52px; padding: 0; overflow: hidden; cursor: pointer; opacity: 0.6;
  border: 2px solid transparent; background: rgba(255,255,255,0.08);
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}
.pv-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-thumb:hover { opacity: 0.9; }
.pv-thumb:active { transform: scale(0.96); }
.pv-thumb[aria-current="true"] { opacity: 1; border-color: var(--yellow); }
.pv-thumb:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

@media (max-width: 900px) {
  .lightbox.pv { padding: 0; align-items: stretch; }
  .pv-shell {
    width: 100%; height: 100%; overflow-y: auto; border-top: 0; animation: none;
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; grid-template-areas: "stage" "info" "thumbs";
  }
  .pv-stage { padding: 66px 12px 4px; }
  .lightbox .pv-fig { height: auto; }
  .lightbox .pv-fig img { max-height: 52vh; }
  .pv-info { overflow: visible; padding: 18px 22px 6px; border-right: 0; border-top: 1px solid rgba(255,255,255,0.10); }
  .pv-title { font-size: var(--text-3xl); }
  .pv-thumbs { justify-content: flex-start; padding: 6px 22px 30px; }
  .pv .lb-prev { left: 8px; }
  .pv .lb-next { right: 8px; }
}
/* v13 fix: on phones the viewer is a plain stacked column (the grid rows were shrinking below their content,
   so the caption ran into the description and the photo slid up under the close button) */
@media (max-width: 900px) {
  .pv-shell { display: flex; flex-direction: column; }
  .pv-shell > * { flex: 0 0 auto; min-height: auto; }
  .pv-stage { order: 1; }
  .pv-info { order: 2; }
  .pv-thumbs { order: 3; }
}
/* viewer arrows stay visible when they sit over a bright photo (tablets, phones) */
.pv .lb-prev, .pv .lb-next { background: rgba(11,31,14,0.62); border-color: rgba(255,255,255,0.45); }
.pv .lb-prev:hover, .pv .lb-next:hover { background: rgba(11,31,14,0.85); border-color: #fff; }


/* v14 (11 Nov 2026, Adam: "two buttons saying get a quote straight away ... the one at the very bottom should pop
   up straight after the other one isn't on the screen anymore"): on pages whose first screen has its own buttons
   (home hero, thanks, 404 — marked data-cta-lead) the phone call bar starts held below the screen and slides up
   once those buttons have scrolled behind the header; scrolling back up tucks it away again. Without JS the
   `js` class is gone and the bar simply shows. */
.mobile-cta { transition: transform 0.35s var(--ease), opacity 0.25s ease, visibility 0s linear 0s; }
.js body.cta-held .mobile-cta {
  transform: translateY(calc(100% + 24px)); visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.25s ease, visibility 0s linear 0.35s;
}

/* v14: phones get their own crop of the home hero (photos/cropped/lights-at-dusk/00-front-hero-phone.jpg, 1120x750,
   the full sky above the desktop master and less lawn), anchored to the top, so the roof clears the header and
   the band covers the lawn edge instead of half the garden. */
.hero-media picture { display: contents; }
@media (max-width: 768px) {
  .hero > .hero-media img { object-position: 50% 0; }
}


/* ============================================================
   v15 (18 Nov 2026, Adam: "make a sort of brochure ... something they can flick through and have a look at the
   plans and their corresponding houses and designs ... put it on the homepage as well and show a few good ones").
   house-designs.html: Brett's sixteen "ONE" brochure sheets as an open book. Left page = the facade render, name,
   total area, bed/bath/car and features; right page = the floor plan as dark-green line art on grid paper, the
   width/depth and the areas. Desktop (>=1025px) shows one spread at a time and turns the page in 3D (site.js);
   tablets and phones show one design at a time as a single page and slide. Without JS every design is listed.
   The home page "picks" block shows three designs: rows on the left, the facade + plan on the right.
   ============================================================ */
:root { --sheet: #FFFDF6; --sheet-grid: rgba(46,125,50,0.075); --book-shadow: 0 2px 4px rgba(11,31,14,0.12), 0 22px 44px -14px rgba(11,31,14,0.38), 0 54px 90px -40px rgba(11,31,14,0.40); }

.designs .sec-head { margin-bottom: 34px; }
.book { position: relative; }

/* --- bar: page count + back / next --- */
.book-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
html:not(.js) .book-bar { display: none; }
.book-count { display: flex; align-items: baseline; gap: 10px; margin: 0; font-family: var(--font-display); color: var(--green-950); }
.book-now { font-weight: 900; font-style: italic; font-stretch: 135%; font-size: 2.2rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.book-of { font-weight: 700; font-size: 0.95rem; color: var(--text-muted); }
.book-cur { position: relative; isolation: isolate; margin-left: 8px; padding: 6px 12px 5px; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; align-self: center; }
.book-cur::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: skewX(var(--skew)); border-radius: 2px; }
.book-nav { display: flex; gap: 14px; }
.book-nav .btn { min-height: 46px; padding: 0 22px; }
.book-prev { gap: 8px; }
.book-prev:hover .btn-ico { transform: translateX(-4px); }
.book-bar-foot { margin: 18px 0 0; }

/* --- the stage + each spread --- */
.book-stage { position: relative; }
.dsg { display: grid; grid-template-columns: 1fr 1fr; padding: 10px; border-radius: 6px; background: linear-gradient(160deg, var(--green-800) 0%, var(--green-950) 100%); box-shadow: var(--book-shadow); }
html:not(.js) .book-stage { display: grid; gap: 36px; }
.dsg-page { position: relative; min-width: 0; padding: 26px 30px 46px; background-color: var(--sheet); }
.dsg-house { border-radius: 3px 0 0 3px; background-image: linear-gradient(to left, rgba(16,32,15,0.14), rgba(16,32,15,0) 44px); }
.dsg-plan {
  border-radius: 0 3px 3px 0;
  background-image: linear-gradient(to right, rgba(16,32,15,0.17), rgba(16,32,15,0) 44px), linear-gradient(var(--sheet-grid) 1px, transparent 1px), linear-gradient(90deg, var(--sheet-grid) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
}
.dsg-render { position: relative; margin: 0; aspect-ratio: 2.2 / 1; overflow: hidden; background: var(--paper-2); box-shadow: 0 1px 2px rgba(11,31,14,0.10), 0 8px 18px -6px rgba(11,31,14,0.22); }
.dsg-render img { width: 100%; height: 100%; object-fit: cover; }
.dsg-frame { position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,0.7); pointer-events: none; }
.dsg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 20px; }
.dsg-name { margin: 0; font-weight: 900; font-style: italic; font-stretch: 125%; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 0.95; letter-spacing: -0.02em; color: var(--green-600); }
.dsg-one { color: var(--green-950); }
.dsg-total { position: relative; isolation: isolate; flex: 0 0 auto; margin-bottom: 4px; padding: 7px 13px 6px; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--green-950); font-variant-numeric: tabular-nums; }
.dsg-total::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: skewX(var(--skew)); border-radius: 2px; }
.dsg-keys { list-style: none; display: flex; margin: 14px 0 0; padding: 10px 0; border-top: 2px solid var(--green-950); border-bottom: 1px solid rgba(16,32,15,0.16); }
.dsg-keys li { display: flex; align-items: center; gap: 7px; padding: 0 16px; font-size: 0.92rem; color: var(--text-body); }
.dsg-keys li:first-child { padding-left: 0; }
.dsg-keys li + li { border-left: 1px solid rgba(16,32,15,0.16); }
.dsg-keys svg { width: 20px; height: 20px; color: var(--green-600); }
.dsg-keys strong { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--green-950); }
.dsg-lab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 18px 0 8px; font-family: var(--font-display); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-700); }
.dsg-plan > .dsg-lab { margin-top: 0; }
.dsg-dims { font-family: var(--font-body); font-size: 0.86rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--green-950); font-variant-numeric: tabular-nums; }
.dsg-feat { list-style: none; margin: 0; padding: 0; }
.dsg-feat li { position: relative; padding: 3px 0 3px 20px; font-size: 0.95rem; line-height: 1.5; color: var(--text-heading); }
.dsg-feat li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 4px; background: var(--yellow); transform: skewX(var(--skew)); outline: 1px solid rgba(16,32,15,0.12); }
.dsg-folio { position: absolute; bottom: 16px; margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.dsg-house .dsg-folio { left: 30px; }
.dsg-plan .dsg-folio { right: 30px; font-variant-numeric: tabular-nums; }

/* plan page: tall plans sit beside the areas, wide plans sit above them */
.dsg-plan-body { display: grid; gap: 18px 22px; }
.dsg-plan.is-tall .dsg-plan-body { grid-template-columns: minmax(0, 1fr) 176px; align-items: start; }
.dsg-plan-fig { position: relative; display: flex; justify-content: center; align-items: center; padding: 6px; border-radius: 2px; transition: background-color 0.3s ease; }
.dsg-plan-fig img { width: auto; height: auto; max-width: 100%; max-height: 470px; transition: transform 0.45s var(--ease); }
.dsg-plan.is-wide .dsg-plan-fig img { max-height: 330px; }
.dsg-zoom {
  position: absolute; right: 8px; bottom: 8px; z-index: 1; isolation: isolate; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px 6px; font-family: var(--font-display); font-weight: 800; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow);
  opacity: 0; transform: translateY(4px); transition: opacity 0.25s ease, transform 0.3s var(--ease);
}
.dsg-zoom::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(11,31,14,0.88); transform: skewX(var(--skew)); border-radius: 2px; }
.dsg-zoom svg { width: 14px; height: 14px; }
.dsg-plan-fig:hover, .dsg-plan-fig:focus-visible { background-color: rgba(242,212,60,0.10); }
.dsg-plan-fig:hover img { transform: scale(1.015); }
.dsg-plan-fig:hover .dsg-zoom, .dsg-plan-fig:focus-visible .dsg-zoom { opacity: 1; transform: none; }
.dsg-plan-fig:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.dsg-plan-fig:active img { transform: scale(1); }
@media (hover: none) { .dsg-zoom { opacity: 1; transform: none; } }
.dsg-areas { margin: 0; border-top: 2px solid var(--green-950); }
.dsg-areas > div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(16,32,15,0.14); font-size: 0.9rem; line-height: 1.4; }
.dsg-areas dt { color: var(--text-body); }
.dsg-areas dd { margin: 0; font-weight: 600; color: var(--text-heading); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dsg-areas .dsg-sum { padding: 9px 0 8px; border-bottom: 0; }
.dsg-areas .dsg-sum dt, .dsg-areas .dsg-sum dd { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--green-950); }
.dsg-areas .dsg-sum dd { position: relative; isolation: isolate; padding: 0 6px; }
.dsg-areas .dsg-sum dd::before { content: ''; position: absolute; left: 0; right: 0; top: 52%; bottom: 0; z-index: -1; background: rgba(242,212,60,0.85); transform: skewX(var(--skew)); }
.dsg-plan.is-wide .dsg-areas { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; }
.dsg-plan.is-wide .dsg-areas .dsg-sum { grid-column: 1 / -1; }
.dsg-plan.is-wide .dsg-side { display: flex; flex-direction: column; }
.dsg-name:focus { outline: none; }
.dsg-name:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
/* narrow desktops: a tall plan gets the full page width, the areas sit under it */
@media (min-width: 1025px) and (max-width: 1239px) {
  .dsg-plan.is-tall .dsg-plan-body { grid-template-columns: 1fr; }
  .dsg-plan.is-tall .dsg-plan-fig img { max-height: 400px; }
  .dsg-plan.is-tall .dsg-areas { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .dsg-plan.is-tall .dsg-areas .dsg-sum { grid-column: 1 / -1; }
}
/* wide plans: the plan + areas sit in the middle of the page, not hard against the top */
@media (min-width: 1025px) {
  .dsg-plan.is-wide { display: flex; flex-direction: column; }
  .dsg-plan.is-wide .dsg-plan-body { flex: 1 1 auto; align-content: center; padding-bottom: 12px; }
}

/* JS on, desktop: every spread sits in the same grid cell (the stage keeps the tallest one's height, so the
   page never jumps); only the current one is visible. The turning leaf is a clone laid over the stage. */
@media (min-width: 1025px) {
  .js .book-stage { display: grid; perspective: 3200px; }
  .js .book-stage > .dsg { grid-area: 1 / 1; }
  .js .book-stage > .dsg:not(.is-on):not(.is-under) { display: none; } /* only the open spread (and the one under a turning page) loads its images */
  .js .book-stage > .dsg.is-on { z-index: 2; }
  .js .book-stage > .dsg.is-under { z-index: 1; }
  .js .book-stage > .dsg.is-turning { background: transparent; box-shadow: none; }
  .book-bar-foot { display: none; }
}
.book-leaf { position: absolute; z-index: 5; transform-style: preserve-3d; pointer-events: none; will-change: transform; }
.book-leaf.fwd { transform-origin: 0 50%; }
.book-leaf.rev { transform-origin: 100% 50%; }
.leaf-face { position: absolute; inset: 0; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 0 24px rgba(11,31,14,0.18), 0 0 2px rgba(11,31,14,0.2); }
.leaf-back { transform: rotateY(180deg); }
.leaf-shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(11,31,14,0.30), rgba(11,31,14,0.08)); }
.leaf-face.dsg-house .leaf-shade { background: linear-gradient(270deg, rgba(11,31,14,0.30), rgba(11,31,14,0.08)); }

/* tablets + phones: one design at a time, the two pages stacked as one sheet */
@media (max-width: 1024px) {
  .dsg { grid-template-columns: 1fr; padding: 6px; }
  .dsg-page { padding: 20px 20px 24px; }
  .dsg-house { border-radius: 3px 3px 0 0; background-image: none; }
  .dsg-plan { border-radius: 0 0 3px 3px; border-top: 1px dashed rgba(16,32,15,0.22); background-image: linear-gradient(var(--sheet-grid) 1px, transparent 1px), linear-gradient(90deg, var(--sheet-grid) 1px, transparent 1px); background-size: 22px 22px, 22px 22px; }
  .dsg-folio { display: none; }
  .js .book-stage > .dsg:not(.is-on):not(.is-out) { display: none; }
  .book-stage > .dsg.is-out { position: absolute; left: 0; right: 0; top: 0; z-index: 1; pointer-events: none; }
  .dsg-plan.is-tall .dsg-plan-body { grid-template-columns: minmax(0, 1fr) 200px; }
  .dsg-plan-fig img { max-height: 560px; }
  .dsg-plan.is-wide .dsg-plan-fig img { max-height: none; }
}
@media (max-width: 640px) {
  .book-bar { flex-wrap: wrap; gap: 10px; }
  .book-now { font-size: 1.8rem; }
  .book-nav { width: 100%; }
  .book-nav .btn { flex: 1 1 0; padding: 0 12px; }
  .book-nav .book-prev { flex: 0 0 auto; }
  .dsg-page { padding: 16px 14px 20px; }
  .dsg-head { margin-top: 16px; }
  .dsg-keys li { padding: 0 11px; font-size: 0.88rem; }
  .dsg-plan.is-tall .dsg-plan-body, .dsg-plan.is-wide .dsg-areas { grid-template-columns: 1fr; }
  .dsg-plan-fig img { max-height: none; }
  .dsg-lab { flex-wrap: wrap; }
}

.book-note { margin: 22px 0 0; max-width: 78ch; font-size: 0.85rem; line-height: 1.6; color: var(--text-muted); }

/* --- contents: every design, smallest to largest --- */
.book-index { margin-top: 46px; }
.book-index-lab { margin: 0 0 16px; font-family: var(--font-display); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-700); }
.book-index-list { list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 22px 14px; margin: 0; padding: 0; }
.bi { display: block; position: relative; }
.bi-img { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); box-shadow: 0 1px 2px rgba(11,31,14,0.10), 0 6px 14px -6px rgba(11,31,14,0.25); transition: box-shadow 0.3s ease; }
.bi-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bi-name { display: block; margin-top: 9px; font-family: var(--font-display); font-weight: 900; font-style: italic; font-stretch: 125%; font-size: 1.02rem; line-height: 1; color: var(--green-600); transition: transform 0.35s var(--ease); }
.bi-sub { display: block; margin-top: 4px; font-size: 0.78rem; line-height: 1.35; color: var(--text-body); }
.bi::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 16 / 10; outline: 3px solid var(--yellow); outline-offset: 3px; opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.bi:hover .bi-img img { transform: scale(1.07); }
.bi:hover .bi-name { transform: translateX(3px); }
.bi:hover .bi-img { box-shadow: 0 2px 4px rgba(11,31,14,0.12), 0 12px 22px -8px rgba(11,31,14,0.35); }
.bi:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 2px; }
.bi:active .bi-img img { transform: scale(1.02); }
.bi[aria-current="true"]::after { opacity: 1; }
.bi[aria-current="true"] .bi-name { color: var(--green-950); }
@media (max-width: 1024px) { .book-index-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .book-index-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }

/* --- home page: three picks from the design book --- */
.picks { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.pick-list { list-style: none; margin: 30px 0 26px; padding: 0; border-top: 2px solid var(--green-950); }
.pick {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name arrow" "sub arrow"; align-items: center; gap: 4px 16px;
  padding: 16px 6px 16px 22px; border-bottom: 1px solid rgba(16,32,15,0.16); transition: background-color 0.3s ease;
}
.pick::before { content: ''; position: absolute; left: 2px; top: 16px; bottom: 16px; width: 4px; background: var(--yellow); transform: skewX(var(--skew)) scaleY(0); transform-origin: 50% 0; transition: transform 0.4s var(--ease); }
.pick.is-on::before, .pick:hover::before, .pick:focus-visible::before { transform: skewX(var(--skew)) scaleY(1); }
.pick-thumb { display: none; }
.pick-name { grid-area: name; font-family: var(--font-display); font-weight: 900; font-style: italic; font-stretch: 125%; font-size: 1.55rem; line-height: 1; letter-spacing: -0.02em; color: var(--green-600); transition: transform 0.35s var(--ease); }
.pick-sub { grid-area: sub; font-size: 0.92rem; color: var(--text-body); }
.pick .ico-arrow { grid-area: arrow; width: 20px; height: 20px; color: var(--green-800); transition: transform 0.3s var(--ease); }
.pick:hover .pick-name, .pick.is-on .pick-name { transform: translateX(4px); }
.pick:hover .ico-arrow { transform: translateX(5px); }
.pick:hover { background-color: rgba(242,212,60,0.10); }
.pick:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pick:active .ico-arrow { transform: translateX(2px); }
.picks-view { position: relative; display: grid; padding-bottom: 70px; }
.pv-item { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s; }
.pv-item.is-on { opacity: 1; visibility: visible; transition: opacity 0.45s ease, visibility 0s linear 0s; }
.pv-render { display: block; position: relative; width: 88%; aspect-ratio: 2.2 / 1; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-lg); }
.pv-render img { width: 100%; height: 100%; object-fit: cover; }
.pv-item .tile-cap { margin-top: -17px; }
.tile-cap .unit { text-transform: none; letter-spacing: 0.02em; }
.pv-plan {
  position: absolute; right: 0; top: 40%; display: block; padding: 14px; border-radius: 3px; transform: rotate(1.6deg);
  background-color: var(--sheet); background-image: linear-gradient(var(--sheet-grid) 1px, transparent 1px), linear-gradient(90deg, var(--sheet-grid) 1px, transparent 1px); background-size: 18px 18px;
  box-shadow: 0 2px 4px rgba(11,31,14,0.12), 0 18px 40px -12px rgba(11,31,14,0.40);
}
.pv-plan.is-tall { width: 34%; }
.pv-plan.is-wide { width: 54%; top: 62%; }
.pv-plan img { width: 100%; height: auto; }
@media (hover: hover) and (pointer: fine) { .picks-view { cursor: pointer; } }
/* below 1025px the overlapping facade + plan view is replaced by a thumbnail on each row */
@media (max-width: 1024px) {
  .picks { grid-template-columns: 1fr; gap: 0; }
  .picks-view { display: none; }
  .pick { grid-template-columns: 168px minmax(0, 1fr) auto; grid-template-areas: "thumb name arrow" "thumb sub arrow"; gap: 6px 20px; padding-left: 18px; }
  .pick-thumb { grid-area: thumb; display: block; aspect-ratio: 16 / 10; overflow: hidden; box-shadow: 0 4px 10px -4px rgba(11,31,14,0.3), 0 1px 2px rgba(11,31,14,0.12); }
  .pick-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .pick { grid-template-rows: 1fr 1fr; }
  .pick-name { align-self: end; }
  .pick-sub { align-self: start; }
}
@media (max-width: 640px) {
  .pick { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 4px 16px; }
  .pick-name { font-size: 1.3rem; }
  .pick-sub { font-size: 0.86rem; }
}

/* seven nav links from 18 Nov 2026 ("Designs"): the logo never shrinks, links tighten a touch so the bar
   still fits on one line from 1025px (checked at 1025, 1100, 1180, 1240, 1280 and 1440, transparent and scrolled) */
.nav-logo { flex-shrink: 0; }
@media (min-width: 1240px) {
  .nav-link { padding: 8px 8px; }
  .nav-link::after { left: 8px; right: 8px; }
}
@media (min-width: 1025px) and (max-width: 1239px) {
  .nav-inner { gap: 12px; }
  .nav-links { gap: 0; }
  .nav-link { padding: 8px 6px; font-size: 0.82rem; }
  .nav-link::after { left: 6px; right: 6px; }
  .nav-right { gap: 10px; }
  .logo-stack { height: 38px; }
  .nav-phone { font-size: 0.84rem; }
  .nav-cta { padding: 0 12px; font-size: 0.8rem; }
}
/* seven nav links from 18 Nov 2026 (House Designs): the phone menu stagger gets a seventh step */
@media (max-width: 1024px) {
  .nav.menu-open .nav-link:nth-child(7) { animation-delay: 0.35s; }
  .nav.menu-open .nav-mob-foot { animation-delay: 0.42s; }
}
