/* Version 1 «Технологическая карта»
   Light mineral base. Forest green marks the company, the indigo of the
   ЭКСТРАМИКС packaging marks the product (norms, product name, active states).
   Sofia Sans in three widths: Extra Condensed for headings and figures,
   Condensed for labels, normal width for text. */

:root {
  --forest: #15401E;
  --forest-deep: #0F3016;
  --indigo: #2B2A6B;
  --indigo-deep: #1F1E52;
  --leaf: #5FA873;       /* decoration only: 2.9:1 on white */
  --leaf-text: #2F7A45;
  --mineral: #F1F3EF;
  --paper: #FFFFFF;
  --ink: #16221A;
  --steel: #56615B;
  --rule: #D3D9D3;
  --rule-strong: #B7C0B8;
  --danger: #A12B1F;

  --cond: "Sofia Sans Extra Condensed", "Sofia Sans Condensed", "Arial Narrow", sans-serif;
  --semi: "Sofia Sans Condensed", "Sofia Sans", "Arial Narrow", sans-serif;
  --text: "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 8vw, 120px);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--mineral); color: var(--ink); font: 400 18px/1.55 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; }
.nb, .tel { white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---- type ---------------------------------------------------------------- */
.h1 { font: 800 clamp(48px, 6.7vw, 100px)/0.9 var(--cond); letter-spacing: -0.005em; color: var(--forest); text-wrap: balance; }
.h2 { font: 800 clamp(38px, 4.5vw, 64px)/0.95 var(--cond); color: var(--forest); text-wrap: balance; }
.h3 { font: 700 22px/1.2 var(--semi); }
.h4 { font: 700 20px/1.25 var(--semi); margin-bottom: 10px; }
.section-head { max-width: 46rem; }
.section-head > p { margin-top: 16px; color: var(--steel); }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px clamp(24px, 4vw, 64px); align-items: end; }
.section-head--split > p { margin-top: 0; }

/* ---- buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 22px; border: 2px solid var(--forest); border-radius: 4px; background: var(--forest); color: #fff; font: 700 17px/1.1 var(--text); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); }
.btn--line { background: transparent; color: var(--forest); }
.btn--line:hover { background: var(--forest); color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 15px; }

/* ---- preview bar (preview builds only) ----------------------------------- */
.pbar { background: var(--indigo); color: #fff; font-size: 14px; line-height: 1.4; }
.pbar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.pbar a { color: #fff; font-weight: 700; white-space: nowrap; }
.pbar :focus-visible { outline-color: #fff; }

/* ---- header -------------------------------------------------------------- */
.head { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
.head-in { display: flex; align-items: center; gap: 36px; min-height: var(--head-h); }
.head-logo { flex: none; color: var(--forest); }
.logo-svg { height: 50px; width: auto; }
.nav { display: flex; gap: 28px; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--forest); }
.nav a.is-current { border-bottom-color: var(--indigo); }
.head-end { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.head-tel { font-weight: 700; font-size: 17px; text-decoration: none; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 2px solid var(--forest); border-radius: 4px; background: none; color: var(--forest); font-weight: 700; cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
[aria-expanded="true"] .menu-icon { background: transparent; }
[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

/* ---- media frames ---------------------------------------------------------- */
.frame { position: relative; overflow: hidden; background: #D8DDD7; border-radius: 2px; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame picture { display: contents; }
.frame--hero { aspect-ratio: 4 / 5; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame--pack { aspect-ratio: 4 / 5; }

/* ---- hero ---------------------------------------------------------------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero-maker { font-weight: 600; font-size: 16px; color: var(--steel); margin-bottom: 20px; }
.hero-maker b { color: var(--forest); }
.hero-lead { margin-top: 28px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-reach { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 22px; font-size: 16px; color: var(--steel); }
.hero-reach a { color: var(--ink); font-weight: 600; text-decoration-color: var(--rule-strong); }
.hero-media figcaption { margin-top: 12px; font-size: 14px; color: var(--steel); }

/* Two or three product shots sharing ONE opening frame. Separate frames were
   tried first and looked like tiles: the pair was half as tall as the single
   image the design was drawn around, which left an empty corner beside the
   headline. Here the frame keeps its 4/5 and the products sit inside it on a
   shared white field, which is what makes two cut-outs read as one photograph.
   Contained, not cropped — a product with its top cut off is worse than a
   small one. */
.frame--lineup { background: #fff; display: flex; align-items: center; gap: 2%; padding: 5% 4%; }
.frame--lineup .lineup-shot { flex: 1 1 0; min-width: 0; height: 100%; }
.frame--lineup picture { display: contents; }
.frame--lineup img { width: 100%; height: 100%; object-fit: contain; }

/* The same frame once the browser has turned it into a slider. Until then
   .is-slider is absent and the photographs stay in a row, which is why there
   is no "hidden by default" rule here: a visitor without JavaScript must not
   be left with an empty frame. */
.frame--lineup.is-slider .lineup-shot { display: none; }
.frame--lineup.is-slider .lineup-shot.is-on { display: block; flex: 1 1 100%; }
@media (prefers-reduced-motion: no-preference) {
  .frame--lineup.is-slider .lineup-shot.is-on { animation: shot-in 220ms ease-out; }
}
@keyframes shot-in { from { opacity: 0; } to { opacity: 1; } }

.lineup-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; }
.lineup-arrow, .lineup-dot { border: 0; background: none; padding: 0; cursor: pointer; color: var(--steel); }
.lineup-arrow { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 4px; }
.lineup-arrow:hover { background: var(--rule); color: var(--ink); }
/* A 10px dot is far too small to hit, so the button stays 40px and the dot is
   drawn inside it. */
.lineup-dot { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.lineup-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rule-strong); }
.lineup-dot.is-on::before { background: var(--forest); }
.lineup-dot:hover::before { background: var(--steel); }

/* ---- passport ------------------------------------------------------------ */
.passport { background: var(--paper); border-top: 4px solid var(--indigo); border-bottom: 1px solid var(--rule); }
.passport-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; padding: 18px 0 14px; border-bottom: 1px solid var(--rule); }
.passport-name { font: 800 22px/1.1 var(--semi); color: var(--indigo); letter-spacing: 0.01em; }
.passport-head p { font-size: 15px; color: var(--steel); }
.passport-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.passport-list > div { padding: 24px 20px 26px 0; }
.passport-list > div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.passport-list dt { font-size: 14px; font-weight: 600; color: var(--steel); margin-bottom: 6px; }
.passport-list dd { font: 700 21px/1.2 var(--semi); }

/* ---- how it works -------------------------------------------------------- */
.how { padding: var(--section) 0; }
.how-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: 48px; }
.how-list li { border-top: 2px solid var(--indigo); padding-top: 18px; }
.how-term { font: 800 clamp(40px, 4vw, 56px)/1 var(--cond); color: var(--indigo); margin-bottom: 18px; }
.how-list .h3 { margin-bottom: 8px; }
.how-list li > p:last-child { color: var(--ink); font-size: 17px; }
.how-note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--steel); font-size: 16px; }

/* ---- application map ----------------------------------------------------- */
.map { padding: var(--section) 0; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tabs { display: flex; gap: 4px; margin-top: 40px; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.tab { flex: none; background: none; border: 0; border-bottom: 4px solid transparent; margin-bottom: -1px; padding: 14px 20px 12px; font: 700 21px/1 var(--semi); color: var(--steel); cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--indigo); }
.panel { padding-top: 40px; }
.panel + .panel { margin-top: 24px; }
.panel-title { font: 800 34px/1 var(--cond); color: var(--forest); margin-bottom: 24px; }
.js .tabs + .panel, .js .panel + .panel { margin-top: 0; }
.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.panel[hidden], .tabs[hidden] { display: none; }

.norm { font: 800 clamp(40px, 3.4vw, 52px)/1 var(--cond); color: var(--indigo); font-variant-numeric: tabular-nums; }
.norm small { font-size: 0.46em; font-weight: 700; }
.norm .approx { display: block; margin-bottom: 4px; font: 700 15px/1 var(--semi); color: var(--steel); }
.norm--word { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.05; text-wrap: balance; }

/* Each step spans four rows of the list's grid (rule, stage, norm, text), so
   the same row lines up across all columns. */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; row-gap: 0; counter-reset: step; }
.steps li { counter-increment: step; grid-row: span 4; display: grid; grid-template-rows: subgrid; align-content: start; padding-right: 20px; }
.steps li::before { content: counter(step); font: 800 18px/1 var(--cond); color: var(--steel); padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--indigo); }
.steps li + li::before { margin-left: -20px; padding-left: 20px; }
.steps li:last-child { padding-right: 0; }
.step-when { font-weight: 700; font-size: 17px; line-height: 1.3; min-height: 2.6em; }
.steps .norm { margin: 14px 0 10px; align-self: end; }
.step-desc { padding-bottom: 8px; }
.step-desc { font-size: 16px; line-height: 1.45; }

.norms { width: 100%; border-collapse: collapse; font-size: 17px; }
.norms th, .norms td { text-align: left; vertical-align: baseline; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); }
.norms thead th { font-size: 14px; font-weight: 600; color: var(--steel); padding-top: 0; padding-bottom: 12px; border-bottom: 2px solid var(--indigo); }
.norms tbody th { font-weight: 700; }
.norms .norm { font-size: 34px; white-space: nowrap; margin-right: 6px; }
.panel-note { margin-top: 24px; font-size: 17px; }
.poultry { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
.poultry-prep p { font-size: 17px; }
.map-note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 16px; color: var(--steel); }
.map-note b { color: var(--ink); }

/* ---- result ---------------------------------------------------------------- */
.result { padding: var(--section) 0; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: 48px; }
.result-name { font: 800 clamp(30px, 2.8vw, 40px)/1 var(--cond); color: var(--forest); padding-bottom: 14px; border-bottom: 2px solid var(--forest); }
.ticks li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--rule); font-size: 17px; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.18em; width: 12px; height: 7px; border-left: 2px solid var(--leaf-text); border-bottom: 2px solid var(--leaf-text); transform: rotate(-45deg); }

