/* EA Translations theme, direction "Paper & Seal" (29.10.2026).
   Brand colours from the logo: navy #09295a (E), blue #0a46b4 (A), red #a80a2d (the arc).
   Ratio: paper and white most of the page, navy for text and one dark band, blue for actions, red only for the arc
   and the seal. Never a red button. Headings in Frank Ruhl Libre, everything else in Rubik.
   Mobile first. Logical properties throughout, so the Hebrew pages flip with dir="rtl". Dark mode follows the
   system, html[data-theme] overrides it either way. */

/* ---------- fonts (self-hosted, no request to Google) ---------- */

@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/rubik-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/rubik-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/rubik-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/frank-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/frank-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/frank-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Hebrew headings: Assistant (modern, clean); the English headings keep Frank Ruhl Libre */
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/assistant-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/assistant-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- tokens ---------- */

:root {
  --eat-navy: #09295a;
  --eat-blue: #0a46b4;
  --eat-red: #a80a2d;

  --eat-bg: #f8f6f1;
  --eat-surface: #f1eee6;
  --eat-card: #ffffff;
  --eat-text: #13203a;
  --eat-muted: #4a5568;
  --eat-heading: var(--eat-navy);
  --eat-accent: var(--eat-blue);
  --eat-accent-hover: #08398f;
  --eat-on-accent: #ffffff;
  --eat-arc: var(--eat-red);
  --eat-border: #e3e7ee;
  --eat-border-strong: #b9c2d0;
  --eat-focus: var(--eat-blue);
  --eat-error: #b3261e;
  --eat-error-bg: #fdecea;
  --eat-success: var(--eat-blue);
  --eat-band: var(--eat-navy);
  --eat-on-band: #ffffff;
  --eat-on-band-muted: #c9d6ee;

  --eat-font: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --eat-font-display: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --eat-radius-paper: 4px;
  --eat-radius-sm: 12px;
  --eat-radius: 16px;
  --eat-shadow-paper: 0 1px 2px rgb(9 41 90 / 0.06), 0 16px 40px rgb(9 41 90 / 0.10);
  --eat-container: 70rem;
  --eat-gutter: 1rem;
  --eat-header-h: 4rem;
  --eat-section: 4rem;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --eat-bg: #061c3f;
    --eat-surface: #0b2550;
    --eat-card: #0e2b5c;
    --eat-text: #e8eef8;
    --eat-muted: #b4c1d8;
    --eat-heading: #ffffff;
    --eat-accent: #7fa6ff;
    --eat-accent-hover: #a5c0ff;
    --eat-on-accent: #061c3f;
    --eat-arc: #e2405f;
    --eat-border: #1d3a6b;
    --eat-border-strong: #3a5a8f;
    --eat-focus: #a5c0ff;
    --eat-error: #ff8a80;
    --eat-error-bg: #3a1414;
    --eat-band: #0b2550;
    --eat-shadow-paper: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px rgb(0 0 0 / 0.35);
    color-scheme: dark;
  }
}

html[data-theme="dark"] {
  --eat-bg: #061c3f;
  --eat-surface: #0b2550;
  --eat-card: #0e2b5c;
  --eat-text: #e8eef8;
  --eat-muted: #b4c1d8;
  --eat-heading: #ffffff;
  --eat-accent: #7fa6ff;
  --eat-accent-hover: #a5c0ff;
  --eat-on-accent: #061c3f;
  --eat-arc: #e2405f;
  --eat-border: #1d3a6b;
  --eat-border-strong: #3a5a8f;
  --eat-focus: #a5c0ff;
  --eat-error: #ff8a80;
  --eat-error-bg: #3a1414;
  --eat-band: #0b2550;
  --eat-shadow-paper: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px rgb(0 0 0 / 0.35);
  color-scheme: dark;
}

