/* KhuselaGuard site styles. Tokens live in tokens.css. Mobile first (360px). */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--kg-charcoal);
  background: var(--kg-bone);
  font-stretch: 100%;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--text-h1); font-stretch: var(--stretch-display); line-height: 0.98; }
h2 { font-size: var(--text-h2); font-stretch: var(--stretch-display); line-height: 1; }
h3 { font-size: var(--text-h3); font-stretch: var(--stretch-heading); font-weight: 700; line-height: 1.15; letter-spacing: 0; }
.h2 { font-size: var(--text-h2); line-height: 1; }
p { max-width: var(--measure); text-wrap: pretty; }
.lead { font-size: var(--text-lead); line-height: 1.45; }
.small { font-size: var(--text-sm); }
.muted { color: var(--kg-muted); }
strong { font-weight: 700; }

a { color: var(--kg-green-900); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--kg-green-900); outline-offset: 3px; border-radius: 2px; }
.theme-dark :focus-visible, .theme-green :focus-visible,
.site-header :focus-visible, .hero :focus-visible, .proofbar :focus-visible, .site-footer :focus-visible { outline-color: var(--kg-bone); }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--kg-charcoal); color: var(--kg-bone); padding: 12px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.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;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.theme-sand { background: var(--kg-sand); }
.theme-dark { background: var(--kg-charcoal); color: var(--kg-on-dark); }
.theme-green { background: var(--kg-green-900); color: var(--kg-on-dark); }
.theme-dark a, .theme-green a { color: var(--kg-on-dark); }
.theme-dark .muted, .theme-green .muted { color: var(--kg-on-dark-muted); }

.stack > * + * { margin-top: var(--space-2); }
.stack-lg > * + * { margin-top: var(--space-3); }
.section-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); }
.section-head p { font-size: var(--text-lead); line-height: 1.45; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  font-size: 1.0625rem; font-weight: 700; font-stretch: var(--stretch-ui); line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--primary { background: var(--kg-green-900); color: var(--kg-bone); }
.btn--primary:hover { background: var(--kg-green-700); }
.btn--secondary { background: transparent; color: var(--kg-charcoal); border-color: var(--kg-charcoal); }
.btn--secondary:hover { background: var(--kg-charcoal); color: var(--kg-bone); }
/* On dark sections the primary action is gold with charcoal text (8.83:1). */
.btn--gold { background: var(--kg-gold); color: var(--kg-charcoal); }
.btn--gold:hover { background: var(--kg-bone); }
.btn--outline-light { background: transparent; color: var(--kg-bone); border-color: var(--kg-bone); }
.btn--outline-light:hover { background: var(--kg-bone); color: var(--kg-charcoal); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.theme-dark a.btn, .theme-green a.btn { text-decoration: none; }
.theme-dark .btn--gold, .theme-green .btn--gold { color: var(--kg-charcoal); }
.theme-dark .btn--outline-light:hover, .theme-green .btn--outline-light:hover { color: var(--kg-charcoal); }

.link-arrow { font-weight: 700; font-stretch: var(--stretch-ui); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.link-arrow::after { content: "\2192"; transition: transform .18s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--kg-green-900); color: var(--kg-on-dark);
  border-bottom: 1px solid var(--kg-line-dark);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.lockup { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--kg-on-dark); }
.lockup img { height: 30px; width: auto; }
.lockup__maker {
  font-size: 0.8125rem; font-weight: 600; font-stretch: var(--stretch-ui); line-height: 1.1;
  color: var(--kg-on-dark-muted); padding-left: 12px; border-left: 1px solid var(--kg-line-dark); white-space: nowrap;
}
@media (max-width: 439px) { .site-header .lockup__maker { display: none; } }
@media (min-width: 900px) { .lockup img { height: 40px; } }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: clamp(14px, 1.8vw, 28px); align-items: center; }
.nav-desktop a {
  color: var(--kg-on-dark); text-decoration: none; font-weight: 600; font-stretch: var(--stretch-ui);
  font-size: 1rem; padding: 10px 0; border-bottom: 3px solid transparent;
}
.nav-desktop a:hover { border-bottom-color: rgba(245, 242, 234, 0.45); }
.nav-desktop a[aria-current="page"] { border-bottom-color: var(--kg-bone); }
.header-cta { display: none; }

.menu-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: transparent; color: var(--kg-bone); border: 2px solid var(--kg-bone); border-radius: var(--radius);
  font-weight: 700; font-stretch: var(--stretch-ui); cursor: pointer;
}
.menu-button svg { width: 20px; height: 20px; }
.menu-panel {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--kg-green-900); color: var(--kg-on-dark); overflow-y: auto; padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 28px;
}
.menu-panel[hidden] { display: none; }
.menu-panel ul { display: grid; }
.menu-panel li a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--kg-line-dark);
  font-size: 1.75rem; font-weight: 800; font-stretch: var(--stretch-heading); text-decoration: none; color: var(--kg-on-dark);
}
.menu-panel li a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
body.menu-open { overflow: hidden; }
@media (min-width: 1160px) {
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; min-height: 46px; }
  .menu-button { display: none; }
}

/* ---------- Hero ---------- */
/* Green field, words on the left, the camp on the right. The contour lines
 * and tracks of the camp spill out of its box and run behind the words. */
.hero {
  position: relative; isolation: isolate; overflow: clip; color: var(--kg-on-dark);
  /* Brand green, lit from where the camp stands and deeper at the edges. */
  background:
    radial-gradient(70% 90% at 76% 42%, rgba(46, 125, 50, 0.55) 0%, rgba(46, 125, 50, 0) 62%),
    linear-gradient(160deg, var(--kg-green-900) 0%, var(--kg-green-900) 45%, #154a19 100%);
}
.hero a:not(.btn) { color: var(--kg-on-dark); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  gap: clamp(28px, 5vw, 56px); padding-block: clamp(32px, 4vw, 48px) clamp(20px, 2.4vw, 28px);
}
.hero__text { position: relative; z-index: 2; display: grid; gap: 22px; container-type: inline-size; }
.hero__text > .btn-row { margin-top: 6px; }
.hero__eyebrow, .shot__name, .showcase__tab-name {
  font-size: var(--text-label); font-weight: 700; font-stretch: var(--stretch-ui); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2;
}
.hero__eyebrow { display: flex; align-items: center; gap: 12px; color: var(--kg-on-dark-muted); }
.pulse { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--kg-bone); }
@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse 2.2s var(--ease) infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 242, 234, 0.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(245, 242, 234, 0); } }
.hero h1 { font-size: var(--text-hero); line-height: 0.92; letter-spacing: -0.015em; }
.hero__sub { font-size: var(--text-lead); line-height: 1.4; max-width: 30ch; }
.hero__tagline {
  font-weight: 800; font-stretch: var(--stretch-heading); font-size: 1.25rem; letter-spacing: 0;
  display: flex; align-items: center; gap: 14px;
}
.hero__tagline::before { content: ""; width: 36px; height: 3px; background: currentColor; }
.hero__stage { position: relative; z-index: 1; min-width: 0; }
.hero--plain .hero__grid { min-height: min(72svh, 720px); }
.hero--plain .hero__text { max-width: 46rem; }

