/* ==========================================================
   LAND — land.mauroesposito19.com
   Two voices: an editorial one (overview, paper, method)
   and the LAND identity (the game page).
   ========================================================== */

:root {
  /* editorial */
  --ink: #1d2118;          /* olive-black: text */
  --muted: #5b6255;        /* secondary text */
  --rule: #d7dbd0;         /* hairlines */
  --paper: #ffffff;
  --tint: #eef2e9;         /* quiet panels */
  --wall: #b8322a;         /* the wall strip in the data */
  --field: #4f8a3a;        /* the surrounding land */

  /* LAND identity */
  --land-ivory: #efe9dc;
  --land-black: #000000;
  --land-red: #d8342c;
  --land-green: #0b8f3a;

  --serif: "Newsreader", "Lora", Georgia, "Times New Roman", serif;
  --sans: "Saira", "Liberation Sans", Arial, sans-serif;
  --condensed: "Saira Condensed", "Saira", "Liberation Sans Narrow", Arial, sans-serif;

  --col: 680px;
  --wide: 1080px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--wall); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--land-green); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; font-family: var(--sans); z-index: 20; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
.site-header__inner {
  max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 28px; min-height: 64px;
}
.wordmark {
  font-family: var(--condensed); font-weight: 800; font-size: 1.7rem; line-height: 1;
  color: var(--land-green); text-decoration: none; letter-spacing: 0.01em;
}
.wordmark small {
  display: block; font-family: var(--sans); font-weight: 500; font-size: 0.72rem;
  color: var(--muted); letter-spacing: 0; margin-top: 2px;
}
.site-nav { display: flex; gap: 22px; margin-left: auto; font-family: var(--sans); font-size: 0.95rem; }
.site-nav a { text-decoration: none; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.lang { font-family: var(--sans); font-size: 0.9rem; display: flex; gap: 6px; color: var(--muted); }
.lang a { text-decoration: none; color: var(--muted); }
.lang [aria-current="true"] { color: var(--ink); font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; font-family: var(--sans); background: none; border: 1px solid var(--rule); padding: 6px 12px; color: var(--ink); cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--paper);
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; border-bottom: 1px solid var(--rule); margin: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--rule); font-weight: 600; }
  .lang { margin-left: 0; }
}

/* ---------- shared layout ---------- */
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--col); }
.sans { font-family: var(--sans); }

/* ---------- home ---------- */
.home-hero { padding: clamp(40px, 8vw, 88px) 0 28px; }
.home-hero h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 5.6vw, 4.4rem);
  line-height: 1.04; letter-spacing: -0.015em; margin: 0 0 22px; max-width: 16ch;
}
.home-hero p { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; max-width: 36em; margin: 0; }
.byline { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); margin-top: 20px; }
.byline a { color: var(--ink); }

.evidence { padding: 28px 0 56px; border-bottom: 1px solid var(--rule); }
.evidence h2, .section-title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; margin: 0 0 10px;
}
.evidence > .wrap > p { max-width: var(--col); margin: 0 0 24px; }

.routes { padding: 16px 0 24px; }
.route {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--rule);
}
.route h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; margin: 0 0 12px; }
.route p { margin: 0 0 18px; }
.route--land {
  background: var(--land-ivory); border-bottom: 0; margin: 24px calc(var(--gutter) * -1);
  padding: 40px var(--gutter);
}
.route--land h2 { font-family: var(--condensed); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 0.95; letter-spacing: 0.005em; }
.route--land img { max-height: 380px; width: auto; margin-left: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.18)); }
@media (max-width: 760px) {
  .route { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .route--land img { margin: 0 auto; max-height: 280px; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  padding: 11px 18px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
}
.btn:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--tint); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- NDVI chart ---------- */
.chart-legend { display: flex; flex-wrap: wrap; gap: 20px; font-family: var(--sans); font-size: 0.92rem; margin: 0 0 14px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 22px; height: 3px; display: inline-block; }
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .chart-grid { grid-template-columns: 1fr; } }
.ndvi-panel h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin: 0 0 4px; }
.ndvi-chart { position: relative; }
.ndvi-chart svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.ndvi-chart svg:focus-visible { outline: 3px solid var(--land-green); outline-offset: 4px; }
.ndvi-tip {
  position: absolute; pointer-events: none; background: #fff; border: 1px solid var(--ink);
  font-family: var(--sans); font-size: 0.82rem; line-height: 1.35; padding: 7px 10px; white-space: nowrap;
  transform: translate(-50%, -100%); top: 0; left: 0; opacity: 0;
}
.ndvi-tip.is-visible { opacity: 1; }
.ndvi-tip b { font-weight: 700; }
.chart-note { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); margin-top: 16px; max-width: var(--col); }
details.data-table { font-family: var(--sans); font-size: 0.88rem; margin-top: 14px; }
details.data-table summary { cursor: pointer; color: var(--ink); }
.data-table table { border-collapse: collapse; margin-top: 10px; width: 100%; max-width: 560px; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: right; padding: 3px 10px; border-bottom: 1px solid var(--rule); }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.table-scroll { overflow-x: auto; max-height: 360px; overflow-y: auto; }