@media (min-width: 48rem) {
  :root {
    --eat-gutter: 2rem;
    --eat-header-h: 4.75rem;
    --eat-section: 6.5rem;
  }
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-block-start: calc(var(--eat-header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--eat-bg);
  color: var(--eat-text);
  font-family: var(--eat-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-inline-size: 100%; block-size: auto; }

h1, h2, h3 {
  font-family: var(--eat-font-display);
  font-weight: 500;
  color: var(--eat-heading);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

h3 { font-family: var(--eat-font); font-weight: 600; }

/* Hebrew pages: Assistant for display type, a little heavier, Hebrew needs no negative tracking */
:root:lang(he) { --eat-font-display: "Assistant", "Rubik", system-ui, sans-serif; }
:lang(he) h1, :lang(he) h2, :lang(he) .eat-price__amount { font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1rem; }

a { color: var(--eat-accent); text-underline-offset: 0.18em; }
a:hover { color: var(--eat-accent-hover); }

:focus-visible {
  outline: 3px solid var(--eat-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.eat-visually-hidden {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eat-skip {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--eat-accent);
  color: var(--eat-on-accent);
  border-radius: var(--eat-radius-sm);
}
.eat-skip:focus { inset-block-start: 1rem; }

.eat-container {
  inline-size: 100%;
  max-inline-size: calc(var(--eat-container) + var(--eat-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--eat-gutter);
}

.eat-container--narrow { max-inline-size: calc(46rem + var(--eat-gutter) * 2); }

.eat-icon { inline-size: 1.375rem; block-size: 1.375rem; flex: none; }

/* prices read £40 in both languages: WooCommerce's <bdi> would otherwise take the Hebrew page's direction (40£) */
.woocommerce-Price-amount, .woocommerce-Price-amount bdi { direction: ltr; unicode-bidi: isolate; }

/* ---------- buttons ---------- */

.eat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-block-size: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: var(--eat-radius-sm);
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.eat-button:active { transform: translateY(1px); }

.eat-button--primary { background: var(--eat-accent); color: var(--eat-on-accent); }
.eat-button--primary:hover { background: var(--eat-accent-hover); color: var(--eat-on-accent); }

.eat-button--ghost { border-color: var(--eat-border-strong); color: var(--eat-heading); background: var(--eat-card); }
.eat-button--ghost:hover { border-color: var(--eat-accent); color: var(--eat-accent); }

.eat-button--light { background: #ffffff; color: var(--eat-navy); }
.eat-button--light:hover { background: #e7eefb; color: var(--eat-navy); }

.eat-button--outline-light { border-color: rgb(255 255 255 / 0.4); color: #ffffff; }
.eat-button--outline-light:hover { border-color: #ffffff; color: #ffffff; }

.eat-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 0; }
.eat-actions--center { justify-content: center; }

@media (max-width: 39.99rem) {
  .eat-button--wide-mobile { inline-size: 100%; }
}

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

.eat-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  border-block-end: 1px solid var(--eat-border);
}

/* the frosted background sits on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block of the fixed drawer, which would then be cut to the header's height */
.eat-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--eat-bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
}

.eat-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-block-size: var(--eat-header-h);
}

.eat-brand { display: inline-flex; align-items: center; gap: 0.625rem; text-decoration: none; color: var(--eat-heading); }
.eat-brand:hover { color: var(--eat-heading); }
/* The header row is tight in English: the mark must never be the thing that shrinks. */
.eat-brand, .eat-brand__mark { flex: none; }
.eat-brand__mark { display: inline-flex; }
.eat-brand__mark img { display: block; inline-size: auto; block-size: 2.25rem; }
.eat-brand__dark { display: none !important; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eat-brand__light { display: none !important; }
  :root:not([data-theme="light"]) .eat-brand__dark { display: block !important; }
}
html[data-theme="dark"] .eat-brand__light { display: none !important; }
html[data-theme="dark"] .eat-brand__dark { display: block !important; }

.eat-brand__text { display: grid; line-height: 1.1; white-space: nowrap; }
.eat-brand__name { font-weight: 700; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; }
.eat-brand__tag { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--eat-muted); }
:lang(he) .eat-brand__name, :lang(he) .eat-brand__tag { letter-spacing: 0; text-transform: none; }
:lang(he) .eat-brand__name { font-size: 1.0625rem; }
:lang(he) .eat-brand__tag { font-size: 0.8125rem; }

/* menu button (phone) */
.eat-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border: 1px solid var(--eat-border-strong);
  border-radius: var(--eat-radius-sm);
  background: transparent;
  color: var(--eat-heading);
  cursor: pointer;
}
.eat-header__toggle[hidden] { display: none; }

.eat-header__toggle-bars,
.eat-header__toggle-bars::before,
.eat-header__toggle-bars::after {
  display: block;
  inline-size: 1.25rem;
  block-size: 2px;
  border-radius: 2px;
  background: currentColor;
}
.eat-header__toggle-bars { position: relative; }
.eat-header__toggle-bars::before,
.eat-header__toggle-bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.eat-header__toggle-bars::before { inset-block-start: -6px; }
.eat-header__toggle-bars::after { inset-block-start: 6px; }

/* flags: drawn in SVG, framed so the white of the Israeli flag shows on a white page */
.eat-flag {
  inline-size: 1.5rem;
  block-size: 1.0625rem;
  flex: none;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgb(9 41 90 / 0.18);
  overflow: hidden;
}

/* language switch: the other language's flag and name, in that language */
.eat-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-block-size: 2.75rem;
  padding-inline: 0.75rem;
  border: 1px solid var(--eat-border-strong);
  border-radius: var(--eat-radius-sm);
  color: var(--eat-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}
.eat-lang-switch:hover { border-color: var(--eat-accent); color: var(--eat-accent); }

/* light/dark: moon in light mode, sun in dark mode; the text label shows in the drawer only */
.eat-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-inline-size: 2.75rem;
  min-block-size: 2.75rem;
  padding-inline: 0.625rem;
  border: 1px solid var(--eat-border-strong);
  border-radius: var(--eat-radius-sm);
  background: transparent;
  color: var(--eat-heading);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.eat-theme-toggle:hover { border-color: var(--eat-accent); color: var(--eat-accent); }
.eat-theme-toggle[hidden] { display: none; }
.eat-theme-toggle .eat-icon { inline-size: 1.25rem; block-size: 1.25rem; }
.eat-theme-toggle__sun, .eat-theme-toggle__text--light { display: none; }
.eat-theme-toggle__moon { display: inline-flex; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eat-theme-toggle__sun { display: inline-flex; }
  :root:not([data-theme="light"]) .eat-theme-toggle__moon,
  :root:not([data-theme="light"]) .eat-theme-toggle__text--dark { display: none; }
  :root:not([data-theme="light"]) .eat-theme-toggle__text--light { display: inline; }
}
html[data-theme="dark"] .eat-theme-toggle__sun { display: inline-flex; }
html[data-theme="dark"] .eat-theme-toggle__moon,
html[data-theme="dark"] .eat-theme-toggle__text--dark { display: none; }
html[data-theme="dark"] .eat-theme-toggle__text--light { display: inline; }

.eat-nav__list { list-style: none; margin: 0; padding: 0; }
.eat-nav__list a {
  display: flex;
  align-items: center;
  min-block-size: 3rem;
  color: var(--eat-heading);
  font-weight: 500;
  text-decoration: none;
}
.eat-nav__list a:hover { color: var(--eat-accent); }
.eat-nav__top { display: none; }
.eat-nav__tools-title { display: none; }

/* ---- phone and tablet (under 1152px): the nav is a drawer from the inline end (right in English, left in Hebrew) ---- */
@media (max-width: 71.99rem) {
  .js .eat-nav {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    inline-size: min(21rem, 88vw);
    padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--eat-bg);
    box-shadow: var(--eat-shadow-paper);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  [dir="rtl"].js .eat-nav, .js [dir="rtl"] .eat-nav { transform: translateX(-105%); }
  .js .eat-nav.is-open { transform: none; visibility: visible; transition: transform 0.25s ease, visibility 0s; }

  .js .eat-nav__top { display: flex; align-items: center; justify-content: space-between; }
  .eat-nav__title { font-weight: 600; color: var(--eat-heading); }
  .eat-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    border: 0;
    border-radius: var(--eat-radius-sm);
    background: var(--eat-surface);
    color: var(--eat-heading);
    cursor: pointer;
  }
  .js .eat-nav__list li + li a { border-block-start: 1px solid var(--eat-border); }
  .js .eat-nav__list a { font-size: 1.0625rem; }
  .eat-nav__cta { inline-size: 100%; }

  .js .eat-nav__tools {
    display: grid;
    gap: 0.625rem;
    margin-block-start: auto;
    padding-block-start: 1rem;
    border-block-start: 1px solid var(--eat-border);
  }
  .js .eat-nav__tools-title { display: block; margin: 0; font-size: 0.8125rem; color: var(--eat-muted); }
  .js .eat-nav__tools .eat-lang-switch,
  .js .eat-nav__tools .eat-theme-toggle { justify-content: flex-start; inline-size: 100%; min-block-size: 3rem; padding-inline: 1rem; }

  .eat-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgb(6 28 63 / 0.45);
  }
  .eat-backdrop[hidden] { display: none; }
  .eat-drawer-open { overflow: hidden; }
  /* the header is the drawer's stacking context, so it rises above everything while the drawer is open */
  .eat-drawer-open .eat-header { z-index: 100; }
  .eat-drawer-open .eat-a11y-button, .eat-drawer-open .eat-dock { visibility: hidden; }

  /* without the script the links simply wrap under the logo */
  html:not(.js) .eat-header__inner { flex-wrap: wrap; }
  html:not(.js) .eat-nav__list { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
  html:not(.js) .eat-nav__tools { display: flex; gap: 0.5rem; padding-block-end: 0.75rem; }
}

/* ---- wide screens (1152px and up): one row ---- */
@media (min-width: 72rem) {
  .eat-header__toggle, .eat-backdrop { display: none !important; }
  /* room between the header items grows with the screen: tight at 1024px, generous on a wide monitor */
  /* the menu sits next to the logo (on its reading side); the button, language and day/night go to the far end */
  .eat-nav {
    display: flex;
    flex: 1;
    align-items: center;
    gap: clamp(1rem, -1rem + 3vw, 3rem);
    margin-inline-start: clamp(1.5rem, -1rem + 3vw, 3.5rem);
  }
  .eat-nav__cta { margin-inline-start: auto; }
  .eat-nav__list { display: flex; gap: clamp(1rem, -0.5rem + 2.2vw, 2.75rem); }
  .eat-nav__list a { min-block-size: 2.75rem; font-size: 0.9375rem; white-space: nowrap; }
  .eat-nav__cta { min-block-size: 2.75rem; padding-inline: 1.25rem; white-space: nowrap; }
  .eat-nav__tools { display: flex; align-items: center; gap: clamp(0.5rem, 0.1rem + 0.6vw, 1rem); }
  .eat-nav__tools .eat-theme-toggle__text { display: none !important; }
  .eat-nav__tools .eat-theme-toggle { padding: 0; }
}

/* on wide screens the header gets more width than the page text, so its items are not squeezed together */
@media (min-width: 90rem) {
  .eat-header .eat-container { max-inline-size: calc(82rem + var(--eat-gutter) * 2); }
}

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

/* a navy band, like the closing call to action, with one faint arc across it */
.eat-hero {
  position: relative;
  overflow: hidden;
  padding-block: 2.5rem 3.5rem;
  background: var(--eat-band);
  color: var(--eat-on-band);
}
.eat-hero__bridge {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%; pointer-events: none;
  fill: none; stroke: #e2405f; stroke-width: 2; opacity: 0.14; vector-effect: non-scaling-stroke;
}
.eat-hero__bridge path { vector-effect: non-scaling-stroke; }
.eat-hero :focus-visible { outline-color: #ffffff; }

.eat-hero__inner { position: relative; display: grid; gap: 3rem; align-items: center; }

.eat-hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--eat-on-band-muted);
  letter-spacing: 0.04em;
}
.eat-hero__kicker::before { content: ""; inline-size: 0.5rem; block-size: 0.5rem; border-radius: 50%; background: #e2405f; flex: none; }

.eat-hero__title {
  font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-block-end: 1.25rem;
  color: var(--eat-on-band);
}
:lang(he) .eat-hero__title { letter-spacing: 0; line-height: 1.2; }

.eat-hero__lede { font-size: 1.1875rem; color: var(--eat-on-band-muted); max-inline-size: 34rem; margin: 0; }

/* three short facts under the buttons, each with its own icon and room around it */
.eat-hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem 2rem;
  margin: 1.75rem 0 0;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--eat-on-band-muted);
}
.eat-hero__facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.eat-hero__facts .eat-icon { inline-size: 1.25rem; block-size: 1.25rem; color: #a5c0ff; }
.eat-hero__facts strong { color: var(--eat-on-band); font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 39.99rem) {
  .eat-hero__facts { flex-direction: column; gap: 0.75rem; }
}

/* two sheets, as in the approved design (29.10.2026): the Hebrew original at the start, the signed translation
   overlapping it towards the end, and the arc bridging their tops. Sized in cqi (1% of the figure's width), so on a
   phone it is the same picture, smaller. */
.eat-sheets {
  --eat-tilt-source: -4deg;
  --eat-tilt-target: 3deg;
  position: relative;
  margin: 0 auto;
  inline-size: min(100%, 31.25rem);
  aspect-ratio: 500 / 480;
  container-type: inline-size;
}
:root[dir="rtl"] .eat-sheets { --eat-tilt-source: 4deg; --eat-tilt-target: -3deg; }
/* physical sides on purpose: each sheet carries its own dir (the Hebrew one rtl, the English one ltr), and Chrome
   resolves inline-start against the sheet's own direction, which put both sheets on the same side */
:root[dir="rtl"] .eat-sheet--source { left: auto; right: 0; }
:root[dir="rtl"] .eat-sheet--target { left: auto; right: 40%; }

.eat-sheet {
  position: absolute;
  box-sizing: border-box;
  block-size: 72.9%;
  border-radius: var(--eat-radius-paper);
  background: #ffffff;
  color: #13203a;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.2), 0 24px 50px rgb(0 0 0 / 0.35);
}

.eat-sheet--source {
  inset-block-start: 10.4%;
  left: 0;
  inline-size: 54%;
  padding: 5.6cqi 5.2cqi;
  background: #f1eee6;
  transform: rotate(var(--eat-tilt-source));
}

.eat-sheet--target {
  inset-block-start: 22.9%;
  left: 40%;
  inline-size: 58%;
  padding: 6cqi 5.6cqi 4.8cqi;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.2), 0 28px 60px rgb(0 0 0 / 0.4);
  transform: rotate(var(--eat-tilt-target));
}

.eat-sheet__org { margin: 0; font-size: 2.2cqi; letter-spacing: 0.14em; text-transform: uppercase; color: #4a5568; }
.eat-sheet--source .eat-sheet__org { letter-spacing: 0; text-transform: none; }
.eat-sheet__title { margin: 2.4cqi 0 2.8cqi; font-family: var(--eat-font-display); font-size: 5cqi; font-weight: 700; line-height: 1.2; color: #09295a; }
.eat-sheet--source .eat-sheet__title { margin-block-end: 3.6cqi; color: #13203a; }
.eat-sheet__body { margin: 0; font-size: 2.6cqi; line-height: 1.6; color: #4a5568; }
.eat-sheet__lines { display: grid; gap: 2cqi; }
.eat-sheet__lines span { display: block; block-size: 1.6cqi; border-radius: 1cqi; background: #d9dbe0; }
.eat-sheet__lines span:nth-child(1) { inline-size: 92%; }
.eat-sheet__lines span:nth-child(2) { inline-size: 70%; }
.eat-sheet__lines span:nth-child(3) { inline-size: 84%; }
.eat-sheet__lines span:nth-child(4) { inline-size: 58%; }
.eat-sheet__lines span:nth-child(5) { inline-size: 76%; }

.eat-sheet__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2cqi;
  margin-block-start: auto;
}

.eat-sheet__sign { inline-size: 24.8cqi; block-size: 6.4cqi; fill: none; stroke: #09295a; stroke-width: 2.2; stroke-linecap: round; }

.eat-seal {
  display: inline-grid;
  place-items: center;
  align-content: center;
  inline-size: 4.25rem;
  block-size: 4.25rem;
  border-radius: 50%;
  border: 2px solid #a80a2d;
  box-shadow: inset 0 0 0 3px #ffffff, inset 0 0 0 4px #a80a2d;
  color: #a80a2d;
  transform: rotate(-12deg);
  line-height: 1;
  flex: none;
}
.eat-seal span { font-family: var(--eat-font-display); font-size: 1.25rem; font-weight: 700; }
.eat-seal small { font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.14em; margin-block-start: 0.125rem; }
.eat-sheet .eat-seal { inline-size: 15.6cqi; block-size: 15.6cqi; border-width: 0.6cqi; box-shadow: inset 0 0 0 0.8cqi #ffffff, inset 0 0 0 1cqi #a80a2d; }
.eat-sheet .eat-seal span { font-size: 4.6cqi; }
.eat-sheet .eat-seal small { font-size: 1.6cqi; margin-block-start: 0.6cqi; }

.eat-arc {
  fill: none;
  stroke: var(--eat-arc);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* drawn from the Hebrew sheet to the English one: left to right in English, mirrored in Hebrew */
.eat-sheets__arc {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 5 / 2;
  overflow: visible;
  z-index: 1;
}
:root[dir="rtl"] .eat-sheets__arc { transform: scaleX(-1); }

/* the arc draws itself once, like a pen stroke */
@media (prefers-reduced-motion: no-preference) {
  .eat-arc path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: eat-draw 0.8s ease-out 0.25s forwards; }
}
@keyframes eat-draw { to { stroke-dashoffset: 0; } }

.eat-hero .eat-arc { stroke: #e2405f; stroke-width: 4; }

/* every 8s: the bridge draws, the signature writes, the stamp lands, then all of it fades and starts again.
   Without motion (device setting or the accessibility menu) the finished sheet simply stays. */
@media (prefers-reduced-motion: no-preference) {
  .eat-hero .eat-sheets__arc path { animation: eat-hero-bridge 8s ease-in-out infinite; }
  .eat-hero .eat-sheet--target { animation: eat-hero-sheet 8s ease-out infinite; }
  .eat-hero .eat-sheet__sign path { stroke-dasharray: 1; animation: eat-hero-sign 8s ease-in-out infinite; }
  .eat-hero .eat-seal { animation: eat-hero-stamp 8s cubic-bezier(0.2, 0.9, 0.3, 1.2) infinite; }
}
@keyframes eat-hero-sheet {
  0% { opacity: 0; transform: translateY(0.75rem) rotate(var(--eat-tilt-target)); }
  8%, 90% { opacity: 1; transform: rotate(var(--eat-tilt-target)); }
  97%, 100% { opacity: 0; transform: rotate(var(--eat-tilt-target)); }
}
@keyframes eat-hero-bridge {
  0%, 8% { stroke-dashoffset: 1; opacity: 1; }
  24%, 90% { stroke-dashoffset: 0; opacity: 1; }
  97%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes eat-hero-sign {
  0%, 26% { stroke-dashoffset: 1; }
  40%, 90% { stroke-dashoffset: 0; opacity: 1; }
  97%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes eat-hero-stamp {
  0%, 42% { opacity: 0; transform: scale(1.9) rotate(-21deg); }
  47% { opacity: 1; transform: scale(0.92) rotate(-12deg); }
  50%, 90% { opacity: 1; transform: rotate(-12deg); }
  97%, 100% { opacity: 0; transform: rotate(-12deg); }
}

@media (min-width: 60rem) {
  .eat-hero { padding-block: 4.5rem 6rem; }
  .eat-hero__inner { grid-template-columns: 1.1fr 1fr; gap: 4.5rem; }
}

/* ---------- trust line ---------- */

.eat-trust {
  border-block: 1px solid var(--eat-border);
  background: var(--eat-card);
  padding-block: 1.5rem;
  font-size: 0.9375rem;
  color: var(--eat-muted);
}
.eat-trust__inner { display: grid; gap: 0.5rem; }
.eat-trust__inner p { margin: 0; }
.eat-trust strong { color: var(--eat-heading); font-weight: 600; }
.eat-trust__no { font-variant-numeric: tabular-nums; color: var(--eat-heading); font-weight: 600; }
.eat-trust__iti { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.eat-trust__iti > div { flex: 1 1 16rem; display: grid; gap: 0.375rem; justify-items: start; }
/* ITI's own file, navy. On dark backgrounds its guidelines ask for the reversed (white) version: the same mark in white. */
.eat-trust__logo { inline-size: auto; block-size: 2.75rem; flex: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eat-trust__logo { filter: brightness(0) invert(1); }
}
html[data-theme="dark"] .eat-trust__logo { filter: brightness(0) invert(1); }
.eat-trust__check {
  display: inline-flex; align-items: center; gap: 0.375rem; min-block-size: 2.75rem;
  color: var(--eat-accent); font-weight: 500; text-decoration: underline; text-underline-offset: 0.2em;
}
.eat-trust__check .eat-icon { inline-size: 1.125rem; block-size: 1.125rem; flex: none; }
.eat-trust__check:hover { color: var(--eat-accent-hover); }

@media (min-width: 56rem) {
  .eat-trust__inner { grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
}

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

.eat-section { padding-block: var(--eat-section); }
.eat-section--panel { background: var(--eat-surface); }

.eat-section__header { max-inline-size: 40rem; margin-block-end: 2.5rem; }
.eat-section__title { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem); }
.eat-section__lede { color: var(--eat-muted); font-size: 1.125rem; margin: 0; }

/* steps: a vertical line on the phone, four columns on a wide screen */
.eat-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  position: relative;
}

.eat-step { display: flex; gap: 1rem; position: relative; }

.eat-step__node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  inline-size: 3rem;
  block-size: 3rem;
  border-radius: 50%;
  background: var(--eat-card);
  border: 1.5px solid var(--eat-heading);
  color: var(--eat-heading);
}
.eat-step__node .eat-icon { inline-size: 1.5rem; block-size: 1.5rem; }

/* the step number, a small badge on the icon */
.eat-step__num {
  position: absolute;
  inset-block-start: -0.375rem;
  inset-inline-end: -0.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 1.375rem;
  block-size: 1.375rem;
  padding-inline: 0.25rem;
  border-radius: 999px;
  background: var(--eat-accent);
  color: var(--eat-on-accent);
  box-shadow: 0 0 0 2px var(--eat-bg);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* the last step is filled: navy on the light page, white on the dark one */
.eat-step:last-child .eat-step__node { background: var(--eat-heading); border-color: var(--eat-heading); color: var(--eat-bg); }

.eat-step:not(:last-child)::before {
  content: "";
  position: absolute;
  inset-inline-start: 1.5rem;
  inset-block: 3rem -1.75rem;
  border-inline-start: 1.5px dashed var(--eat-border-strong);
}

.eat-step__title { font-size: 1.125rem; margin-block: 0.625rem 0.25rem; }
.eat-step__text { margin: 0; color: var(--eat-muted); }

@media (min-width: 56rem) {
  .eat-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .eat-step { flex-direction: column; }
  .eat-step:not(:last-child)::before {
    inset-inline: 3rem -2rem;
    inset-block: 1.5rem auto;
    border-inline-start: 0;
    border-block-start: 1.5px dashed var(--eat-border-strong);
  }
}

/* documents: a bilingual list with rules, not a grid of icon cards */
.eat-doclist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  column-gap: 3rem;
  border-block-start: 1px solid var(--eat-border-strong);
}

.eat-doclist li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
  border-block-end: 1px solid var(--eat-border-strong);
  font-weight: 500;
  color: var(--eat-heading);
}

.eat-doclist__other { font-weight: 400; color: var(--eat-muted); text-align: end; }

@media (min-width: 48rem) {
  .eat-doclist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* pricing */
.eat-split { display: grid; gap: 2.5rem; }

.eat-price__amount {
  font-family: var(--eat-font-display);
  font-size: clamp(4rem, 3rem + 4vw, 6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--eat-heading);
  margin: 0.5rem 0 0.75rem;
  font-variant-numeric: tabular-nums;
}

.eat-price__from { margin: 0 0 -0.5rem; font-weight: 600; color: var(--eat-muted); }

.eat-price__note { color: var(--eat-muted); max-inline-size: 26rem; margin-block-end: 1.75rem; }

.eat-receipt {
  inline-size: 100%;
  border-collapse: collapse;
  background: var(--eat-card);
  border: 1px solid var(--eat-border);
  border-radius: var(--eat-radius);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.eat-receipt__title { margin: 0 0 .75rem; font-size: 1rem; font-weight: 600; color: var(--eat-heading); }
.eat-receipt th, .eat-receipt td { padding: 1rem 1.25rem; border-block-end: 1px dashed var(--eat-border-strong); }
.eat-receipt tr:last-child th, .eat-receipt tr:last-child td { border-block-end: 0; }
.eat-receipt th { font-weight: 400; text-align: start; color: var(--eat-text); }
.eat-receipt td { text-align: end; font-weight: 600; color: var(--eat-heading); }

@media (min-width: 40rem) {
  .eat-receipt td { white-space: nowrap; }
}

@media (min-width: 56rem) {
  .eat-split { grid-template-columns: 1fr 1.15fr; gap: 5rem; align-items: center; }
}

/* about */
.eat-about { display: grid; gap: 2rem; max-inline-size: calc(52rem + var(--eat-gutter) * 2); }
.eat-about p { color: var(--eat-muted); font-size: 1.0625rem; }
.eat-about__photo {
  inline-size: 100%;
  max-inline-size: 20rem;
  block-size: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--eat-radius);
}

@media (max-width: 47.99rem) {
  .eat-about__photo { max-inline-size: 15rem; }
}
.eat-about__more {
  display: inline-flex; align-items: center; min-block-size: 2.75rem; margin-block-start: 0.75rem;
  color: var(--eat-accent); font-weight: 500; text-decoration: underline; text-underline-offset: 0.2em;
}
.eat-about__more:hover { color: var(--eat-accent-hover); }

/* about page: photo and credentials beside the title, then Elad's text */
.eat-about-hero { display: grid; gap: 1.5rem; margin-block-end: 2.5rem; padding-block-end: 2.5rem; border-block-end: 1px solid var(--eat-border); }
.eat-about-hero__text { display: grid; gap: 0.75rem; justify-items: start; }
.eat-about-hero__text .eat-page__title { margin: 0; }
.eat-about-hero__text .eat-page__lede { margin: 0; }
.eat-about-hero__text .eat-about__cert { margin-block-start: 0.5rem; }
.eat-about-hero__name { margin: 0; font-family: var(--eat-font-display); font-size: 1.25rem; color: var(--eat-heading); }
@media (min-width: 48rem) {
  .eat-about-hero--photo { grid-template-columns: 15rem 1fr; gap: 2.5rem; align-items: center; }
}
.eat-signoff__quote { font-size: 1.1875rem; color: var(--eat-heading); margin-block-start: 2rem; }
.eat-signoff { padding-block-start: 1rem; border-block-start: 1px solid var(--eat-border); color: var(--eat-muted); }
.eat-signoff p { margin: 0; }
.eat-signoff .eat-signoff__name { font-family: var(--eat-font-display); font-size: 1.375rem; color: var(--eat-heading); margin-block-end: 0.25rem; }

.eat-about__cert {
  display: flex; align-items: center; gap: 1rem; margin-block-start: 1.5rem; padding: 0.75rem;
  max-inline-size: 26rem; color: inherit; text-decoration: none;
  background: var(--eat-card); border: 1px solid var(--eat-border); border-radius: var(--eat-radius-sm);
  transition: border-color 0.2s, transform 0.2s;
}
.eat-about__cert img {
  inline-size: 4.5rem; block-size: auto; flex: none;
  border-radius: var(--eat-radius-paper); box-shadow: var(--eat-shadow-paper);
}
.eat-about__cert span { display: grid; gap: 0.125rem; }
.eat-about__cert strong { color: var(--eat-heading); font-weight: 600; }
.eat-about__cert small { color: var(--eat-muted); font-size: 0.875rem; }
.eat-about__cert small:last-child { color: var(--eat-accent); text-decoration: underline; text-underline-offset: 0.2em; }
.eat-about__cert:hover { border-color: var(--eat-accent); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .eat-about__cert { transition: none; }
  .eat-about__cert:hover { transform: none; }
}

@media (min-width: 48rem) {
  .eat-about--photo { grid-template-columns: 18rem 1fr; gap: 3.5rem; align-items: center; max-inline-size: var(--eat-container); }
}

/* certified for UK authorities: Elad's statement on one sheet of paper, the note under it */
.eat-certified {
  display: grid;
  gap: 1.75rem 3.5rem;
  padding: 1.75rem 1.5rem;
  background: var(--eat-card);
  border: 1px solid var(--eat-border);
  border-radius: var(--eat-radius-paper);
  box-shadow: var(--eat-shadow-paper);
}
.eat-certified__head .eat-section__title { margin-block-end: 1rem; }
.eat-certified__head .eat-section__lede { margin: 0; }
.eat-certified__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.eat-certified__points li { display: flex; gap: 0.875rem; align-items: flex-start; }
.eat-certified__points .eat-icon { flex: none; inline-size: 1.75rem; block-size: 1.75rem; color: var(--eat-accent); }
.eat-certified__points p { margin: 0; color: var(--eat-text); }
.eat-certified__note {
  margin: 0;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--eat-border);
  font-size: 0.875rem;
  color: var(--eat-muted);
}
@media (min-width: 56rem) {
  .eat-certified { grid-template-columns: 1fr 1.2fr; padding: 2.5rem 2.75rem; }
  .eat-certified__note { grid-column: 1 / -1; }
}

/* faq: rules, not boxes */
.eat-faq { border-block-start: 1px solid var(--eat-border-strong); margin-block-start: 2rem; }
.eat-faq__item { border-block-end: 1px solid var(--eat-border-strong); }

.eat-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-block-size: 3.5rem;
  padding-block: 1rem;
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--eat-heading);
  cursor: pointer;
  list-style: none;
}
.eat-faq__q::-webkit-details-marker { display: none; }
.eat-faq__q::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--eat-accent);
  transition: transform 0.2s ease;
}
.eat-faq__item[open] .eat-faq__q::after { transform: rotate(45deg); }
.eat-faq__a { margin: 0; padding-block-end: 1.25rem; color: var(--eat-muted); max-inline-size: 40rem; }
.eat-faq__q { transition: color 0.2s ease; }
.eat-faq__q:hover { color: var(--eat-accent); }
.eat-faq__q::after { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
/* theme.js wraps each answer in .eat-faq__body and animates its height and fade */
.eat-faq__body { overflow: hidden; }
.eat-faq__item.is-closing .eat-faq__q::after { transform: none; }

/* closing band */
.eat-cta {
  padding-block: var(--eat-section);
  background: var(--eat-band);
  color: var(--eat-on-band);
  text-align: center;
}
.eat-cta__inner { display: grid; justify-items: center; }
.eat-cta__arc { inline-size: min(16rem, 70%); block-size: 2.5rem; margin-block-end: 1.5rem; }
.eat-cta .eat-arc { stroke: #e2405f; }
.eat-cta__title { color: var(--eat-on-band); font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem); }
.eat-cta__text { color: var(--eat-on-band-muted); max-inline-size: 32rem; margin: 0; }

/* ---------- plain pages, order and checkout ---------- */

.eat-page { padding-block: 2.5rem 4rem; }
.eat-page .eat-container { max-inline-size: calc(47.5rem + var(--eat-gutter) * 2); }
.eat-page--wide .eat-container { max-inline-size: calc(var(--eat-container) + var(--eat-gutter) * 2); }
.eat-page__header { margin-block-end: 2rem; }
.eat-page__title { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.eat-page__lede { font-size: 1.125rem; color: var(--eat-muted); max-inline-size: 40rem; }

/* page with a featured image: a wide photo that fades into the page, and the title on a sheet of paper over its edge */
.eat-page--hero { padding-block-start: 0; }
.eat-page-hero { position: relative; block-size: clamp(13rem, 32vw, 26rem); overflow: hidden; }
.eat-page-hero__img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center 40%; }
.eat-page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 45%, var(--eat-bg));
}
.eat-page--hero .eat-page__header {
  position: relative; z-index: 1; margin-block: -4.5rem 2rem; padding: 1.5rem 1.5rem 1.25rem;
  background: var(--eat-card); border-radius: var(--eat-radius-paper); box-shadow: var(--eat-shadow-paper);
}
.eat-page--hero .eat-page__title { margin: 0 0 0.5rem; }
.eat-page--hero .eat-page__lede { margin: 0; }
@media (min-width: 48rem) {
  .eat-page--hero .eat-page__header { margin-block-start: -6rem; padding: 2rem 2.25rem 1.75rem; }
}

.eat-prose > * + * { margin-block-start: 1rem; }
.eat-prose h2 { font-size: 1.5rem; margin-block-start: 2.25rem; }
.eat-prose h3 { font-size: 1.125rem; margin-block-start: 1.75rem; }
.eat-prose ul, .eat-prose ol { padding-inline-start: 1.25rem; }
.eat-prose li + li { margin-block-start: 0.375rem; }

.eat-order-layout { display: grid; gap: 2.5rem; }

.eat-order-aside {
  padding: 1.5rem;
  border-radius: var(--eat-radius);
  background: var(--eat-card);
  border: 1px solid var(--eat-border);
  align-self: start;
}
.eat-order-aside h2 { font-size: 1.375rem; margin-block: 0 1rem; }

.eat-order-steps {
  margin: 0 0 1.25rem;
  padding-inline-start: 1.25rem;
  display: grid;
  gap: 0.75rem;
  color: var(--eat-muted);
}

@media (min-width: 60rem) {
  .eat-order-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; }
}
/* the turnaround under "what happens next"; the box is too tall now to stay sticky beside the form */
.eat-order-turnaround { margin-block-start: 1.5rem; padding-block-start: 1.5rem; border-block-start: 1px solid var(--eat-border); }
.eat-order-turnaround p { margin: 0 0 0.75rem; color: var(--eat-muted); font-size: 0.9375rem; }
.eat-order-turnaround .eat-order-turnaround__note { margin: 0; font-size: 0.875rem; }

/* WooCommerce pages (order received, pay for order), kept to the brand without restyling every field */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  font: inherit;
  color: var(--eat-text);
  background: var(--eat-card);
  border: 1px solid var(--eat-border-strong);
  border-radius: var(--eat-radius-sm);
  padding: 0.75rem 0.875rem;
  min-block-size: 3rem;
}
.woocommerce form .form-row label { font-weight: 500; color: var(--eat-heading); }
.woocommerce #payment { background: var(--eat-card); border-radius: var(--eat-radius); }
.woocommerce #payment #place_order,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
  background: var(--eat-accent);
  color: var(--eat-on-accent);
  border-radius: var(--eat-radius-sm);
  padding: 1rem 1.75rem;
  font: inherit;
  font-weight: 500;
}
.woocommerce #payment #place_order:hover,
.woocommerce button.button.alt:hover { background: var(--eat-accent-hover); }
.woocommerce table.shop_table { border-color: var(--eat-border); border-radius: var(--eat-radius-sm); background: var(--eat-card); }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-block-start-color: var(--eat-accent);
  background: var(--eat-card);
  color: var(--eat-text);
}
.woocommerce-error { border-block-start-color: var(--eat-error); }

