/* ============================================================
   The Green Valley — site stylesheet
   Palette: bush-green ink, deep valley green, harvest amber
   Type:    Archivo (display, width axis) / Public Sans (body)
            JetBrains Mono (instrument labels)
   ============================================================ */

:root {
  --ink:      #0D1712;
  --ink-80:   #223028;
  --valley:   #1D4A34;
  --fern:     #3A7350;
  --sun:      #E8A317;
  --sun-deep: #C07E05;
  --paper:    #EEF1EC;
  --paper-2:  #E4E9E2;
  --white:    #FBFCFA;
  --slate:    #56655B;
  --wire:     #D2DBD2;
  --wire-dk:  #2E4038;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1220px;
  --gut: 28px;
  --r: 3px;
  --shadow: 0 1px 2px rgba(13,23,18,.05), 0 12px 30px -18px rgba(13,23,18,.35);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--valley); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sun-deep); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 2px; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 112;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.7vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-variation-settings: "wdth" 104; letter-spacing: -0.012em; }
h4 { font-size: 1.03rem; font-variation-settings: "wdth" 100; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* narrow/light counter-cut used inside display headings */
.thin {
  font-weight: 300;
  font-variation-settings: "wdth" 88;
  letter-spacing: -0.005em;
}
.hl { color: var(--sun); }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fern);
  margin: 0 0 1.1rem;
  display: block;
}
.on-dark .eyebrow, .band-dark .eyebrow, .band-valley .eyebrow { color: var(--sun); }

.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--slate); max-width: 62ch; }
.on-dark .lead, .band-dark .lead { color: #B9C7BC; }
.muted { color: var(--slate); }
.small { font-size: .9rem; }
.mono { font-family: var(--mono); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--pad-b0 { padding-bottom: 0; }
.band-dark { background: var(--ink); color: var(--paper); }
.band-paper { background: var(--paper); }
.band-valley { background: var(--valley); color: var(--paper); }
.band-dark h1, .band-dark h2, .band-dark h3, .band-valley h2, .band-valley h3 { color: var(--white); }
.band-dark a:not(.btn), .band-valley a:not(.btn) { color: var(--sun); }

.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.split--7-5 { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
.stack-lg > * + * { margin-top: 20px; }

/* section head with a mono index column */
.sec-head { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 32px; align-items: start; margin-bottom: 44px; }
.sec-head__meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fern); padding-top: .55em; border-top: 2px solid var(--ink); }
.band-dark .sec-head__meta, .band-valley .sec-head__meta { color: var(--sun); border-top-color: var(--sun); }
.sec-head h2 { margin-bottom: .35em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--mono); font-size: .8rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  padding: .95em 1.5em; border-radius: var(--r); border: 1.5px solid transparent;
  cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sun { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.btn--sun:hover { background: var(--sun-deep); border-color: var(--sun-deep); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--ink:hover { background: var(--valley); border-color: var(--valley); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--wire-dk); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.band-dark .btn--ghost, .band-valley .btn--ghost { color: var(--paper); border-color: rgba(238,241,236,.4); }
.band-dark .btn--ghost:hover, .band-valley .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow-link {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: .5em;
  border-bottom: 1.5px solid var(--sun); padding-bottom: 3px;
}
.arrow-link span { transition: transform .2s ease; display: inline-block; }
.arrow-link:hover span { transform: translateX(4px); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,252,250,.93);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--wire);
}
.head-in { display: flex; align-items: center; gap: 26px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b {
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 96;
  font-size: 1.06rem; letter-spacing: -.015em; line-height: 1.05; display: block;
}
.brand em { font-family: var(--mono); font-style: normal; font-size: .6rem; letter-spacing: .17em; text-transform: uppercase; color: var(--fern); display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-80); padding: 8px 10px; border-radius: var(--r);
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--valley); box-shadow: inset 0 -2px 0 var(--sun); }
.head-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--wire-dk); border-radius: var(--r); padding: 9px 12px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }

/* interior page intro */
.page-head { max-width: 780px; }
.page-head h1 { font-size: clamp(2.3rem, 4.7vw, 3.6rem); max-width: 17ch; }
.page-head .lead { max-width: 60ch; }

/* ---------- hero ---------- */
.hero { padding: 68px 0 20px; position: relative; overflow: hidden; }

