/* Mivika – luxury B2B page. Image-led: a factory hero, a restaurant band, six production
   pictures. Porcelain base, ink text, brand red for actions, the pack's yellow for one solid band.
   Bold sans-serif headlines, serif only for large figures. Square corners. DESIGN.md decision 18. */
:root {
  --paper: #F5F0E7;
  --paper-2: #F8F4ED;
  --paper-warm: #E9E1D5;
  --panel: #EDE6DC;
  --ink: #171411;
  --text: #3B342E;
  --muted: #5D564E;
  --line: #D7D0C5;
  --red: #D62828;
  --red-hover: #B42024;
  --red-text: #B42024;  /* small red text: 5.6:1 on porcelain (#D62828 is 4.4:1) */
  --yellow: #E8B21E;    /* the pack's yellow (approximate) */
  --danger: #B4232D;
  --focus: #8F1830;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(22px, 4.2vw, 60px);
  --section: clamp(64px, 8vw, 104px);
  --hdr: 80px;

  --fs-h1: clamp(2.5rem, 4.8vw, 4.25rem);
  --fs-h2: clamp(1.875rem, 3.2vw, 2.875rem);
  --fs-lead: clamp(1.0625rem, 1.25vw, 1.1875rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hdr); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; overflow-x: clip; }
html[lang="de"] body { hyphens: auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(1296px + 2 * var(--pad)); margin: 0 auto; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Type ---------- */
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); margin-bottom: 18px; }
:lang(vi) .eyebrow { letter-spacing: .06em; }
.h2 { font: 700 var(--fs-h2)/1.12 var(--sans); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.h2 em, .hero__h1 em, .spec__ing em { font-style: normal; color: var(--red); }
:lang(vi) .h2 { line-height: 1.25; letter-spacing: -.015em; }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--muted); max-width: 36em; margin-top: 20px; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 0;
  font: 600 .875rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn__ico { width: 16px; height: 16px; flex: none; transition: transform .18s ease-out; }
.btn:hover .btn__ico, .link:hover .btn__ico { transform: translate(2px, -2px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); }
.btn--line { border-color: var(--ink); color: var(--ink); background: rgba(255, 255, 255, .55); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--line:hover .btn__ico { transform: translateY(2px); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: .8125rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--red-text); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Top bar and header ---------- */
.topbar { background: var(--paper-warm); color: var(--ink); font-size: .8125rem; border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: flex-end; gap: 28px; min-height: 36px; }
.topbar a { text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: var(--red-text); }

.hdr { position: sticky; top: 0; z-index: 50; background: rgba(245, 240, 231, .96); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hdr.is-solid { box-shadow: 0 8px 28px rgba(36, 22, 13, .06); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 32px; }
.hdr__logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.hdr__logo img { width: 64px; height: 64px; }
.hdr__brand { max-width: 7.5em; font-size: .75rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.hdr__nav { display: flex; gap: 32px; margin: 0 auto; font-size: .875rem; font-weight: 600; }
.hdr__nav a { text-decoration: none; color: var(--ink); padding: 6px 0; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .24s; }
.hdr__nav a:hover { background-size: 100% 2px; }
.hdr__cta { min-height: 46px; padding: 0 20px; }
.hdr__menu { display: none; }

/* Language picker: round flags */
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); color: var(--ink); font: 600 .75rem/1 var(--sans); letter-spacing: .06em; cursor: pointer; }
.lang__btn:hover { border-color: var(--ink); }
.lang__chev { width: 12px; height: 12px; transition: transform .2s; }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.flag { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.flag svg { width: 100%; height: 100%; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 6px; background: var(--paper-2); border: 1px solid var(--line); box-shadow: 0 22px 50px rgba(36, 22, 13, .14); animation: drop-in .18s ease-out; }
@keyframes drop-in { from { opacity: .96; transform: translateY(-5px); } }
.lang__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; text-decoration: none; font-size: .9375rem; color: var(--ink); position: relative; }
.lang__menu a:hover { background: var(--panel); }
.lang__menu a[aria-current="true"]::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--red); }
.lang__menu .flag { width: 26px; height: 26px; }