/* contact page */
.eat-contact {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.eat-contact__item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: var(--eat-radius);
  border: 1px solid var(--eat-border);
  background: var(--eat-card);
}
.eat-contact__item .eat-icon { color: var(--eat-accent); inline-size: 2rem; block-size: 2rem; }
.eat-contact__item strong { display: block; color: var(--eat-heading); }
.eat-contact__item a { overflow-wrap: anywhere; }
/* the cards sit inside .eat-prose, whose list indent and li spacing would push them in and out of line */
.eat-prose .eat-contact { padding: 0; }
.eat-prose .eat-contact li + li { margin: 0; }

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

.eat-footer {
  padding-block: 3rem 6rem;
  background: var(--eat-bg);
  border-block-start: 1px solid var(--eat-border);
  font-size: 0.9375rem;
  color: var(--eat-muted);
}
.eat-footer__inner { display: grid; gap: 1.5rem; }
.eat-footer__about p { margin: 0.75rem 0 0; max-inline-size: 24rem; }
.eat-footer__address { margin-block-start: 0.5rem; font-style: normal; text-align: start; unicode-bidi: isolate; }
.eat-footer__contact, .eat-footer__links { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 0.25rem; }
.eat-footer__lang { margin-block-start: 0.75rem; }
.eat-footer__contact li { display: flex; align-items: center; gap: 0.5rem; }
.eat-footer__contact a, .eat-footer__links a { display: inline-flex; align-items: center; min-block-size: 2.75rem; }
.eat-footer__contact .eat-icon { inline-size: 1.125rem; block-size: 1.125rem; color: var(--eat-accent); }
.eat-footer a { color: var(--eat-heading); }
.eat-footer__copy { margin: 0; padding-block-start: 1.5rem; border-block-start: 1px solid var(--eat-border); }

