/* ── B Hansen Construction — site stylesheet (2026-10 redesign) ──────────────
   The one stylesheet for every page's layout and components. Loaded from
   partials/head.html after the fonts; css/modal.css (standard Thornwood modal),
   css/mobile-nav.css (generated full-screen menu) and widescreen.css load next to it.
   Brand: forest green + charcoal + concrete, Montserrat display + Work Sans body.
   Design notes: DESIGN_DIRECTION.md. */

@font-face { font-family: 'Montserrat'; font-display: swap; src: url('/fonts/Montserrat.woff2') format('woff2'); font-weight: 100 900; font-style: normal; }
@font-face { font-family: 'Work Sans'; font-display: swap; src: url('/fonts/WorkSans.woff2') format('woff2'); font-weight: 400 700; font-style: normal; }

:root {
  --green: #134429;
  --green-2: #1B5A37;
  --green-deep: #0B2A19;
  --ink: #1D201E;
  --stone: #545A56;
  --concrete: #F2F1EC;
  --paper: #FFFFFF;
  --rule: #DAD8D0;
  --sage: #9EB0A3;
  --display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --body: 'Work Sans', Arial, sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 128px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body.bhc { margin: 0; background: var(--concrete); color: var(--stone); font-family: var(--body); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.bhc img { max-width: 100%; height: auto; display: block; }
.bhc a { color: var(--green); }
.bhc h1, .bhc h2, .bhc h3, .bhc h4 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
.bhc p { margin: 0 0 1.1em; }
.bhc p:last-child { margin-bottom: 0; }
.bhc ul { margin: 0; padding: 0; }
.bhc :focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.bhc .on-dark :focus-visible, .bhc .bhc-dark :focus-visible { outline-color: #fff; }
.bhc .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bhc-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--green); color: #fff !important; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.bhc-skip:focus { top: 12px; }
.bhc ::selection { background: var(--green); color: #fff; }

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

/* ── Type pieces ──
   Labels (eyebrows, buttons, nav, form labels, footer headings) are sentence case at normal
   tracking, 14-16px (AI-TELLS.md §1.5, Jax 2026-10-03). Headlines keep the brand's uppercase display. */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.4; letter-spacing: normal; color: var(--green); margin: 0 0 18px; }
.eyebrow::before { content: ''; width: 28px; height: 3px; background: currentColor; flex-shrink: 0; }
.on-dark .eyebrow, .bhc-dark .eyebrow { color: var(--sage); }
.h-xl { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: .98; font-size: clamp(2.2rem, 10vw, 5.6rem); }
.h-lg { font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.04; font-size: clamp(2rem, 4vw, 3.3rem); }
.h-md { font-weight: 800; text-transform: uppercase; line-height: 1.1; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.7; color: var(--ink); }
.on-dark, .bhc-dark { color: rgba(255,255,255,.8); }
.on-dark h1, .on-dark h2, .on-dark h3, .bhc-dark h1, .bhc-dark h2, .bhc-dark h3 { color: #fff; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: 3px; font-family: var(--display); font-weight: 700; font-size: 15.5px; letter-spacing: normal; text-decoration: none !important; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-green { background: var(--green); color: #fff !important; }
.btn-green:hover { background: var(--green-2); }
.btn-white { background: #fff; color: var(--green) !important; }
.btn-white:hover { background: var(--concrete); }
.btn-line { border-color: currentColor; color: var(--ink) !important; background: transparent; }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.on-dark .btn-line, .bhc-dark .btn-line { color: #fff !important; }
.on-dark .btn-line:hover, .bhc-dark .btn-line:hover { background: #fff; border-color: #fff; color: var(--green) !important; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 15.5px; letter-spacing: normal; color: var(--green); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 4px; }
.arrow-link::after { content: '\2192'; transition: transform .25s var(--ease); }
.arrow-link:hover::after { transform: translateX(5px); }
.on-dark .arrow-link, .bhc-dark .arrow-link { color: #fff; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 60; }
.topbar { background: var(--green-deep); color: rgba(255,255,255,.82); font-size: 13.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar a { color: rgba(255,255,255,.88); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--sage); }
.topbar .tb-left { display: flex; gap: 28px; }
.topbar .tb-call { font-family: var(--display); font-weight: 700; font-size: 14px; }
.mainbar { background: #fff; border-bottom: 1px solid var(--rule); transition: box-shadow .25s ease; }
.site-header.is-stuck .mainbar { box-shadow: 0 10px 30px -18px rgba(13,30,20,.45); }
.mainbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 88px; }
.brand-logo { flex-shrink: 0; display: block; }
.brand-logo img { width: 164px; height: auto; }
.desk-nav { display: flex; align-items: center; gap: 18px; }
.desk-nav .btn { white-space: nowrap; min-height: 46px; padding: 0 18px; }
@media (max-width: 1279px) { .desk-nav > .btn { display: none; } }
.desk-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.desk-nav > ul > li { position: relative; }
.desk-nav > ul > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 11px; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: normal; color: var(--ink); text-decoration: none; position: relative; }
.desk-nav > ul > li > a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.desk-nav > ul > li > a:hover::after, .desk-nav > ul > li.active > a::after { transform: scaleX(1); }
.desk-nav .caret { width: 10px; height: 10px; }
.desk-nav .dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--green); box-shadow: 0 24px 50px -24px rgba(13,30,20,.4); padding: 10px 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.desk-nav li:hover > .dropdown-menu, .desk-nav li:focus-within > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.desk-nav .dropdown-menu a { display: block; padding: 9px 22px; font-size: 15px; color: var(--ink); text-decoration: none; }
.desk-nav .dropdown-menu a:hover, .desk-nav .dropdown-menu .active a { background: var(--concrete); color: var(--green); }
.mobile-wrap { display: none; }
@media (max-width: 1099px) {
  .topbar, .mainbar { display: none; }
  .mobile-wrap { display: block; background: #fff; border-bottom: 1px solid var(--rule); }
  .mobile-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 0 16px 0 20px; }
  .mobile-header #logo2 img { width: 132px; height: auto; }
  .mobile-header .m-actions { display: flex; align-items: center; gap: 10px; }
  .mobile-header .m-call { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 3px; background: var(--concrete); color: var(--green); }
  .mobile-header .m-call svg { width: 22px; height: 22px; }
  .mobile-header #hamburger { width: 48px; height: 48px; background: var(--green); border: 0; border-radius: 3px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
  .mobile-header #hamburger .menu-line { width: 22px; height: 2px; background: #fff; display: block; }
  .site-header { transition: transform .3s var(--ease); }
  .site-header.is-hidden { transform: translateY(-100%); }
}

/* ── Home hero ── */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--green-deep); overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 60% 50%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.hero-media { z-index: -2; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,18,11,.92) 0%, rgba(6,18,11,.78) 34%, rgba(6,18,11,.25) 70%, rgba(6,18,11,.1) 100%), linear-gradient(0deg, rgba(6,18,11,.65) 0%, rgba(6,18,11,0) 40%); }
.hero .wrap { min-height: min(84vh, 780px); display: flex; flex-direction: column; justify-content: center; padding-top: 110px; padding-bottom: 150px; }
.hero h1 { color: #fff; max-width: 11.5em; }
.hero .hero-sub { max-width: 34rem; margin-top: 26px; font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.6; color: rgba(255,255,255,.88); }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .eyebrow { color: var(--sage); }
@media (max-width: 760px) {
  .hero-media img { object-position: 50% 40%; }
  .hero-scrim { background: linear-gradient(0deg, rgba(6,18,11,.94) 0%, rgba(6,18,11,.78) 45%, rgba(6,18,11,.35) 100%); }
  .hero .wrap { min-height: 640px; justify-content: flex-end; padding-top: 140px; padding-bottom: 56px; }
}

/* Proof strip: only facts the site already states */
.proof { background: var(--green); color: #fff; position: relative; }
.proof .wrap { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.proof-item { padding: 24px 0 24px; border-top: 1px solid rgba(255,255,255,.14); }
.proof-item:nth-child(odd) { padding-right: 16px; }
.proof-num { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 1.9vw, 1.75rem); line-height: 1; color: #fff; text-transform: uppercase; }
.proof-label { margin-top: 8px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.78); }
@media (min-width: 900px) {
  .proof { margin-top: -88px; background: transparent; z-index: 2; }
  .proof .wrap { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .proof .proof-row { display: contents; }
  .proof-item { background: var(--green); padding: 30px 30px 32px; border-top: 0; border-left: 1px solid rgba(255,255,255,.14); }
  .proof-item:first-child { border-left: 0; }
}

/* ── Sections ── */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-white { background: #fff; }
.section-head { display: grid; gap: 22px; margin-bottom: 52px; }
@media (min-width: 900px) {
  .section { padding: 128px 0; }
  .section-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 60px; }
}
.split-2 { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split-2 { grid-template-columns: 1fr 1fr; gap: 80px; } .split-2.wide-media { grid-template-columns: 1.15fr .85fr; } .split-2.flip > :first-child { order: 2; } }
.photo-frame { position: relative; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.photo-frame.tall img { aspect-ratio: 4 / 5; }
.photo-frame::before { content: ''; position: absolute; left: -14px; top: -14px; width: 42%; height: 42%; border-left: 6px solid var(--green); border-top: 6px solid var(--green); }
.photo-frame.alt::before { left: auto; right: -14px; border-left: 0; border-right: 6px solid var(--green); }
.photo-cap { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; padding: 12px 16px; border-radius: 0 3px 0 3px; }
.body-copy p { font-size: 17.5px; }
.body-copy .actions { margin-top: 30px; }

/* 35+ states band */
.states { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--green-deep); }
.states-media, .states-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.states::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,30,18,.95) 0%, rgba(8,30,18,.85) 45%, rgba(8,30,18,.45) 100%); }
.states .wrap { display: grid; gap: 30px; padding-top: 110px; padding-bottom: 110px; align-items: center; }
.states-num { font-family: var(--display); font-weight: 800; line-height: .8; font-size: clamp(7rem, 17vw, 15rem); color: #fff; letter-spacing: -.04em; }
.states-num span { color: var(--sage); }
.states h2 { color: #fff; }
.states p.states-sub { margin-top: 18px; font-family: var(--display); font-weight: 700; color: var(--sage); font-size: 17px; }
@media (min-width: 900px) { .states .wrap { grid-template-columns: auto 1fr; gap: 70px; padding-top: 140px; padding-bottom: 140px; } }

/* Services index (numbered, no icon cards) */
.svc-index { list-style: none; border-top: 2px solid var(--ink); }
.svc-index li { border-bottom: 1px solid var(--rule); }
.svc-index a, .svc-index .svc-row { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 16px; padding: 22px 4px; text-decoration: none; color: var(--ink); }
.svc-index .svc-n { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .12em; color: var(--green); }
.svc-index h3 { font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.2; }
.svc-index .svc-ic { width: 54px; height: 54px; object-fit: contain; opacity: .9; }
.svc-index a:hover h3 { color: var(--green); }
@media (min-width: 900px) { .svc-index.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; border-top: 0; } .svc-index.cols li:nth-child(-n+2) { border-top: 2px solid var(--ink); } }

/* Feature rows (concrete / heavy haul) */
.feature { display: grid; gap: 40px; align-items: center; }
.feature + .feature { margin-top: 96px; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; gap: 80px; } .feature.flip .feature-media { order: 2; } .feature + .feature { margin-top: 130px; } }
.feature-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 3px; }

/* Partners */
.partners-band { background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.partners-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }
.partners-grid > div { display: flex; align-items: center; justify-content: center; min-height: 130px; padding: 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.partners-grid img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .78; transition: filter .3s ease, opacity .3s ease; }
.partners-grid > div:hover img { filter: none; opacity: 1; }
@media (min-width: 700px) { .partners-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1100px) { .partners-grid { grid-template-columns: repeat(6, minmax(0,1fr)); } }
.partners-title { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--stone); margin: 0 0 18px; }
.shoutout { display: grid; gap: 28px; margin-bottom: 56px; }
@media (min-width: 900px) { .shoutout { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; } }