/* ---------- Shared section pieces ---------- */
.formats, .prod-story, .quality, .inquiry { padding: var(--section) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head__aside { color: var(--muted); max-width: 30em; }

/* ---------- Hero: full-width factory picture, the offer on its calm left side ---------- */
.hero { position: relative; display: grid; align-items: center; min-height: clamp(560px, 76svh, 760px); overflow: hidden; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 70% 55%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245, 240, 231, .97) 0%, rgba(245, 240, 231, .9) 34%, rgba(245, 240, 231, .4) 52%, rgba(245, 240, 231, 0) 66%); }
.hero__in { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.hero__text { max-width: min(36rem, 46vw); } /* stays on the light fade at every desktop width */
.hero__h1 { font: 700 var(--fs-h1)/1.05 var(--sans); letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
:lang(vi) .hero__h1 { line-height: 1.18; letter-spacing: -.02em; }
.hero .lead { color: var(--text); }

.factsband { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { display: flex; align-items: baseline; gap: 14px; padding: 24px 20px 26px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { font: 400 clamp(1.75rem, 2.4vw, 2.25rem)/1 var(--serif); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.facts span { font-size: .875rem; line-height: 1.4; color: var(--muted); }

/* ---------- 01 Formats and specification ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.path { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; background: var(--paper-2); border: 1px solid var(--line); border-top: 3px solid var(--ink); transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s, border-color .22s; }
.path:hover { transform: translateY(-3px); box-shadow: 0 18px 35px rgba(36, 22, 13, .07); border-top-color: var(--red); }
.path__t { font: 700 1.1875rem/1.3 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.path p:not([class]) { font-size: .9375rem; color: var(--muted); }
.path__fmt { padding-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--ink); }
.path .link { margin-top: auto; padding-top: 4px; }

.plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plate { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; min-height: 320px; padding: 30px 0 0 30px; overflow: hidden; }
.plate--retail { background: var(--panel); }
.plate--gastro { background: var(--paper-2); border: 1px solid var(--line); }
.plate__text { align-self: start; display: grid; gap: 10px; padding-bottom: 30px; }
.plate__k { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plate__v { font: 400 clamp(2.25rem, 3.6vw, 3.25rem)/1 var(--serif); letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.plate__p { font-size: .9375rem; color: var(--muted); max-width: 22em; }
.plate__ean { font-size: .875rem; font-weight: 600; color: var(--ink); }
.plate__ean span:first-child { font-weight: 500; color: var(--muted); margin-right: 6px; }
.plate__img { align-self: end; height: auto; }
.plate--retail .plate__img { width: clamp(140px, 13vw, 190px); margin-right: 30px; filter: drop-shadow(0 18px 16px rgba(63, 38, 16, .18)); }
.plate--gastro .plate__img { width: clamp(210px, 22vw, 320px); margin-right: -40px; margin-bottom: -6px; }

.spec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); margin-top: clamp(40px, 5vw, 64px); }
.spec__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.spec__ing { font: 700 clamp(1.5rem, 2.2vw, 1.875rem)/1.2 var(--sans); letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.spec__h { font: 600 1.125rem/1.3 var(--sans); color: var(--ink); }
.spec__intro p:not([class]) { color: var(--muted); }
.spec__back { width: 100px; height: auto; margin-top: 10px; mix-blend-mode: multiply; } /* drops the photo's white background */
.spec__list div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec__list div:first-child { border-top: 2px solid var(--ink); }
.spec__list dt { font-size: .875rem; font-weight: 600; color: var(--ink); }
.spec__list dd { font-size: .9375rem; color: var(--text); }
.spec__list strong { font-weight: 700; color: var(--ink); }

/* ---------- 02 Production: six factory pictures ---------- */
.prod-story { background: var(--panel); border-top: 1px solid var(--line); }
.sframe { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-warm); }
.sframe picture, .sframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__side { display: none; }
.story__note { margin-top: 24px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Static (no script, reduced motion): the six steps as a grid, one picture each */
.story__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.sstep__text { margin-top: 14px; }
.sstep__n { font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--red-text); }
.sstep__t { margin-top: 4px; font: 700 1.25rem/1.3 var(--sans); color: var(--ink); }
.sstep p { margin-top: 4px; font-size: .9375rem; color: var(--muted); }

/* Live (motion.js adds .is-live): a short sticky stage. The picture follows the scroll; the index
   on the right marks the step; the caption is repeated there (step text stays for screen readers). */
.story.is-live { height: calc(100svh + 6 * 22svh); margin-top: -12px; }
.story.is-live .story__stage { position: sticky; top: var(--hdr); height: calc(100svh - var(--hdr)); display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.story.is-live .story__steps { position: relative; display: block; aspect-ratio: 16 / 10; max-height: calc(100svh - var(--hdr) - 80px); box-shadow: 0 24px 48px rgba(36, 22, 13, .14); }
.story.is-live .story__steps.is-dip { background: var(--panel); } /* scene changes dip through the panel tone */
.story.is-live .sstep { position: absolute; inset: 0; }
.story.is-live .sframe { position: absolute; inset: 0; opacity: 0; transition: opacity .38s ease-in-out; }
.story.is-live .sframe img { transform: scale(1.03); transition: transform 1.6s cubic-bezier(.33, 1, .68, 1); }
.story.is-live .sframe.is-on { opacity: 1; }
.story.is-live .sframe.is-on img { transform: none; }
.story.is-live .story__steps.is-dip .sframe { transition-duration: .2s; }
.story.is-live .story__steps.is-dip .sframe.is-on { transition-delay: .2s; }
.story.is-live .sstep__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.story.is-live .story__side { display: block; }
.story__count { font: 400 clamp(3rem, 6vw, 5.25rem)/1 var(--serif); letter-spacing: -.04em; color: var(--ink); margin-bottom: 18px; font-variant-numeric: lining-nums; }
.story__count span { color: var(--red); }
.story__index li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid #CFC6B9; color: var(--muted); font-size: .9375rem; transition: color .25s, border-color .25s; }
.story__index li span:first-child { font-size: .75rem; padding-top: 3px; }
.story__index li.is-on { color: var(--ink); font-weight: 700; border-bottom-color: var(--red); }
.story__index li.is-on span:first-child { color: var(--red-text); }
.story__cap { min-height: 3.4em; margin-top: 18px; color: var(--text); }

/* ---------- Restaurants band: the plated bowl, full width ---------- */
.band { position: relative; display: grid; align-items: center; min-height: clamp(440px, 58svh, 580px); overflow: hidden; }
.band { background: var(--paper); }
/* the photo fills the right 62 %, so the bowl never sits behind the text */
.band__bg { position: absolute; inset: 0 0 0 38%; }
.band__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 38%, rgba(245, 240, 231, 0) 50%); }
.band__in { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 56px; }
.band__text { max-width: 30rem; }
.band .lead { color: var(--text); }
.band .btn { margin-top: 28px; }

/* ---------- 03 Quality and supply: the pack's yellow ---------- */
.quality { background: var(--yellow); color: var(--ink); }
.quality .eyebrow { color: var(--ink); }
.quality .lead { color: #3A2E0B; }
.quality__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.qlist { margin-top: 30px; }
.qlist li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 12px; padding: 18px 0; border-top: 1px solid rgba(23, 20, 17, .25); font: 600 clamp(1.0625rem, 1.4vw, 1.25rem)/1.4 var(--sans); color: var(--ink); }
.qlist li:last-child { border-bottom: 1px solid rgba(23, 20, 17, .25); }
.qlist li span:first-child { font-family: var(--serif); font-weight: 400; }
.supply { display: grid; gap: 14px; justify-items: start; padding: clamp(28px, 3.5vw, 44px); background: #fff; border-top: 4px solid var(--red); color: var(--muted); box-shadow: 0 24px 48px rgba(90, 60, 0, .14); }
.supply__k { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.supply__t { font: 700 clamp(1.75rem, 2.8vw, 2.375rem)/1.1 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.supply .btn { margin-top: 10px; }

/* ---------- 04 Inquiry ---------- */
.inquiry { background: var(--paper-2); }
.inquiry__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.form { margin-top: 36px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.field { display: grid; gap: 7px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field b, .form__note b { color: var(--red-text); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #C9C0B4; border-radius: 0; background: #FCFAF7; color: var(--ink); font: 400 1rem/1.4 var(--sans); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__err { font-size: .8125rem; font-weight: 600; color: var(--danger); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.form__note { flex: 1 1 18rem; font-size: .8125rem; color: var(--muted); }
.form__status { display: grid; gap: 10px; margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--red); background: var(--panel); color: var(--ink); }
.form__status[hidden] { display: none; }
.form__noapp { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .875rem; color: var(--muted); }
.direct { padding-left: clamp(0px, 3vw, 40px); border-left: 1px solid var(--line); }
.direct__h { font: 700 clamp(1.375rem, 2vw, 1.625rem)/1.25 var(--sans); letter-spacing: -.02em; color: var(--ink); margin-bottom: 22px; }
.cinfo div { padding: 14px 0; border-top: 1px solid var(--line); }
.cinfo dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cinfo dd { color: var(--ink); line-height: 1.6; }
.cinfo a { color: var(--red-text); font-weight: 600; text-decoration: none; }
.cinfo a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.ftr { background: var(--paper-warm); color: var(--muted); font-size: .875rem; border-top: 1px solid var(--line); }
.ftr__in { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 32px 56px; align-items: start; padding-top: 52px; padding-bottom: 52px; }
.ftr__brand { display: grid; gap: 10px; justify-items: start; }
.ftr__brand img { width: 84px; height: 84px; }
.ftr__nav, .ftr__col { display: grid; gap: 8px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--red-text); }

.dock { display: none; }

/* Language switch: brief dip while the text is replaced */
main, .hdr__nav, .ftr { transition: opacity .18s ease; }
.is-switching main, .is-switching .hdr__nav, .is-switching .ftr { opacity: .6; transition-duration: .14s; }

/* Light entrances (motion.js adds .reveal-on; without it everything is simply visible) */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .5s ease-out, transform .5s cubic-bezier(.33, 1, .68, 1); transition-delay: calc(var(--d, 0) * 70ms); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .hdr__nav { display: none; }
  .lang { margin-left: auto; }
  .hdr__menu { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .24s, opacity .2s; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; } .burger::after { top: 7px; }
  .hdr__menu[aria-expanded="true"] .burger { background: transparent; }
  .hdr__menu[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
  .hdr__menu[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }
  .drawer { border-top: 1px solid var(--line); background: var(--paper); animation: drop-in .2s ease-out; }
  .drawer__nav { display: grid; padding-top: 8px; padding-bottom: 20px; }
  .drawer__nav a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 700 1.25rem/1.3 var(--sans); color: var(--ink); }
  .paths { grid-template-columns: minmax(0, 1fr); }
  .plates { grid-template-columns: minmax(0, 1fr); }
  .story__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* hero and band: text first on porcelain, the picture below it (side by side, the text would
     run over the photo at these widths) */
  .hero, .band { display: flex; flex-direction: column; min-height: 0; }
  .hero::after, .band::after { display: none; }
  .hero__bg, .band__bg { position: relative; inset: auto; order: 2; display: block; width: 100%; height: 420px; }
  .hero__text, .band__text { max-width: 40rem; }
  .hero__in { padding-top: 48px; padding-bottom: 40px; }
  .band__in { padding-top: 56px; padding-bottom: 40px; }
  .hero__bg img { object-position: 50% 78%; } /* the nests sit in the lower part of the picture */
  .band__bg img { object-position: 50% 50%; }
}
@media (max-width: 900px) {
  .spec, .quality__grid, .inquiry__grid, .sec-head { grid-template-columns: minmax(0, 1fr); }
  .direct { padding-left: 0; border-left: 0; padding-top: 32px; border-top: 1px solid var(--line); }
  /* the stage stacks: picture on top, counter, index and caption below */
  .story.is-live .story__stage { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 20px; height: calc(100svh - var(--hdr) - var(--dock, 0px)); }
  .story.is-live .story__steps { max-height: none; }
  .story__count { font-size: 2.5rem; margin-bottom: 8px; }
  .story__index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; }
  .story__index li { padding: 7px 0; font-size: .8125rem; }
  .story__cap { min-height: 3.2em; margin-top: 10px; font-size: .9375rem; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  :root { --hdr: 64px; --dock: 70px; }
  .topbar { display: none; }
  .hdr__in { gap: 12px; }
  .hdr__logo img { width: 54px; height: 54px; }
  .hdr__brand { display: none; }
  .hdr__cta { display: none; } /* the bottom dock carries "Request a price offer" on phones */
  .lang__btn { padding-right: 10px; }
  .lang__menu { right: -52px; }

  .hero__bg, .band__bg { height: 300px; }
  .hero__in { padding-top: 36px; padding-bottom: 32px; }
  .band__in { padding-top: 48px; padding-bottom: 32px; }
  .ctas .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { flex-direction: column; gap: 4px; padding: 18px 14px 20px; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .path { padding: 22px; }
  .plate { grid-template-columns: minmax(0, 1fr); padding: 24px 24px 0; min-height: 0; }
  .plate__text { padding-bottom: 8px; }
  .plate--retail .plate__img { width: 140px; margin: 0 0 0 auto; }
  .plate--gastro .plate__img { width: 78%; margin: 0 -24px -6px auto; }
  .spec__list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .story__steps { grid-template-columns: minmax(0, 1fr); }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .form__foot .btn { width: 100%; }
  .ftr__in { grid-template-columns: minmax(0, 1fr); }
  .ftr { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }

  .dock { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(245, 240, 231, .97); border-top: 1px solid var(--line); }
  .dock .btn { flex: 1; min-height: 48px; padding: 0 14px; }
}

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