@media (min-width: 48rem) {
  .eat-footer { padding-block-end: 2.5rem; }
  .eat-footer__inner { grid-template-columns: 2fr 1fr 1fr; }
  .eat-footer__copy { grid-column: 1 / -1; }
}

/* phone: the two actions stay in reach at the bottom */
.eat-dock {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  padding: 0.625rem var(--eat-gutter) calc(0.625rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--eat-bg) 94%, transparent);
  backdrop-filter: blur(10px);
  border-block-start: 1px solid var(--eat-border);
}
.eat-dock { transition: transform 0.25s ease, visibility 0s linear 0s; }
/* off screen and out of the tab order while tucked; visibility waits for the slide to finish */
.eat-dock.is-tucked { transform: translateY(110%); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s; }
.eat-dock .eat-button--primary { flex: 1; }
.eat-dock__wa { inline-size: 3rem; padding: 0; }

@media (min-width: 48rem) {
  .eat-dock { display: none; }
}

/* ---------- 404 ---------- */

.eat-404 { text-align: center; }
.eat-404 .eat-actions { justify-content: center; }
.eat-404__pair { display: inline-flex; align-items: flex-end; gap: 0.75rem; margin-block-end: 1.5rem; font-weight: 500; color: var(--eat-muted); }
.eat-404__pair .eat-arc { inline-size: 5rem; block-size: 1.5rem; }