/* Project mosaic (home + projects index) */
.proj-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0,1fr)); list-style: none; }
@media (min-width: 900px) { .proj-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; } }
.proj-card { position: relative; display: block; overflow: hidden; border-radius: 3px; text-decoration: none; background: var(--ink); aspect-ratio: 4 / 3; }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s ease; opacity: .92; }
.proj-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,20,13,.88) 0%, rgba(8,20,13,.2) 55%, rgba(8,20,13,0) 100%); }
.proj-card .proj-name { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; font-family: var(--display); font-weight: 800; text-transform: uppercase; color: #fff; font-size: clamp(.95rem, 1.5vw, 1.15rem); line-height: 1.2; }
.proj-card .proj-name::after { content: '\2192'; font-size: 1.2em; transition: transform .25s var(--ease); }
.proj-card:hover img { transform: scale(1.05); opacity: 1; }
.proj-card:hover .proj-name::after { transform: translateX(4px); }

/* ── Inner page hero ── */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--green-deep); overflow: hidden; }
.page-hero-media, .page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,18,11,.93) 0%, rgba(6,18,11,.78) 40%, rgba(6,18,11,.35) 100%), linear-gradient(0deg, rgba(6,18,11,.5), rgba(6,18,11,0) 50%); }
.page-hero .wrap { padding-top: 92px; padding-bottom: 92px; }
.page-hero h1 { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: .98; font-size: clamp(1.9rem, 8.2vw, 5rem); max-width: 12em; }
.page-hero .eyebrow { color: var(--sage); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; font-size: 14px; color: rgba(255,255,255,.72); list-style: none; padding: 0; }
.crumbs a { color: rgba(255,255,255,.88); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: rgba(255,255,255,.4); }
@media (min-width: 900px) { .page-hero .wrap { padding-top: 120px; padding-bottom: 120px; } }