/* photo hero: image bleeds to the right edge, readout bar crosses in front of it */
.hero--photo { padding: 0; }
.hero--photo .wrap { position: relative; z-index: 2; }
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; z-index: 1; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 46%; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--white) 0%, rgba(251,252,250,.65) 12%, rgba(251,252,250,0) 30%);
}
.hero__copywrap { padding-top: 86px; }
.hero__copy { max-width: min(34rem, 52vw); }
.hero--photo h1 { max-width: none; }
.hero--photo .readout { position: relative; margin: 72px 0 0; background: var(--white); }
/* carry the readout's white band out to the viewport edge, over the photo */
.hero--photo .readout::after {
  content: ""; position: absolute; top: -1px; bottom: -1px; left: 100%; width: 100vw;
  background: var(--white);
  border-top: 1px solid var(--wire); border-bottom: 1px solid var(--wire);
}

/* full-bleed photo band */
.band-photo { height: clamp(200px, 24vw, 340px); overflow: hidden; background: var(--ink); }
.band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__grid { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,1fr); gap: 54px; align-items: center; }
.hero h1 { margin-bottom: .38em; max-width: 13.5ch; text-wrap: pretty; }
.hero h1 .thin { display: block; margin-bottom: .04em; }
.hero .lead { max-width: 46ch; }
.hero .btn-row { margin-top: 30px; }

/* instrument readout strip */
.readout {
  border-top: 1px solid var(--wire); border-bottom: 1px solid var(--wire);
  margin-top: 54px; display: grid; grid-template-columns: repeat(4, 1fr);
}
.readout div { padding: 20px 22px 20px 0; }
.readout div + div { border-left: 1px solid var(--wire); padding-left: 22px; }
.readout dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fern); margin: 0 0 6px; }
.readout dd { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 100; font-weight: 600; font-size: 1.02rem; line-height: 1.25; letter-spacing: -.01em; }

/* ---------- chart ---------- */
.chart-card { background: var(--ink); border-radius: var(--r); padding: 22px 20px 18px; color: var(--paper); box-shadow: var(--shadow); }
.chart-card h3 { font-size: .96rem; color: var(--white); margin-bottom: .2em; font-variation-settings: "wdth" 100; }
.chart-card .cap { font-family: var(--mono); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; color: #7E9187; margin: 0 0 14px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; color: #B9C7BC; }
.chart-legend i { width: 13px; height: 13px; border-radius: 2px; display: inline-block; margin-right: 7px; vertical-align: -2px; }
.chart-note { font-size: .78rem; color: #8FA396; margin: 12px 0 0; line-height: 1.5; }

.draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.7s .25s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fade-area { opacity: 0; animation: fadein .9s 1.05s ease forwards; }
@keyframes fadein { to { opacity: 1; } }

/* irradiance rule — a day's generation profile used as a divider */
.irule { display: flex; align-items: flex-end; gap: 3px; height: 26px; opacity: .5; }
.irule i { flex: 1; background: var(--sun); border-radius: 1px 1px 0 0; display: block; }

/* ---------- cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--wire); border-radius: var(--r);
  padding: 26px 24px 28px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--fern); transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--slate); font-size: .95rem; }
.card .arrow-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.card__num { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; color: var(--fern); display: block; margin-bottom: 14px; }
.band-paper .card { background: var(--white); }
.band-dark .card { background: #131F19; border-color: #26362D; }
.band-dark .card p { color: #A8B8AD; }
.band-dark .card h3 { color: var(--white); }

/* photo cards */
.pcard { border: 1px solid var(--wire); border-radius: var(--r); overflow: hidden; background: var(--white); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard__img { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.pcard__img--dia { aspect-ratio: 660/370; background: var(--paper); border-bottom: 1px solid var(--wire); }
.pcard__img--dia img { object-fit: contain; }
.pcard:hover .pcard__img--dia img { transform: none; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.pcard:hover .pcard__img img { transform: scale(1.045); }
.pcard__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.pcard__body h3 { margin-bottom: .4em; }
.pcard__body p { color: var(--slate); font-size: .93rem; }
.pcard__tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--fern); margin-bottom: 10px; display: block; }

/* feature rows */
.frow { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 52px; align-items: center; }
.frow + .frow { margin-top: 84px; }
.frow--flip .frow__media { order: 2; }
.frow__media img { border-radius: var(--r); border: 1px solid var(--wire); width: 100%; }
.frow__media picture { display: block; }
.dia-scroll { overflow-x: auto; }

/* checklists */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0 0 0 30px; margin-bottom: 11px; font-size: .96rem; color: var(--slate); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px;
  border-left: 2px solid var(--sun); border-bottom: 2px solid var(--sun);
  transform: rotate(-45deg);
}
.band-dark .ticks li { color: #B9C7BC; }
.ticks strong { color: var(--ink); font-weight: 600; }
.band-dark .ticks strong { color: var(--white); }

/* ---------- process timeline ---------- */
.steps { border-top: 1px solid var(--wire); }
.step { display: grid; grid-template-columns: 86px minmax(0,1fr) minmax(0,1.4fr); gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--wire); align-items: start; }
.step__n { font-family: var(--mono); font-size: .82rem; letter-spacing: .1em; color: var(--sun-deep); padding-top: .3em; }
.step h3 { margin: 0; }
.step p { color: var(--slate); font-size: .95rem; margin: 0; }
.step__meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fern); margin-top: 10px; display: block; }