@media (min-width: 1000px) {
  .hero--live .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px);
    min-height: min(calc(100svh - var(--header-h) - 92px), 880px);
  }
  /* Sized from the height of the screen as well as its width, so the words
   * and the buttons fit on a laptop without scrolling. */
  .hero--live h1 { font-size: clamp(3.25rem, min(5.3vw, 10.5vh + 1rem), 6.25rem); }
  /* Better still, from the width of its own column: three lines at any size. */
  @supports (font-size: 1cqi) {
    .hero--live h1 { font-size: clamp(3.25rem, min(15.2cqi, 10.5vh + 1rem), 6.25rem); }
  }
  /* The camp runs out to the right edge of the screen, past the page column. */
  .hero--live .hero__stage { margin-right: calc((min(100vw, var(--max)) - 100vw) / 2 - var(--gutter) + 24px); }
}

/* Big screens: the camp gains width from the edge of the screen, so the words can take more of the column. */
@media (min-width: 1500px) {
  .hero--live .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
}

/* The one entrance on the page: the words rise, then the camp arrives. */
@media (prefers-reduced-motion: no-preference) {
  .hero__text > * { animation: hero-rise .7s var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: .07s; }
  .hero__text > :nth-child(3) { animation-delay: .14s; }
  .hero__text > :nth-child(4) { animation-delay: .21s; }
  .hero__text > :nth-child(5) { animation-delay: .28s; }
  .hero__stage { animation: hero-stage 1s var(--ease) .2s both; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes hero-stage { from { opacity: 0; transform: translateY(26px); } }

/* ---------- Proof bar ---------- */
.proofbar { background: var(--kg-charcoal); color: var(--kg-on-dark); }
.proofbar a { color: var(--kg-on-dark); white-space: nowrap; }
.proofbar__list { display: grid; }
.proofbar__list li { padding-block: 16px; font-size: 1rem; line-height: 1.4; }
.proofbar__list li + li { border-top: 1px solid var(--kg-line-dark); }
.proofbar strong { font-size: 1.125rem; font-stretch: var(--stretch-heading); }
@media (min-width: 900px) {
  .proofbar__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proofbar__list li { padding: 22px clamp(18px, 2.4vw, 36px); }
  .proofbar__list li + li { border-top: 0; border-left: 1px solid var(--kg-line-dark); }
  .proofbar__list li:first-child { padding-left: 0; }
}

/* ---------- Devices (the app on a laptop or a phone, frame and all) ---------- */
.device { position: relative; }
.device picture { display: block; }
.device img { display: block; width: 100%; height: auto; }

/* The laptop with the phone standing in front of it. On a phone the phone
 * takes the front of the stage and the laptop looks in from the left. */
.duo { position: relative; width: 100%; aspect-ratio: 1 / 1.1; overflow: hidden; }
.duo__laptop, .duo__phone { position: absolute; }
.duo__laptop { left: -64%; top: 10%; width: 142%; }
.duo__phone { right: 5%; top: 5%; width: 53%; }
@media (min-width: 700px) {
  .duo { aspect-ratio: 1920 / 1250; overflow: visible; }
  .duo__laptop { left: 0; top: 4%; width: 88%; }
  .duo__phone { right: 1%; top: auto; bottom: 0; width: 19.5%; }
}

/* ---------- The camp ---------- */
.camp__figure { margin: 0; }
.camp__stage { position: relative; }
.camp__map { display: block; width: 100%; height: auto; overflow: visible; }
.camp__map .contour { fill: none; stroke: rgba(245, 242, 234, 0.075); stroke-width: 1.5; }
.camp__map .track { fill: none; stroke: rgba(233, 228, 216, 0.13); stroke-width: 9; stroke-linecap: round; }
.camp__map .tree { fill: rgba(10, 30, 12, 0.55); }
.camp__map .water { fill: rgba(245, 242, 234, 0.12); stroke: rgba(245, 242, 234, 0.35); stroke-width: 1.5; }
.camp__map .fence { fill: rgba(245, 242, 234, 0.06); stroke: var(--kg-bone); stroke-width: 2.5; stroke-linejoin: round; }
.camp__map .posts { fill: none; stroke: var(--kg-bone); stroke-width: 8; stroke-dasharray: 2 26; }
.camp__map .fence-other { fill: none; stroke: rgba(245, 242, 234, 0.35); stroke-width: 2; stroke-dasharray: 6 6; }
.camp__map .label { fill: var(--kg-bone); font: 700 15px/1 var(--font); font-stretch: var(--stretch-ui); letter-spacing: 0.02em; }
.camp__map .animal { fill: var(--kg-bone); stroke: rgba(26, 26, 26, 0.35); stroke-width: 1.5; }
.camp__map .breach { fill: none; stroke: var(--kg-gold); stroke-width: 6; stroke-linecap: round; opacity: 1; }
.camp__map .ping { fill: none; stroke: var(--kg-gold); stroke-width: 3; opacity: 1; }
.camp__map .tag-label { fill: var(--kg-gold); font: 800 16px/1 var(--font); font-stretch: var(--stretch-ui); }

/* Running: alert parts hidden until the animal crosses the line. */
.camp__figure.is-running .breach,
.camp__figure.is-running .ping,
.camp__figure.is-running .tag-label { opacity: 0; transition: opacity .4s var(--ease); }
.camp__figure.is-running.is-alert .tag-label { opacity: 1; }
.camp__figure.is-running.is-alert .breach { animation: breach 1.6s var(--ease) forwards; }
.camp__figure.is-running.is-alert .ping { animation: ping 1.8s var(--ease) 2; transform-box: fill-box; transform-origin: center; }
@keyframes breach { 0% { opacity: 0; } 15% { opacity: 1; } 30% { opacity: .25; } 45% { opacity: 1; } 60% { opacity: .25; } 75%, 100% { opacity: 1; } }
@keyframes ping { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }

.camp__phone { display: none; }
.notify {
  position: absolute; z-index: 3; right: 8px; bottom: 8px; width: min(320px, calc(100% - 16px));
  display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; align-items: start;
  padding: 14px 16px; border-radius: 14px;
  background: var(--kg-bone); color: var(--kg-charcoal);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.notify__icon { grid-row: span 3; width: 36px; height: 36px; border-radius: 9px; overflow: hidden; }
.notify__icon img { width: 100%; height: 100%; }
.notify__app { font-size: 0.8125rem; font-weight: 600; font-stretch: var(--stretch-ui); color: var(--kg-muted); display: flex; justify-content: space-between; }
.notify__title { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.notify__body { font-size: 0.9375rem; line-height: 1.35; color: var(--kg-muted); }
.notify__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kg-gold); display: inline-block; margin-right: 6px; vertical-align: 1px; }
.camp__figure.is-running .notify { opacity: 0; transform: translateY(-14px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.camp__figure.is-running.is-notified .notify { opacity: 1; transform: none; }
@media (max-width: 699px) {
  .camp__stage { margin-inline: calc(var(--gutter) * -1); }
  .notify { position: relative; right: auto; bottom: auto; width: auto; margin: 14px var(--gutter) 0; }
}
/* Room for the phone: it stands over the empty right of the map, and the
 * notification lands on its screen. */
@media (min-width: 700px) {
  .camp__phone {
    display: block; position: absolute; z-index: 2; right: 0; top: 50%; width: clamp(164px, 29%, 236px); transform: translateY(-48%);
    filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.42));
  }
  .notify { right: -14px; bottom: auto; top: 17%; width: min(310px, 46vw); }
}
.camp__controls { display: flex; justify-content: flex-start; margin-top: 18px; position: relative; z-index: 2; }
.icon-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: transparent; color: inherit; border: 1.5px solid currentColor; border-radius: 999px;
  font-size: var(--text-sm); font-weight: 600; font-stretch: var(--stretch-ui); cursor: pointer;
}
.icon-button span { display: inline-flex; align-items: center; gap: 8px; }
.icon-button span[hidden] { display: none; }
.icon-button svg { width: 14px; height: 14px; }
.icon-button[hidden] { display: none; }

/* ---------- Full-bleed photo band ---------- */
.band { position: relative; display: flex; align-items: flex-end; min-height: clamp(520px, 86svh, 900px); background: var(--kg-charcoal); color: var(--kg-on-dark); }
.band--short { min-height: clamp(440px, 64svh, 720px); }
.band__media { position: absolute; inset: 0; overflow: hidden; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__panel {
  position: relative; margin: var(--gutter); margin-top: 45svh;
  background: var(--kg-charcoal); padding: clamp(24px, 3.2vw, 44px);
  max-width: 38rem; display: grid; gap: 16px;
}
@media (min-width: 900px) {
  .band { align-items: flex-end; }
  .band__panel { margin: 0 0 clamp(40px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
}
.theme-green.band__panel, .band__panel.is-green { background: var(--kg-green-900); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--space-6); counter-reset: none; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); } }
.step { display: grid; gap: 14px; align-content: start; }
.step__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--kg-sand); }
.step__media img, .step__media svg { width: 100%; height: 100%; object-fit: cover; }
.step__media--app {
  display: grid; justify-items: center; align-items: start; padding-top: 7%;
  background: radial-gradient(80% 90% at 50% 30%, var(--kg-green-700) 0%, var(--kg-green-900) 70%);
}
.step__media--app .device { width: 46%; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.4)); }
.step__media--app .device img { height: auto; object-fit: contain; }
.step__num {
  font-size: clamp(4rem, 3rem + 4vw, 6rem); font-weight: 800; font-stretch: var(--stretch-display);
  line-height: .8; color: var(--kg-green-900); margin-top: 8px;
}
.step h3, .outcome h3, .calc h3, .shot__caption h3, .live__facts h3, .form-success h3, .showcase__tab-title {
  font-size: var(--text-h3-lg); font-stretch: var(--stretch-display); font-weight: 800; line-height: 1.12; text-wrap: balance;
}
.steps-footer { margin-top: var(--space-5); }