/* ---- production ---------------------------------------------------------- */
.prod { padding: var(--section) 0; background: var(--paper); border-top: 1px solid var(--rule); }
.prod .section-head--split > p { color: var(--steel); }
.line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin-top: 48px; counter-reset: line; }
.line li { counter-increment: line; }
.line-title { display: flex; gap: 10px; align-items: baseline; margin-top: 16px; font: 700 21px/1.2 var(--semi); }
.line-title::before { content: counter(line); font: 800 18px/1 var(--cond); color: var(--steel); }
.line li > p { margin-top: 4px; font-size: 15px; color: var(--steel); }

/* ---- supply ---------------------------------------------------------------- */
.supply { padding: var(--section) 0; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); margin-top: 48px; }
.packs .h3 { margin-top: 16px; }
.packs li > p { margin-top: 4px; font-size: 16px; color: var(--steel); }
.storage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 2px solid var(--indigo); }
.storage > div { padding: 18px 20px 0 0; }
.storage > div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.storage dt { font-size: 14px; font-weight: 600; color: var(--steel); }
.storage dd { margin-top: 4px; font: 700 21px/1.25 var(--semi); }

/* ---- КОТОКОМБО ------------------------------------------------------------- */
.koto { padding: var(--section) 0; background: var(--paper); border-top: 1px solid var(--rule); }
.koto-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.koto-kicker { font-weight: 600; font-size: 16px; color: var(--steel); margin-bottom: 14px; }
.koto-text > p:not(.koto-kicker) { margin-top: 16px; max-width: 34em; }
.koto-list { margin: 28px 0 32px; border-top: 1px solid var(--rule); }
.koto-list > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.koto-list dt { font: 700 19px/1.25 var(--semi); }
.koto-list dd { font-size: 16px; color: var(--steel); }
.koto-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.koto-shots figure { background: #fff; border: 1px solid var(--rule); border-radius: 2px; padding: 20px 16px 16px; }
.koto-shots img { width: 100%; height: auto; }
.koto-shots figcaption { margin-top: 10px; font-size: 14px; color: var(--steel); text-align: center; }

/* ---- contacts and form ----------------------------------------------------- */
.contact { padding: var(--section) 0; background: var(--mineral); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-lead { margin-top: 16px; color: var(--steel); max-width: 30em; }
.contact-tel { display: inline-block; margin-top: 32px; font: 800 clamp(34px, 3.6vw, 48px)/1 var(--cond); color: var(--forest); text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-tel:hover { text-decoration: underline; }
.contact-mail { display: block; margin-top: 10px; font-weight: 600; font-size: 19px; }
.contact-dl { margin-top: 32px; border-top: 1px solid var(--rule); }
.contact-dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.contact-dl dt { color: var(--steel); }

.form { background: var(--paper); border-top: 4px solid var(--indigo); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.form-title { font: 800 clamp(28px, 2.6vw, 36px)/1 var(--cond); color: var(--forest); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field > label, .roles legend { font-size: 15px; font-weight: 600; }
/* The «кто вы» radios live in a .field too, and a radio is not a text box: it
   must not be given a 48px min-height, or the browser centres the 20px circle
   inside it and the answer sits half a line below its own label. :where() so
   the exclusion costs no specificity — the :focus rule below has to keep
   winning over this one. */
.field input:where(:not([type="radio"], [type="checkbox"])), .field textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid var(--rule-strong); border-radius: 3px; background: #fff; font-size: 17px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--indigo); outline-offset: 0; border-color: var(--indigo); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: 14px; color: var(--danger); }
.roles { display: flex; flex-wrap: wrap; gap: 8px 20px; }
/* A legend carries 2px of inline padding from the browser's own stylesheet,
   which left «Кто вы» standing two pixels right of every other field label. */
.roles legend { margin-bottom: 8px; padding-inline: 0; }
.roles label, .consent { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 16px; cursor: pointer; }
.roles input, .consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--forest); flex: none; }
.consent { color: var(--steel); }
.consent.is-invalid { color: var(--danger); }
/* Pulled back against the form's 18px row gap: this line belongs to the
   checkbox above it, not to the button below. 30px clears the checkbox. */
.consent-doc { margin-top: -10px; padding-left: 30px; font-size: 15px; }
.form-submit { justify-self: start; }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; background: #EEF0F7; border-left: 4px solid var(--indigo); font-size: 16px; }
.form-status a { font-weight: 700; }

/* The thank-you takes the place of the form inside the same card, so the
   border and padding stay put and only the contents change. */
.form.is-sent > :not(.form-thanks) { display: none; }
.form-thanks { display: grid; gap: 14px; justify-items: start; }
.form-thanks[hidden] { display: none; }
.form-thanks p { color: var(--steel); max-width: 34em; }

/* ---- footer ---------------------------------------------------------------- */
.foot { background: var(--forest); color: #E3ECE4; padding: clamp(48px, 6vw, 80px) 0 32px; font-size: 16px; }
.foot a { color: #fff; }
.foot :focus-visible { outline-color: #fff; }
.foot-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 2fr)) minmax(0, 3fr); gap: 32px; }
.foot-logo { display: inline-block; color: #fff; }
.foot-logo .logo-svg { height: 56px; }
.foot-brand p { margin-top: 18px; max-width: 26em; color: #C5D5C8; }
.foot-h { font: 700 15px/1.2 var(--text); color: #9FB9A5; margin-bottom: 12px; }
.foot-nav, .foot-contacts { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-tel { font: 800 26px/1.1 var(--cond); text-decoration: none; }
.foot-contacts p { color: #C5D5C8; }
.foot-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.18); display: grid; gap: 2px; font-size: 14px; color: #C5D5C8; }
.foot-docs { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-copy { margin-top: 16px; font-size: 14px; color: #9FB9A5; }

/* ---- responsive ------------------------------------------------------------ */
@media (max-width: 1200px) {
  .passport-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .passport-list > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .passport-list > div:nth-child(n+4) { border-top: 1px solid var(--rule); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps .step-desc { padding-bottom: 40px; }
  .steps li:nth-child(4)::before { margin-left: 0; padding-left: 0; }
  .steps li:nth-child(3n) { padding-right: 0; }
  .nav { gap: 22px; }
  .head-in { gap: 28px; }
}
@media (max-width: 1080px) {
  .head-tel { display: none; }
}
@media (max-width: 960px) {
  :root { --head-h: 68px; }
  .logo-svg { height: 42px; }
  .js .menu-btn { display: inline-flex; }
  .js .head-cta { display: none; }
  .head-in { flex-wrap: wrap; gap: 0 16px; }
  .nav { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 0 20px; padding: 0 0 10px; }
  .js .nav { display: none; flex-direction: column; gap: 0; padding: 4px 0 16px; }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 18px; }
  .hero-grid, .section-head--split, .poultry, .koto-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { align-items: start; }
  .hero-media { max-width: 520px; }
  .how-list, .result-grid { grid-template-columns: 1fr; }
  .line { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .passport-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .passport-list > div, .passport-list > div + div { padding: 16px 12px 16px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .passport-list > div:nth-child(-n+2) { border-top: 0; }
  .passport-list > div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--rule); }
  .passport-list dd { font-size: 19px; }
  .tab { padding: 12px 14px 10px; font-size: 19px; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .steps li { grid-row: auto; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: none; align-content: start; column-gap: 12px; padding: 0; }
  .steps .step-desc { padding-bottom: 0; }
  .steps li::before, .steps li + li::before { grid-row: span 3; margin: 0; padding: 4px 0 0; border-bottom: 0; border-top: 2px solid var(--indigo); }
  .step-when { min-height: 0; }
  .steps .norm { margin: 6px 0 4px; align-self: start; }
  .norm .approx { display: inline; margin: 0 6px 0 0; }
  .norms thead { display: none; }
  .norms, .norms tbody, .norms tr, .norms th, .norms td { display: block; }
  .norms tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .norms th, .norms td { border: 0; padding: 2px 0; }
  .norms td[data-k]::before { content: attr(data-k) ": "; color: var(--steel); }
  .norms .norm { font-size: 28px; }
  .line { grid-template-columns: 1fr 1fr; gap: 12px; }
  .line-title { font-size: 18px; }
  .packs { grid-template-columns: 1fr; }
  .packs .frame--pack { aspect-ratio: 4 / 3; }
  .storage { grid-template-columns: 1fr; }
  .storage > div, .storage > div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .koto-list > div { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  /* Three answers of very different widths wrap into a ragged two-and-one on a
     phone, and one character narrower into something else again. Stacked, each
     is a full-width line and a comfortable target. */
  .roles { flex-direction: column; gap: 12px; }
  .form-submit { justify-self: stretch; }
  .contact-dl > div { grid-template-columns: 1fr; gap: 2px; }
  .foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .nb { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============================================================================
   Sections the approved page did not have: news, articles, and the generic
   blocks an editor can add to any page. Same type scale, same hairlines, same
   two colours — forest for the company, indigo for the product and for
   structure. Nothing above this line is redefined. */

/* ---- news teaser --------------------------------------------------------- */
/* Mineral, because the block sits under the white .koto band. .contact below
   is mineral too, so the section is closed with a hairline rather than with a
   change of colour. */
.news-teaser { padding: var(--section) 0; background: var(--mineral); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
/* auto-fit: the editor picks two, three or four cards and the row still fills. */
.news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: 48px; }
.news-card { border-top: 2px solid var(--indigo); }
.news-card-link { display: block; padding-top: 18px; text-decoration: none; }
.news-card-link:focus-visible { outline: 3px solid var(--indigo); outline-offset: 4px; }
.news-card-link:hover .news-card-title { color: var(--forest); text-decoration: underline; text-decoration-color: var(--rule-strong); }
.frame--news { aspect-ratio: 3 / 2; }
.news-card .frame--news { margin-bottom: 16px; }
.news-date { display: block; font: 600 15px/1.2 var(--semi); color: var(--steel); }
.news-card-title { margin-top: 8px; font: 700 21px/1.25 var(--semi); }
.news-card-lead { margin-top: 8px; font-size: 16px; color: var(--steel); }
.news-more { margin-top: 40px; }
/* Only an editor ever sees this: for visitors the block renders nothing. */
.news-empty { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 16px; color: var(--steel); }

/* ---- news index ---------------------------------------------------------- */
.news-index-head { padding: clamp(32px, 4vw, 56px) 0 clamp(28px, 3.5vw, 44px); background: var(--paper); border-bottom: 1px solid var(--rule); }
.news-index-lead { margin-top: 18px; max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--steel); }
.news-index { padding: var(--section) 0; }
.news-index .news-empty { margin-top: 0; padding-top: 0; border-top: 0; }
.news-index-list { border-top: 1px solid var(--rule); }
.news-item { border-bottom: 1px solid var(--rule); }
/* The 16px bleed lets the hover tint reach past the text column without moving
   the text: the padding gives it back. */
.news-item-link { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin: 0 -16px; padding: clamp(20px, 2.4vw, 32px) 16px; text-decoration: none; }
.news-item-link:hover { background: var(--paper); }
.news-item-link:focus-visible { outline: 3px solid var(--indigo); outline-offset: -3px; }
.news-item-link:hover .news-item-title { text-decoration: underline; text-decoration-color: var(--rule-strong); }
/* An article without a photograph keeps its column, quietly. */
.news-item-nocover { aspect-ratio: 3 / 2; background: var(--rule); border-radius: 2px; }
.news-item-title { margin-top: 8px; font: 800 clamp(26px, 2.4vw, 34px)/1.05 var(--cond); color: var(--forest); text-wrap: balance; }
.news-item-text > p { margin-top: 10px; max-width: 42em; font-size: 17px; color: var(--steel); }

/* ---- pagination ---------------------------------------------------------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 48px; padding-top: 18px; border-top: 2px solid var(--indigo); }
.pager-step { font-weight: 700; font-size: 17px; text-decoration-color: var(--rule-strong); }
.pager-step[rel="next"] { margin-left: auto; }
.pager-list { display: flex; flex-wrap: wrap; gap: 2px; font: 700 18px/1 var(--semi); font-variant-numeric: tabular-nums; }
.pager-list a, .pager-current { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 6px; text-decoration: none; }
.pager-list a:hover { color: var(--forest); text-decoration: underline; }
.pager-current { color: var(--indigo); border-bottom: 2px solid var(--indigo); }

/* ---- article ------------------------------------------------------------- */
.article { padding: clamp(20px, 2.6vw, 32px) 0 var(--section); background: var(--paper); }
.crumbs { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 15px; font-weight: 600; color: var(--steel); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs a::after { content: "/"; margin-left: 10px; color: var(--rule-strong); }
.crumbs a:last-child::after { content: none; }
.article-head { max-width: 42rem; margin-top: clamp(24px, 3vw, 40px); }
/* The homepage .h1 runs to 100px; a news headline is not that loud. */
.article-title { margin-top: 10px; font-size: clamp(36px, 4.4vw, 64px); line-height: 0.95; }
.article-lead { margin-top: 20px; max-width: 32em; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; }
.article-cover { margin: clamp(28px, 3.5vw, 48px) 0; }
.frame--article { aspect-ratio: 16 / 9; }
.article-body { margin-top: clamp(28px, 3.5vw, 44px); }
.article-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); margin-top: clamp(32px, 4vw, 56px); }
.article-gallery figcaption { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--steel); }
.article-back { margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--rule); }

/* ---- prose --------------------------------------------------------------- */
/* Rich text written by an editor: paragraphs, two heading levels, lists,
   links, images. The reset took the list markers away, so the markers here are
   drawn like the ones in .ticks. */
.prose > p, .prose > ul, .prose > ol { margin-top: 1.05em; }
.prose > :first-child { margin-top: 0; }
.prose .h3 { margin-top: 1.6em; }
.prose .h4 { margin-top: 1.4em; }
.prose li { position: relative; padding-left: 28px; }
.prose li + li { margin-top: 8px; }
.prose ul > li::before { content: ""; position: absolute; left: 3px; top: 0.52em; width: 10px; height: 6px; border-left: 2px solid var(--leaf-text); border-bottom: 2px solid var(--leaf-text); transform: rotate(-45deg); }
.prose ol { counter-reset: prose-item; }
.prose ol > li { counter-increment: prose-item; }
.prose ol > li::before { content: counter(prose-item) "."; position: absolute; left: 0; top: 0; font: 800 17px/1.55 var(--cond); color: var(--steel); }
.prose li > ul, .prose li > ol { margin-top: 8px; }
.prose a { font-weight: 600; text-decoration-color: var(--rule-strong); }
.prose a:hover { color: var(--forest); text-decoration-color: currentColor; }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose--narrow { max-width: 34em; }
.prose-figure { margin: 1.6em 0; }
.prose-figure figcaption { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--steel); }
.prose-section { padding: var(--section) 0; }
.section-head + .prose { margin-top: clamp(24px, 3vw, 40px); }

/* ---- the title of a page that is not the homepage ------------------------ */
.page-head { padding: clamp(40px, 5vw, 72px) 0 0; }
.page-head .h1 { max-width: 20em; }
.page-head-lead { margin-top: 20px; max-width: 34em; color: var(--steel); font-size: 19px; }
.page-head-note { margin-top: 16px; font-size: 15px; color: var(--steel); }
/* The first section after it already carries the page's top padding. */
.page-head + .prose-section { padding-top: clamp(24px, 3vw, 40px); }

/* ---- text and media ------------------------------------------------------ */
.split { padding: var(--section) 0; }
.split-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
/* order, not direction: the text must stay first for a screen reader. */
.split-grid--flip .split-text { order: 2; }
.split-text .h2 + .prose { margin-top: 20px; }
.split-text .btn { margin-top: 28px; }
.split-media figcaption { margin-top: 12px; font-size: 14px; line-height: 1.4; color: var(--steel); }

/* ---- gallery ------------------------------------------------------------- */
.gallery { padding: var(--section) 0; }
.gallery-grid { display: grid; gap: clamp(16px, 2vw, 32px); margin-top: 48px; }
.gallery-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Photographs arrive in whatever shape the camera gave them; one ratio keeps
   the rows level. */
.gallery-grid .frame { aspect-ratio: 4 / 3; }
.gallery-grid figcaption { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--steel); }

/* ---- call to action ------------------------------------------------------ */
/* The footer's colours: forest band, off-white text, white links and focus. */
.cta { padding: clamp(48px, 6vw, 80px) 0; background: var(--forest); color: #E3ECE4; }
.cta .h2 { color: #fff; }
.cta :focus-visible { outline-color: #fff; }
.cta-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cta-text > p { margin-top: 16px; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-self: end; }
/* A forest button on a forest band is invisible: the two styles swap roles. */
.cta .btn { background: #fff; border-color: #fff; color: var(--forest); }
.cta .btn:hover { background: #D6E2D8; border-color: #D6E2D8; color: var(--forest-deep); }
.cta .btn--line { background: transparent; border-color: #8FAE95; color: #fff; }
.cta .btn--line:hover { background: #fff; border-color: #fff; color: var(--forest); }

/* ---- editor bar ---------------------------------------------------------- */
/* Chrome, not design: a dark neutral strip, deliberately not forest. It sits
   in normal flow above .head exactly as .pbar does, so the sticky header still
   parks at top: 0 and --head-h keeps its meaning. */
.cmsbar { background: #23262A; color: #E8EBE8; font-size: 15px; line-height: 1.3; }
.cmsbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 52px; max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter); }
.cmsbar-who { font-weight: 600; }
.cmsbar-tag { padding: 3px 8px; border: 1px solid #5B626A; border-radius: 3px; font: 600 13px/1.2 var(--semi); letter-spacing: 0.04em; text-transform: uppercase; color: #C9CFD3; }
.cmsbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-left: auto; }
.cmsbar-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 14px; border: 1px solid #676E76; border-radius: 3px; background: transparent; color: #fff; font: 600 15px/1.1 var(--text); text-decoration: none; cursor: pointer; }
.cmsbar-btn:hover { background: #33373D; }
.cmsbar-btn--primary { background: #fff; border-color: #fff; color: #1A1D21; }
.cmsbar-btn--primary:hover { background: #D9DEE2; border-color: #D9DEE2; }
/* Nothing to save yet — the bundle enables it on the first edit. */
.cmsbar-btn[disabled] { opacity: 0.45; cursor: default; }
.cmsbar-btn[disabled]:hover { background: transparent; }
.cmsbar-link { color: #C9CFD3; font-weight: 600; white-space: nowrap; }
.cmsbar-link:hover { color: #fff; }
.cmsbar :focus-visible { outline-color: #fff; }

/* ---- responsive, added sections ------------------------------------------ */
@media (max-width: 960px) {
  .split-grid { grid-template-columns: 1fr; }
  /* Stacked, the flip has nothing to flip: media follows text either way. */
  .split-grid--flip .split-text { order: 0; }
  .split-media { max-width: 560px; }
  .cta-in { grid-template-columns: 1fr; }
  .cta-actions { justify-self: start; }
  .news-item-link { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
  .article-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid--3, .gallery-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .news-list { gap: 32px; }
  .news-item-link { grid-template-columns: 1fr; gap: 14px; }
  /* Stacked there is no column to hold open, and a blank block is just a hole. */
  .news-item-nocover { display: none; }
  .article-gallery { grid-template-columns: 1fr; }
  /* --4 stays two-up: those are small shots, and one per screen is a long scroll. */
  .gallery-grid--2, .gallery-grid--3 { grid-template-columns: 1fr; }
  .cta-actions .btn { flex: 1 1 100%; }
  .pager-step[rel="next"] { margin-left: 0; }
  .cmsbar-in { gap: 6px 12px; padding: 8px var(--gutter) 10px; }
  .cmsbar-actions { flex-basis: 100%; margin-left: 0; }
  /* Thumb-sized once the bar is being used on a phone. */
  .cmsbar-btn { min-height: 44px; }
}

/* Sections the editor adds sit on the page background by default. Setting one
   to white separates it from its neighbours the way the hand-built sections
   alternate; the hairline keeps the join visible where two whites meet. */
.prose-section--paper,
.split--paper,
.gallery--paper { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