/* ---------- spec tables ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--wire); border-radius: var(--r); background: var(--white); }
table.spec { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
table.spec caption { text-align: left; font-family: var(--mono); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--fern); padding: 16px 18px 10px; }
table.spec th, table.spec td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--wire); }
table.spec thead th { font-family: var(--mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); background: var(--paper); font-weight: 500; white-space: nowrap; }
table.spec tbody th { font-weight: 500; color: var(--ink); }
table.spec td { color: var(--slate); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody tr:hover td, table.spec tbody tr:hover th { background: #F4F7F3; }
table.spec .hi { color: var(--ink); font-weight: 600; }

/* two-column key/value list */
.kv { border-top: 1px solid var(--wire); }
.kv div { display: flex; justify-content: space-between; gap: 24px; padding: 11px 0; border-bottom: 1px solid var(--wire); font-size: .92rem; }
.kv dt { color: var(--slate); margin: 0; }
.kv dd { margin: 0; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- estimator ---------- */
.calc { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 0; border: 1px solid var(--wire-dk); border-radius: var(--r); overflow: hidden; background: var(--white); }
.calc__in { padding: 32px 30px; background: var(--paper); }
.calc__out { padding: 32px 30px; background: var(--ink); color: var(--paper); }
.field { margin-bottom: 22px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fern); margin-bottom: 9px; }
.field label output { color: var(--ink); font-weight: 500; letter-spacing: .04em; }
.field input[type="range"] { width: 100%; accent-color: var(--sun); height: 22px; }
/* Text inputs, selects and textareas were removed with the enquiry form.
   If you add a form back, the rules are in README.md under "Adding a form". */
.calc__out dl { margin: 0; }
.calc__out dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid #2A3A31; }
.calc__out dl > div:first-child { padding-top: 0; }
.calc__out dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #8FA396; }
.calc__out dd { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 100; font-weight: 600; font-size: 1.25rem; letter-spacing: -.015em; color: var(--white); font-variant-numeric: tabular-nums; }
.calc__out dd.big { font-size: 1.9rem; color: var(--sun); }
.calc__note { font-size: .78rem; color: #8FA396; margin-top: 18px; line-height: 1.5; }

/* ---------- accordion ---------- */
.acc { border-top: 1px solid var(--wire); }
.acc details { border-bottom: 1px solid var(--wire); }
.acc summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-variation-settings: "wdth" 104;
  font-size: 1.06rem; letter-spacing: -.01em; line-height: 1.35;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--sun); border-bottom: 2px solid var(--sun);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s ease;
}
.acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc summary:hover { color: var(--valley); }
.acc .acc__body { padding: 0 60px 24px 0; color: var(--slate); font-size: .97rem; }
.acc .acc__body p:first-child { margin-top: -4px; }