/* Longer, alternating version on /how-it-works */
.detail-steps { display: grid; gap: var(--section); }
.detail-step { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 900px) {
  .detail-step { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
  .detail-step:nth-child(even) .detail-step__media { order: 2; }
}
.detail-step__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--kg-sand); }
.detail-step__media img, .detail-step__media svg { width: 100%; height: 100%; object-fit: cover; }
.detail-step__media--app {
  display: grid; place-items: center; padding: 6% 5% 4%;
  background: radial-gradient(80% 90% at 50% 30%, var(--kg-green-700) 0%, var(--kg-green-900) 70%);
}
.detail-step__media--app .duo { aspect-ratio: 1920 / 1250; overflow: visible; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.4)); }
.detail-step__media--app .duo__laptop { left: 0; top: 4%; width: 88%; }
.detail-step__media--app .duo__phone { right: 1%; top: auto; bottom: 0; width: 19.5%; }
.detail-step__media--app img { height: auto; object-fit: contain; }
.detail-step__text { display: grid; gap: 16px; }

/* ---------- Outcomes ---------- */
.outcomes { display: grid; gap: 0 clamp(28px, 4vw, 64px); }
@media (min-width: 720px) { .outcomes { grid-template-columns: 1fr 1fr; } }
.outcome { border-top: 2px solid var(--kg-charcoal); padding: 22px 0 34px; display: grid; gap: 8px; }

