@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/Newsreader-italic-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/Newsreader-normal-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/Newsreader-normal-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/SourceSans3-normal-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/SourceSans3-normal-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout idea: one dark bushveld band at dusk, with a fine engraved-line farm horizon where a
   camera at the borehole flashes red-blue and a link runs back to the house; below it, warm
   paper set like a well-kept field ledger: thin brass rules, numbered entries, quiet type. */
:root {
  --paper: #f3eee4;     /* warm paper, main page */
  --paper-2: #ebe4d6;   /* slightly deeper paper, alternate bands */
  --ink: #1c211c;       /* text */
  --muted: #6e675c;     /* labels, secondary text */
  --veld: #243028;      /* dusk band */
  --brass: #8c6a32;     /* accent, used sparingly */
  --rule: #d6cdbb;      /* hairlines */
  --veld-text: #e9e3d6; /* text on dusk */
  --veld-muted: #a9b0a2;

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --t-small: 0.8125rem;
  --t-body: 1.0625rem;
  --t-lead: 1.25rem;
  --t-h3: 1.6rem;
  --t-h2: clamp(2rem, 4.2vw, 2.9rem);
  --t-h1: clamp(2.7rem, 7vw, 5.2rem);
  --wrap: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
canvas, svg { display: block; max-width: 100%; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow {
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Header ---------- */
.top { background: var(--veld); color: var(--veld-text); }
.top .wrap { display: flex; align-items: center; gap: 32px; min-height: 76px; border-bottom: 1px solid rgba(233,227,214,.14); }
.mark { text-decoration: none; display: grid; gap: 1px; line-height: 1; }
.mark .name { font-family: var(--display); font-size: 1.55rem; letter-spacing: 0.2em; font-weight: 500; }
.mark .est { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--veld-muted); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--veld-muted); }
.nav a:hover { color: var(--veld-text); }
.top .call { font-weight: 600; text-decoration: none; font-size: .95rem; border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
@media (max-width: 860px) { .nav { display: none; } .top .call { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { background: var(--veld); color: var(--veld-text); }
.hero-copy { padding: 72px 0 0; display: grid; gap: 24px; max-width: 760px; }
.hero .eyebrow { color: var(--veld-muted); }
.hero h1 { font-size: var(--t-h1); }
.hero h1 i { color: #d8c49c; }
.hero-copy p { font-size: var(--t-lead); color: #c9cbbf; max-width: 58ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 4px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: 13px 22px; text-decoration: none; border-radius: 2px;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-light { background: var(--veld-text); color: var(--veld); }
.btn-light:hover { background: #fff; }
.btn-line { border-color: rgba(233,227,214,.4); color: var(--veld-text); background: transparent; }
.btn-line:hover { border-color: var(--veld-text); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
@media (max-width: 640px) { .actions .btn { width: 100%; justify-content: center; } .actions .afr { flex-basis: 100%; } .hero-caption { flex-direction: column; gap: 4px; } }
.afr { font-family: var(--display); font-style: italic; color: var(--veld-muted); font-size: 1.05rem; }
.horizon { width: 100%; height: 300px; margin-top: 40px; }
@media (max-width: 640px) { .horizon { height: 210px; } .hero-copy { padding-top: 52px; } }
.hero-caption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 16px 0 22px; border-top: 1px solid rgba(233,227,214,.14);
  font-size: var(--t-small); color: var(--veld-muted); letter-spacing: .04em;
}

/* ---------- Generic sections ---------- */
section { padding: 96px 0; }
.band { background: var(--paper-2); }
.sec-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: 52px; }
.sec-head h2 { font-size: var(--t-h2); }
.sec-head p { font-size: var(--t-lead); color: #3d413b; max-width: 60ch; }
.rule-brass { width: 56px; height: 1px; background: var(--brass); border: 0; margin: 0; }

/* Brands line */
.brands { border-bottom: 1px solid var(--rule); }
.brands .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 40px; padding: 26px 0; }
.brands span:first-child { margin-right: auto; }
.brands b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: .06em; }
@media (max-width: 640px) { .brands span:first-child { flex-basis: 100%; } .brands .wrap { gap: 6px 26px; } .brands b { font-size: 1.15rem; } }

/* ---------- Cameras ---------- */
.cam-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .cam-grid { grid-template-columns: 1fr; gap: 48px; } }
.points { list-style: none; margin: 0; padding: 0; counter-reset: p; border-top: 1px solid var(--rule); }
.points li {
  counter-increment: p;
  display: grid; grid-template-columns: 3rem 1fr; gap: 4px 12px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.points li::before {
  content: counter(p, decimal-leading-zero);
  font-family: var(--display); font-size: 1.05rem; color: var(--brass); padding-top: 3px;
  grid-row: span 2;
}
.points h3 { font-size: 1.35rem; }
.points p { color: #3d413b; }

/* Phone alert illustration */
.alert-card { margin: 0; background: var(--veld); color: var(--veld-text); border-top: 2px solid var(--brass); padding: 26px 28px 24px; display: grid; gap: 6px; position: sticky; top: 24px; box-shadow: 0 18px 40px -24px rgba(28,33,28,.55); }
@media (max-width: 900px) { .alert-card { position: static; } }
.ac-top { display: flex; align-items: center; gap: 10px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--veld-muted); margin-bottom: 14px; }
.ac-time { margin-left: auto; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.ac-dot { width: 8px; height: 8px; border-radius: 50%; background: #c8453a; box-shadow: 0 0 0 4px rgba(200,69,58,.18); }
.ac-site { font-family: var(--display); font-size: 2rem; line-height: 1.1; }
.ac-what { font-size: 1.1rem; color: #e9e3d6; }
.ac-act { font-size: 1.1rem; color: #d8c49c; }
.alert-card figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(233,227,214,.16); font-size: var(--t-small); color: var(--veld-muted); }

/* At the borehole */
.borehole { margin-top: 80px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; padding-top: 48px; border-top: 1px solid var(--ink); }
@media (max-width: 900px) { .borehole { grid-template-columns: 1fr; gap: 28px; } }
.borehole h3 { font-size: var(--t-h3); }
.borehole .lead { color: #3d413b; margin-top: 14px; }
.kit { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rule); }
.kit div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; align-content: start; }
.kit .eyebrow { color: var(--brass); }
.kit strong { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.kit span:last-child { color: var(--muted); font-size: .95rem; }
.kit div:nth-child(odd) { padding-right: 24px; }

/* ---------- Ajax + Networks (two columns) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ink); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.duo article { padding: 44px 48px 8px 0; display: grid; gap: 18px; align-content: start; }
.duo article + article { padding-left: 48px; padding-right: 0; border-left: 1px solid var(--rule); }
@media (max-width: 860px) { .duo article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } .duo article { padding-right: 0; } }
.duo h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.duo p { color: #3d413b; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: #3d413b; }
.ticks li::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--brass); transform: rotate(45deg); margin-top: 9px; }
.solar-note {
  margin-top: 52px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline;
  padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.solar-note b { font-family: var(--display); font-weight: 500; font-size: 1.3rem; }
.solar-note span { color: #3d413b; }

/* ---------- How we work ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.steps li { display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--ink); padding-top: 18px; }
.steps .n { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--brass); }
.steps h3 { font-size: 1.3rem; }
.steps p { color: #3d413b; font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 48px; } }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.timeline li { position: relative; padding: 0 0 34px 32px; display: grid; gap: 6px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--brass); }
.timeline .yr { font-family: var(--display); font-size: 2.2rem; line-height: 1; font-variant-numeric: lining-nums; }
.timeline p { color: #3d413b; max-width: 46ch; }
.about { display: grid; gap: 20px; align-content: start; }
.about blockquote {
  margin: 0; font-family: var(--display); font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.3;
}
.about p { color: #3d413b; }
.about .sig { font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--ink); }

.since { display: grid; grid-template-columns: auto 1fr; gap: 24px 64px; align-items: center; }
.since .yr { font-family: var(--display); font-size: clamp(5rem, 14vw, 9.5rem); line-height: .85; color: var(--brass); font-variant-numeric: lining-nums; }
.since > div { display: grid; gap: 14px; max-width: 560px; }
.since h2 { font-size: var(--t-h2); }
.since p { color: #3d413b; font-size: var(--t-lead); }
@media (max-width: 640px) { .since { grid-template-columns: 1fr; } }

/* ---------- Area + installers ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 48px; } }
.two h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.two > div { display: grid; gap: 16px; align-content: start; }
.two p { color: #3d413b; }
.coords { font-size: var(--t-small); color: var(--muted); letter-spacing: .06em; font-variant-numeric: tabular-nums; }

/* ---------- Contact ---------- */
.contact { background: var(--veld); color: var(--veld-text); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: 1fr; gap: 48px; } }
.contact h2 { font-size: var(--t-h2); }
.contact .eyebrow { color: var(--veld-muted); }
.contact-main { display: grid; gap: 22px; align-content: start; }
.contact-main > p { color: #c9cbbf; font-size: var(--t-lead); max-width: 46ch; }
.lines { display: grid; gap: 0; border-top: 1px solid rgba(233,227,214,.18); }
.lines div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid rgba(233,227,214,.18); }
.lines .eyebrow { font-size: .72rem; }
.lines a { font-family: var(--display); font-size: 1.7rem; text-decoration: none; font-variant-numeric: lining-nums; }
.lines a:hover { color: #d8c49c; }
form { display: grid; gap: 16px; align-content: start; }
form .eyebrow { margin-bottom: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--t-small); color: var(--veld-muted); letter-spacing: .04em; }
input, textarea {
  font: inherit; color: var(--veld-text); width: 100%;
  background: transparent; border: 0; border-bottom: 1px solid rgba(233,227,214,.35);
  padding: 8px 0 10px; border-radius: 0;
}
input:focus, textarea:focus { outline: none; border-bottom-color: #d8c49c; }
textarea { min-height: 84px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
.form-msg { font-size: .95rem; color: var(--veld-muted); min-height: 1.5em; }
.form-msg.err { color: #f0b9a6; }

/* ---------- Footer ---------- */
footer { background: #171c18; color: #8f978b; font-size: var(--t-small); padding: 34px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; letter-spacing: .03em; }
footer b { color: #d9d4c7; font-weight: 600; }

/* ---------- Chat assistant ---------- */
.chat-open {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--veld); color: var(--veld-text); border: 1px solid rgba(233,227,214,.25);
  font: 600 .98rem var(--body); padding: 13px 20px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 14px 30px -16px rgba(28,33,28,.6);
}
.chat-open .dot { width: 8px; height: 8px; border-radius: 50%; background: #8fbf7a; }
.chat {
  position: fixed; right: 20px; bottom: 20px; z-index: 41; width: min(370px, calc(100% - 24px));
  height: min(560px, calc(100% - 40px)); display: none; flex-direction: column;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(28,33,28,.55);
}
.chat.open { display: flex; }
.chat-head { background: var(--veld); color: var(--veld-text); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.chat-head .who { display: grid; line-height: 1.2; }
.chat-head b { font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: .04em; }
.chat-head small { color: var(--veld-muted); font-size: .78rem; }
.chat-head button { margin-left: auto; background: none; border: 0; color: var(--veld-text); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: .96rem; line-height: 1.45; }
.bubble.bot { background: #fff; border: 1px solid var(--rule); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.me { background: var(--veld); color: var(--veld-text); border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble.sum { background: var(--paper-2); border: 1px solid var(--rule); white-space: pre-line; font-size: .9rem; }
.chat-choices { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 12px; }
.chat-choices button {
  font: 600 .9rem var(--body); color: var(--ink); background: transparent; cursor: pointer;
  border: 1px solid var(--brass); border-radius: 999px; padding: 7px 13px;
}
.chat-choices button:hover { background: var(--paper-2); }
.chat-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--rule); background: #fff; }
.chat-input input { color: var(--ink); border: 0; border-bottom: 0; padding: 8px 4px; }
.chat-input input:focus { border: 0; }
.chat-input button { font: 600 .9rem var(--body); background: var(--ink); color: var(--paper); border: 0; border-radius: 8px; padding: 0 14px; cursor: pointer; }
.chat-input[hidden] { display: none; }
@media (max-width: 720px) {
  .chat-open { display: none; }
  .chat { right: 12px; bottom: 76px; height: min(520px, calc(100% - 96px)); }
}

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 66px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 30;
    background: var(--veld); border-top: 1px solid rgba(233,227,214,.16);
  }
  .callbar a { text-align: center; padding: 15px 0 18px; text-decoration: none; color: var(--veld-text); font-weight: 600; }
  .callbar a + a { border-left: 1px solid rgba(233,227,214,.16); }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------- Live additions ---------- */
.hero-flush { padding: 0; }
.mt-12 { margin-top: 12px; }
.sr-only { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-small); color: var(--veld-muted); }
.consent input { width: auto; margin-top: 4px; accent-color: #d8c49c; }
.consent a { color: #d8c49c; }
footer a { color: #d9d4c7; }
.since .where { font-size: 1rem; color: var(--muted); }
.since .where .coords { margin-left: 8px; }
.nw { white-space: nowrap; }
.since .sig { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--ink); margin-top: 6px; display: flex; align-items: baseline; gap: 14px; }
.since .sig span { font-family: var(--body, inherit); font-style: normal; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
/* Privacy page */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-size: 2.4rem; margin: 10px 0 24px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.legal p, .legal li { margin: 0 0 10px; }
.legal ul { padding-left: 20px; }
