/* Gulf Grill Factory — styles
   Colours from the GGF mark: navy oval, sky swoosh. */

:root {
  --ink: #0a1633;
  --navy: #10357a;
  --blue: #2f7fd1;
  --sky: #8cc0ef;
  --paper: #f5f4f0;
  --paper-2: #ebe9e3;
  --white: #fff;
  --text: #0e1730;
  --muted: #5a6376;
  --line: rgba(14, 23, 48, .13);
  --line-l: rgba(255, 255, 255, .16);
  --muted-l: rgba(226, 232, 245, .72);

  --f-ar: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
  --f-en: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;

  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 120px);
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--f-ar);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: var(--f-en); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--white); padding: 8px 14px; }
.skip:focus { top: 12px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html[dir="ltr"] .flip { transform: scaleX(-1); }

.h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
  line-height: 1.4;
  text-wrap: balance;
}
html[lang="en"] .h2 { line-height: 1.15; letter-spacing: -.015em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: 1rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }
.btn--ghost { border-color: var(--line-l); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--ink); }
.btn--outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--text); }

.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--navy); font-weight: 500; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 5px; }

.iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
}
.iconbtn:hover { border-color: var(--text); }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--white);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.hdr.is-scrolled { border-bottom-color: var(--line-l); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 62px; height: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.3; }
.brand__ar { font-family: var(--f-ar); font-weight: 600; font-size: .95rem; }
.brand__en { font-family: var(--f-en); font-size: .78rem; color: var(--muted-l); }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; font-size: .9375rem; text-decoration: none; color: var(--muted-l); transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--white); }
.hdr__act { display: flex; align-items: center; gap: 10px; }
.lang {
  min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line-l); border-radius: var(--r);
  background: transparent; color: var(--white); cursor: pointer; font-size: .85rem; font-weight: 500;
}
html[lang="en"] .lang { font-family: var(--f-ar); font-size: 1rem; }
.lang:hover { border-color: var(--white); }
.menu { display: none; width: 40px; height: 40px; border: 1px solid var(--line-l); border-radius: var(--r); background: transparent; cursor: pointer; position: relative; }
.menu span { position: absolute; inset-inline: 11px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu span:first-child { top: 15px; }
.menu span:last-child { top: 23px; }
.menu[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(calc(100svh - 76px), 720px);
  background: var(--ink); color: var(--white);
}
.hero__copy {
  align-self: center;
  padding-block: 72px;
  padding-inline-start: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  padding-inline-end: clamp(32px, 6vw, 88px);
}
.hero__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.35; text-wrap: balance; }
html[lang="en"] .hero__title { line-height: 1.1; letter-spacing: -.02em; }
.hero__lead { margin-top: 20px; max-width: 30em; font-size: 1.125rem; color: var(--muted-l); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 4vw, 56px); }
.sec__head .h2 { max-width: 18em; }
.sec__head--stack { display: block; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.9; }
html[lang="en"] .lede { line-height: 1.6; }
.motto { margin-top: 28px; color: var(--navy); font-weight: 500; }