/* Article + sticky sidebar */
.page-body { padding: 80px 0 110px; }
.page-grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .page-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; align-items: start; } .page-body { padding: 110px 0 140px; } }
.article > h2 { font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.05; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 3px solid var(--ink); }
.article h3 { font-weight: 800; text-transform: uppercase; font-size: 1.2rem; line-height: 1.25; margin: 2.2em 0 .7em; }
.article p { font-size: 17.5px; }
.article > .lead-p, .article .first-p { font-size: clamp(1.12rem, 1.4vw, 1.25rem); color: var(--ink); line-height: 1.7; }
.article ul, .article ol { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.article ul li { position: relative; padding-left: 26px; margin-bottom: .55em; }
.article ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: 12px; height: 3px; background: var(--green); }
.article ol { counter-reset: n; }
.article ol li { position: relative; padding-left: 40px; margin-bottom: .6em; counter-increment: n; }
.article ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .05em; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--green); letter-spacing: .08em; }
.pull { margin: 40px 0; padding: 30px 32px; background: #fff; border-left: 6px solid var(--green); font-family: var(--display); font-weight: 700; color: var(--ink); font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; }
.inline-photo { margin: 44px 0; }
.inline-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; }

.side-card { background: var(--green-deep); color: rgba(255,255,255,.82); border-radius: 3px; padding: 34px 30px; position: relative; overflow: hidden; }
.side-card::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 6px; background: var(--green-2); }
.side-card h2, .side-card .side-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: #fff; font-size: 1.45rem; line-height: 1.1; margin: 0 0 14px; }
.side-card p { font-size: 15.5px; line-height: 1.6; }
.side-card .side-phone { display: block; margin: 22px 0 6px; font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: #fff; text-decoration: none; letter-spacing: .01em; }
.side-card .side-hours { font-size: 14px; color: var(--sage); }
.side-card .btn { width: 100%; margin-top: 22px; }
.side-links { margin-top: 26px; background: #fff; border: 1px solid var(--rule); border-radius: 3px; padding: 24px 26px; }
.side-links .side-title { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--stone); margin: 0 0 10px; }
.side-links ul { list-style: none; }
.side-links li + li { border-top: 1px solid var(--rule); }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.side-links a::after { content: '\2192'; color: var(--green); }
.side-links a:hover, .side-links a[aria-current="page"] { color: var(--green); }
@media (min-width: 1000px) { .sidebar { position: sticky; top: 150px; } }

/* Info tiles (contact page) */
.info-tiles { display: grid; gap: 16px; margin: 36px 0; }
@media (min-width: 640px) { .info-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.info-tile { background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--green); border-radius: 3px; padding: 24px 24px; }
.info-tile .t-label { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--stone); }
.info-tile .t-value { margin-top: 8px; font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--ink); line-height: 1.3; }
.info-tile a { color: var(--ink); text-decoration: none; }
.info-tile a:hover { color: var(--green); }