/* ---------- coming soon ---------- */

.eat-soon { min-block-size: 100vh; display: grid; place-items: center; padding: 2rem var(--eat-gutter); text-align: center; }
.eat-soon__main { max-inline-size: 30rem; }
.eat-soon__logo { inline-size: min(15rem, 65vw); block-size: auto; margin-block-end: 2rem; }
.eat-soon__title { font-size: 2.25rem; }
.eat-soon__text { color: var(--eat-muted); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eat-soon__logo { padding: 1rem; border-radius: var(--eat-radius); background: #ffffff; }
}

/* ---------- motion ---------- */

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


/* ---------- accessibility menu ---------- */

.eat-a11y-button {
  position: fixed;
  inset-inline-start: 1rem;
  inset-block-end: 1rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 3rem;
  block-size: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--eat-navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgb(9 41 90 / 0.3);
  cursor: pointer;
}
.eat-a11y-button[hidden] { display: none; }
.eat-a11y-button .eat-icon { inline-size: 1.625rem; block-size: 1.625rem; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eat-a11y-button { background: #ffffff; color: #061c3f; }
}
html[data-theme="dark"] .eat-a11y-button { background: #ffffff; color: #061c3f; }

/* on the phone the dock sits at the bottom; the button stays above it */
@media (max-width: 47.99rem) {
  .eat-a11y-button { inset-block-end: calc(4.75rem + env(safe-area-inset-bottom)); }
}

.eat-a11y {
  position: fixed;
  inset-inline-start: 1rem;
  inset-block-end: 4.75rem;
  z-index: 80;
  inline-size: min(20rem, calc(100vw - 2rem));
  max-block-size: calc(100vh - 7rem);
  overflow-y: auto;
  padding: 1rem;
  border-radius: var(--eat-radius);
  border: 1px solid var(--eat-border);
  background: var(--eat-card);
  box-shadow: var(--eat-shadow-paper);
}
.eat-a11y[hidden] { display: none; }

@media (max-width: 47.99rem) {
  .eat-a11y { inset-block-end: calc(8.5rem + env(safe-area-inset-bottom)); }
}

.eat-a11y__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block-end: 0.75rem; }
.eat-a11y__title { margin: 0; font-family: var(--eat-font); font-size: 1.0625rem; font-weight: 600; }
.eat-a11y__close {
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 2.75rem; block-size: 2.75rem;
  border: 0; border-radius: var(--eat-radius-sm);
  background: var(--eat-surface); color: var(--eat-heading); cursor: pointer;
}
.eat-a11y__options { display: grid; gap: 0.5rem; }
.eat-a11y__opt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-block-size: 3rem;
  padding-inline: 0.875rem;
  border: 1px solid var(--eat-border-strong);
  border-radius: var(--eat-radius-sm);
  background: transparent;
  color: var(--eat-heading);
  font: inherit;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
}
.eat-a11y__opt .eat-icon { inline-size: 1.25rem; block-size: 1.25rem; color: var(--eat-accent); }
.eat-a11y__opt[aria-pressed="true"] { border-color: var(--eat-accent); box-shadow: inset 0 0 0 1px var(--eat-accent); background: var(--eat-surface); }
.eat-a11y__level { margin-inline-start: auto; font-weight: 600; color: var(--eat-accent); }
.eat-a11y__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-block-start: 0.875rem; font-size: 0.9375rem; }
.eat-a11y__reset {
  min-block-size: 2.75rem;
  padding-inline: 0.75rem;
  border: 0;
  background: none;
  color: var(--eat-accent);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* the settings themselves */
html.eat-a11y-text-1 { font-size: 112.5%; }
html.eat-a11y-text-2 { font-size: 125%; }
html.eat-a11y-links a:not(.eat-button):not(.eat-brand):not(.eat-lang-switch) { text-decoration: underline !important; text-underline-offset: 0.2em; }
html.eat-a11y-spacing body { letter-spacing: 0.03em; word-spacing: 0.12em; line-height: 1.9; }
html.eat-a11y-spacing p, html.eat-a11y-spacing li { margin-block-end: 1.25em; }
html.eat-a11y-motion *, html.eat-a11y-motion *::before, html.eat-a11y-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.eat-a11y-motion .eat-arc path { stroke-dashoffset: 0 !important; }
/* high contrast: black on white (or white on black in dark mode), no muted greys */
html.eat-a11y-contrast {
  --eat-bg: #ffffff; --eat-surface: #ffffff; --eat-card: #ffffff;
  --eat-text: #000000; --eat-muted: #000000; --eat-heading: #000000;
  --eat-accent: #0033cc; --eat-accent-hover: #001f80; --eat-border: #000000; --eat-border-strong: #000000;
  --eat-band: #000000; --eat-on-band-muted: #ffffff;
}
html.eat-a11y-contrast[data-theme="dark"] {
  --eat-bg: #000000; --eat-surface: #000000; --eat-card: #000000;
  --eat-text: #ffffff; --eat-muted: #ffffff; --eat-heading: #ffffff;
  --eat-accent: #ffd400; --eat-accent-hover: #ffe766; --eat-on-accent: #000000; --eat-border: #ffffff; --eat-border-strong: #ffffff;
  --eat-band: #000000;
}
html.eat-a11y-contrast a:not(.eat-button):not(.eat-brand):not(.eat-lang-switch) { text-decoration: underline; }

/* ---------- cookie notice ---------- */

.eat-cookies {
  position: fixed;
  inset-inline: 1rem;
  inset-block-end: 1rem;
  z-index: 75;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  max-inline-size: 34rem;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  border-radius: var(--eat-radius);
  border: 1px solid var(--eat-border);
  background: var(--eat-card);
  box-shadow: var(--eat-shadow-paper);
  font-size: 0.9375rem;
}
.eat-cookies[hidden] { display: none; }
.eat-cookies p { margin: 0; flex: 1 1 16rem; }
.eat-cookies__ok { min-block-size: 2.75rem; padding-inline: 1.5rem; }
/* while the notice shows, the accessibility button moves above it on the phone */
@media (max-width: 47.99rem) {
  .eat-cookies-open .eat-a11y-button { inset-block-end: calc(12rem + env(safe-area-inset-bottom)); }
}

/* a business fact still missing on a legal page ([eat_fact]) */
.eat-fact-missing { padding: 0 0.25em; border-radius: 4px; background: #fff3c4; color: #5c4400; font-weight: 600; }

/* ---------- translator desk (eat-orders templates/desk.php) ---------- */

.eat-desk { display: grid; gap: 2rem; }
.eat-desk h2 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.5rem; margin-block: 0 1rem; }
.eat-desk__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-inline-size: 1.75rem; block-size: 1.75rem; padding-inline: 0.5rem;
  border-radius: 999px; background: var(--eat-accent); color: var(--eat-on-accent);
  font-family: var(--eat-font); font-size: 0.875rem; font-weight: 600;
}
.eat-desk__who { margin: 0; color: var(--eat-muted); font-size: 0.9375rem; }
.eat-desk__order {
  display: grid; gap: 1rem; margin-block-end: 1rem; padding: 1.5rem;
  border-radius: var(--eat-radius); border: 1px solid var(--eat-border); background: var(--eat-card);
}
.eat-desk__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1rem; }
.eat-desk__title { margin: 0; font-size: 1.1875rem; }
.eat-desk__date { color: var(--eat-muted); font-size: 0.9375rem; }
.eat-desk__meta { display: grid; gap: 0.5rem 1.5rem; margin: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.eat-desk__meta div { display: grid; gap: 0.125rem; }
.eat-desk__meta dt { font-size: 0.8125rem; color: var(--eat-muted); }
.eat-desk__meta dd { margin: 0; font-weight: 500; color: var(--eat-heading); overflow-wrap: anywhere; }
.eat-desk__meta--contact { padding-block-start: 0.75rem; border-block-start: 1px solid var(--eat-border); }
.eat-desk__files { display: grid; gap: 0.75rem; }
.eat-desk__file { gap: 0.5rem; padding-inline: 1rem; }
.eat-desk__file small { color: var(--eat-muted); font-weight: 400; }
.eat-desk__done { display: grid; gap: 0.5rem; justify-items: start; }
.eat-desk__hint, .eat-desk__empty { margin: 0; color: var(--eat-muted); font-size: 0.9375rem; }
.eat-desk--login form { display: grid; gap: 0.75rem; max-inline-size: 24rem; }
.eat-desk--login label { display: block; font-weight: 500; color: var(--eat-heading); margin-block-end: 0.25rem; }
.eat-desk--login input[type="text"], .eat-desk--login input[type="password"] {
  inline-size: 100%; min-block-size: 3rem; padding: 0.75rem 0.875rem; font: inherit; font-size: max(1rem, 16px);
  color: var(--eat-text); background: var(--eat-card); border: 1px solid var(--eat-border-strong); border-radius: var(--eat-radius-sm);
}
.eat-desk--login .login-remember label, .eat-desk--login .itsec-recaptcha-opt-in__agree { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.eat-desk--login input[type="checkbox"] { inline-size: 1.125rem; block-size: 1.125rem; margin: 0; accent-color: var(--eat-accent); }
/* Solid Security's reCAPTCHA consent box ships a fixed light grey; this puts it on the theme tokens for both modes. */
.eat-desk--login .itsec-recaptcha-opt-in {
  margin: 0; padding: 1rem; font-size: 0.9375rem; color: var(--eat-text);
  background: var(--eat-surface); border: 1px solid var(--eat-border); border-radius: var(--eat-radius-sm); box-shadow: none;
}
.eat-desk--login .itsec-recaptcha-opt-in p { margin: 0; }
.eat-desk--login .itsec-recaptcha-opt-in p + p { margin-block-start: 0.75rem; }
.eat-desk--login .itsec-recaptcha-opt-in a { color: var(--eat-accent); }
.eat-desk--login input[type="submit"] {
  min-block-size: 3rem; padding: 0.75rem 1.5rem; border: 0; border-radius: var(--eat-radius-sm);
  background: var(--eat-accent); color: var(--eat-on-accent); font: inherit; font-weight: 500; cursor: pointer;
}

/* quote mode: the form page once a request is in */
.eat-form--sent { padding: clamp(1.25rem, 1rem + 2vw, 2rem); background: var(--eat-card); border: 1px solid var(--eat-border); border-radius: var(--eat-radius); gap: 0.75rem; }
.eat-form--sent p { margin: 0; }
.eat-form__sent-title { margin: 0 0 0.25rem; }
.eat-form__sent-small { color: var(--eat-muted); font-size: 0.9375rem; }

/* quote mode: pricing a request on the desk */
.eat-desk__quote { display: grid; gap: 0.5rem; justify-items: start; }
.eat-desk__quote label { font-weight: 500; color: var(--eat-heading); }
.eat-desk__quote input, .eat-desk__quote textarea { inline-size: 100%; max-inline-size: 32rem; font: inherit; color: var(--eat-text); background: var(--eat-bg); border: 1px solid var(--eat-border-strong); border-radius: var(--eat-radius-sm); padding: 0.75rem 0.875rem; }
.eat-desk__quote input { max-inline-size: 12rem; }
.eat-desk__quote button { margin-block-start: 0.5rem; }
.eat-desk__error { margin: 0; color: var(--eat-error, #b3261e); font-weight: 500; }

/* desk: a file with its "delete from the server" (only after it was downloaded) */
.eat-desk__file-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.eat-desk__file--gone { display: inline-flex; gap: 0.5rem; align-items: baseline; padding: 0.625rem 1rem; color: var(--eat-muted); text-decoration: line-through; }
.eat-desk__file--gone small { text-decoration: none; }
.eat-desk__delete { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0; }
.eat-desk__delete-button { font: inherit; font-size: 0.9375rem; padding: 0.5rem 0.875rem; border-radius: var(--eat-radius-sm); border: 1px solid var(--eat-error); background: transparent; color: var(--eat-error); cursor: pointer; }
.eat-desk__delete-button:hover:not(:disabled) { background: var(--eat-error-bg); }
.eat-desk__delete-button:disabled { border-color: var(--eat-border-strong); color: var(--eat-muted); cursor: not-allowed; }
.eat-desk__warn { flex-basis: 100%; color: var(--eat-error); font-weight: 500; }
/* desk: the quote form, folded once the quote is out */
.eat-desk__quote-wrap > summary { cursor: pointer; font-weight: 600; color: var(--eat-heading); padding-block: 0.25rem; }
.eat-desk__quote-wrap[open] > summary { margin-block-end: 0.75rem; }
.eat-desk__lang { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0.25rem 0; padding: 0; border: 0; }
.eat-desk__lang legend { padding: 0; margin-block-end: 0.25rem; font-weight: 500; color: var(--eat-heading); }
.eat-desk__lang label { display: inline-flex; gap: 0.375rem; align-items: center; font-weight: 400; }

/* pay page (eat-orders/templates/pay.php): what is paid for beside the payment, one card each */
.eat-pay__grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 56rem) { .eat-pay__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem; } }
.eat-pay__summary, .eat-pay__pay { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 1rem + 2vw, 2rem); background: var(--eat-card); border: 1px solid var(--eat-border); border-radius: var(--eat-radius); }
.eat-pay__kicker { margin: 0 0 -0.75rem; color: var(--eat-muted); font-size: 0.9375rem; font-weight: 500; }
.eat-pay__title, .eat-pay__heading { margin: 0; font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }
.eat-pay__price { margin: 0; font-family: var(--eat-font-display); font-size: clamp(2.75rem, 2rem + 3vw, 3.75rem); line-height: 1; color: var(--eat-heading); font-variant-numeric: tabular-nums; }
:lang(he) .eat-pay__price { font-weight: 700; }
.eat-pay__note { padding: 1rem 1.25rem; background: var(--eat-bg); border-inline-start: 3px solid var(--eat-accent); border-radius: var(--eat-radius-sm); }
.eat-pay__note p { margin: 0; }
.eat-pay__note .eat-pay__note-title { margin-block-end: 0.25rem; font-weight: 600; color: var(--eat-heading); }
.eat-pay__details { margin: 0; }
.eat-pay__details div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding-block: 0.625rem; border-block-end: 1px dashed var(--eat-border-strong); }
.eat-pay__details div:last-child { border-block-end: 0; }
.eat-pay__details dt { color: var(--eat-muted); }
.eat-pay__details dd { margin: 0; color: var(--eat-heading); font-weight: 500; text-align: end; }
.eat-pay__when, .eat-pay__secure { margin: 0; color: var(--eat-muted); font-size: 0.9375rem; }
.eat-pay__expired { margin: 0; color: var(--eat-error); font-weight: 500; }
.eat-pay__consent { display: grid; gap: 0.625rem; padding: 1rem 1.125rem; background: var(--eat-bg); border: 1px solid var(--eat-border); border-radius: var(--eat-radius-sm); }
.eat-pay__consent .eat-check { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; font-size: 0.9375rem; line-height: 1.6; }
.eat-pay__consent .eat-check input { flex: none; inline-size: 1.375rem; block-size: 1.375rem; margin: 0.15rem 0 0; accent-color: var(--eat-accent); }
.eat-pay__lock-note { margin: 0; font-weight: 600; color: var(--eat-heading); }
.eat-pay__methods { display: grid; gap: 1rem; transition: opacity 0.2s; }
.eat-pay__methods[data-locked] { opacity: 0.4; filter: grayscale(0.4); pointer-events: none; user-select: none; }
@media (prefers-reduced-motion: reduce) { .eat-pay__methods { transition: none; } }
/* WooCommerce's and Stripe's parts inside the card: no second frame around them */
.eat-pay #wc-stripe-express-checkout-element { margin-top: 0 !important; }
.eat-pay #payment { background: transparent; border-radius: 0; }
.eat-pay #payment ul.payment_methods { margin: 0; padding: 0; border: 0; list-style: none; }
.eat-pay #payment ul.payment_methods > li { margin: 0; list-style: none; }
.eat-pay #payment ul.payment_methods > li > label { font-weight: 600; color: var(--eat-heading); }
.eat-pay #payment div.payment_box { margin: 0.75rem 0 0; padding: 0; background: transparent; color: var(--eat-text); }
.eat-pay #payment div.payment_box::before { display: none; }
.eat-pay #payment div.form-row { margin: 1.25rem 0 0; padding: 0; }
.eat-pay #payment #place_order { float: none; inline-size: 100%; min-block-size: 3.25rem; font-size: 1.0625rem; font-weight: 600; }
/* our own spacing inside the pay cards, above the page's text rules */
.eat-pay .eat-pay__summary > *, .eat-pay .eat-pay__pay > * { margin-block: 0; }
.eat-pay .eat-pay__kicker { margin-block-end: -0.75rem; }
/* one way to pay by card: no radio and no "Payment methods" title above it */
.eat-pay #payment ul.payment_methods > li:only-child > input[type="radio"],
.eat-pay #payment ul.payment_methods > li:only-child > label { display: none; }
.eat-pay #payment ul.payment_methods > li:only-child > div.payment_box { margin-block-start: 0; }
.eat-pay fieldset.wc-upe-form { margin: 0; padding: 0; border: 0; }
/* the line between the wallets and the card form */
/* Stripe shows and hides it with an inline display, so the lines are inline blocks, not flex */
.eat-pay .eat-pay__or { margin: 0.25rem 0 !important; color: var(--eat-muted); font-size: 0.9375rem; text-align: center; white-space: nowrap; }
.eat-pay .eat-pay__or::before, .eat-pay .eat-pay__or::after { content: ""; display: inline-block; inline-size: 18%; vertical-align: middle; margin-inline: 0.75rem; border-block-start: 1px solid var(--eat-border); }
/* paying is the only thing to do on this page: the "send a document" bar stays away */
.woocommerce-order-pay .eat-dock { display: none; }