/* ---------- Testimonial ---------- */
.quote { display: grid; gap: var(--space-5); align-items: end; }
@media (min-width: 900px) { .quote--with-photo { grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 96px); } }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-size: var(--text-feature); font-weight: 600; font-stretch: var(--stretch-heading);
  line-height: 1.12; letter-spacing: -0.01em; max-width: 30ch;
}
.quote blockquote p::before { content: "\201C"; margin-left: -0.45em; color: var(--kg-on-dark-muted); }
.quote blockquote p::after { content: "\201D"; color: var(--kg-on-dark-muted); }
.quote figcaption { margin-top: var(--space-4); display: grid; gap: 2px; }
.quote__name { font-weight: 800; font-stretch: var(--stretch-heading); font-size: var(--text-h3); }
.quote__photo { aspect-ratio: 4 / 5; overflow: hidden; }

/* ---------- Price ---------- */
.price { display: grid; gap: var(--space-4); }
.price__figures { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 28px; }
.price__figure { display: grid; gap: 12px; }
.price__amount { font-size: clamp(3.5rem, 2rem + 7vw, 7.5rem); font-weight: 800; font-stretch: var(--stretch-display); line-height: .85; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.price__plus { font-weight: 400; color: var(--kg-muted); margin-right: .06em; }
.price__unit { font-weight: 600; font-stretch: var(--stretch-ui); font-size: 1.125rem; }
.price__vat { font-weight: 600; font-stretch: var(--stretch-ui); }
.price__notes { display: grid; gap: 8px; }
.price__notes li { padding-left: 22px; position: relative; }
.price__notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 3px; background: var(--kg-green-900); }
.price-teaser { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .price-teaser { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); align-items: center; } }

/* ---------- App showcase (the three views, on a laptop and a phone) ---------- */
.showcase {
  --sc-fg: var(--kg-charcoal); --sc-muted: var(--kg-muted); --sc-line: var(--kg-line);
  --sc-bar: var(--kg-green-900); --sc-seg: var(--kg-sand);
  color: var(--sc-fg); transition: background-color .6s var(--ease), color .6s var(--ease);
}
/* Night: the whole section goes dark with the screens. */
.showcase[data-theme="night"] {
  --sc-fg: var(--kg-on-dark); --sc-muted: var(--kg-on-dark-muted); --sc-line: var(--kg-line-dark);
  --sc-bar: var(--kg-lime); --sc-seg: rgba(245, 242, 234, 0.12);
  background: var(--kg-night);
}
.showcase[data-theme="night"] :focus-visible { outline-color: var(--kg-bone); }
.showcase .muted { color: var(--sc-muted); }
.showcase__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: var(--space-5); }
.showcase__head .section-head { margin-bottom: 0; }
.showcase .section-head p { color: var(--sc-muted); }

.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sc-seg); }
.seg[hidden] { display: none; }
.seg__btn {
  min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--sc-fg);
  font-weight: 700; font-stretch: var(--stretch-ui); cursor: pointer;
}
.seg__btn[aria-pressed="true"] { background: var(--sc-fg); color: var(--kg-bone); }
.showcase[data-theme="night"] .seg__btn[aria-pressed="true"] { color: var(--kg-charcoal); }