/* ── Project gallery pages ── */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0,1fr)); list-style: none; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; } }
.article .gallery li, .gallery li { padding: 0; margin: 0; }
.article .gallery li::before, .gallery li::before { content: none; }
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 899px) { .gallery li:last-child:nth-child(even) { grid-column: span 2; } }
/* Desktop: the big first tile takes 2x2, so rows after it hold 3. A last row with one or
   two photos stretches them to fill the row instead of leaving empty cells. */
@media (min-width: 900px) {
  .gallery li:last-child:nth-child(3n+1):not(:first-child) { grid-column: span 3; }
  .gallery li:last-child:nth-child(3n+1):not(:first-child) img { aspect-ratio: 4 / 1; }
  .gallery li:last-child:nth-child(3n+2) { grid-column: span 2; }
  .gallery li:last-child:nth-child(3n+2) img { aspect-ratio: 8 / 3; }
}
.gallery button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; border-radius: 3px; overflow: hidden; position: relative; background: var(--ink); }
.gallery button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery li:first-child img { aspect-ratio: auto; min-height: 100%; }
.gallery button:hover img { transform: scale(1.04); }
.gallery-note { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--stone); margin: 0 0 22px; }
.gallery-note svg { width: 18px; height: 18px; color: var(--green); }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(6,12,8,.94); display: flex; align-items: center; justify-content: center; padding: 64px 72px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: 3px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background-color .2s ease; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 14px; letter-spacing: .1em; }
@media (max-width: 700px) { .lightbox { padding: 70px 10px 90px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; transform: none; } .lightbox .lb-count { bottom: 30px; } }
html.lb-open, html.lb-open body { overflow: hidden; }
html.lb-open .a11y-launcher, html.lb-open [class*="a11y-"] { visibility: hidden; }

.other-projects { margin-top: 80px; }
.other-projects .side-title { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--stone); margin: 0 0 18px; }
.chip-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--rule); background: #fff; border-radius: 3px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; transition: border-color .2s ease, color .2s ease; }
.chip-links a:hover { border-color: var(--green); color: var(--green); }