/* ---------- articles (template-article.php, page-articles.php) ---------- */
.eat-article__hero { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem) 0; }
.eat-article__hero-inner { max-inline-size: 52rem; }
.eat-article__kicker { margin: 0 0 0.75rem; font-weight: 600; font-size: 0.9375rem; }
.eat-article__kicker a { color: var(--eat-accent); text-decoration: none; }
.eat-article__kicker a:hover { text-decoration: underline; }
.eat-article__title { margin: 0; font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3rem); line-height: 1.15; color: var(--eat-heading); }
.eat-article__lede { margin: 1rem 0 0; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); line-height: 1.7; color: var(--eat-muted); }
.eat-article__byline { display: flex; align-items: center; gap: 0.875rem; margin-block-start: 1.5rem; }
.eat-article__byline-face { inline-size: 3.25rem; block-size: 3.25rem; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--eat-card), 0 0 0 4px var(--eat-border); }
.eat-article__byline p { margin: 0; }
.eat-article__byline-name { font-weight: 600; color: var(--eat-heading); }
.eat-article__byline-brand { display: block; font-weight: 400; font-size: 0.875rem; color: var(--eat-muted); }
.eat-article__byline-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-block-start: 0.25rem !important; font-size: 0.875rem; color: var(--eat-muted); }
.eat-article__byline-meta span { display: inline-flex; align-items: center; gap: 0.375rem; }
.eat-article__byline-meta .eat-icon { inline-size: 1rem; block-size: 1rem; }
.eat-article__cover { margin: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0 0; }
.eat-article__cover-img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--eat-radius); box-shadow: var(--eat-shadow-paper); }

