/* ==========================================================================
   Thompson Works Co. — site styles
   Brand: deep forest #103D2C · dark green #205B43 · gold #D6A936 · cream #F4F1E8
   ========================================================================== */

:root {
  --green-900: #0B2B1F;
  --green-800: #103D2C;
  --green-700: #205B43;
  --green-600: #2E7A5A;
  --green-100: #DCE8E1;
  --green-50:  #EEF4F0;
  --gold:      #D6A936;
  --gold-700:  #A8842A;
  --gold-100:  #F6ECD2;
  --cream:     #F4F1E8;
  --cream-2:   #EBE6D9;
  --ink:       #15211B;
  --ink-2:     #3F5A50;
  --ink-3:     #6B7F76;
  --line:      #D9D2BF;
  --white:     #FFFFFF;
  --danger:    #B42318;
  --danger-bg: #FEF3F2;
  --ok:        #1E6B44;
  --ok-bg:     #E6F3EC;

  --font-head: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --shadow: 0 10px 30px rgba(11, 43, 31, 0.10);
  --shadow-sm: 0 2px 8px rgba(11, 43, 31, 0.08);
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.5em; color: var(--green-800); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-800); }
ul { padding-left: 1.2em; }
strong { font-weight: 700; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Focus ---------- */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--green-900); padding: 10px 14px; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-800); color: #E7EFEA; }
.section--green h2, .section--green h3 { color: var(--white); }
.section--green p { color: #CFDCD5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--gold); }
.section--green .eyebrow { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.section--green .lead { color: #CFDCD5; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-text { grid-template-columns: 1.15fr 1fr; } .split--form { grid-template-columns: 1.7fr 1fr; align-items: start; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--gold); color: var(--green-900); border-color: var(--gold); }
.btn--primary:hover { background: #E2B84A; color: var(--green-900); }
.btn--dark { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.btn--dark:hover { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.btn--outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn--lg { padding: 18px 30px; font-size: 1.05rem; }
.btn--sm { padding: 10px 16px; font-size: 0.92rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,0.96); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.nav { display: none; }
.nav a { color: var(--green-800); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 4px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-700); background: var(--green-50); }
.header-cta { display: none; align-items: center; gap: 12px; }
.header-cta .btn { white-space: nowrap; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--green-800); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; }
.header-phone:hover { color: var(--green-700); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: transparent; border: 2px solid var(--green-800); border-radius: var(--radius); color: var(--green-800); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav {
  display: none; border-top: 1px solid var(--line); background: var(--white); padding: 10px var(--gutter) 22px;
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav a { display: block; padding: 14px 4px; font-weight: 600; font-size: 1.1rem; color: var(--green-800); text-decoration: none; border-bottom: 1px solid var(--cream-2); }
.mobile-nav a[aria-current="page"] { color: var(--green-700); }
.mobile-nav .btn { margin-top: 16px; width: 100%; }
.mobile-nav .header-phone { justify-content: center; margin-top: 14px; font-size: 1.1rem; border: 0; }
@media (min-width: 1100px) {
  .nav { display: flex; gap: 2px; }
  .header-cta { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--green-800);
  background-image:
    linear-gradient(115deg, rgba(11,43,31,0.92) 0%, rgba(16,61,44,0.88) 55%, rgba(32,91,67,0.72) 100%),
    repeating-linear-gradient(-35deg, rgba(255,255,255,0.028) 0 2px, transparent 2px 34px);
}
.hero::after {
  content: ""; position: absolute; right: -12vw; top: -30%; width: 60vw; height: 160%;
  background: radial-gradient(closest-side, rgba(214,169,54,0.16), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(56px, 8vw, 104px); display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: 1.25fr 1fr; } }
.hero__copy { max-width: 720px; }
.hero__visual { display: none; position: relative; }
@media (min-width: 1000px) { .hero__visual { display: block; } }
.hero__visual .media { box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.hero__visual::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--gold); border-radius: var(--radius); opacity: 0.7; }
.hero__visual .media img { aspect-ratio: 5 / 4; }
.hero h1 { color: var(--white); margin-bottom: 20px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: #D6E2DB; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 62ch; }
.hero .eyebrow { color: var(--gold); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.18); font-weight: 600; font-size: 0.95rem; color: #D6E2DB; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--gold); }

/* Page hero (interior pages) */
.page-hero { background: var(--green-800); color: var(--white); position: relative; overflow: hidden;
  background-image: repeating-linear-gradient(-35deg, rgba(255,255,255,0.028) 0 2px, transparent 2px 34px); }
.page-hero__inner { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero__inner > * { max-width: 780px; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #D6E2DB; }
.page-hero .eyebrow { color: var(--gold); }
.breadcrumb { font-size: 0.9rem; color: #B9CBC2; margin-bottom: 14px; }
.breadcrumb a { color: #D6E2DB; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust-strip__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--green-800); font-size: 0.98rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--gold-700); flex: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-100); }
.card__icon { width: 50px; height: 50px; border-radius: 8px; background: var(--green-50); display: grid; place-items: center; color: var(--green-700); margin-bottom: 6px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 4px; }
.card p { color: var(--ink-2); margin: 0; }
.card__link { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card__link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.card__link:hover svg { transform: translateX(3px); }
.card--dark { background: var(--green-700); border-color: var(--green-700); color: #E7EFEA; }
.card--dark h3 { color: var(--white); }
.card--dark p { color: #D6E2DB; }
.card--dark .card__icon { background: rgba(255,255,255,0.1); color: var(--gold); }

/* Industry tiles */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--green-800); color: var(--white); min-height: 220px; display: flex; align-items: flex-end; text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform .4s ease, opacity .3s ease; }
.tile:hover img { transform: scale(1.04); opacity: 0.65; }
.tile__body { position: relative; z-index: 1; padding: 22px; width: 100%; background: linear-gradient(to top, rgba(11,43,31,0.92), rgba(11,43,31,0.2)); }
.tile h3 { color: var(--white); margin: 0 0 4px; }
.tile p { color: #D6E2DB; margin: 0; font-size: 0.95rem; }

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feature-list .fi { width: 44px; height: 44px; border-radius: 8px; background: var(--gold-100); color: var(--gold-700); display: grid; place-items: center; }
.feature-list .fi svg { width: 22px; height: 22px; }
.feature-list h3 { font-size: 1.1rem; margin-bottom: 2px; }
.feature-list p { color: var(--ink-2); margin: 0; }
.section--green .feature-list .fi { background: rgba(214,169,54,0.16); color: var(--gold); }
.section--green .feature-list p { color: #CFDCD5; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.section--green .checklist li { color: #D6E2DB; }
.section--green .checklist li::before { background-color: var(--gold); }

/* Media frame */
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; background: var(--cream-2); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media--tall img { aspect-ratio: 4 / 5; }
.media__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: linear-gradient(to top, rgba(11,43,31,0.85), transparent); color: var(--white); font-size: 0.9rem; font-weight: 600; }
.media-stack { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.media-stack .media:first-child { grid-column: 1 / -1; }

/* Gallery */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); position: relative; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 12px 14px; font-size: 0.93rem; font-weight: 600; color: var(--green-800); background: var(--white); border: 1px solid var(--line); border-top: 0; }
.gallery figcaption span { display: block; font-weight: 500; color: var(--ink-3); font-size: 0.85rem; }

/* Service area */
.area-map { border-radius: var(--radius); background: var(--green-700); padding: 32px; color: var(--white); position: relative; overflow: hidden; }
.area-map::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 28px); }
.area-map > * { position: relative; }
.area-map h3 { color: var(--white); }
.area-map .big { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.1; color: var(--gold); margin-bottom: 8px; }
.area-map ul { columns: 2; gap: 24px; padding-left: 1.1em; color: #D6E2DB; margin: 14px 0 0; }
.area-map li { break-inside: avoid; margin-bottom: 6px; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step { position: relative; padding: 26px 22px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--ink-2); margin: 0; font-size: 0.97rem; }

/* CTA band */
.cta-band { background: var(--green-900); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--gold); }
.cta-band__inner { display: grid; gap: 22px; padding-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; } .cta-band .btn-row { justify-content: flex-end; margin-top: 0; } }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #CFDCD5; margin: 0; max-width: 56ch; }

/* Service detail blocks */
.service-block { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 12px); }
.service-block:last-of-type { border-bottom: 0; }
@media (min-width: 900px) {
  .service-block { grid-template-columns: 1fr 1fr; }
  .service-block--flip .service-block__media { order: 2; }
}
.service-block h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.service-block .outcome { background: var(--green-50); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--green-800); font-weight: 600; margin: 16px 0; }
.service-block .outcome strong { color: var(--gold-700); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; display: block; margin-bottom: 4px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
.subnav a { font-size: 0.9rem; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--green-800); background: var(--white); }
.subnav a:hover { border-color: var(--green-700); background: var(--green-50); }

/* Industries page */
.industry { display: grid; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 12px); }
@media (min-width: 800px) { .industry { grid-template-columns: 260px 1fr; } }
.industry:last-child { border-bottom: 0; }
.industry .media img { aspect-ratio: 4 / 3; }
.industry h2 { font-size: 1.5rem; margin-bottom: 6px; }
.industry p { color: var(--ink-2); }
.industry .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.industry .tags span { font-size: 0.82rem; font-weight: 600; background: var(--green-50); color: var(--green-700); padding: 5px 10px; border-radius: 999px; }

/* Values */
.value { padding: 26px; border-radius: var(--radius); background: var(--white); border-top: 4px solid var(--gold); box-shadow: var(--shadow-sm); }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--ink-2); margin: 0; }

/* Contact card */
.contact-card { background: var(--green-800); color: var(--white); border-radius: var(--radius); padding: 30px; }
.contact-card h3 { color: var(--white); }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.contact-card dd { margin: 2px 0 0; font-size: 1.05rem; }
.contact-card a { color: var(--white); text-decoration: none; font-weight: 700; }
.contact-card a:hover { color: var(--gold); }
.contact-card .note { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.18); color: #CFDCD5; font-size: 0.95rem; }

/* ---------- Forms ---------- */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow-sm); }
.form fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.form legend { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--green-800); margin-bottom: 14px; padding: 0; }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 700; font-size: 0.95rem; color: var(--green-800); }
.field .hint { font-size: 0.85rem; color: var(--ink-3); }
.req { color: var(--danger); font-weight: 700; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #B8C4BE; border-radius: var(--radius); padding: 12px 14px; width: 100%; min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(32,91,67,0.15); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); }
.field .error { display: none; font-size: 0.88rem; color: var(--danger); font-weight: 600; }
.field.is-invalid .error { display: block; }
.checks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 0.97rem; color: var(--ink); cursor: pointer; }
.check input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; padding: 0; border: 0; accent-color: var(--green-700); flex: none; }
.check input[type="checkbox"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.file-drop { border: 2px dashed #B8C4BE; border-radius: var(--radius); padding: 18px; background: var(--cream); }
.file-drop input { padding: 8px; background: transparent; border: 0; min-height: 0; }
.file-drop .hint { margin-top: 6px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-actions .fine { font-size: 0.86rem; color: var(--ink-3); margin: 0; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 600; }
.form-status[data-state="error"] { display: block; background: var(--danger-bg); color: var(--danger); border: 1px solid #F2C4C0; }
.form-status[data-state="success"] { display: block; background: var(--ok-bg); color: var(--ok); border: 1px solid #BFE0CC; }
.form-success { display: none; text-align: center; padding: 36px 20px; }
.form-success.is-visible { display: block; }
.form-success .mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .mark svg { width: 32px; height: 32px; }
.btn[disabled] { opacity: 0.65; cursor: wait; transform: none; }
.honeypot { position: absolute; left: -9999px; top: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #B9CBC2; padding: clamp(44px, 6vw, 72px) 0 0; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; padding-bottom: 40px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #D6E2DB; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand img { height: 56px; }
.site-footer .tagline { margin: 16px 0 0; max-width: 40ch; font-size: 0.97rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; font-size: 0.88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-bottom a { color: #B9CBC2; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 600;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--green-900); border-top: 2px solid var(--gold);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
}
.mobile-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; font-weight: 700; text-decoration: none; border-radius: var(--radius); font-size: 0.98rem; }
.mobile-cta a svg { width: 18px; height: 18px; }
.mobile-cta__call { color: var(--white); border: 2px solid rgba(255,255,255,0.4); margin-right: 10px; }
.mobile-cta__bid { background: var(--gold); color: var(--green-900); }
body { padding-bottom: 84px; }
@media (min-width: 1000px) { .mobile-cta { display: none; } body { padding-bottom: 0; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .tile img, .gallery img { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); }
.notice { background: var(--gold-100); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Lightbox ---------- */
.gallery a.lightbox { display: block; cursor: zoom-in; }
.lightbox-overlay { position: fixed; inset: 0; z-index: 900; background: rgba(11,43,31,0.94); display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; padding: 16px; }
.lightbox-overlay[hidden] { display: none; }
.lightbox-overlay figure { margin: 0; grid-column: 2; text-align: center; max-height: calc(100vh - 32px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.lightbox-overlay img { max-width: 100%; max-height: calc(100vh - 90px); width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.lightbox-overlay figcaption { color: #D6E2DB; font-weight: 600; font-size: 0.95rem; }
.lightbox-close, .lightbox-prev, .lightbox-next { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: var(--white); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); color: var(--green-900); border-color: var(--gold); }
.lightbox-close { position: absolute; top: 16px; right: 16px; }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }
.lightbox-prev { grid-column: 1; justify-self: start; }
.lightbox-prev svg { transform: rotate(180deg); }
.lightbox-next { grid-column: 3; justify-self: end; }
@media (max-width: 640px) { .lightbox-overlay { grid-template-columns: 1fr; } .lightbox-overlay figure { grid-column: 1; } .lightbox-prev, .lightbox-next { position: absolute; bottom: 16px; } .lightbox-prev { left: 16px; } .lightbox-next { right: 16px; } }
.mobile-cta__bid svg { width: 18px; height: 18px; }

/* ---------- Hero mosaic + dark gallery ---------- */
.hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.hero-mosaic .media { box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.hero-mosaic .media img { aspect-ratio: 4 / 3; }
.hero-mosaic .media:nth-child(2), .hero-mosaic .media:nth-child(3) { transform: translateY(18px); }
.hero__visual::before { inset: 22px -22px -4px 22px; }
.gallery--dark figcaption { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.gallery--dark figcaption span { color: #CFDCD5; }
.section--green .btn-row { margin-top: 30px; }