/* Without JavaScript: the views, one under another. */
.showcase__tabs { display: none; }
.showcase__track { display: grid; gap: var(--space-5); }
.shot { display: grid; gap: 16px; min-width: 0; align-content: start; }
/* The stage: studio light by day, the glow of the screens by night. */
.shot__frame { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; padding: clamp(14px, 3%, 34px) clamp(12px, 2.6%, 30px) clamp(10px, 2.4%, 28px); }
.shot__frame::before, .shot__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity .6s var(--ease); }
.shot__frame::before { background: radial-gradient(90% 80% at 50% 30%, #FFFFFF 0%, #EFEBE0 58%, #E2DCCD 100%); }
.shot__frame::after {
  opacity: 0;
  /* The screens' own light: pooled on the desk under them, and a haze behind. */
  background:
    radial-gradient(58% 20% at 47% 86%, rgba(227, 246, 90, 0.3) 0%, rgba(227, 246, 90, 0) 100%),
    radial-gradient(85% 75% at 50% 42%, rgba(227, 246, 90, 0.13) 0%, rgba(227, 246, 90, 0) 72%),
    radial-gradient(120% 100% at 50% 0%, #1D201B 0%, #0B0C0B 72%);
}
.showcase[data-theme="night"] .shot__frame::after { opacity: 1; }
.shot .duo { filter: drop-shadow(0 26px 30px rgba(26, 26, 26, 0.22)); }
.showcase[data-theme="night"] .shot .duo { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.shot__img { transition: opacity .6s var(--ease); }
.shot__img--night { position: absolute; inset: 0; opacity: 0; }
.showcase[data-theme="night"] .shot__img--day { opacity: 0; }
.showcase[data-theme="night"] .shot__img--night { opacity: 1; }
.shot__caption { display: grid; gap: 6px; }
.shot__name, .showcase__tab-name { color: var(--sc-muted); }

/* With JavaScript: a strip you can swipe. */
.showcase.is-live .showcase__track {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; transition: opacity .18s linear;
}
.showcase.is-live .showcase__track::-webkit-scrollbar { display: none; }
.showcase.is-live .showcase__track.is-jumping { opacity: 0; }
.showcase.is-live .shot { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.showcase__controls { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.showcase__controls[hidden] { display: none; }
.showcase__count { min-width: 3.4em; text-align: center; font-weight: 700; font-stretch: var(--stretch-ui); font-variant-numeric: tabular-nums; }
.showcase__pause { margin-left: auto; }
.round-button {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--sc-fg, var(--kg-charcoal)); border: 2px solid currentColor; border-radius: 50%;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.round-button svg { width: 20px; height: 20px; }
.round-button span { display: grid; }
.round-button span[hidden] { display: none; }
.round-button:hover { background: var(--sc-fg, var(--kg-charcoal)); color: var(--kg-bone); }
.showcase[data-theme="night"] .round-button:hover { color: var(--kg-charcoal); }

/* Wide screens: captions become a list of buttons beside the pictures. */
@media (min-width: 1200px) {
  .showcase.is-live .showcase__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 17fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
  .showcase.is-live .showcase__tabs { display: grid; border-bottom: 1px solid var(--sc-line); }
  .showcase.is-live .shot__caption { display: none; }
}
.showcase__tab {
  position: relative; display: grid; width: 100%; padding: 18px 0; text-align: left; cursor: pointer;
  background: none; border: 0; border-top: 1px solid var(--sc-line); color: var(--sc-muted);
  transition: color .25s var(--ease);
}
.showcase__tab:hover, .showcase__tab[aria-selected="true"] { color: var(--sc-fg); }
.showcase__tab-name { margin-bottom: 6px; }
.showcase__tab-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); font-size: 1.0625rem; line-height: 1.5; }
.showcase__tab-body > span { overflow: hidden; }
.showcase__tab[aria-selected="true"] .showcase__tab-body { grid-template-rows: 1fr; }
.showcase__tab[aria-selected="true"] .showcase__tab-body > span { padding-top: 8px; }
.showcase__bar { position: absolute; left: 0; top: -1px; width: 100%; height: 3px; background: var(--sc-bar); transform: scaleX(0); transform-origin: left; }
.showcase__tab[aria-selected="true"] .showcase__bar { transform: scaleX(1); }
.showcase.is-playing .showcase__tab[aria-selected="true"] .showcase__bar { animation: showcase-fill var(--dwell, 6.5s) linear both; }
@keyframes showcase-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- "Let one out": a working copy of the live map ---------- */
/* Dressed in the app's own night colours, so it reads as the app, not the site. */
.live {
  --lv-bg: #0B0D0B; --lv-panel: #141614; --lv-line: rgba(242, 242, 238, 0.1);
  --lv-ink: #F2F2EE; --lv-muted: #B4B8AF; --lv-lime: var(--kg-lime); --lv-alert: #FF5A1F; --lv-blue: #5568FF;
  position: relative; isolation: isolate; overflow: clip; background: var(--lv-bg); color: var(--lv-ink);
}
.live::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(48% 46% at 34% 52%, rgba(227, 246, 90, 0.11) 0%, rgba(227, 246, 90, 0) 70%),
    radial-gradient(40% 50% at 92% 58%, rgba(27, 94, 32, 0.6) 0%, rgba(27, 94, 32, 0) 72%);
}
.live :focus-visible { outline-color: var(--lv-lime); }
.live.section { padding-top: clamp(56px, 6vw, 88px); }
.live__head { margin-bottom: var(--space-4); }
.live .section-head { margin-bottom: 0; }
.live .section-head p { color: var(--lv-muted); }
.live__grid { display: grid; gap: var(--space-3); }
/* Wide screens: the map and the phone side by side, sized from the height of
 * the window so the heading, the map and the alert under it share one screen. */
@media (min-width: 1000px) {
  .live { --lv-fit: calc(100svh - var(--header-h) - 350px); }
  .live .section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; }
  .live__grid { display: flex; justify-content: center; align-items: center; gap: clamp(36px, 5vw, 84px); }
  .live__console { flex: 1 1 0; min-width: 0; max-width: max(560px, calc(var(--lv-fit) * 1.6)); }
  .live__phone { flex: none; width: clamp(200px, min(23vw, calc((var(--lv-fit) + 136px) * 0.478)), 300px); }
}

.live__console {
  margin: 0; overflow: hidden; background: var(--lv-panel); border: 1px solid var(--lv-line); border-radius: 18px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9);
}
@media (max-width: 699px) { .live__console { margin-inline: calc(var(--gutter) * -1 + 8px); border-radius: 14px; } }
.live__bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; border-bottom: 1px solid var(--lv-line); font-size: var(--text-sm); }
.live__pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--lv-lime); color: #111; font-weight: 700; font-stretch: var(--stretch-ui);
}
.live__pill i { width: 8px; height: 8px; border-radius: 50%; background: #111; }
.live__place { font-weight: 700; font-stretch: var(--stretch-ui); }
.live__count { margin-left: auto; color: var(--lv-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.live__count strong { color: var(--lv-ink); }
.live.is-alert .live__count [data-live-out], .live:not(.is-running) .live__count [data-live-out] { color: var(--lv-alert); }
@media (max-width: 439px) { .live__place { display: none; } }
.live__pause {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--lv-ink); border: 1px solid var(--lv-line); border-radius: 50%;
}
.live__pause svg { width: 14px; height: 14px; }
.live__pause span { display: grid; }
.live__pause span[hidden], .live__pause[hidden] { display: none; }

.live__map { display: block; width: 100%; height: auto; -webkit-user-select: none; user-select: none; }
.live__map .land { fill: #1A1D22; }
.live__map .river { fill: #1D2631; }
.live__map .road { fill: none; stroke: #2A2F36; stroke-width: 10; stroke-linecap: round; }
.live__map .road--thin { stroke-width: 6; }
.live__map .farm { fill: rgba(227, 246, 90, 0.035); stroke: rgba(227, 246, 90, 0.3); stroke-width: 1.5; stroke-dasharray: 5 8; }
.live__map .camp { fill: rgba(227, 246, 90, 0.14); stroke: var(--lv-lime); stroke-width: 2.5; stroke-linejoin: round; }
.live__map .posts { fill: none; stroke: var(--lv-lime); stroke-width: 8; stroke-dasharray: 2 24; }
.live__map .trough { fill: rgba(125, 170, 255, 0.16); stroke: rgba(125, 170, 255, 0.45); stroke-width: 1.5; }
.live__map .place { fill: var(--lv-ink); font: 700 15px/1 var(--font); font-stretch: var(--stretch-ui); letter-spacing: 0.02em; }
.live__map .breach { stroke: var(--lv-alert); stroke-width: 7; stroke-linecap: round; }
.live__map .animal { cursor: grab; touch-action: none; }
.live__map .animal__hit { fill: transparent; }
.live__map .animal__dot { fill: var(--lv-blue); stroke: #0E100E; stroke-width: 2.5; transition: fill .25s var(--ease); }
.live__map .animal--resting .animal__dot { fill: var(--lv-ink); }
.live__map .animal__ring { fill: none; stroke: none; transform-box: fill-box; transform-origin: center; }
.live__map .animal__label {
  fill: var(--lv-ink); font: 700 13px/1 var(--font); font-stretch: var(--stretch-ui);
  paint-order: stroke; stroke: #0E100E; stroke-width: 4px; stroke-linejoin: round; opacity: 0; transition: opacity .2s var(--ease); pointer-events: none;
}
.live__map .animal:hover .animal__label, .live__map .animal.is-held .animal__label, .live__map .animal.is-out .animal__label { opacity: 1; }
.live__map .animal.is-held { cursor: grabbing; }
.live__map .animal.is-held .animal__dot { stroke: var(--lv-lime); }
.live__map .animal.is-out .animal__dot { fill: var(--lv-alert); }
.live__map .animal.is-out .animal__ring { fill: rgba(255, 90, 31, 0.28); }
.live__map .hint { pointer-events: none; }
.live__map .hint path { fill: var(--lv-lime); }
.live__map .hint text { fill: #111; font: 700 13px/1 var(--font); font-stretch: var(--stretch-ui); }
.live__map .hint[hidden] { display: none; }

/* Running: the alert parts wait until an animal is over the fence. */
.live.is-running:not(.is-alert) .breach { opacity: 0; }
.live.is-running .breach { transition: opacity .3s var(--ease); }
.live.is-running:not(.is-touched) .animal.is-lead:not(.is-out) .animal__ring { stroke: var(--lv-lime); stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
  .live__pill i { animation: live-blink 1.6s ease-in-out infinite; }
  .live.is-alert .breach { animation: breach 1.4s var(--ease) both; }
  .live__map .animal.is-out .animal__ring { animation: live-ping 1.5s var(--ease) infinite; }
  .live.is-running:not(.is-touched) .animal.is-lead:not(.is-out) .animal__ring { animation: live-ping 1.8s var(--ease) infinite; }
  .live.is-buzz .live__phone .device { animation: live-buzz .55s linear; }
  .live.is-paused .live__pill i, .live.is-paused .animal__ring { animation-play-state: paused; }
}
@keyframes live-blink { 50% { opacity: .25; } }
@keyframes live-ping { 0% { opacity: 1; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes live-buzz {
  0%, 100% { transform: none; } 12% { transform: translateX(-5px) rotate(-1.2deg); } 28% { transform: translateX(5px) rotate(1.2deg); }
  44% { transform: translateX(-4px) rotate(-.8deg); } 60% { transform: translateX(4px) rotate(.8deg); } 80% { transform: translateX(-2px); }
}

.live__event { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 78px; padding: 14px 14px 14px 16px; border-top: 1px solid var(--lv-line); }
.live__flag { align-self: stretch; border-radius: 2px; background: var(--lv-alert); transition: background-color .3s var(--ease); }
.live.is-running:not(.is-alert) .live__flag { background: var(--lv-lime); }
.live__event-text { display: grid; gap: 3px; max-width: none; line-height: 1.3; }
.live__event-text strong { font-size: 1.0625rem; }
.live__event-text span { color: var(--lv-muted); font-size: var(--text-sm); }
.live.is-running:not(.is-alert) .live__event-text span { display: none; }
.live__btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; cursor: pointer;
  background: var(--lv-lime); color: #111; border: 0; border-radius: 8px; font-weight: 700; font-stretch: var(--stretch-ui); white-space: nowrap;
}
.live__btn:hover { background: var(--lv-ink); }
.live__btn svg { width: 18px; height: 18px; }
.live__btn[hidden] { display: none; }

/* The phone that gets the alert. On a phone-sized screen only the alert shows,
 * and it takes up room only while there is one. */
.live__phone { position: relative; }
.live__phone .device { display: none; }
.live .notify--live { position: relative; inset: auto; width: auto; margin: 0; }
.live.is-running .notify--live { opacity: 0; transform: translateY(-12px) scale(.98); transition: opacity .4s var(--ease), transform .5s var(--ease), padding .45s var(--ease); }
.live.is-running.is-alert .notify--live { opacity: 1; transform: none; }
@media (max-width: 999px) {
  .live.is-running .live__phone { display: grid; grid-template-rows: 0fr; margin-top: calc(var(--space-3) * -1); transition: grid-template-rows .45s var(--ease), margin-top .45s var(--ease); }
  .live.is-running.is-alert .live__phone { grid-template-rows: 1fr; margin-top: 0; }
  .live.is-running .notify--live { min-height: 0; overflow: hidden; padding-block: 0; }
  .live.is-running.is-alert .notify--live { padding-block: 14px; }
}
/* On a phone the map is drawn smaller, so its words are set larger. */
@media (max-width: 699px) {
  .live__map .place { font-size: 21px; }
  .live__map .animal__label { font-size: 19px; stroke-width: 5px; }
}
@media (min-width: 1000px) {
  .live__phone .device { display: block; filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.7)); }
  .live .notify--live { position: absolute; left: -22%; right: 7%; top: 9.5%; box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55); }
}

.live__facts { display: grid; margin-top: var(--space-5); }
@media (min-width: 800px) { .live__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); } }
.live__facts li { display: grid; gap: 6px; align-content: start; padding: 20px 0 22px; border-top: 1px solid var(--lv-line); }
.live__facts p { color: var(--lv-muted); }

/* ---------- In the field and in the news ---------- */
/* Phone: heading, film, press. Wide: the film down the left, the words beside it. */
.field__grid { display: grid; gap: var(--space-4); }
.field__head { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .field__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto 1fr;
    grid-template-areas: "film head" "film press"; column-gap: clamp(40px, 6vw, 96px); row-gap: var(--space-3); align-items: start;
  }
  .field__head { grid-area: head; }
  .field__film { grid-area: film; align-self: center; }
  .field__press { grid-area: press; }
}
.field__film { margin: 0; display: grid; gap: 10px; width: 100%; max-width: 380px; }
.field__screen { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
@media (min-width: 900px) { .field__screen { aspect-ratio: 9 / 16; } }
.field__screen picture, .field__screen img, .field__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.field__video { opacity: 0; transition: opacity .8s var(--ease); }
.field__video.is-playing { opacity: 1; }
.field__toggle {
  position: absolute; z-index: 3; right: 12px; bottom: 12px;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(26, 26, 26, 0.72); color: var(--kg-bone);
}
.field__toggle svg { width: 18px; height: 18px; }
.field__toggle[hidden] { display: none; }
.field__press { display: grid; gap: 18px; }
.press { display: grid; }
.press__item { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid var(--kg-line-dark); }
.press__item:first-child { border-top: 2px solid var(--kg-bone); }
.press__outlet { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 1rem; font-weight: 700; font-stretch: var(--stretch-ui); }
.press__outlet time { font-weight: 400; color: var(--kg-on-dark-muted); }
.press__title { font-size: var(--text-h3-lg); font-weight: 800; font-stretch: var(--stretch-display); line-height: 1.12; max-width: 30ch; }
.press__title cite { font-style: normal; }
.press__title cite::before { content: "\201C"; }
.press__title cite::after { content: "\201D"; }
.press__item--lead .press__title { font-size: var(--text-feature); line-height: 1.02; letter-spacing: -0.01em; max-width: 22ch; }

/* ---------- Herd sum ---------- */
.calc { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); background: var(--kg-sand); }
.calc__input { display: grid; gap: 10px; }
.calc__input label { font-weight: 700; font-stretch: var(--stretch-ui); font-size: 1.0625rem; }
.calc__count { max-width: 9rem; font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc__count[readonly] { background: transparent; border-color: transparent; padding-left: 0; min-height: 0; }
.calc__range { width: 100%; height: 36px; margin: 0; accent-color: var(--kg-green-900); cursor: pointer; }
.calc__range[hidden] { display: none; }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; padding-top: 16px; border-top: 2px solid var(--kg-charcoal); }
.calc__out > div { display: grid; gap: 6px; align-content: start; }
.calc__out dt { font-size: 1rem; font-weight: 600; font-stretch: var(--stretch-ui); color: var(--kg-muted); }
.calc__out dd { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 800; font-stretch: var(--stretch-display); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Forms ---------- */
.form-block { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .form-block { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; } }
.form { display: grid; gap: 22px; max-width: 40rem; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; font-stretch: var(--stretch-ui); font-size: 1.0625rem; }
.field .hint { font-size: var(--text-sm); color: var(--kg-muted); margin-top: -4px; }
.field .optional { font-weight: 400; color: var(--kg-muted); }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 12px 14px;
  background: var(--kg-white); color: var(--kg-charcoal);
  border: 2px solid var(--kg-field); border-radius: var(--radius);
  font-size: 1.125rem; line-height: 1.3;
}
.textarea { min-height: 128px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231A1A1A' stroke-width='2.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--kg-green-900); outline-offset: 1px; border-color: var(--kg-green-900); }
.choices { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 4px; }
.choices__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 600px) { .choices__opts { grid-template-columns: repeat(4, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 10px;
  border: 2px solid var(--kg-field); border-radius: var(--radius); background: var(--kg-white);
  font-weight: 600; font-stretch: var(--stretch-ui); text-align: center;
}
.choice input:checked + span { background: var(--kg-green-900); border-color: var(--kg-green-900); color: var(--kg-bone); }
.choice input:focus-visible + span { outline: 3px solid var(--kg-green-900); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 1rem; }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--kg-green-900); }
.field--error .input, .field--error .select, .field--error .textarea, .field--error .choice span { border-color: var(--kg-error); }
.error-text { color: var(--kg-error); font-weight: 600; font-size: 1rem; display: flex; gap: 8px; align-items: flex-start; }
.error-text:empty { display: none; }
.error-text::before { content: "!"; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--kg-error); color: var(--kg-white); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 18px 20px; border-radius: var(--radius); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status--ok { background: var(--kg-green-900); color: var(--kg-bone); }
.form-status--error { background: var(--kg-white); color: var(--kg-error); border: 2px solid var(--kg-error); }
.form-success { display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); background: var(--kg-green-900); color: var(--kg-bone); }
.form-success a { color: var(--kg-bone); }
.form-aside { display: grid; gap: 18px; align-content: start; }
.turnstile-slot:empty { display: none; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--kg-charcoal); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--kg-line); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 16px; align-items: center;
  padding: 20px 0; min-height: 64px;
  font-size: var(--text-h3); font-weight: 700; font-stretch: var(--stretch-heading); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 28px; height: 28px; justify-self: end;
  background:
    linear-gradient(var(--kg-charcoal), var(--kg-charcoal)) center / 16px 2.5px no-repeat,
    linear-gradient(var(--kg-charcoal), var(--kg-charcoal)) center / 2.5px 16px no-repeat;
  border: 2px solid var(--kg-charcoal); border-radius: 50%; transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--kg-green-900); }