/* how far along the article: a thin line under the header */
.eat-article__progress { position: sticky; inset-block-start: var(--eat-header-h); z-index: 40; block-size: 3px; margin-block-start: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.eat-article__progress span, .eat-toc__meter span { display: block; block-size: 100%; background: var(--eat-accent); transform: scaleX(0); transform-origin: left center; }
:root[dir="rtl"] .eat-article__progress span, :root[dir="rtl"] .eat-toc__meter span { transform-origin: right center; }

/* one column the width of the screen: a long chapter name in the phone bar is cut with an ellipsis, never widens the page */
.eat-article__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 1.5rem 3rem; }
.eat-article__body { font-size: 1.0625rem; line-height: 1.85; max-inline-size: 46rem; min-inline-size: 0; }
.eat-article__body > * + * { margin-block-start: 1.125rem; }

/* the chapters: a bar under the header on a phone, the list beside the text on a wide screen */
.eat-toc { position: sticky; inset-block-start: calc(var(--eat-header-h) + 3px); z-index: 30; min-inline-size: 0; margin-inline: calc(var(--eat-gutter, 1rem) * -1); background: var(--eat-bg); border-block-end: 1px solid var(--eat-border); }
.eat-toc__toggle { display: flex; align-items: center; gap: 0.625rem; inline-size: 100%; padding: 0.75rem var(--eat-gutter, 1rem); font: inherit; color: var(--eat-heading); background: none; border: 0; cursor: pointer; text-align: start; }
.eat-toc__toggle > .eat-icon { flex: none; inline-size: 1.25rem; block-size: 1.25rem; color: var(--eat-accent); }
.eat-toc__label { flex: none; font-weight: 700; }
.eat-toc__current { flex: 1; min-inline-size: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--eat-muted); font-size: 0.9375rem; }
.eat-toc__current::before { content: "·"; margin-inline-end: 0.5rem; }
.eat-toc__chevron { display: inline-flex; transition: transform 0.2s; }
.eat-toc.is-open .eat-toc__chevron { transform: rotate(180deg); }
.eat-toc__heading { display: none; }
.eat-toc__list { list-style: none; margin: 0; padding: 0.25rem var(--eat-gutter, 1rem) 0.75rem; counter-reset: chapter; }
.eat-toc.is-ready .eat-toc__list { display: none; position: absolute; inset-inline: 0; inset-block-start: 100%; max-block-size: 65vh; overflow: auto; background: var(--eat-card); border-block-end: 1px solid var(--eat-border); box-shadow: var(--eat-shadow-paper); }
.eat-toc.is-ready.is-open .eat-toc__list { display: block; }
.eat-toc__list li + li { margin-block-start: 0.125rem; }
.eat-toc__list a { display: flex; align-items: flex-start; gap: 0.625rem; padding: 0.5rem 0.625rem; border-radius: var(--eat-radius-sm); color: var(--eat-text); text-decoration: none; font-size: 0.9375rem; line-height: 1.45; }
.eat-toc__list a:hover { background: var(--eat-bg); color: var(--eat-heading); }
.eat-toc__icon { display: inline-flex; flex: none; margin-block-start: 0.05rem; color: var(--eat-muted); }
.eat-toc__icon .eat-icon { inline-size: 1.125rem; block-size: 1.125rem; }
.eat-toc__list a[aria-current] { background: var(--eat-card); color: var(--eat-heading); font-weight: 600; box-shadow: inset 3px 0 0 var(--eat-accent); }
:root[dir="rtl"] .eat-toc__list a[aria-current] { box-shadow: inset -3px 0 0 var(--eat-accent); }
.eat-toc__list a[aria-current] .eat-toc__icon { color: var(--eat-accent); }
.eat-toc__meter { display: none; }
html:has(.eat-toc) { scroll-padding-block-start: calc(var(--eat-header-h) + 4.5rem); }

@media (min-width: 64rem) {
  .eat-article__layout { grid-template-columns: 16.5rem minmax(0, 46rem); gap: 4rem; justify-content: center; align-items: start; padding-block-start: 2.5rem; }
  .eat-toc { inset-block-start: calc(var(--eat-header-h) + 2rem); margin: 0; background: none; border: 0; }
  .eat-toc__toggle { display: none; }
  .eat-toc__heading { display: block; margin: 0 0 0.75rem; padding-inline: 0.625rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--eat-muted); }
  :lang(he) .eat-toc__heading { letter-spacing: 0; font-size: 0.9375rem; }
  .eat-toc.is-ready .eat-toc__list, .eat-toc__list { display: block; position: static; padding: 0; max-block-size: none; overflow: visible; background: none; border: 0; box-shadow: none; }
  .eat-toc__meter { display: block; block-size: 3px; margin: 1rem 0.625rem 0; background: var(--eat-border); border-radius: 3px; overflow: hidden; }
  .eat-article__progress { display: none; }
  html:has(.eat-toc) { scroll-padding-block-start: calc(var(--eat-header-h) + 1.5rem); }
}