/* ---------- gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal button {
  padding: 0; border: 1px solid var(--wire); background: var(--paper-2); border-radius: var(--r);
  overflow: hidden; cursor: zoom-in; position: relative; aspect-ratio: 4/3; display: block; width: 100%;
}
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.6,.2,1); }
.gal button:hover img { transform: scale(1.05); }
.gal figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 11px; text-align: left;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.65);
  background: linear-gradient(to top, rgba(13,23,18,.94) 0%, rgba(13,23,18,.86) 42%, rgba(13,23,18,0) 100%);
}
.lightbox { position: fixed; inset: 0; background: rgba(9,16,12,.94); z-index: 200; display: none; align-items: center; justify-content: center; padding: 5vh 5vw; }
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--r); }
.lightbox p { position: absolute; bottom: 4vh; left: 0; right: 0; text-align: center; color: #C8D4CB; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.lightbox button { position: absolute; top: 3vh; right: 4vw; background: none; border: 1.5px solid rgba(255,255,255,.35); color: #fff; border-radius: var(--r); padding: 9px 14px; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.12); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 60px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wire); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--wire); }
.contact-list dt { font-family: var(--mono); font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; color: var(--fern); margin-bottom: 5px; }
.contact-list dd { margin: 0; font-size: 1.02rem; font-weight: 500; }
.contact-list a { text-decoration: none; border-bottom: 1.5px solid var(--sun); }
.copybtn {
  margin-left: 12px; padding: 4px 10px; border: 1px solid var(--wire-dk); border-radius: var(--r);
  background: transparent; color: var(--slate); cursor: pointer; vertical-align: 2px;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.copybtn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.copybtn.is-done { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.map { border: 1px solid var(--wire); border-radius: var(--r); overflow: hidden; height: 320px; }
.map--wide { height: 440px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--valley); color: var(--white); }
.cta-band .split { align-items: center; gap: 48px; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: #C4D6C9; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #9BAEA1; padding: 0 0 40px; font-size: .9rem; }
.foot-rule { padding-top: 10px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 52px 0 44px; }
.site-foot h4 { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); font-weight: 500; margin: 0 0 16px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 9px; }
.site-foot a { color: #C6D3C9; text-decoration: none; }
.site-foot a:hover { color: var(--sun); }
.site-foot .brand b { color: var(--white); }
.site-foot .brand em { color: #7E9187; }
.foot-bottom { border-top: 1px solid #26362D; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-family: var(--mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: #74877B; }

/* ---------- scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.6,.2,1), transform .6s cubic-bezier(.2,.6,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav-toggle { display: inline-block; order: 3; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--wire); padding: 12px var(--gut) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 4px; font-size: .82rem; border-bottom: 1px solid var(--wire); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .head-cta { display: none; }
  .site-head { position: sticky; }
  .head-in { position: relative; }
  .hero__grid, .split, .split--7-5, .frow, .calc, .contact-grid { grid-template-columns: minmax(0,1fr); gap: 38px; }
  .hero--photo { display: flex; flex-direction: column; }
  .hero__copywrap { order: 1; padding-top: 54px; }
  .hero__photo { order: 2; position: static; width: auto; aspect-ratio: 3/2; margin-top: 40px; }
  .hero__photo::after { display: none; }
  .hero__copy { max-width: none; }
  .hero--photo > .wrap:last-child { order: 3; }
  .hero--photo .readout { margin-top: 0; }
  .hero--photo .readout::after { display: none; }
  .frow--flip .frow__media { order: 0; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .readout { grid-template-columns: 1fr 1fr; }
  .readout div:nth-child(3) { border-left: 0; padding-left: 0; }
  .readout div:nth-child(3), .readout div:nth-child(4) { border-top: 1px solid var(--wire); }
  .sec-head { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .step { grid-template-columns: 60px minmax(0,1fr); gap: 20px; }
  .step > p { grid-column: 2; }
}
@media (max-width: 760px) {
  .dia-scroll img { min-width: 660px; }
}
@media (max-width: 640px) {
  :root { --gut: 20px; }
  .map--wide { height: 300px; }
  body { font-size: 16px; }
  .section { padding: 58px 0; }
  .g2, .g3, .g4, .gal { grid-template-columns: minmax(0,1fr); }
  .gal { gap: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  .readout { grid-template-columns: 1fr; }
  .readout div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--wire); }
  .calc__in, .calc__out { padding: 26px 22px; }
  .acc .acc__body { padding-right: 8px; }
  .frow + .frow { margin-top: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
  .fade-area { opacity: 1; }
}

@media print {
  .site-head, .cta-band, .nav-toggle { display: none; }
  body { color: #000; background: #fff; }
}