.faq .answer { padding: 0 0 26px; display: grid; gap: 12px; }
@media (min-width: 700px) { .faq-block .section-head { grid-template-columns: 1fr auto; align-items: end; max-width: 52rem; } }

/* ---------- Page intro / prose ---------- */
.page-intro { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4vw, 56px); display: grid; gap: 18px; }
.page-intro + .section { padding-top: 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--text-sm); color: var(--kg-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--kg-line); }
.breadcrumbs a { color: var(--kg-muted); }
.split { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .split { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; } }
.split__media { aspect-ratio: 4 / 5; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--text-h2-doc); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.legal-meta { font-size: var(--text-sm); color: var(--kg-muted); }

/* ---------- Legal pages: a list of sections beside the text ---------- */
.legal { display: grid; gap: var(--space-4); }
.legal .prose { min-width: 0; }
.legal .prose > :first-child { margin-top: 0; }
.toc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; cursor: pointer; list-style: none;
  border-block: 2px solid var(--kg-charcoal); color: var(--kg-charcoal);
  font-size: var(--text-label); font-weight: 700; font-stretch: var(--stretch-ui); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border: 2px solid var(--kg-charcoal); border-radius: 50%; transition: transform .25s var(--ease);
  background:
    linear-gradient(var(--kg-charcoal), var(--kg-charcoal)) center / 12px 2px no-repeat,
    linear-gradient(var(--kg-charcoal), var(--kg-charcoal)) center / 2px 12px no-repeat;
}
.toc[open] summary::after { transform: rotate(45deg); }
.toc[open] summary { border-bottom-width: 0; }
.toc ol { display: grid; border-top: 1px solid var(--kg-line); }
/* Beside the text, the list is simply there: a label, not a button. */
.toc.is-fixed summary { min-height: 0; padding-bottom: 12px; border-top: 0; border-bottom: 2px solid var(--kg-charcoal); color: var(--kg-muted); cursor: default; pointer-events: none; }
.toc.is-fixed summary::after { display: none; }
.toc.is-fixed ol { border-top: 0; }
.toc a {
  display: grid; grid-template-columns: 1.9em minmax(0, 1fr); align-items: baseline; min-height: 44px; padding: 11px 0;
  border-bottom: 1px solid var(--kg-line); color: var(--kg-charcoal); text-decoration: none;
  font-size: 1rem; font-weight: 600; font-stretch: var(--stretch-ui); line-height: 1.3;
}
.toc a span { color: var(--kg-muted); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--kg-green-900); text-decoration: underline; text-decoration-thickness: 2px; }
@media (min-width: 600px) and (max-width: 999px) { .toc ol { grid-template-columns: 1fr 1fr; column-gap: var(--space-4); } }
@media (min-width: 1000px) {
  .legal { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100svh - var(--header-h) - 48px); overflow-y: auto; }
}
.keypoints { padding: clamp(20px, 3vw, 32px); background: var(--kg-sand); border-left: 4px solid var(--kg-green-900); }
.prose .keypoints h2 { margin-top: 0; font-size: var(--text-h3-lg); }
.table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--kg-charcoal); font-size: 1rem; line-height: 1.4; }
.table th, .table td { padding: 12px 20px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--kg-line); }
.table thead th { color: var(--kg-muted); font-size: var(--text-sm); font-weight: 700; font-stretch: var(--stretch-ui); }
.table tbody th { font-weight: 700; white-space: nowrap; }
/* On a phone each row becomes its own small list, so nothing scrolls sideways. */
@media (max-width: 699px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table th, .table td { display: block; }
  .table tr { padding: 14px 0; border-bottom: 1px solid var(--kg-line); }
  .table th, .table td { padding: 3px 0; border: 0; }
  .table td { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; }
  .table td::before { content: attr(data-label); color: var(--kg-muted); font-weight: 700; font-stretch: var(--stretch-ui); }
}
code { font-family: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace; font-size: 0.9375em; }