/* chapter titles with their icon */
.eat-prose .eat-article__h2 { display: flex; align-items: center; gap: 0.875rem; margin-block-start: 3rem; font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); line-height: 1.3; }
.eat-article__h2-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; inline-size: 2.75rem; block-size: 2.75rem; border-radius: 0.875rem; background: var(--eat-card); border: 1px solid var(--eat-border); color: var(--eat-accent); box-shadow: var(--eat-shadow-paper); }
.eat-article__h2-icon .eat-icon { inline-size: 1.375rem; block-size: 1.375rem; }

/* the two ITI articles side by side */
.eat-article__pair { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .eat-article__pair { grid-template-columns: 1fr 1fr; } }
.eat-article__card { display: grid; gap: 0.5rem; align-content: start; padding: 1.25rem; background: var(--eat-card); border: 1px solid var(--eat-border); border-radius: var(--eat-radius); font-size: 0.9875rem; line-height: 1.7; }
.eat-article__card p { margin: 0; }
.eat-article__card-tag { font-size: 0.8125rem; font-weight: 700; color: var(--eat-accent); }
.eat-article__card-title { font-family: "Frank Ruhl Libre", Georgia, serif; font-size: 1.1875rem; font-weight: 600; line-height: 1.35; color: var(--eat-heading); text-align: start; }

/* a sentence to stop on, and a sentence set apart */
.eat-article__key { font-size: 1.1875rem; font-weight: 600; color: var(--eat-heading); }
.eat-article__callout { padding: 1.125rem 1.375rem; background: var(--eat-card); border-inline-start: 4px solid var(--eat-accent); border-radius: var(--eat-radius-sm); font-size: 1.1875rem; font-weight: 600; line-height: 1.6; color: var(--eat-heading); box-shadow: var(--eat-shadow-paper); }

/* the example: a term and the word it may become */
.eat-article__example { padding: 1.25rem 1.375rem; background: var(--eat-card); border: 1px dashed var(--eat-border-strong); border-radius: var(--eat-radius); }
.eat-article__example p { margin: 0; }
.eat-article__example > * + * { margin-block-start: 0.75rem; }
.eat-article__example-tag { display: inline-block; padding: 0.125rem 0.625rem; border-radius: 999px; background: var(--eat-accent); color: var(--eat-on-accent); font-size: 0.8125rem; font-weight: 700; }
.eat-article__term { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; font-size: 1.5rem; font-weight: 700; color: var(--eat-heading); }
.eat-article__term [lang="en"] { font-family: "Frank Ruhl Libre", Georgia, serif; font-weight: 600; }
.eat-article__term-arrow::before { content: "\2192"; color: var(--eat-accent); }
:root[dir="rtl"] .eat-article__term-arrow::before { content: "\2190"; }

/* the quote */
.eat-article__quote { margin: 2rem 0; padding: 1.5rem 1.5rem 1.375rem; background: var(--eat-band, var(--eat-navy)); color: #fff; border-radius: var(--eat-radius); text-align: center; }
.eat-article__quote-label { margin: 0; font-size: 0.875rem; color: rgb(255 255 255 / 0.75); }
.eat-article__quote blockquote { margin: 0.5rem 0 0; }
.eat-article__quote blockquote p { margin: 0; font-family: "Frank Ruhl Libre", Georgia, serif; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); font-weight: 600; line-height: 1.3; }
.eat-article__quote figcaption { margin-block-start: 0.75rem; color: rgb(255 255 255 / 0.85); }

/* the study in four numbers */
.eat-article__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (min-width: 48rem) { .eat-article__stats { grid-template-columns: repeat(4, 1fr); } }
.eat-article__stat { display: grid; gap: 0.25rem; align-content: start; margin: 0 !important; padding: 1rem; background: var(--eat-card); border: 1px solid var(--eat-border); border-radius: var(--eat-radius-sm); }
.eat-article__stat strong { font-family: "Frank Ruhl Libre", Georgia, serif; font-size: 1.875rem; line-height: 1; color: var(--eat-accent); text-align: start; }
.eat-article__stat span { font-size: 0.875rem; line-height: 1.45; color: var(--eat-muted); }
.eat-article__stat--accent { background: var(--eat-accent); border-color: var(--eat-accent); }
.eat-article__stat--accent strong, .eat-article__stat--accent span { color: var(--eat-on-accent); }

/* the questions, as a checklist */
.eat-prose .eat-article__checks { list-style: none; padding: 0; display: grid; gap: 0.625rem; }
.eat-article__checks li { position: relative; margin: 0 !important; padding: 0.75rem 1rem; padding-inline-start: 3rem; background: var(--eat-card); border: 1px solid var(--eat-border); border-radius: var(--eat-radius-sm); font-weight: 500; color: var(--eat-heading); }
.eat-article__checks li::before { content: ""; position: absolute; inset-inline-start: 1rem; inset-block-start: 1.05rem; inline-size: 1.25rem; block-size: 1.25rem; border-radius: 50%; background: var(--eat-accent); }
.eat-article__checks li::after { content: ""; position: absolute; inset-inline-start: 1.42rem; inset-block-start: 1.28rem; inline-size: 0.35rem; block-size: 0.6rem; border: solid var(--eat-on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* pictures in the text */
.eat-article__figure { margin: 2rem 0; }
.eat-article__img { display: block; inline-size: 100%; block-size: auto; border-radius: var(--eat-radius); box-shadow: var(--eat-shadow-paper); }
.eat-article__figure figcaption { margin-block-start: 0.5rem; font-size: 0.875rem; color: var(--eat-muted); }

/* the last line */
.eat-article__closing { margin-block: 2.25rem !important; padding-block: 1.5rem; border-block: 1px solid var(--eat-border); font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem); font-weight: 700; line-height: 1.5; color: var(--eat-heading); text-align: center; }

/* sources and the disclaimer */
.eat-prose .eat-article__refs { padding-inline-start: 1.5rem; font-size: 0.9375rem; }
.eat-article__refs li { padding-inline-start: 0.25rem; }
.eat-article__refs li > span { display: block; color: var(--eat-text); }
.eat-article__refs li > span[dir="ltr"] { text-align: start; unicode-bidi: plaintext; }
.eat-article__refs a { display: inline-flex; margin-block-start: 0.25rem; font-weight: 600; }
.eat-article__note { font-size: 0.875rem; color: var(--eat-muted); }
.eat-article__disclaimer { padding: 1.25rem 1.375rem; background: var(--eat-card); border: 1px solid var(--eat-border); border-radius: var(--eat-radius); font-size: 0.875rem; line-height: 1.7; color: var(--eat-muted); }
.eat-article__disclaimer p { margin: 0; }
.eat-article__disclaimer p + p { margin-block-start: 0.625rem; }

/* the author */
.eat-article__author { padding-block-end: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.eat-article__author-card { display: grid; gap: 1.5rem; max-inline-size: 62rem; margin-inline: auto; padding: clamp(1.25rem, 1rem + 2vw, 2rem); background: var(--eat-card); border: 1px solid var(--eat-border); border-radius: var(--eat-radius); box-shadow: var(--eat-shadow-paper); }
@media (min-width: 48rem) { .eat-article__author-card { grid-template-columns: 20rem 1fr; align-items: center; gap: 2.25rem; } }
.eat-article__author-img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 1 / 0.88; object-fit: cover; border-radius: calc(var(--eat-radius) - 4px); }
.eat-article__author-text > * { margin: 0; }
.eat-article__author-text > * + * { margin-block-start: 0.75rem; }
.eat-article__author-kicker { font-size: 0.875rem; font-weight: 700; color: var(--eat-accent); }
.eat-article__author-name { font-size: 1.75rem; }
.eat-article__author-text .eat-actions { margin-block-start: 1.25rem; }
.eat-article__author-more { display: inline-block; font-weight: 600; }

/* the list of articles */
.eat-articles { list-style: none; margin: 1.5rem 0 3rem; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .eat-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.eat-articles__link { display: grid; block-size: 100%; overflow: hidden; background: var(--eat-card); border: 1px solid var(--eat-border); border-radius: var(--eat-radius); color: inherit; text-decoration: none; transition: box-shadow 0.2s, transform 0.2s; }
.eat-articles__link:hover { box-shadow: var(--eat-shadow-paper); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .eat-articles__link, .eat-toc__chevron { transition: none; } .eat-articles__link:hover { transform: none; } }
.eat-articles__img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.eat-articles__body { display: grid; gap: 0.5rem; padding: 1.25rem 1.375rem 1.5rem; }
.eat-articles__title { font-family: var(--eat-font-display); font-size: 1.375rem; font-weight: 700; line-height: 1.3; color: var(--eat-heading); }
.eat-articles__excerpt { color: var(--eat-muted); line-height: 1.6; }
.eat-articles__meta { font-size: 0.875rem; color: var(--eat-muted); }

/* home page: the latest articles; a single one lies on its side on a wide screen */
.eat-home-articles__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; }
.eat-home-articles__head .eat-section__title { margin: 0; }
.eat-home-articles__all { font-weight: 600; }
.eat-articles--home { margin-block-end: 0; }
@media (min-width: 48rem) { .eat-articles--home { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); } }
@media (min-width: 56rem) {
  .eat-articles--home .eat-articles__item:only-child .eat-articles__link { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
  .eat-articles--home .eat-articles__item:only-child .eat-articles__img { aspect-ratio: 16 / 10; block-size: auto; }
  .eat-articles--home .eat-articles__item:only-child .eat-articles__body { padding: 2rem 2.25rem; }
}
.eat-articles__more { margin-block-start: 0.25rem; font-weight: 600; color: var(--eat-accent); text-decoration: underline; text-underline-offset: 0.2em; }