/* ---------- article (paper, method) ---------- */
.article-head { padding: clamp(36px, 7vw, 72px) 0 28px; }
.article-head h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08;
  letter-spacing: -0.012em; margin: 0 0 20px; max-width: 22ch;
}
.standfirst { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: var(--ink); margin: 0; max-width: 34em; }
.article-hero { margin: 8px 0 0; }
.article-hero img { width: 100%; }

.article-layout {
  display: grid; grid-template-columns: 190px minmax(0, var(--col)); gap: 0 56px;
  max-width: var(--wide); margin: 0 auto; padding: 32px var(--gutter) 80px;
}
.rail { font-family: var(--sans); font-size: 0.92rem; }
.rail__inner { position: sticky; top: 96px; display: grid; gap: 22px; }
.rail h2 { font-size: 0.92rem; font-weight: 600; margin: 0 0 8px; }
.rail ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rail a, .rail button { color: var(--ink); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .2em; text-align: left; }
.rail a:hover, .rail button:hover { text-decoration-color: var(--ink); }
.author { color: var(--muted); line-height: 1.45; }
.author strong { color: var(--ink); display: block; font-weight: 600; }

.prose > * { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.25; margin: 2em 0 .6em; }
.prose h3 { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; margin: 1.6em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.15em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 2.2em 0; }
.prose figure.wide { margin-right: calc(-1 * min(246px, max(0px, (100vw - var(--col) - 2 * var(--gutter)) / 2 - 190px))); }
figcaption { font-family: var(--sans); font-size: 0.86rem; line-height: 1.45; color: var(--muted); margin-top: 10px; max-width: var(--col); }
figcaption .credit { font-style: italic; }
.todo { background: #fff3c4; color: #5a4300; padding: 0 4px; font-style: normal; }

.callout { background: var(--tint); padding: 22px 24px; margin: 2em 0; font-size: 1.05rem; }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.method-note { border-top: 2px solid var(--ink); margin-top: 3em; padding-top: 18px; font-family: var(--sans); font-size: 0.92rem; line-height: 1.55; color: var(--muted); }
.method-note strong { color: var(--ink); }

.results-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.95rem; margin: 1em 0 1.6em; font-variant-numeric: tabular-nums; }
.results-table th, .results-table td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: right; vertical-align: top; }
.results-table th:first-child, .results-table td:first-child { text-align: left; }
.results-table thead th { border-bottom: 2px solid var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .rail__inner { position: static; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); padding-bottom: 20px; border-bottom: 1px solid var(--rule); margin-bottom: 28px; }
  .prose figure.wide { margin-right: 0; }
}

/* ---------- map embed ---------- */
.map-embed { position: relative; border: 1px solid var(--rule); background: var(--tint); }
.map-embed iframe { display: block; width: 100%; height: min(78vh, 680px); border: 0; }
.map-actions { font-family: var(--sans); font-size: 0.9rem; margin-top: 10px; display: flex; gap: 18px; flex-wrap: wrap; }
[data-gee-section][hidden] { display: none; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 0.9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 36px; }
.site-footer a { color: var(--ink); }

/* ==========================================================
   LAND identity (land.html)
   ========================================================== */
body.land-page { background: var(--land-ivory); color: var(--land-black); font-family: var(--sans); font-size: 1.1rem; line-height: 1.55; }
.land-page .site-header { background: var(--land-ivory); border-bottom-color: rgba(0,0,0,.14); }
.land-page .site-nav.is-open { background: var(--land-ivory); }
.land-page a { text-decoration-color: var(--land-red); }

.land-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(32px, 6vw, 72px) 0 40px; }
.land-hero h1 { font-family: var(--condensed); font-weight: 800; font-size: clamp(4.5rem, 14vw, 10rem); line-height: .82; margin: 0 0 18px; color: var(--land-black); }
.land-hero .lede { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.35; font-weight: 500; margin: 0 0 18px; max-width: 24em; }
.land-hero .question { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; border-left: 4px solid var(--land-red); padding-left: 16px; margin: 26px 0 0; max-width: 24em; }
.land-hero img { width: 100%; max-width: 560px; margin-left: auto; filter: drop-shadow(0 22px 30px rgba(0,0,0,.2)); }
@media (max-width: 820px) { .land-hero { grid-template-columns: 1fr; } .land-hero img { margin: 0 auto; max-width: 420px; } }

.land-section { padding: 48px 0; border-top: 2px solid var(--land-black); }
.land-section h2 { font-family: var(--condensed); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1; margin: 0 0 10px; }
.land-section > .wrap > p { max-width: 40em; }