/* ---------- Spacing helpers ---------- */
.mt-2 { margin-top: var(--space-2); }
.mt-5 { margin-top: var(--space-5); }
.spec-list { display: grid; border-top: 2px solid var(--kg-charcoal); max-width: 40rem; }
.spec-list > div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--kg-line); }
.spec-list dt { font-weight: 700; font-stretch: var(--stretch-ui); }
.contact-list { display: grid; gap: 0; border-top: 2px solid var(--kg-charcoal); max-width: 40rem; }
.contact-list > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--kg-line); }
@media (min-width: 600px) { .contact-list > div { grid-template-columns: 10rem 1fr; } }
.contact-list dt { font-weight: 700; font-stretch: var(--stretch-ui); }
.contact-list a { font-size: 1.25rem; font-weight: 600; }
.who-list { display: grid; gap: 0; border-top: 2px solid var(--kg-charcoal); }
@media (min-width: 720px) { .who-list { grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 64px); } }
.who-list li { padding: 18px 0; border-bottom: 1px solid var(--kg-line); display: grid; gap: 4px; }
.who-list strong { font-size: var(--text-h3); font-stretch: var(--stretch-heading); line-height: 1.15; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--kg-charcoal); color: var(--kg-on-dark); padding-block: clamp(56px, 7vw, 96px) 32px; }
.site-footer a { color: var(--kg-on-dark); }
.site-footer .muted { color: var(--kg-on-dark-muted); }
.site-footer a.btn { text-decoration: none; }
.site-footer a.btn--gold { color: var(--kg-charcoal); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand .lockup { color: var(--kg-on-dark); }
.footer__brand .lockup img { height: 44px; }
.footer__tagline { font-size: var(--text-h3); font-weight: 800; font-stretch: var(--stretch-heading); }
.footer__brand .lockup__maker { color: var(--kg-on-dark-muted); border-left-color: var(--kg-line-dark); }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; font-size: 1rem; }
.footer__cols a { overflow-wrap: anywhere; }
@media (min-width: 720px) { .footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); } }
.footer__cols h2 { font-size: var(--text-label); font-stretch: var(--stretch-ui); font-weight: 700; color: var(--kg-on-dark-muted); margin-bottom: 8px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; }
.footer__cols ul { display: grid; gap: 0; }
.footer__cols a { text-decoration: none; display: inline-block; padding: 10px 0; }
.footer__cols a:hover { text-decoration: underline; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--kg-line-dark); display: grid; gap: 10px; font-size: var(--text-sm); color: var(--kg-on-dark-muted); }
@media (min-width: 900px) { .footer__bottom { grid-template-columns: 1fr auto; } }
.footer__bottom p { max-width: none; }