/* ── "Discover The Difference" CTA band (every page) ── */
.difference { position: relative; isolation: isolate; background: var(--green); color: #fff; overflow: hidden; }
.difference::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px); }
.difference .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 64px; padding-bottom: 64px; }
.difference h2 { color: #fff; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.005em; }
.difference .diff-phone { display: block; margin-top: 12px; font-family: var(--display); font-weight: 700; color: var(--sage); font-size: 16px; }

/* ── Contact band (every page) ── */
.contact-band { background: #fff; }
.contact-grid { display: grid; gap: 0; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; min-height: 640px; } }
.contact-photo { position: relative; min-height: 300px; background: var(--ink); }
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-photo .photo-cap { left: 0; bottom: 0; }
.contact-form { padding: 64px 24px 72px; }
@media (min-width: 700px) { .contact-form { padding: 80px 56px 88px; } }
@media (min-width: 1000px) { .contact-form { padding: 96px 8% 96px 72px; max-width: 760px; } }
.contact-form h2 { font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; }
.contact-form .contact-sub { margin: 16px 0 34px; font-size: 18px; }
.bhc-form { position: relative; }
.bhc-form .f-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .bhc-form .f-row.two { grid-template-columns: 1fr 1fr; } }
.bhc-form .f-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.bhc-form label { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); }
.bhc-form input[type="text"], .bhc-form input[type="email"], .bhc-form input[type="tel"], .bhc-form textarea { width: 100%; max-width: none; font: 16px/1.4 var(--body); color: var(--ink); background: var(--concrete); border: 1px solid var(--rule); border-bottom: 2px solid #A9AEA9; border-radius: 3px; padding: 14px 16px; transition: border-color .2s ease, background-color .2s ease; }
.bhc-form textarea { min-height: 140px; resize: vertical; }
.bhc-form input:focus, .bhc-form textarea:focus { outline: none; background: #fff; border-color: var(--green); border-bottom-color: var(--green); box-shadow: 0 0 0 3px rgba(19,68,41,.14); }
.bhc-form .f-submit { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.bhc-form .f-submit .btn { min-width: 200px; }
.bhc-form .f-note { font-size: 14.5px; color: var(--stone); }
.bhc-form .f-note a { color: var(--green); font-weight: 600; }
.bhc-form.sending .btn { opacity: .6; pointer-events: none; }
.form-status { margin-top: 14px; font-size: 15px; }
.form-status.ok { color: var(--green); font-weight: 600; }
.form-status.err { color: #B42318; font-weight: 600; }

/* ── Footer ── */
/* Background: the site's own asphalt texture (images/pavement.webp), cut to a seamless
   800px tile (56 KB) instead of the 816 KB full image */
.site-footer { background: #2C2C2C url('/images/redesign/pavement-tile.webp') repeat; background-size: 800px 800px; color: rgba(255,255,255,.76); font-size: 15.5px; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: 48px; padding: 80px 0 64px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.2fr 1fr 1fr; gap: 64px; } }
.footer-brand img { width: 184px; height: auto; background: #fff; border-radius: 3px; padding: 14px 16px; }
.footer-brand p { margin-top: 22px; max-width: 26rem; line-height: 1.65; }
.footer-brand .f-tag { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: #fff; letter-spacing: .02em; line-height: 1.2; font-size: 1.05rem; }
.site-footer h3 { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--sage); margin: 0 0 18px; }
.footer-menu { list-style: none; columns: 2; column-gap: 28px; }
.footer-menu li { margin-bottom: 10px; break-inside: avoid; }
.footer-contact p { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--sage); flex-shrink: 0; margin-top: 4px; }
.footer-contact .f-phone { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 26px 0 30px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; font-size: 14px; }
.footer-bottom .equal { font-family: var(--display); font-weight: 700; color: #fff; font-size: 14px; margin: 0; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; text-underline-offset: .2em; }
/* Thornwood credit island: fleet standard (_templates/FOOTER-CREDIT.html). The
   selectors carry .site-footer so the base `.bhc img { height: auto }` can't win. */
.site-footer .foot-credit { max-width: 520px; margin: 28px auto 0; padding: 30px 0 44px; border-top: 1px solid rgba(255,255,255,.14); text-align: center; }
.site-footer .foot-credit-label { display: block; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.site-footer .foot-credit a { display: inline-block; opacity: .9; transition: opacity .25s ease, transform .25s ease; text-decoration: none; }
.site-footer .foot-credit a:hover, .site-footer .foot-credit a:focus-visible { opacity: 1; transform: translateY(-1px); }
.site-footer .foot-credit a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.site-footer .foot-credit-logo { display: block; height: clamp(34px, 3vw, 44px); width: auto; max-width: none; margin: 0 auto; }

/* Cookie banner + back to top */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 640px; margin: 0 auto; background: var(--ink); color: rgba(255,255,255,.85); border-radius: 4px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; font-size: 14.5px; line-height: 1.5; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.cookie-banner.hide { display: none !important; }
.cookie-banner p { margin: 0; flex: 1 1 300px; }
.cookie-banner a { color: #fff; }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-btn { min-height: 44px; padding: 0 18px; border-radius: 3px; border: 2px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; cursor: pointer; }
.cookie-btn.accept { background: var(--green-2); border-color: var(--green-2); }
#back-to-top { position: fixed; right: 18px; bottom: 90px; z-index: 50; width: 48px; height: 48px; border-radius: 3px; border: 0; background: var(--green); color: #fff; font-size: 20px; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; display: flex; align-items: center; justify-content: center; }
#back-to-top.show { opacity: 1; visibility: visible; }

/* ── Motion ── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* 404 */
.nf { padding: 120px 0 140px; }
.nf h1 { font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; }
.nf .nf-links { margin-top: 36px; }

/* ═══════════════════════════════════════════════════════════════════
   THORNWOOD STANDARD MODAL — static sites (canonical, 2026-09-14)
   Generated per-site by _infra/apply-modal.mjs; do not hand-edit a site's
   copy — change this template and re-run the applier.

   Mechanics live in js/site.js (PATTERNS/modal-form.html lineage): backdrop
   blur, spring-in card, Esc / click-outside / close button, scroll-lock,
   focus trap via `inert`, honeypot + load-time, in-modal success state.

   ⚠️ WHY EVERYTHING IS PIXELS AND SCOPED TO .jm-box
   The zeus theme's overrides.css caps every text input at `max-width:220px`
   and forces `font-size:18px !important`, and the theme sets a non-16px root
   font size — so rem sizing and unscoped .jm-input rules both lose. Pixel
   values scoped to .jm-box (plus !important on width/padding/font-size) are
   what make this render correctly on a zeus port. Learned on Jeff Adams.
═══════════════════════════════════════════════════════════════════ */
.jm-backdrop { position: fixed; inset: 0; z-index: 100000; background: rgba(19, 68, 41, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.jm-backdrop.open { opacity: 1; pointer-events: all; }
.jm-box { position: relative; background: #fff; border-radius: 12px; width: 100%; max-width: 540px; padding: 36px 36px 30px; max-height: calc(100vh - 40px); overflow-y: auto;
  box-shadow: 0 24px 80px rgba(16, 20, 26, .38); transform: translateY(22px) scale(.97); opacity: 0; transition: transform .32s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
  font-family: 'Work Sans', sans-serif; font-size: 15px; line-height: 1.5; color: #2d2d2d; text-align: left; letter-spacing: normal; text-transform: none; }
.jm-backdrop.open .jm-box { transform: translateY(0) scale(1); opacity: 1; }
.jm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.jm-eyebrow { display: block; font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: normal; color: #134429; margin-bottom: 6px; }
/* border/background reset matters: themes decorate their headings (LeBaron puts a
   `border-left: 5px solid` on every h2) and the modal title is an h2/h3. */
.jm-box .jm-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 30px; line-height: 1.15; color: #134429; margin: 0; padding: 0; border: 0; background: none; letter-spacing: -.01em; text-transform: none; text-align: left; }
.jm-box .jm-title::before, .jm-box .jm-title::after { content: none; display: none; }
.jm-box .jm-sub { font-family: 'Work Sans', sans-serif; font-size: 15px; line-height: 1.55; color: #6b6f6c; margin: 7px 0 0; padding: 0; border: 0; letter-spacing: normal; text-transform: none; }
.jm-close { flex: 0 0 auto; margin: -6px -8px 0 0; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: #6b6f6c; border-radius: 50%; cursor: pointer; transition: color .18s ease, background-color .18s ease; }
.jm-close:hover, .jm-close:focus-visible { color: #134429; background: #eaf1ec; }
.jm-close:focus-visible { outline: 2px solid #134429; outline-offset: 2px; }
.jm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .jm-grid { grid-template-columns: 1fr; } .jm-box { padding: 28px 22px 24px; border-radius: 10px; } }
.jm-field { margin-bottom: 16px; }
.jm-box .jm-field label { display: block; width: auto; max-width: none; float: none; font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: normal; text-transform: none; color: #134429; margin: 0 0 6px; line-height: 1.3; }
.jm-box .jm-field label span { color: #c0392b; }
.jm-box .jm-input { display: block; width: 100% !important; max-width: none !important; min-width: 0; margin: 0 !important; border: 1.5px solid #dcdedb; border-radius: 8px;
  padding: 12px 16px !important; font-size: 16px !important; line-height: 1.4; font-family: 'Work Sans', sans-serif; font-weight: 400; color: #2d2d2d; background: #f9faf9;
  outline: none; box-shadow: none; height: auto; letter-spacing: normal; text-transform: none; -webkit-appearance: none; appearance: none; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.jm-box select.jm-input { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23134429' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; padding-right: 42px !important; }
.jm-box .jm-input:focus { border-color: #134429; box-shadow: 0 0 0 3px rgba(19, 68, 41, 0.18); background: #fff; }
.jm-box .jm-input::placeholder { color: #a3a8af; opacity: 1; font-size: 16px; }
.jm-box .jm-input:user-invalid { border-color: #c0392b; }
.jm-box textarea.jm-input { resize: vertical; min-height: 110px; line-height: 1.55; }
/* consent / opt-in checkbox row */
.jm-box .jm-check-row { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; }
.jm-box .jm-check-row input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #134429; cursor: pointer; }
.jm-box .jm-check-row label { display: block; margin: 0; font-family: 'Work Sans', sans-serif; font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: normal; text-transform: none; color: #6b6f6c; cursor: pointer; }
.jm-box .jm-check-row label strong { color: #134429; font-weight: 600; }
.jm-box .jm-check-row label a { color: #134429; text-decoration: underline; }
.jm-box .jm-check-row label a:hover { color: #134429; }
.jm-box .jm-submit { display: block; width: 100%; background: #134429; color: #fff; font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: normal; text-transform: none;
  padding: 15px 16px; border: 0; border-radius: 8px; cursor: pointer; margin-top: 6px; line-height: 1.2; max-width: none; height: auto; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.jm-box .jm-submit:hover { background: #0d3320; color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(19, 68, 41, 0.22); }
.jm-box .jm-submit:active { transform: translateY(0); }
.jm-box .jm-submit:focus-visible { outline: 2px solid #134429; outline-offset: 3px; }
form.sending .jm-submit { opacity: .6; cursor: progress; transform: none; }
.jm-foot { text-align: center; font-family: 'Work Sans', sans-serif; font-size: 13px; color: #6b6f6c; margin: 14px 0 0; line-height: 1.5; }
.jm-foot a { color: #134429; font-weight: 600; text-decoration: none; }
.jm-foot a:hover { text-decoration: underline; }
/* status line (shared with the inline page forms) — quiet inline error in the modal */
.jm-form .form-status { display: none; margin: 0 0 12px; border: 0; padding: 0; text-align: left; font-size: 14px; font-weight: 500; background: none; }
.jm-form .form-status.err { display: block; color: #c0392b; }
.jm-form .form-status.ok { display: none; }
.jm-success { text-align: center; padding: 12px 0 4px; }
.jm-check { width: 58px; height: 58px; border-radius: 50%; background: #eaf1ec; color: #134429; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.jm-success .jm-title { text-align: center; }
.jm-success .jm-sub { max-width: 380px; margin: 8px auto 0; text-align: center; }
.jm-done { max-width: 220px; margin: 22px auto 0; }
.jm-turnstile { display: flex; justify-content: center; margin: 0 0 14px; }
.jm-inline-ok { margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; background: #0db363; color: #fff; font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 600; text-align: center; }
body.jm-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .jm-backdrop, .jm-box, .jm-submit, .jm-close, .jm-input { transition: none; } }

/* ── Mobile nav: fleet-standard full-screen sheet ───────────────────────────
   @generated by _infra/apply-mobile-nav.mjs from _templates/mobile-nav/mobile-nav.css.
   Change the template or the site's config in the script, never this copy.
   Pattern: _templates/PATTERNS/mobile-menu.html. Markup + behavior: partials/header.html.
   Every selector is scoped to #mobileMenu / .mnav-burger so the old theme's
   generic rules (nav a, .header a, *{outline:none}) can't reach in. */

/* Hamburger → X. Keeps the theme's .menu-btn / .menu-line classes so the header's own
   positioning and bar colors (including scroll-state color changes) still apply. */
.mnav-burger.menu-btn {
	display: inline-flex !important; vertical-align: middle; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
	flex: none !important; width: 44px !important; height: 44px !important; max-width: none !important;
	padding: 0 !important; border: 0; border-radius: 8px; background: none; cursor: pointer;
}
.mnav-burger .menu-line {
	display: block !important; width: 28px !important; height: 3px !important; margin: 0 !important;
	border-radius: 2px; transition: transform .25s ease, opacity .2s ease !important;
}
.mnav-burger.is-open .menu-line:nth-child(1) { transform: translateY(var(--mnav-x, 8px)) rotate(45deg) !important; }
.mnav-burger.is-open .menu-line:nth-child(2) { opacity: 0 !important; transform: scaleX(0) !important; }
.mnav-burger.is-open .menu-line:nth-child(3) { transform: translateY(calc(-1 * var(--mnav-x, 8px))) rotate(-45deg) !important; }

.mnav-burger:focus-visible,
#mobileMenu a:focus-visible,
#mobileMenu button:focus-visible { outline: 2px solid #134429 !important; outline-offset: 3px; }
/* Bootstrap rings any focused button, including after a tap; keyboard focus keeps the ring above */
.mnav-burger:focus:not(:focus-visible),
#mobileMenu button:focus:not(:focus-visible) { outline: none; }

/* The sheet runs full-screen BEHIND the header bar (the bar is lifted above it while open),
   so a transparent header still reads correctly. Top padding is set from the bar at open time. */
#mobileMenu {
	position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000;
	overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
	margin: 0; padding: 96px 28px 56px; background: #ffffff;
	opacity: 0; transform: translateY(-8px);
	transition: opacity .25s ease, transform .3s cubic-bezier(.22, .61, .36, 1);
	text-align: left; -webkit-font-smoothing: antialiased;
}
#mobileMenu.is-open { opacity: 1; transform: none; }
#mobileMenu[hidden] { display: none; }
html.mnav-locked, html.mnav-locked body { overflow: hidden; }

#mobileMenu nav { display: block; margin: 0; padding: 0; background: none; }

/* Top-level rows: links and accordion toggles share one look */
#mobileMenu .mnav-link,
#mobileMenu .mnav-toggle {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	width: 100%; min-height: 60px; padding: 14px 0; margin: 0;
	border: 0; border-bottom: 1px solid #e2e2e2; border-radius: 0; background: none; box-shadow: none;
	color: #2d2d2d; font-family: 'Work Sans', sans-serif; font-size: 19px; font-weight: 600;
	font-style: normal; line-height: 1.3; letter-spacing: normal; text-align: left;
	text-transform: none; text-decoration: none; cursor: pointer;
	transition: color .15s ease;
}
#mobileMenu .mnav-toggle[aria-expanded="true"] { border-bottom-color: transparent; }
#mobileMenu .mnav-chev { width: 18px; height: 18px; flex-shrink: 0; color: #134429; transition: transform .2s ease; }
#mobileMenu .mnav-toggle[aria-expanded="true"] .mnav-chev { transform: rotate(180deg); }
#mobileMenu .mnav-ext { width: 14px; height: 14px; flex-shrink: 0; color: #535353; }

#mobileMenu .mnav-sub { margin: 0; padding: 0 0 16px 4px; border-bottom: 1px solid #e2e2e2; }
#mobileMenu .mnav-sub[hidden] { display: none; }
#mobileMenu .mnav-sub a {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 11px 0 11px 16px; margin: 0; border: 0; border-left: 2px solid #d1d1d1; border-radius: 0; background: none;
	color: #535353; font-family: 'Work Sans', sans-serif; font-size: 16px; font-weight: 400; font-style: normal;
	line-height: 1.4; letter-spacing: normal; text-transform: none; text-decoration: none;
	transition: color .15s ease;
}
#mobileMenu .mnav-sub a.mnav-overview { font-weight: 600; }

@media (hover: hover) {
	#mobileMenu .mnav-link:hover, #mobileMenu .mnav-toggle:hover, #mobileMenu .mnav-sub a:hover { color: #134429; }
}

/* Current page (and the top-level entry that owns it) */
#mobileMenu a[aria-current="page"],
#mobileMenu .mnav-link.is-ancestor { color: #134429; }
#mobileMenu .mnav-sub a[aria-current="page"] { border-left-color: #134429; }

/* Calls to action */
#mobileMenu .mnav-ctas { display: flex; flex-direction: column; gap: 12px; margin: 32px 0 0; }
#mobileMenu .mnav-cta {
	display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 20px; margin: 0;
	border: 1px solid #134429; border-radius: 1px; background: transparent; box-shadow: none;
	color: #2d2d2d; font-family: 'Work Sans', sans-serif; font-size: 16px; font-weight: 600; font-style: normal;
	line-height: 1.3; letter-spacing: normal; text-align: center; text-transform: none; text-decoration: none;
	transition: opacity .15s ease;
}
#mobileMenu .mnav-cta--primary { background: #134429; border-color: #134429; color: #ffffff; }
#mobileMenu .mnav-cta:active { opacity: .85; }
@media (hover: hover) { #mobileMenu .mnav-cta:hover { opacity: .88; } }

#mobileMenu .mnav-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin: 20px 0 0; }
#mobileMenu .mnav-meta a {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; margin: 0; border: 0; background: none;
	color: #464646; font-family: 'Work Sans', sans-serif; font-size: 15px; font-weight: 400; letter-spacing: normal;
	text-transform: none; text-decoration: none;
}
#mobileMenu .mnav-meta svg { width: 16px; height: 16px; flex-shrink: 0; color: #134429; }

#mobileMenu .mnav-sr {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Tablet and up (and desktop, on sites whose only navigation is the hamburger): keep the
   menu a comfortable reading column instead of a full-width list */
@media (min-width: 700px) {
	#mobileMenu > nav, #mobileMenu > .mnav-ctas, #mobileMenu > .mnav-meta { max-width: 560px; margin-left: auto !important; margin-right: auto !important; }
}
@media (min-width: 1100px) {
	#mobileMenu { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	#mobileMenu, #mobileMenu .mnav-chev, .mnav-burger .menu-line { transition: none !important; }
}

/* ── Widescreen frame (Thornwood standard) ─────────────────────────────
   Above 1920px the page canvas stops growing: content stays in a centered
   1920px frame and the overflow becomes quiet dark-gray gutters, so the
   layout never stretches or distorts on 4K/ultrawide monitors.
   Every page links this: <link rel="stylesheet" href="/widescreen.css">
   (put it in the head partial). verify.mjs enforces it.
   PER-SITE: any position:fixed chrome (nav bars, floating buttons, side
   rails) must be constrained to the frame in this file — full-width bars
   get left/right: calc((100vw - 1920px) / 2); corner-anchored items get
   that + their normal offset. Full-viewport overlays (modals, lightboxes,
   dimmers) are the exception: they SHOULD keep covering the whole screen.
   Tailwind `fixed` utility classes count too — grep class="...fixed...". */
@media (min-width: 1921px) {
  html {
    background: #1c1c1e;
  }
  body {
    max-width: 1920px !important;
    min-height: 100vh;
    margin-left: auto !important;
    margin-right: auto !important;
    box-shadow: 0 0 90px rgba(0, 0, 0, 0.45);
  }

  /* fixed chrome stays inside the frame (2026-10 redesign) */
  #back-to-top {
    right: calc((100vw - 1920px) / 2 + 18px);
  }
  .cookie-banner {
    left: calc((100vw - 1920px) / 2 + 16px);
    right: calc((100vw - 1920px) / 2 + 16px);
  }
}
