/* abso.farm — straw paper, soil ink and the sprout green; wheat for the second
   colour. The group's type (Unbounded, Onest; Be Vietnam Pro for Vietnamese) and
   the group's pin. No external resources. */

@font-face { font-family: 'Unbounded'; font-weight: 700; font-display: swap; src: url('fonts/unbounded-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 700; font-display: swap; src: url('fonts/unbounded-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: 'Unbounded'; font-weight: 700; font-display: swap; src: url('fonts/unbounded-vietnamese-700-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Unbounded'; font-weight: 800; font-display: swap; src: url('fonts/unbounded-cyrillic-800-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 800; font-display: swap; src: url('fonts/unbounded-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: 'Unbounded'; font-weight: 800; font-display: swap; src: url('fonts/unbounded-vietnamese-800-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Onest'; font-weight: 400; font-display: swap; src: url('fonts/onest-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 400; font-display: swap; src: url('fonts/onest-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: 'Onest'; font-weight: 500; font-display: swap; src: url('fonts/onest-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 500; font-display: swap; src: url('fonts/onest-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: 'Onest'; font-weight: 600; font-display: swap; src: url('fonts/onest-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 600; font-display: swap; src: url('fonts/onest-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 400; font-display: swap; src: url('fonts/be-vietnam-pro-vietnamese-400-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 400; font-display: swap; src: url('fonts/be-vietnam-pro-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 500; font-display: swap; src: url('fonts/be-vietnam-pro-vietnamese-500-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 500; font-display: swap; src: url('fonts/be-vietnam-pro-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 600; font-display: swap; src: url('fonts/be-vietnam-pro-vietnamese-600-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 600; font-display: swap; src: url('fonts/be-vietnam-pro-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199; }

:root {
  color-scheme: light;
  --paper: #F3F1E7;
  --paper-2: #E8E5D4;
  --card: #FBFAF4;
  --field: #FFFFFF;
  --ink: #171A12;
  --ink-2: #44483B;
  --muted: #73776A;
  --line: rgba(23, 26, 18, 0.11);
  --line-strong: rgba(23, 26, 18, 0.24);
  --chip: rgba(23, 26, 18, 0.06);
  --accent: #3DBA6B;
  --accent-hover: #52C97E;
  --accent-ink: #0E180F;
  --accent-text: #1C7A43;
  --wheat: #E9B949;
  --wheat-text: #8A6510;
  --sky: #D9ECF3;
  --good: #2E8B57;
  --mid: #C98A16;
  --bad: #B4462F;
  --dark: #13190F;
  --on-dark: #EEF1E6;
  --on-dark-2: #A9B39F;
  --pin: #171A12;
  --pin-sign: #3DBA6B;
  --radius: 20px;
  --shadow: 0 18px 50px -22px rgba(30, 40, 20, 0.35);
  --text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Unbounded', 'Onest', sans-serif;
}
html[lang='vi'] { --text: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.5rem, 3.3vw, 2.5rem); }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.28; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.narrow { max-width: 860px; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9em; }
.lead { font-size: clamp(1.04rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 46em; }
.muted { color: var(--muted); }
.note { font-size: 0.86rem; color: var(--muted); max-width: 62em; }
.mark { background: var(--accent); color: var(--accent-ink); padding: 0 0.16em; border-radius: 0.14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.arr { display: inline-block; transition: transform 0.2s; }
a:hover .arr, button:hover .arr { transform: translateX(3px); }
.gl { width: 1.15em; height: 1.15em; flex: none; }
.fill { background: #ffe08a; color: #3a2a00; padding: 0 4px; border-radius: 4px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--chip); color: var(--ink-2); white-space: nowrap; }
.tag-accent { background: var(--accent); color: var(--accent-ink); }

/* ------------------------------------------------------------ header */

.top { position: sticky; top: 0; z-index: 50; background: rgba(243, 241, 231, 0.84); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; height: 68px; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.brand { text-decoration: none; display: inline-flex; color: var(--ink); }
.wordmark { display: inline-flex; align-items: flex-end; font: 800 1.42rem/1 'Unbounded', sans-serif; letter-spacing: -0.04em; transform: skewX(-10deg); white-space: nowrap; }
.wm-pin { width: 0.72em; height: 1em; margin: 0 0.01em -0.08em; }
.wm-tail { position: relative; display: inline-grid; }
.wm-tail > span { grid-area: 1 / 1; }
.wm-b { opacity: 0; transform: translateY(0.4em); }
@media (prefers-reduced-motion: no-preference) {
  .top .wm-a { animation: wm-a 12s 3s infinite; }
  .top .wm-b { animation: wm-b 12s 3s infinite; }
}
@keyframes wm-a { 0%, 78% { opacity: 1; transform: none; } 82%, 94% { opacity: 0; transform: translateY(-0.4em); } 100% { opacity: 1; transform: none; } }
@keyframes wm-b { 0%, 78% { opacity: 0; transform: translateY(0.4em); } 82%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(0.4em); } }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { text-decoration: none; padding: 8px 11px; border-radius: 99px; font-weight: 500; font-size: 0.94rem; color: var(--ink-2); white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: var(--chip); color: var(--ink); }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: var(--chip); }
.langs a { text-decoration: none; font-size: 0.78rem; font-weight: 700; padding: 5px 9px; border-radius: 99px; color: var(--ink-2); }
.langs a[aria-current] { background: var(--ink); color: var(--paper); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--chip); border-radius: 50%; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform 0.2s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.drawer { border-top: 1px solid var(--line); padding: 12px clamp(16px, 4vw, 40px) 22px; background: var(--paper); }
.drawer nav { display: grid; gap: 2px; }
.drawer nav a { text-decoration: none; font: 700 1.2rem/1.2 var(--display); padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer-langs { display: flex; gap: 8px; margin: 16px 0 0; }
.drawer-langs a { text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 99px; background: var(--chip); }
.drawer-langs a[aria-current] { background: var(--ink); color: var(--paper); }
@media (max-width: 1120px) { .nav { display: none; } .burger { display: inline-block; } }
@media (max-width: 520px) { .top-act .btn-sm, .top-act .langs { display: none; } .wordmark { font-size: 1.24rem; } }
.offline-bar { background: var(--ink); color: var(--paper); text-align: center; font-size: 0.86rem; padding: 6px 12px; }

/* ------------------------------------------------------------ buttons, chips, forms */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 99px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s; white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 0.92rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
@media (max-width: 520px) { .cta-row .btn-lg { width: 100%; white-space: normal; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip > span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 15px; border-radius: 99px; border: 1.5px solid var(--line-strong); font-weight: 500; font-size: 0.94rem; transition: background 0.15s, border-color 0.15s; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip:hover > span { border-color: var(--ink); }
.req-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .req-grid { grid-template-columns: 1fr; } }
.lead-form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 36px); border-radius: calc(var(--radius) + 4px); background: var(--card); border: 1px solid var(--line); }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs legend, .fld > span { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.fld { display: block; }
.fld input, .fld textarea, .fld select { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--field); outline: none; transition: border-color 0.2s; }
.fld textarea { resize: vertical; min-height: 96px; }
.fld input:focus, .fld textarea:focus, .fld select:focus { border-color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .row2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { color: var(--bad); font-weight: 600; margin: 0; }
.form-ok { padding: 22px; border-radius: 18px; background: #DFF0DF; }
.form-ok .num-big { font: 800 1.6rem/1.2 var(--display); display: block; margin: 6px 0 10px; }
.attach { font-size: 0.9rem; padding: 10px 14px; border-radius: 12px; background: var(--chip); }
.lead-form .btn[type='submit'] { justify-self: start; }
.js .when { display: none; }
.js .when.on { display: block; }
.contact-side h3 { font-size: 1.3rem; }
.contact-side p { color: var(--ink-2); }
.contact-big { display: flex; align-items: center; gap: 12px; font: 700 clamp(1rem, 1.9vw, 1.22rem)/1.3 var(--display); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); word-break: break-all; }
.contact-big .gl { color: var(--accent-text); width: 24px; height: 24px; }

/* ------------------------------------------------------------ sections */

.sec { padding: clamp(56px, 8vw, 100px) 0; }
.sec-head { margin-bottom: clamp(26px, 4vw, 44px); }
.sec-head .lead { margin-bottom: 0; }
.sec-alt { background: var(--paper-2); }
.sec-dark { background: var(--dark); color: var(--on-dark); --ink: var(--on-dark); --ink-2: var(--on-dark-2); --muted: var(--on-dark-2); --line: rgba(255, 255, 255, 0.13); --line-strong: rgba(255, 255, 255, 0.28); --chip: rgba(255, 255, 255, 0.08); --card: rgba(255, 255, 255, 0.05); --accent-text: #7FD99E; }
.sec-dark .btn-ghost { color: var(--on-dark); }
.sec-tight { padding-top: 0; }
.page-head { padding: clamp(44px, 7vw, 92px) 0 clamp(20px, 4vw, 36px); }
.page-head h1 { max-width: 16em; }
.crumbs { font-size: 0.92rem; margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ hero */

.hero { padding: clamp(26px, 5vw, 60px) 0 clamp(36px, 6vw, 76px); background: radial-gradient(1000px 480px at 80% 20%, rgba(61, 186, 107, 0.12), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero-pic { position: relative; }
.hero-pic img { border-radius: var(--radius); background: var(--sky); box-shadow: var(--shadow); }
.pic-note { font-size: 0.78rem; color: var(--muted); margin: 10px 4px 0; }
.hero-facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.hero-facts li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 500; }
.hero-facts .gl { color: var(--accent-text); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ cards */

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid3, .grid2, .grid4 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; }
a.card { transition: transform 0.2s, box-shadow 0.2s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card h3 { margin: 4px 0 0; font-size: 1.18rem; }
.card p { color: var(--ink-2); margin: 0; }
.card .more { margin-top: auto; padding-top: 6px; color: var(--accent-text); font-weight: 600; font-size: 0.95rem; }
.ic { width: 48px; height: 48px; border-radius: 14px; background: var(--chip); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.ic .gl { width: 26px; height: 26px; }
.scale-card { padding: 28px; }
.scale-card h3 { font-size: 1.4rem; }
.scale-card ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 4px; }
.scale-card.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); --ink-2: #C3C7B7; }
.scale-card.dark .ic { background: rgba(255, 255, 255, 0.08); color: var(--accent); }

.num-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.num-list li { padding: 10px 12px; border-radius: 12px; background: var(--chip); font-size: 0.93rem; line-height: 1.45; }
.num-list b { font-family: var(--display); font-weight: 700; }

.trend { gap: 12px; }
.trend .head { display: flex; align-items: center; gap: 12px; }
.trend .head h3 { margin: 0; }
.trend .means { font-size: 0.92rem; color: var(--ink-2); border-top: 1px dashed var(--line-strong); padding-top: 10px; }
.trend .means b { color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st-live { background: rgba(46, 139, 87, 0.12); color: var(--good); }
.st-pilot { background: rgba(201, 138, 22, 0.14); color: var(--wheat-text); }
.st-lab { background: rgba(23, 26, 18, 0.07); color: var(--muted); }
.st-down { background: rgba(180, 70, 47, 0.12); color: var(--bad); }

/* the technology radar */
.filters { display: grid; gap: 10px; margin-bottom: 22px; }
.filters .chips { gap: 6px; }
.filters .chip > span { min-height: 36px; padding: 5px 13px; font-size: 0.88rem; }
.radar-count { font-size: 0.9rem; color: var(--muted); margin: 0 0 16px; }
.tech { position: relative; }
.tech .top-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tech .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tech .price { font-size: 0.9rem; color: var(--ink); }
.tech .price b { font-weight: 600; }
.avail { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.84rem; }
.av { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 10px; background: var(--chip); }
.av b { font-weight: 700; }
.av-yes { color: var(--good); }
.av-hard { color: var(--wheat-text); }
.av-no { color: var(--bad); }
.tech-ph { margin: -24px -24px 6px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--sky); }
.tech-ph img { width: 100%; height: 100%; object-fit: cover; }
.tech details { font-size: 0.92rem; }
.tech details summary { cursor: pointer; color: var(--accent-text); font-weight: 600; }
.tech details p { margin: 8px 0 0; color: var(--ink-2); }

/* photos with credits */
.ph { margin: 0; }
.ph img { width: 100%; border-radius: var(--radius); background: var(--sky); aspect-ratio: 4 / 3; object-fit: cover; }
.ph figcaption { font-size: 0.74rem; color: var(--muted); margin-top: 6px; }
.ph figcaption a { color: var(--muted); }
.cr { display: block; font-size: 0.72rem; line-height: 1.35; color: var(--muted); }
.cr a { color: var(--muted); }
.tech-ph + .cr { margin-top: -8px; }
.model-card .cr { margin-top: 2px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .ph:first-child { grid-column: span 2; grid-row: span 2; }
.gallery .ph:first-child img { aspect-ratio: auto; height: calc(100% - 22px); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .gallery .ph:first-child { grid-column: auto; grid-row: auto; } .gallery .ph:first-child img { aspect-ratio: 4 / 3; height: auto; } }
.model-card { padding: 0; overflow: hidden; }
.model-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sky); }
.model-card .body { padding: 18px 22px 22px; display: grid; gap: 8px; }
.model-card .where { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.model-card .big { font: 800 1.5rem/1.1 var(--display); color: var(--accent-text); }
.lessons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lessons > div { padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.lessons h3 { display: flex; align-items: center; gap: 10px; }
.lessons h3 .gl { color: var(--accent-text); }
.lessons p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 860px) { .lessons { grid-template-columns: 1fr; } }
.videos { display: flex; flex-wrap: wrap; gap: 10px; }

.srcs { margin-top: 12px; font-size: 0.86rem; color: var(--muted); }
.srcs summary { cursor: pointer; font-weight: 600; }
.srcs ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.srcs a { color: var(--muted); }

/* ------------------------------------------------------------ the ideal farm */

.farm { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .farm { grid-template-columns: 1fr; } }
.farm-pic { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sky); box-shadow: var(--shadow); }
.farm-pic .fs { width: 100%; height: auto; }
.fs-night { display: none; }
.is-night .fs-night { display: inline; }
.is-night .fs-scene { filter: url(#farm-dusk); }
.fs .zone { transition: opacity 0.3s; }
.fs.focus .zone { opacity: 0.35; }
.fs.focus .zone.on { opacity: 1; }
.fs .hot { cursor: pointer; }
.fs .hot-c { fill: #fff; stroke: var(--accent); stroke-width: 3; transition: r 0.2s; }
.fs .hot-t { font: 800 14px var(--display); text-anchor: middle; fill: var(--ink); pointer-events: none; }
.fs .hot.on .hot-c { fill: var(--accent); stroke: #fff; }
.fs .hot:hover .hot-c { r: 18; }
.seg { position: absolute; right: 12px; top: 12px; display: flex; padding: 4px; border-radius: 99px; background: rgba(23, 26, 18, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: #EEF1E6; padding: 7px 14px; border-radius: 99px; cursor: pointer; font-weight: 600; font-size: 0.86rem; }
.seg button[aria-pressed='true'] { background: var(--accent); color: var(--accent-ink); }
.zones { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-height: 640px; overflow: auto; }
.zones button { width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.zones button:hover { border-color: var(--line-strong); }
.zones button[aria-pressed='true'] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.zones .n { width: 30px; height: 30px; border-radius: 50%; background: var(--chip); display: grid; place-items: center; font: 800 0.86rem/1 var(--display); }
.zones button[aria-pressed='true'] .n { background: var(--accent); }
.zones b { display: block; font-weight: 600; }
.zones span.t { display: block; font-size: 0.9rem; color: var(--ink-2); margin-top: 2px; }
.zones .x { display: none; font-size: 0.9rem; color: var(--ink-2); margin-top: 6px; }
.zones button[aria-pressed='true'] .x { display: block; }
.principles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.principles li { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.principles h3 { margin: 10px 0 6px; }
.principles p { color: var(--ink-2); margin: 0; font-size: 0.96rem; }
.num { font: 800 0.95rem/1 var(--display); color: var(--accent-text); }
.phases { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: ph; }
.phases li { position: relative; padding: 22px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.phases .when-t { font-size: 0.8rem; font-weight: 700; color: var(--accent-text); text-transform: uppercase; letter-spacing: 0.06em; }
.phases h3 { margin: 8px 0 8px; }
.phases ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 0.94rem; display: grid; gap: 4px; }
@media (max-width: 1000px) { .phases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .phases { grid-template-columns: 1fr; } }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stats li { padding: 20px; background: var(--card); display: grid; gap: 4px; }
.stats b { font: 800 clamp(1.4rem, 2.6vw, 2rem)/1 var(--display); color: var(--accent-text); }
.stats span { font-size: 0.9rem; color: var(--ink-2); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .places { grid-template-columns: 1fr; } }
.place .tag { align-self: flex-start; }
.links-eco { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.links-eco a { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.links-eco a b { font-weight: 700; }
.links-eco a span { font-size: 0.88rem; color: var(--ink-2); }
@media (max-width: 900px) { .links-eco { grid-template-columns: 1fr 1fr; } }

/* join */
.ways { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.way dl { margin: 6px 0 0; display: grid; gap: 8px; font-size: 0.93rem; }
.way dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.way dd { margin: 0; color: var(--ink-2); }
.honest { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.honest h3 { color: var(--accent); }
.honest ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: #D8DCCB; }

/* countries */
.verdict { width: 100%; border-collapse: collapse; }
.verdict th, .verdict td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.verdict th { font-weight: 600; width: 34%; }
.verdict td.lvl { white-space: nowrap; width: 1%; }
.lv { display: inline-block; font-size: 0.76rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.lv-high { background: rgba(46, 139, 87, 0.14); color: var(--good); }
.lv-medium { background: rgba(201, 138, 22, 0.16); color: var(--wheat-text); }
.lv-low { background: rgba(180, 70, 47, 0.12); color: var(--bad); }
.table-wrap { overflow-x: auto; }
.redlines { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .redlines { grid-template-columns: 1fr; } }
.redlines ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink-2); }

/* garden */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-n { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 800 1.05rem/1 var(--display); }
.steps h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.steps p { color: var(--ink-2); margin: 0 0 6px; max-width: 48em; }
.steps .tip { font-size: 0.88rem; color: var(--muted); }
.cal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cal > div { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.cal h3 { margin-bottom: 12px; }
.cal dl { margin: 0; display: grid; gap: 10px; }
.cal dt { font-weight: 700; font-size: 0.86rem; color: var(--accent-text); }
.cal dd { margin: 0; color: var(--ink-2); font-size: 0.93rem; }
@media (max-width: 900px) { .cal { grid-template-columns: 1fr; } }

/* services and steps of work */
.svc ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 0.94rem; display: grid; gap: 3px; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.flow li { padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.flow b { display: block; margin: 8px 0 4px; }
.flow span { font-size: 0.9rem; color: var(--ink-2); }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .gl { color: var(--accent-text); margin-top: 3px; }

.faq { display: grid; max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-x { position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; }
.faq-x::before, .faq-x::after { content: ''; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: currentColor; transition: transform 0.2s; }
.faq-x::after { transform: rotate(90deg); }
.faq details[open] .faq-x::after { transform: none; }
.faq details p { color: var(--ink-2); padding: 0 0 22px; margin: 0; max-width: 46em; }

.jokes { max-width: 860px; margin: 0 auto; padding: clamp(20px, 3vw, 32px) clamp(22px, 3vw, 36px); border-radius: calc(var(--radius) + 4px); background: var(--card); border: 1.5px dashed var(--line-strong); }
.jokes-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.jokes-title .gl { width: 20px; height: 20px; }
.joke { font: 500 clamp(1.05rem, 1.8vw, 1.26rem)/1.5 var(--text); margin: 0 0 14px; }
.jokes.cycling .joke { display: none; }
.jokes.cycling .joke.on { display: block; }
@media (prefers-reduced-motion: no-preference) { .jokes.cycling .joke.on { animation: joke-in 0.35s ease; } }
@keyframes joke-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sec-joke { padding: 0 0 clamp(48px, 7vw, 86px); }

.band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--radius) + 6px); background: var(--accent); color: var(--accent-ink); }
.band h2 { margin-bottom: 0.3em; }
.band p { margin: 0; max-width: 40em; }

.legal h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.legal h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal p { color: var(--ink-2); }

/* admin */
.admin-login { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; max-width: 520px; }
.admin-login .fld { flex: 1; }
.admin-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.admin-list { display: grid; gap: 12px; }
.lead-card { padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 6px; font-size: 0.95rem; }
.lead-card header { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.lead-card header b { font-family: var(--display); }
.lead-card pre { white-space: pre-wrap; font: inherit; margin: 0; color: var(--ink-2); }
.lead-card select { padding: 6px 10px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--field); }

/* ------------------------------------------------------------ footer */

.foot { background: var(--dark); color: var(--on-dark); padding: 64px 0 28px; --pin: var(--accent); --pin-sign: var(--dark); }
.foot .brand { color: var(--on-dark); }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; }
.foot-brand p { color: var(--on-dark-2); font-size: 0.92rem; margin: 18px 0; max-width: 30em; }
.foot-nav, .foot-contacts, .foot-group { display: grid; gap: 10px; align-content: start; font-size: 0.95rem; }
.foot-nav a, .foot-group a, .foot-contacts a { text-decoration: none; color: var(--on-dark); display: flex; align-items: center; gap: 8px; }
.foot-nav a:hover, .foot-group a:hover, .foot-contacts a:hover { color: var(--accent); }
.foot-contacts span, .foot-group > span, .foot-group a span { color: var(--on-dark-2); }
.foot-group > span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.foot-base { max-width: 1240px; margin: 48px auto 0; padding: 20px clamp(16px, 4vw, 40px) 0; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.84rem; color: var(--on-dark-2); }
.foot-base a { color: var(--on-dark-2); }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-in { grid-template-columns: 1fr; } }
.install { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 99px; border: 0; background: var(--ink); color: var(--paper); font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