/* ---------- products ---------- */
.products { background: var(--paper-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 40px; background: transparent; cursor: pointer;
  font-size: .9375rem; transition: background .2s, color .2s, border-color .2s;
}
.chip small { font-size: .75rem; color: var(--muted); }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-pressed="true"] small { color: var(--muted-l); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.card[hidden] { display: none; }
.card__media {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg, var(--ink));
}
.card__media img {
  /* sized to the photo itself so the edge fade blends into the sampled --bg */
  position: absolute; inset: 0; margin: auto;
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
  transition: transform .6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card__name { font-size: 1.0625rem; line-height: 1.5; }
.card__alt { font-size: .82rem; color: var(--muted); }
html[lang="ar"] .card__alt { direction: ltr; text-align: right; }
html[lang="en"] .card__alt, html[lang="en"] .row__t i, html[lang="en"] .lb__alt { direction: rtl; text-align: left; }
.card__desc { margin-top: 10px; font-size: .9rem; line-height: 1.75; color: var(--muted); }
html[lang="en"] .card__desc { line-height: 1.55; }
.grid.is-filtering .card:not([hidden]) { animation: rise .4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- linear slot feature ---------- */
.slot { background: var(--ink); color: var(--white); }
.slot__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.slot__grid + .slot__grid { margin-top: var(--sec); padding-top: var(--sec); border-top: 1px solid var(--line-l); }
.slot__grid--flip .slot__fig { order: 2; }
.slot__fig { margin: 0; background: var(--fig-bg, #343334); padding: clamp(14px, 2vw, 28px); border-radius: var(--r); }
.slot__fig img { width: 100%; }
.slot__lead { margin-top: 16px; color: var(--muted-l); max-width: 30em; }
.slot__table { width: 100%; margin-top: 32px; border-collapse: collapse; font-size: .95rem; }
.slot__table th { padding: 0 0 10px; text-align: start; font-weight: 400; font-size: .85rem; color: var(--muted-l); border-bottom: 1px solid var(--line-l); }
.slot__table td { padding: 14px 0; border-bottom: 1px solid var(--line-l); }
html[dir="rtl"] .slot__table td[dir="ltr"] { text-align: right; }
.slot__table td:last-child { color: var(--sky); }
.ticks { margin: 28px 0 0; padding-inline-start: 1.1em; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; font-size: .92rem; color: var(--muted-l); }

/* ---------- portfolio index ---------- */
.index { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row summary {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 20px; gap: 24px; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none;
}
.row summary::-webkit-details-marker { display: none; }
.row__t { display: flex; flex-direction: column; }
.row__t b { font-size: 1.125rem; font-weight: 600; line-height: 1.5; }
.row__t i { font-style: normal; font-size: .82rem; color: var(--muted); }
html[lang="ar"] .row__t i { direction: ltr; text-align: right; }
.row__s { font-size: .95rem; color: var(--muted); line-height: 1.7; }
.row__x { position: relative; width: 14px; height: 14px; justify-self: end; }
.row__x::before, .row__x::after { content: ""; position: absolute; top: 50%; left: 0; width: 14px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.row__x::after { transform: rotate(90deg); }
.row[open] .row__x::after { transform: rotate(0); }
.row__d { margin: 0; padding: 0 0 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 32px; }
.row__d dt { font-size: .85rem; color: var(--navy); font-weight: 600; }
html[dir="rtl"] .row__d dt[dir="ltr"], html[dir="rtl"] .row__d dd[dir="ltr"] { text-align: right; }
.row__d dd { margin: 2px 0 0; font-size: .95rem; line-height: 1.65; }

/* ---------- why ---------- */
.why { background: var(--white); }
.why__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.reasons h3 { font-size: 1.15rem; line-height: 1.5; }
.reasons p { margin-top: 6px; color: var(--muted); font-size: .97rem; }

/* ---------- specs ---------- */
.specs__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.specs__intro > p { margin-top: 18px; color: var(--muted); }
.specs__code { font-weight: 400; color: var(--muted); }
.specs__note { font-size: .95rem; }
.sheet__hd { display: none; }
.sheet dl { margin: 0; }
.sheet dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.sheet dl > div:last-child { border-bottom: 1px solid var(--line); }
.sheet dt { font-weight: 600; color: var(--navy); }
.sheet dd { margin: 0; line-height: 1.8; }
html[lang="en"] .sheet dd { line-height: 1.6; }

/* ---------- sectors ---------- */
.sectors { background: var(--paper-2); }
.words { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.words li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; font-weight: 500; }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: var(--white); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__lead { margin-top: 16px; color: var(--muted-l); max-width: 30em; }
.lines { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line-l); }
.lines li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-l); }
.lines__k { font-size: .88rem; color: var(--muted-l); }
.lines__v { text-decoration: none; font-size: 1.02rem; overflow-wrap: anywhere; }
a.lines__v:hover, .lines__stack a:hover { color: var(--sky); }
html[dir="rtl"] .lines__v[dir="ltr"], html[dir="rtl"] .lines__stack a { text-align: right; }
.lines__stack { display: flex; flex-direction: column; gap: 2px; }
.lines__stack a { text-decoration: none; }
.lines__wa { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-l); border-radius: 50%; color: var(--white); transition: background .2s, color .2s; }
.lines__wa:hover { background: var(--white); color: var(--ink); }

.quote { background: var(--paper); color: var(--text); padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r); }
.quote__hd { margin-bottom: 24px; }
.quote__hd h3 { font-size: 1.4rem; }
.quote__hd p { margin-top: 4px; color: var(--muted); font-size: .92rem; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fld > span { font-size: .875rem; font-weight: 500; color: var(--muted); }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.fld textarea { resize: vertical; min-height: 110px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16, 53, 122, .12); }
.fld input[aria-invalid="true"] { border-color: #b3261e; }
html[dir="rtl"] .fld input[dir="ltr"] { text-align: right; }
.fld input::placeholder { color: #a3a9b5; }
.fld select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230e1730' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; padding-left: 36px;
}
html[dir="ltr"] .fld select { background-position: right 14px center; padding-left: 14px; padding-right: 36px; }
.seg { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; flex-wrap: wrap; }
.seg legend { float: inline-start; margin-inline-end: 12px; font-size: .875rem; font-weight: 500; color: var(--muted); padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 40px; font-size: .875rem; transition: background .2s, color .2s, border-color .2s; }
.seg input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.quote__err { margin: -4px 0 14px; font-size: .9rem; color: #b3261e; }
.quote__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.quote__act .btn { flex: 1 1 200px; }

/* ---------- footer ---------- */
.ftr { background: #070f24; color: var(--muted-l); padding-top: 56px; font-size: .92rem; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.ftr__brand img { width: 72px; margin-bottom: 16px; }
.ftr__brand b { color: var(--white); font-weight: 600; }
.ftr__nav, .ftr__c { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--white); }
.ftr__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; border-top: 1px solid var(--line-l); font-size: .82rem; }

/* ---------- WhatsApp button ---------- */
.fab {
  position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 40;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: #1f9d55; color: var(--white); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45);
  transform: translateY(90px); transition: transform .4s var(--ease);
}
.fab .ico { width: 26px; height: 26px; }
.fab.is-on { transform: none; }

/* ---------- product viewer ---------- */
.lb { width: min(1040px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r); background: var(--paper); color: var(--text); overflow: auto; }
.lb::backdrop { background: rgba(7, 15, 36, .78); }
.lb[open] { animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: translateY(10px); } }
.lb__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lb__fig { margin: 0; background: var(--ink); display: grid; place-items: center; min-height: 320px; }
.lb__fig img { max-height: min(78dvh, 820px); width: auto; }
.lb__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.lb__body h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.35; padding-inline-end: 48px; }
.lb__alt { margin-top: 4px; font-size: .9rem; color: var(--muted); }
html[lang="ar"] .lb__alt { direction: ltr; text-align: right; }
.lb__desc { margin-top: 20px; color: var(--muted); font-size: 1.05rem; }
.lb__act { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.lb__nav { display: flex; align-items: center; gap: 14px; font-size: .85rem; color: var(--muted); }
.lb__x { position: absolute; top: 14px; inset-inline-end: 14px; background: var(--paper); }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav a { padding-inline: 9px; }
  .hdr__cta { display: none; }
}
@media (max-width: 900px) {
  .menu { display: inline-block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    padding: 8px var(--gut) 24px; background: var(--ink); border-bottom: 1px solid var(--line-l);
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { padding: 16px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line-l); color: var(--white); }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 56px var(--gut) 48px; }
  .hero__media { aspect-ratio: 4 / 3; }
  .about__grid, .why__grid, .specs__grid, .slot__grid, .contact__grid { grid-template-columns: 1fr; }
  .slot__grid--flip .slot__fig { order: 0; }
  .sec__head { flex-direction: column; align-items: flex-start; }
  .words { grid-template-columns: repeat(3, 1fr); }
  .row summary { grid-template-columns: minmax(0, 1fr) 20px; gap: 6px 16px; }
  .row__s { grid-column: 1; grid-row: 2; }
  .row__x { grid-column: 2; grid-row: 1; }
  .lb__in { grid-template-columns: 1fr; }
  .lb__fig img { max-height: 52dvh; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__txt { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: .98rem; }
  .card__desc { display: none; }
  .reasons { grid-template-columns: 1fr; gap: 28px; }
  .words { grid-template-columns: 1fr 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; gap: 0; }
  .lines li { grid-template-columns: minmax(0, 1fr) auto; }
  .lines__k { grid-column: 1 / -1; }
  .sheet dl > div { grid-template-columns: 1fr; gap: 4px; }
  .ftr__grid { grid-template-columns: 1fr; }
  .chip { height: 36px; padding: 0 12px; font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