/* slideshow */
.deck { margin-top: 24px; }
.deck__stage {
  position: relative; background: #fff; aspect-ratio: 16 / 9; width: 100%;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 20px 40px -24px rgba(0,0,0,.35);
  display: grid; place-items: center; overflow: hidden; touch-action: pan-y; cursor: grab;
}
.deck__stage canvas { display: block; max-width: 100%; max-height: 100%; }
.deck__status { position: absolute; inset: 0; display: grid; place-items: center; font-size: .95rem; color: #555; padding: 20px; text-align: center; }
.deck__bar { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.deck__btn {
  font-family: var(--sans); font-weight: 600; font-size: .95rem; background: var(--land-black); color: #fff; border: 0;
  padding: 10px 16px; cursor: pointer; min-width: 44px; min-height: 44px;
}
.deck__btn:disabled { opacity: .35; cursor: default; }
.deck__btn--light { background: transparent; color: var(--land-black); border: 1.5px solid var(--land-black); }
.deck__count { font-variant-numeric: tabular-nums; min-width: 5.5em; text-align: center; font-weight: 600; }
.deck__progress { height: 3px; background: rgba(0,0,0,.12); margin-top: 12px; }
.deck__progress span { display: block; height: 100%; width: 0; background: var(--land-red); transition: width .2s ease; }
.deck__spacer { flex: 1; }
.deck:fullscreen { background: #111; padding: 2vh 2vw; display: flex; flex-direction: column; justify-content: center; }
.deck:fullscreen .deck__stage { aspect-ratio: auto; flex: 1; background: #111; box-shadow: none; }
.deck:fullscreen .deck__bar { color: #fff; }
.deck:fullscreen .deck__btn--light { color: #fff; border-color: #fff; }

/* printables */
.printables { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0; border-top: 1px solid rgba(0,0,0,.2); }
.printables li { padding: 20px 20px 22px 0; border-bottom: 1px solid rgba(0,0,0,.2); display: flex; flex-direction: column; gap: 8px; }
.printables h3 { font-family: var(--condensed); font-weight: 700; font-size: 1.45rem; line-height: 1.05; margin: 0; }
.printables p { margin: 0; font-size: .98rem; flex: 1; }
.printables a { align-self: flex-start; font-weight: 600; color: var(--land-black); }
.printables .is-missing a { color: #777; text-decoration: none; pointer-events: none; }
.note-simulated { font-size: .9rem; color: #444; margin-top: 16px; max-width: 44em; }

.soon { background: var(--land-black); color: var(--land-ivory); padding: 36px clamp(20px, 4vw, 40px); margin-top: 8px; }
.soon h2 { color: var(--land-ivory); }
.soon p { margin: 0; max-width: 38em; }

/* ---------- motion & print ---------- */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

@media print {
  @page { size: A4; margin: 18mm 18mm 20mm; }
  body { font-size: 10.5pt; line-height: 1.5; }
  .site-header, .site-footer, .rail, .skip, .no-print, details.data-table, .ndvi-tip { display: none !important; }
  .article-layout { display: block; padding: 0; }
  .article-head { padding: 0 0 10pt; }
  .article-head h1 { font-size: 22pt; max-width: none; }
  .standfirst { font-size: 13pt; }
  .print-meta { display: block !important; font-family: var(--sans); font-size: 9pt; color: #555; margin: 8pt 0 14pt; }
  .prose figure { break-inside: avoid; margin: 14pt 0; }
  .prose figure.wide { margin-right: 0; }
  .chart-grid { grid-template-columns: 1fr 1fr; gap: 12pt; }
  a { text-decoration: none; }
  .prose a { color: inherit; text-decoration: underline; text-decoration-color: #999; }
  .article-hero img { max-height: 70mm; object-fit: cover; }
  .article-hero { margin-bottom: 14pt; }
  .todo { background: none; color: #555; }
  .wrap { padding: 0; max-width: none; }
}
.print-meta { display: none; }
.prose .ndvi-panel h3 { margin: 0 0 4px; }
.prose .chart-legend { margin-top: 0; }
.route.route--land { padding: 40px var(--gutter); }
.results-table-wrap { overflow-x: auto; }

/* Online game invitation */
.soon .deck__btn { display: inline-block; margin-top: 18px; border: 1px solid var(--land-ivory); text-decoration: none; }

.site-nav a[hidden] { display: none !important; }

/* ==========================================================
   LAND page, dark version: black, cover engraving, grid
   ========================================================== */
body.land-dark {
  background-color: #000;
  color: #fff;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
}
.land-dark a { color: #fff; text-decoration-color: var(--land-red); }
.land-dark .wordmark { color: var(--land-green); }
.land-dark .site-header { background: #000; border-bottom-color: rgba(255,255,255,.18); }
.land-dark .site-nav a { color: rgba(255,255,255,.66); }
.land-dark .site-nav a:hover { color: #fff; }
.land-dark .site-nav a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }
.land-dark .lang, .land-dark .lang a { color: rgba(255,255,255,.66); }
.land-dark .lang [aria-current="true"] { color: #fff; }
.land-dark .wordmark small { color: rgba(255,255,255,.6); }
.land-dark .nav-toggle { color: #fff; border-color: rgba(255,255,255,.4); }
.land-dark .site-nav.is-open { background: #000; }
@media (max-width: 760px) { .land-dark .site-nav a { border-bottom-color: rgba(255,255,255,.15); } }
.land-dark .site-footer { border-top-color: rgba(255,255,255,.18); color: rgba(255,255,255,.6); background: #000; }
.land-dark :focus-visible { outline-color: #fff; }

.lx-hero { padding: clamp(40px, 7vw, 84px) 0 28px; }
.lx-kicker { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; color: rgba(255,255,255,.75); margin: 0 0 6px; }
.lx-hero h1 { font-family: var(--condensed); font-weight: 800; font-size: clamp(5rem, 15vw, 11rem); line-height: .8; margin: 0 0 24px; }
.lx-lede { font-family: var(--sans); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.4; max-width: 32em; margin: 0 0 10px; }
.lx-sub { font-family: var(--sans); font-size: 1.05rem; line-height: 1.55; color: rgba(255,255,255,.78); max-width: 36em; margin: 0; }
.lx-small { font-family: var(--sans); font-size: .9rem; color: rgba(255,255,255,.6); margin: 10px 0 0; }

.lx-deck { padding: 8px 0 64px; font-family: var(--sans); }
.land-dark .deck__stage { background: #fff; box-shadow: none; outline: 1px solid rgba(255,255,255,.25); }
.land-dark .deck__btn { background: #fff; color: #000; }
.land-dark .deck__btn--light { background: transparent; color: #fff; border-color: #fff; }
.land-dark .deck__progress { background: rgba(255,255,255,.2); }
.land-dark .deck__status { color: #333; }

/* demo: the one bold moment of the page */
.lx-demo { background: #b8322a; color: #fff; font-family: var(--sans); }
.lx-demo__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: 64px; padding-bottom: 64px; }
.lx-demo__kicker { font-weight: 600; font-size: .95rem; margin: 0 0 12px; color: rgba(255,255,255,.85); }
.lx-demo h2 { font-family: var(--condensed); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .95; margin: 0 0 18px; }
.lx-demo p { font-size: 1.08rem; line-height: 1.55; max-width: 34em; margin: 0 0 14px; }
.lx-demo .lx-actions { margin: 26px 0 0; padding: 0; }
.lx-demo__note { font-size: .95rem !important; color: rgba(255,255,255,.9); margin-top: 18px !important; }
.lx-demo__note a { color: #fff; text-decoration-color: #fff; font-weight: 600; }
.lx-demo__field { display: block; justify-self: center; width: 100%; max-width: 380px; }
.lx-field { display: block; width: 100%; height: auto; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.lx-field__wall { stroke-dasharray: 100; stroke-dashoffset: 100; animation: lx-wall 7s ease-in-out infinite; }
.lx-field__beyond { opacity: 0; animation: lx-beyond 7s ease-in-out infinite; }
@keyframes lx-wall { 0%, 18% { stroke-dashoffset: 100; opacity: 1; } 38%, 86% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes lx-beyond { 0%, 36% { opacity: 0; } 50%, 86% { opacity: .55; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .lx-field__wall { animation: none; stroke-dashoffset: 0; }
  .lx-field__beyond { animation: none; opacity: .55; }
}

.lx-rows { padding: 24px 0 64px; font-family: var(--sans); }
.lx-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 230px; gap: 28px 40px; align-items: start; padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.lx-row h2 { font-family: var(--condensed); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; margin: 0; }
.lx-row p { margin: 0; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 40em; }
.lx-row__action { align-self: center; justify-self: end; }
.lx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; background: #fff; color: #000 !important;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid #fff; white-space: nowrap; }
.lx-btn:hover { background: var(--land-ivory); }
.lx-btn--big { font-size: 1.15rem; padding: 14px 30px; min-height: 56px; }
.lx-btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.lx-mail { margin: 30px 0 0; }
.lx-note { font-size: .88rem; color: rgba(255,255,255,.6); margin: 12px 0 0; }
@media (max-width: 900px) {
  .lx-demo__inner { grid-template-columns: 1fr; }
  .lx-demo__field { max-width: 300px; justify-self: start; }
  .lx-row { grid-template-columns: 1fr; gap: 14px; }
  .lx-row__action { align-self: start; justify-self: start; }
}