/* ---------- Floating WhatsApp (mobile only) ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--kg-green-900); color: var(--kg-bone);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float.is-hidden { transform: translateY(90px); opacity: 0; pointer-events: none; }
@media (min-width: 900px) { .wa-float { display: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70svh; display: grid; align-content: center; gap: 20px; }

/* ---------- Placeholders and review markers (preview mode only) ---------- */
.ph {
  width: 100%; height: 100%; min-height: 200px; display: grid; place-items: center; text-align: center;
  padding: 24px; background: repeating-linear-gradient(135deg, var(--kg-sand) 0 14px, #E2DCCE 14px 28px);
  color: var(--kg-charcoal); font-weight: 700; font-stretch: var(--stretch-ui); border: 2px dashed var(--kg-gold);
}
.ph small { display: block; font-weight: 400; margin-top: 6px; }
[data-unconfirmed] { outline: 2px dashed var(--kg-gold); outline-offset: 4px; position: relative; }
[data-unconfirmed]::after {
  content: "CONFIRM: " attr(data-unconfirmed); position: absolute; top: -12px; left: 8px; z-index: 5;
  font: 700 11px/1 var(--font); letter-spacing: .02em; background: var(--kg-gold); color: var(--kg-charcoal);
  padding: 4px 6px; border-radius: 2px; white-space: nowrap; pointer-events: none;
}
.confirm-flag { display: inline-block; font: 700 12px/1.2 var(--font); background: var(--kg-gold); color: var(--kg-charcoal); padding: 3px 6px; border-radius: 2px; vertical-align: middle; }
.preview-banner { background: var(--kg-gold); color: var(--kg-charcoal); font-size: var(--text-sm); font-weight: 600; padding: 8px var(--gutter); text-align: center; }
.preview-banner a { color: var(--kg-charcoal); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
