/* Mayora components, built by atomic design: tokens, then atoms, molecules, organisms, templates.
   Every colour, space and radius is a token from tokens.json. The look is flat: solid fills,
   round corners, no gradients, and one shadow kept for things that float (menus, dialogs).
   Three things make it Mayora's: the Marie (a scalloped biscuit disc), the Smile (a curved line
   under the words that matter) and the Rise (how everything moves). See SIGNATURE and MOTION below.
   Class prefix: myr-. Wrap a page (or any region) in .myr-root. */

/* ================= BASE ================= */
.myr-root {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  --myr-marie: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50.00 4.00 A11.2 11.2 0 0 1 67.60 7.50 A11.2 11.2 0 0 1 82.53 17.47 A11.2 11.2 0 0 1 92.50 32.40 A11.2 11.2 0 0 1 96.00 50.00 A11.2 11.2 0 0 1 92.50 67.60 A11.2 11.2 0 0 1 82.53 82.53 A11.2 11.2 0 0 1 67.60 92.50 A11.2 11.2 0 0 1 50.00 96.00 A11.2 11.2 0 0 1 32.40 92.50 A11.2 11.2 0 0 1 17.47 82.53 A11.2 11.2 0 0 1 7.50 67.60 A11.2 11.2 0 0 1 4.00 50.00 A11.2 11.2 0 0 1 7.50 32.40 A11.2 11.2 0 0 1 17.47 17.47 A11.2 11.2 0 0 1 32.40 7.50 A11.2 11.2 0 0 1 50.00 4.00Z'/%3E%3C/svg%3E");
  --myr-smile-arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M2 3Q50 14 98 3' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.myr-root *, .myr-root *::before, .myr-root *::after { box-sizing: border-box; }
.myr-root h1, .myr-root h2, .myr-root h3, .myr-root h4, .myr-root p, .myr-root ul, .myr-root ol { margin: 0; }
.myr-root img { max-width: 100%; height: auto; }
.myr-root [hidden] { display: none !important; }

/* Focus: one ring everywhere. 3px solid, 2px offset, never removed. */
.myr-root :focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: var(--focus-offset); }
.myr-on-brand :focus-visible { outline-color: var(--focus-on-brand); }
/* Keep focused items clear of the sticky header (2.4.11 Focus Not Obscured). */
.myr-root :target, .myr-root :focus { scroll-margin-top: 140px; }

.myr-sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ================= ATOMS ================= */

/* ---------- Icon ---------- */
.myr-icon { width: var(--icon-sm); height: var(--icon-sm); flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.myr-icon--md { width: var(--icon-md); height: var(--icon-md); }
.myr-icon--lg { width: var(--icon-lg); height: var(--icon-lg); }
[dir="rtl"] .myr-icon--flip { transform: scaleX(-1); }
.myr-icontile {
  display: inline-grid; place-content: center; flex: none; width: var(--target); height: var(--target);
  background: var(--bg-sunken); color: var(--myr-accent, var(--text-strong)); border-radius: var(--radius-md);
}
.myr-icontile--lg { width: 56px; height: 56px; border-radius: var(--radius-lg); }

/* ---------- Logo ---------- */
.myr-logo { display: inline-flex; align-items: center; justify-content: center; padding: var(--space-3) var(--space-4); background: var(--white); border-radius: var(--radius-md); }
.myr-logo img { display: block; height: 44px; width: auto; }
.myr-logo--sm img { height: 32px; }
.myr-logo--lg { padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); }
.myr-logo--lg img { height: 64px; }
.myr-logo--on-ink { background: var(--ink-band); }

/* ---------- SkipLink ---------- */
.myr-skip {
  position: absolute; inset-inline-start: var(--space-4); top: var(--space-4); z-index: 100;
  transform: translateY(-200%);
  display: inline-flex; align-items: center; min-height: var(--target);
  padding: 0 var(--space-5);
  background: var(--surface); color: var(--text-brand);
  font-weight: 700; font-size: 16px; text-decoration: underline;
  border: var(--border-thick) solid var(--text-brand); border-radius: var(--radius-pill);
}
.myr-skip:focus { transform: none; }

/* ---------- Button ---------- */
.myr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--target); min-width: var(--target);
  padding: 12px 26px;
  background: var(--brand); color: var(--on-brand);
  border: var(--border-thick) solid transparent; border-radius: var(--radius-pill);
  font-family: inherit; font-size: 15px; line-height: 20px; font-weight: 700;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), transform var(--duration-instant) var(--ease-standard);
}
.myr-btn:hover { background: var(--brand-hover); }
.myr-btn:active { background: var(--brand-pressed); transform: scale(.97); }
.myr-btn .myr-icon { transition: transform var(--duration-base) var(--ease-settle); }
.myr-btn:hover .myr-icon:last-child:not(:only-child) { transform: translateX(4px); }
[dir="rtl"] .myr-btn:hover .myr-icon--flip:last-child:not(:only-child) { transform: scaleX(-1) translateX(4px); }
.myr-btn--lg { min-height: var(--control-lg); padding: 14px 34px; font-size: 16px; }
.myr-btn--sm { min-height: 36px; padding: 6px 18px; font-size: 14px; }
.myr-btn--block { display: flex; width: 100%; }
.myr-btn--tonal { background: var(--brand-tint); color: var(--text-brand); }
.myr-btn--tonal:hover { background: var(--brand); color: var(--on-brand); }
.myr-btn--tonal:active { background: var(--brand-pressed); color: var(--on-brand); }
.myr-btn--secondary { background: var(--bg-sunken); color: var(--text-strong); }
.myr-btn--secondary:hover { background: var(--text-strong); color: var(--bg); }
.myr-btn--secondary:active { background: var(--text); color: var(--bg); }
.myr-btn--ghost { background: transparent; color: var(--text-brand); padding-inline: var(--space-4); }
.myr-btn--ghost:hover { background: var(--brand-tint); color: var(--text-brand); }
.myr-btn--ghost:active { background: var(--bg-sunken); color: var(--text-brand); }
.myr-btn--on-brand { background: var(--white); color: var(--sand-900); }
.myr-btn--on-brand:hover, .myr-btn--on-brand:active { background: var(--sand-100); color: var(--sand-900); }
.myr-btn--icon { padding: 0; width: var(--target); }
.myr-btn[disabled], .myr-btn[aria-disabled="true"] { background: var(--bg-sunken); color: var(--text-disabled); cursor: not-allowed; }

/* ---------- Link ---------- */
.myr-link {
  color: var(--text-brand); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  transition: text-decoration-thickness var(--duration-fast) var(--ease-standard);
}
.myr-link:hover { text-decoration-thickness: 3px; }
.myr-link--standalone { display: inline-flex; align-items: center; gap: var(--space-1); min-height: var(--target-min); }
.myr-link--standalone .myr-icon { transition: transform var(--duration-base) var(--ease-settle); }
.myr-link--standalone:hover .myr-icon { transform: translateX(3px); }
[dir="rtl"] .myr-link--standalone:hover .myr-icon { transform: scaleX(-1) translateX(3px); }

/* ---------- Tag ---------- */
.myr-tag {
  display: inline-flex; align-items: center; gap: var(--space-1); min-height: 28px; padding: 2px var(--space-3);
  background: var(--bg-sunken); color: var(--text-strong);
  border-radius: var(--radius-pill); font-size: 13px; line-height: 18px; font-weight: 600; white-space: nowrap;
}
.myr-tag--brand { background: var(--brand-tint); color: var(--text-brand); }
.myr-tag--sun { background: var(--sun-soft); color: var(--sun-ink); }
.myr-tag--leaf { background: var(--leaf-soft); color: var(--leaf-ink); }
.myr-tag--sky { background: var(--sky-soft); color: var(--sky-ink); }
.myr-tag--plum { background: var(--plum-soft); color: var(--plum-ink); }

/* ---------- Chip (a tag you can press) ---------- */
.myr-chip {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--target); padding: 0 var(--space-5);
  background: var(--bg-sunken); color: var(--text-strong);
  border: var(--border-thick) solid transparent; border-radius: var(--radius-pill);
  font-family: inherit; font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}
.myr-chip:hover { border-color: var(--text-strong); }
.myr-chip[aria-pressed="true"] { background: var(--text-strong); color: var(--bg); font-weight: 700; }
.myr-chip:active { transform: scale(.96); }
.myr-chip .myr-icon { width: 0; opacity: 0; transform: scale(0); transition: width var(--duration-base) var(--ease-settle), transform var(--duration-base) var(--ease-settle), opacity var(--duration-fast) var(--ease-standard); }
.myr-chip[aria-pressed="true"] .myr-icon { width: var(--icon-sm); opacity: 1; transform: none; }

/* ---------- Input, Select, Textarea ---------- */
.myr-input, .myr-select, .myr-textarea {
  width: 100%; min-height: var(--target);
  padding: 10px 16px;
  background: var(--surface); color: var(--text-strong);
  border: var(--border-thin) solid var(--border-control); border-radius: var(--radius-md);
  font-family: inherit; font-size: 16px; line-height: 22px;
  transition: border-color var(--duration-fast) var(--ease-standard);
}
.myr-textarea { min-height: 132px; resize: vertical; }
.myr-input::placeholder, .myr-textarea::placeholder { color: var(--text-muted); opacity: 1; }
.myr-input:hover, .myr-select:hover, .myr-textarea:hover { border-color: var(--text-strong); }
.myr-input[aria-invalid="true"], .myr-select[aria-invalid="true"], .myr-textarea[aria-invalid="true"] {
  border: var(--border-thick) solid var(--danger); padding: 9px 15px;
}
.myr-input:disabled, .myr-select:disabled, .myr-textarea:disabled {
  background: var(--bg-sunken); color: var(--text-disabled); border-color: var(--border); cursor: not-allowed;
}
.myr-select {
  appearance: none; padding-inline-end: var(--space-10);
  background-image: linear-gradient(45deg, transparent 50%, var(--text-strong) 50%), linear-gradient(135deg, var(--text-strong) 50%, transparent 50%);
  background-position: calc(100% - 22px) 19px, calc(100% - 16px) 19px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
[dir="rtl"] .myr-select { background-position: 16px 19px, 22px 19px; }
.myr-label { color: var(--text-strong); font-size: 14px; line-height: 20px; font-weight: 600; }
.myr-label__req { color: var(--text-muted); font-weight: 400; }
.myr-hint { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ---------- Checkbox and Radio ---------- */
.myr-check { display: flex; align-items: flex-start; gap: var(--space-3); min-height: var(--target); padding: 10px 0; cursor: pointer; color: var(--text); }
.myr-check input {
  appearance: none; flex: none; width: 24px; height: 24px; margin: 0;
  background: var(--surface); border: var(--border-thick) solid var(--border-control); border-radius: var(--radius-xs);
  cursor: pointer; display: grid; place-content: center; transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}
.myr-check input::after {
  content: ""; width: 12px; height: 7px; margin-top: -3px;
  border-inline-start: 3px solid var(--on-brand); border-bottom: 3px solid var(--on-brand);
  transform: rotate(-45deg) scale(0); transition: transform var(--duration-base) var(--ease-settle);
}
.myr-check input:checked { background: var(--brand); border-color: var(--brand); }
.myr-check input:checked::after { transform: rotate(-45deg) scale(1); }
.myr-check input[type="radio"] { border-radius: var(--radius-pill); }
.myr-check input[type="radio"]::after { width: 10px; height: 10px; margin: 0; border: 0; background: var(--on-brand); border-radius: var(--radius-pill); transform: scale(0); }
.myr-check input[type="radio"]:checked::after { transform: scale(1); }
.myr-check input:hover { border-color: var(--text-strong); }
.myr-check input[aria-invalid="true"] { border-color: var(--danger); }
.myr-check input:disabled { background: var(--bg-sunken); border-color: var(--border); cursor: not-allowed; }
.myr-check input:disabled + span { color: var(--text-disabled); }
.myr-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.myr-fieldset legend { padding: 0; margin-bottom: var(--space-1); color: var(--text-strong); font-size: 14px; line-height: 20px; font-weight: 600; }

/* ================= MOLECULES ================= */

/* ---------- Form field: label + control + hint + error ---------- */
.myr-field { display: flex; flex-direction: column; gap: var(--space-2); max-width: 480px; }
.myr-error {
  display: flex; align-items: flex-start; gap: var(--space-2);
  color: var(--danger); font-size: 14px; line-height: 1.55; font-weight: 600;
}
.myr-error .myr-icon { margin-top: 3px; }

/* ---------- Search field: input + button ---------- */
.myr-search { position: relative; display: flex; max-width: 480px; }
.myr-search .myr-input { border-radius: var(--radius-pill); padding-inline: var(--space-5) 56px; }
.myr-search__btn {
  position: absolute; inset-inline-end: 4px; top: 4px; display: grid; place-content: center; width: 36px; height: 36px; padding: 0;
  background: var(--text-strong); color: var(--bg); border: 0; border-radius: var(--radius-pill); cursor: pointer; transition: background-color var(--duration-fast) var(--ease-standard);
}
.myr-search__btn:hover { background: var(--brand); color: var(--on-brand); }

/* ---------- Section heading: eyebrow + title + lead + link ---------- */
.myr-sectionhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4) var(--space-8); }
.myr-sectionhead__text { display: grid; gap: var(--space-2); max-width: var(--measure); }
.myr-eyebrow { color: var(--myr-accent, var(--text-brand)); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.myr-sectionhead__title { color: var(--text-strong); font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -0.5px; }
.myr-sectionhead__lead { color: var(--text); font-size: 18px; line-height: 1.55; }

/* ---------- Message ---------- */
.myr-message {
  display: flex; gap: var(--space-3); padding: var(--space-4) var(--space-5);
  background: var(--info-bg); color: var(--text-strong); border-radius: var(--radius-md);
}
.myr-message > .myr-icon { color: var(--info); margin-top: 2px; }
.myr-message__title { font-weight: 700; font-size: 16px; line-height: 1.4; }
.myr-message__body { color: var(--text-strong); font-size: 14px; line-height: 1.55; margin-top: var(--space-1); }
.myr-message__body a { color: inherit; font-weight: 700; }
.myr-message--success { background: var(--success-bg); }
.myr-message--success > .myr-icon { color: var(--success); }
.myr-message--warning { background: var(--warning-bg); }
.myr-message--warning > .myr-icon { color: var(--warning); }
.myr-message--danger { background: var(--danger-bg); }
.myr-message--danger > .myr-icon { color: var(--danger); }

/* ---------- Breadcrumb ---------- */
.myr-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; padding: 0; font-size: 14px; }
.myr-breadcrumb li { display: inline-flex; align-items: center; color: var(--text-muted); }
.myr-breadcrumb li + li::before { content: "/"; padding: 0 var(--space-2); color: var(--text-muted); }
.myr-breadcrumb a { display: inline-flex; align-items: center; min-height: var(--target-min); color: var(--text-brand); text-decoration: underline; text-underline-offset: 3px; }
.myr-breadcrumb [aria-current="page"] { color: var(--text-strong); font-weight: 700; }

/* ---------- Pagination ---------- */
.myr-pagination ul { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; }
.myr-pagination a, .myr-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--target); min-height: var(--target); padding: 0 var(--space-3);
  color: var(--text-strong); font-size: 14px; font-weight: 700; text-decoration: none;
  border: var(--border-thick) solid transparent; border-radius: var(--radius-pill); background: var(--bg-sunken);
  transition: border-color var(--duration-fast) var(--ease-standard);
}
.myr-pagination a:hover { border-color: var(--text-strong); }
.myr-pagination [aria-current="page"] { background: var(--text-strong); color: var(--bg); text-decoration: underline; text-underline-offset: 4px; }
.myr-pagination span[aria-hidden] { background: none; color: var(--text-muted); min-width: var(--target-min); }
.myr-pagination [aria-disabled="true"] { color: var(--text-disabled); }

/* ---------- Brand card ---------- */
.myr-grid > li, .grid3 > li { display: flex; }
.myr-brandcard {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1);
  padding: var(--space-3) var(--space-3) var(--space-5); text-decoration: none;
  background: var(--bg-subtle); color: var(--text-strong);
  border: var(--border-thick) solid transparent; border-radius: var(--radius-lg);
  transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), transform var(--duration-base) var(--ease-rise);
}
.myr-brandcard:hover { background: var(--bg-sunken); border-color: var(--text-strong); transform: translateY(calc(-1 * var(--rise-sm))); }
.myr-brandcard__logo { transition: transform var(--duration-base) var(--ease-settle); }
.myr-brandcard:hover .myr-brandcard__logo { transform: scale(1.05); }
.myr-brandcard__logo { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: grid; place-content: center; margin-bottom: var(--space-3); padding: var(--space-3); background: var(--white); border-radius: var(--radius-md); color: var(--sand-600); font-size: 14px; }
.myr-brandcard__name { padding-inline: var(--space-2); font-size: 16px; line-height: 1.3; font-weight: 700; }
.myr-brandcard__category { padding-inline: var(--space-2); color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ---------- News card ---------- */
.myr-newscard { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); max-width: 380px; }
.myr-newscard__frame { display: block; width: 100%; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-sunken); }
.myr-newscard__media { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform var(--duration-reveal) var(--ease-rise); }
.myr-newscard:hover .myr-newscard__media { transform: scale(1.05); }
.myr-newscard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.myr-newscard__date { color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.myr-newscard__title { color: var(--text-strong); font-size: 20px; line-height: 1.3; font-weight: 700; }
.myr-newscard__title a { color: inherit; text-decoration: none; }
.myr-newscard__title a:hover { color: var(--text-brand); text-decoration: underline; text-underline-offset: 4px; }
.myr-newscard__excerpt { color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Stat fact ---------- */
.myr-stat { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-6); background: var(--bg-subtle); border-radius: var(--radius-lg); }
.myr-stat__lead { color: var(--text); font-size: 14px; line-height: 1.55; }
.myr-stat__value { color: var(--myr-accent, var(--text-strong)); font-size: 56px; line-height: 1.05; font-weight: 800; letter-spacing: -1.5px; }
.myr-stat__label { color: var(--text-strong); font-size: 16px; line-height: 1.4; font-weight: 700; }

/* ================= ORGANISMS ================= */

/* ---------- Header ---------- */
.myr-header { background: var(--surface); color: var(--text); border-bottom: var(--border-thin) solid var(--border); }
.myr-header__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.myr-utilitybar { background: var(--bg-subtle); }
.myr-utility { display: flex; justify-content: flex-end; align-items: center; gap: var(--space-1); min-height: var(--target); font-size: 14px; color: var(--text); }
.myr-utility a, .myr-utility button {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: var(--target); padding: 0 var(--space-3);
  background: none; border: 0; border-radius: var(--radius-pill); color: inherit; font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
}
.myr-utility a:hover, .myr-utility button:hover { color: var(--text-strong); text-decoration: underline; text-underline-offset: 4px; }
.myr-navbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 76px; }
.myr-wordmark { display: inline-flex; align-items: center; min-height: var(--target); text-decoration: none; border-radius: var(--radius-sm); }
.myr-wordmark img { display: block; height: 44px; width: auto; }
[data-theme="dark"] .myr-wordmark { background: var(--white); padding: 0 var(--space-3); }
.myr-nav { display: flex; align-items: center; gap: var(--space-1); list-style: none; padding: 0; }
.myr-nav > li > a {
  display: flex; align-items: center; min-height: var(--target);
  padding: 0 var(--space-4); border-radius: var(--radius-pill);
  color: var(--text-strong); font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}
.myr-nav > li > a:hover { background: var(--bg-sunken); }
.myr-nav > li > a:active { transform: scale(.97); }
.myr-nav > li > a[aria-current="page"] { background: var(--brand-tint); color: var(--text-brand); font-weight: 700; }
.myr-menubtn {
  display: none; align-items: center; gap: var(--space-2); min-height: var(--target); padding: 0 var(--space-4);
  background: var(--bg-sunken); border: 0; border-radius: var(--radius-pill); color: var(--text-strong); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.myr-menubtn[aria-expanded="true"] { background: var(--brand-tint); color: var(--text-brand); }
@media (max-width: 991px) {
  .myr-navbar { flex-wrap: wrap; row-gap: 0; min-height: 64px; }
  .myr-navbar > .myr-btn { display: none; }
  .myr-navbar > nav { flex-basis: 100%; padding-bottom: var(--space-4); }
  .myr-nav { flex-direction: column; align-items: stretch; }
  .myr-nav > li > a { min-height: 48px; font-size: 17px; }
  .myr-wordmark img { height: 36px; }
  .myr-menu-ready .myr-menubtn { display: inline-flex; }
  .myr-menu-ready .myr-menubtn[aria-expanded="false"] ~ nav { display: none; }
  .myr-js .myr-menubtn[aria-expanded="true"] ~ nav { animation: myr-rise var(--duration-base) var(--ease-rise) both; --rise-md: 8px; }
}
.myr-langmenu { position: relative; }
.myr-langmenu__list {
  position: absolute; inset-inline-end: 0; top: calc(100% + 4px); z-index: 10; min-width: 200px;
  margin: 0; padding: var(--space-2); list-style: none;
  background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-overlay);
}
.myr-langmenu__list[hidden] { display: none; }
.myr-langmenu__list a { display: flex; width: 100%; padding: 0 var(--space-3); border-radius: var(--radius-sm); color: var(--text-strong); }
.myr-langmenu__list a[aria-current="true"] { color: var(--text-brand); font-weight: 700; }

/* ---------- Hero banner ---------- */
.myr-hero { position: relative; }
.myr-hero__slide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-4); align-items: stretch; }
.myr-hero__slide[hidden] { display: none; }
.myr-hero__caption {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--space-4);
  padding: var(--space-10) var(--space-10) calc(var(--space-10) + var(--target) + var(--space-6));
  background-color: var(--bg-subtle); color: var(--text); border-radius: var(--radius-xl);
}
.myr-hero__title { color: var(--text-strong); font-size: 40px; line-height: 1.16; font-weight: 800; letter-spacing: -1px; }
.myr-hero__title a { color: inherit; text-decoration: none; }
.myr-hero__text { font-size: 18px; line-height: 1.55; }
.myr-hero__media { display: block; width: 100%; height: 100%; min-height: 380px; object-fit: cover; background: var(--bg-sunken); border-radius: var(--radius-xl); }
.myr-hero__controls { position: absolute; inset-inline-start: var(--space-10); bottom: var(--space-10); display: flex; align-items: center; gap: var(--space-2); }
.myr-hero__btn {
  display: inline-grid; place-content: center; width: var(--target); height: var(--target); padding: 0;
  background: var(--surface); border: var(--border-thick) solid transparent; border-radius: var(--radius-pill);
  color: var(--text-strong); cursor: pointer; transition: border-color var(--duration-fast) var(--ease-standard), transform var(--duration-instant) var(--ease-standard);
}
.myr-hero__btn:hover { border-color: var(--text-strong); }
.myr-hero__btn:active { transform: scale(.92); }
.myr-hero__count { color: var(--text); font-size: 14px; font-weight: 600; min-width: 44px; text-align: center; }
.myr-hero__seal { position: absolute; inset-inline-end: calc(-1 * var(--space-4)); top: calc(-1 * var(--space-8)); z-index: 2; }
/* Each slide arrives with the Rise: words first, one after another, then the picture unveils upward. */
.myr-js .myr-hero__slide:not([hidden]) .myr-hero__caption > * { animation: myr-rise var(--duration-reveal) var(--ease-rise) both; }
.myr-js .myr-hero__slide:not([hidden]) .myr-hero__caption > :nth-child(2) { animation-delay: var(--stagger); }
.myr-js .myr-hero__slide:not([hidden]) .myr-hero__caption > :nth-child(3) { animation-delay: calc(2 * var(--stagger)); }
.myr-js .myr-hero__slide:not([hidden]) .myr-hero__caption > :nth-child(4) { animation-delay: calc(3 * var(--stagger)); }
.myr-js .myr-hero__slide:not([hidden]) .myr-hero__media { animation: myr-unveil var(--duration-reveal) var(--ease-rise) both; }
@media (max-width: 767px) {
  .myr-hero__slide { grid-template-columns: 1fr; }
  .myr-hero__caption { padding: var(--space-6); }
  .myr-hero__title { font-size: 32px; }
  .myr-hero__media { min-height: 0; aspect-ratio: 16 / 10; }
  .myr-hero__controls { position: static; margin-top: var(--space-4); }
  .myr-hero__seal { display: none; }
}

/* ---------- Stat band ---------- */
.myr-statband { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); list-style: none; padding: 0; }
.myr-statband--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991px) { .myr-statband { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .myr-statband { grid-template-columns: 1fr; } }

/* ---------- Brand grid ---------- */
.myr-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; }
.myr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: var(--space-4); list-style: none; padding: 0; }
@media (max-width: 479px) { .myr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); } }
.myr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); }
.myr-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.myr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 991px) { .myr-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .myr-grid--2, .myr-grid--4 { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .myr-grid--3 { grid-template-columns: 1fr; } }

/* ---------- Call to action ---------- */
.myr-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6) var(--space-10);
  padding: var(--space-12); background: var(--ink-band); color: var(--on-ink-muted); border-radius: var(--radius-xl);
}
.myr-cta__text { display: grid; gap: var(--space-2); max-width: 560px; }
.myr-cta__title { color: var(--on-brand); font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -0.5px; }
.myr-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 767px) { .myr-cta { padding: var(--space-8) var(--space-6); } }

/* ---------- Contact form ---------- */
.myr-form { display: grid; gap: var(--space-5); padding: var(--space-8); background: var(--bg-subtle); border-radius: var(--radius-xl); max-width: 720px; }
.myr-form .myr-field { max-width: none; }
.myr-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.myr-form__title { color: var(--text-strong); font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.25px; }
.myr-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
@media (max-width: 599px) { .myr-form { padding: var(--space-5); } .myr-form__row { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.myr-timeline { list-style: none; padding: 0; max-width: var(--measure); }
.myr-timeline li { position: relative; padding: 0 0 var(--space-8) var(--space-10); }
[dir="rtl"] .myr-timeline li { padding: 0 var(--space-10) var(--space-8) 0; }
.myr-timeline li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 8px; width: 16px; height: 16px; background: var(--brand); border-radius: var(--radius-pill); }
.myr-timeline li::after { content: ""; position: absolute; inset-inline-start: 11px; top: 32px; bottom: -4px; width: 2px; background: var(--border-control); border-radius: var(--radius-pill); }
.myr-timeline li:last-child { padding-bottom: 0; }
.myr-timeline li:last-child::after { display: none; }
.myr-timeline__year { color: var(--text-strong); font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.25px; }
.myr-timeline__text { color: var(--text); margin-top: var(--space-1); }

/* ---------- Footer ---------- */
.myr-footer { background: var(--ink-band); color: var(--on-brand); padding: var(--space-12) var(--space-6) var(--space-8); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.myr-footer__inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-8) var(--space-6); }
.myr-footer__brand { display: flex; flex-direction: column; gap: var(--space-4); }
.myr-footer__mark img { display: block; height: 40px; width: auto; }
.myr-footer__tagline { color: var(--on-ink-muted); font-size: 14px; line-height: 1.55; max-width: 240px; }
.myr-footer__title { color: var(--on-brand); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: var(--space-3); }
.myr-footer ul { list-style: none; padding: 0; }
.myr-footer a { display: inline-flex; align-items: center; min-height: 32px; color: var(--on-ink-muted); font-size: 14px; line-height: 1.55; text-decoration: none; transition: color var(--duration-fast) var(--ease-standard); }
.myr-footer a:hover { color: var(--on-brand); text-decoration: underline; text-underline-offset: 3px; }
.myr-footer__base { max-width: var(--container); margin: var(--space-8) auto 0; padding-top: var(--space-6); border-top: var(--border-thin) solid var(--sand-700); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); justify-content: space-between; align-items: center; color: var(--on-ink-muted); font-size: 12px; line-height: 1.5; font-weight: 500; }
.myr-footer__base ul { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-5); }
@media (max-width: 767px) { .myr-footer__inner { grid-template-columns: 1fr 1fr; } .myr-footer__brand { grid-column: 1 / -1; } }

/* ================= STORY: molecules and organisms for telling it ================= */

/* ---------- Sub navigation (molecule) ---------- */
.myr-subnav ul { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; }
.myr-subnav a {
  display: inline-flex; align-items: center; min-height: var(--target); padding: 0 var(--space-5);
  background: var(--bg-sunken); color: var(--text-strong); border: var(--border-thick) solid transparent; border-radius: var(--radius-pill);
  font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; transition: border-color var(--duration-fast) var(--ease-standard);
}
.myr-subnav a:hover { border-color: var(--text-strong); }
.myr-subnav a[aria-current] { background: var(--text-strong); color: var(--bg); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Value card (molecule) ---------- */
.myr-valuecard { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-6); background: var(--bg-subtle); border-radius: var(--radius-lg); }
.myr-valuecard__no { color: var(--myr-accent, var(--text-brand)); font-size: 14px; line-height: 20px; font-weight: 800; letter-spacing: .5px; }
.myr-valuecard__title { color: var(--text-strong); font-size: 20px; line-height: 1.3; font-weight: 700; }
.myr-valuecard__text { color: var(--text); font-size: 16px; line-height: 1.6; }
.myr-valuecard .myr-icontile { background: var(--surface); }

/* ---------- Story card (molecule): a brand's "first", told as problem and answer ---------- */
.myr-storycard { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-6); background: var(--bg-subtle); border-radius: var(--radius-lg); }
.myr-storycard__logo { display: grid; place-items: center; width: 120px; height: 76px; padding: var(--space-2); background: var(--white); border-radius: var(--radius-md); }
.myr-storycard__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.myr-storycard__title { color: var(--text-strong); font-size: 20px; line-height: 1.3; font-weight: 700; }
.myr-storycard__title a { color: inherit; text-decoration: none; }
.myr-storycard__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.myr-storycard__text { color: var(--text); }
.myr-storycard__text b { color: var(--text-strong); font-weight: 700; }

/* ---------- Product card (molecule) ---------- */
.myr-productcard { display: flex; flex-direction: column; gap: var(--space-3); }
.myr-productcard__plate { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: var(--space-4); background: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.myr-productcard__plate img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform var(--duration-base) var(--ease-settle); }
.myr-productcard:hover img { transform: scale(1.06) rotate(-2deg); }
.myr-productcard__name { color: var(--text-strong); font-size: 16px; line-height: 1.3; font-weight: 700; }
.myr-productcard__note { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ---------- Contact card (molecule) ---------- */
.myr-contactcard { display: grid; gap: var(--space-5); padding: var(--space-8); background: var(--bg-subtle); border-radius: var(--radius-xl); }
.myr-contactcard__title { color: var(--text-strong); font-size: 20px; line-height: 1.3; font-weight: 700; }
.myr-contactcard ul { display: grid; gap: var(--space-4); list-style: none; padding: 0; }
.myr-contactcard li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--text); }
.myr-contactcard .myr-icontile { background: var(--surface); }
.myr-contactcard b { display: block; color: var(--text-strong); font-size: 14px; line-height: 20px; font-weight: 700; }

/* ---------- Page hero (organism): how every inner page opens ---------- */
.myr-pagehero { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: center; }
.myr-pagehero--plain { grid-template-columns: minmax(0, 1fr); }
.myr-pagehero__text { display: grid; gap: var(--space-4); justify-items: start; }
.myr-pagehero__title { color: var(--text-strong); font-size: 56px; line-height: 1.1; font-weight: 800; letter-spacing: -1.5px; max-width: 16ch; }
.myr-pagehero--plain .myr-pagehero__title { max-width: 20ch; }
.myr-pagehero__lead { color: var(--text); font-size: 20px; line-height: 1.5; max-width: 56ch; }
.myr-pagehero__media { position: relative; }
.myr-pagehero__media > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); background: var(--bg-sunken); }
.myr-pagehero__media > img.myr-marie { aspect-ratio: 1; border-radius: 0; background: none; }
.myr-pagehero__plate { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: var(--space-6); background: var(--white); border-radius: var(--radius-xl); }
.myr-pagehero__plate img { max-width: 100%; max-height: 100%; object-fit: contain; }
.myr-pagehero__seal { position: absolute; inset-inline-end: calc(-1 * var(--space-3)); bottom: calc(-1 * var(--space-6)); }
.myr-js .myr-pagehero__text > * { animation: myr-rise var(--duration-reveal) var(--ease-rise) both; }
.myr-js .myr-pagehero__text > :nth-child(2) { animation-delay: var(--stagger); }
.myr-js .myr-pagehero__text > :nth-child(3) { animation-delay: calc(2 * var(--stagger)); }
.myr-js .myr-pagehero__text > :nth-child(4) { animation-delay: calc(3 * var(--stagger)); }
.myr-js .myr-pagehero__text > :nth-child(5) { animation-delay: calc(4 * var(--stagger)); }
.myr-js .myr-pagehero__media > img:not(.myr-marie), .myr-js .myr-pagehero__plate { animation: myr-unveil var(--duration-reveal) var(--ease-rise) both; }
@media (max-width: 767px) { .myr-pagehero { grid-template-columns: 1fr; } .myr-pagehero__title { font-size: 36px; letter-spacing: -1px; } .myr-pagehero__lead { font-size: 18px; } }

/* ---------- Feature story (organism): one story, told large ---------- */
.myr-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-4); padding: var(--space-4); background-color: var(--bg-subtle); border-radius: var(--radius-xl); align-items: stretch; }
.myr-feature--reverse > .myr-feature__frame { order: 2; }
.myr-feature__frame { display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-sunken); min-height: 320px; }
.myr-feature__frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-reveal) var(--ease-rise); }
.myr-feature:hover .myr-feature__frame img { transform: scale(1.03); }
.myr-feature__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--space-4); padding: var(--space-6); }
.myr-feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); color: var(--text-muted); font-size: 14px; line-height: 20px; }
.myr-feature__title { color: var(--text-strong); font-size: 36px; line-height: 1.16; font-weight: 800; letter-spacing: -.75px; }
.myr-feature__title a { color: inherit; text-decoration: none; }
.myr-feature__text { color: var(--text); font-size: 18px; line-height: 1.55; }
.myr-feature__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); width: 100%; list-style: none; padding: 0; }
.myr-feature__facts li { display: grid; gap: 2px; }
.myr-feature__facts b { color: var(--myr-accent, var(--text-strong)); font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
.myr-feature__facts span { color: var(--text); font-size: 14px; line-height: 1.5; }
@media (max-width: 767px) { .myr-feature { grid-template-columns: 1fr; } .myr-feature--reverse > .myr-feature__frame { order: 0; } .myr-feature__frame { min-height: 0; aspect-ratio: 16 / 10; } .myr-feature__title { font-size: 28px; } }

/* ---------- Story chapters (organism): the company history as chapters, not a list ---------- */
.myr-chapters { display: grid; gap: var(--space-4); list-style: none; padding: 0; counter-reset: chapter; }
.myr-chapter { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; padding: var(--space-8); background-color: var(--bg-subtle); border-radius: var(--radius-xl); counter-increment: chapter; }
.myr-chapter__media { width: 100%; }
.myr-chapter__head { display: grid; gap: var(--space-2); }
.myr-chapter__no::before { content: "Chapter " counter(chapter); }
.myr-chapter__years { color: var(--myr-accent, var(--text-strong)); font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
.myr-chapter__title { color: var(--text-strong); font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.25px; }
.myr-chapter__text { color: var(--text); }
.myr-chapter__facts { display: grid; gap: var(--space-3); margin: 0; }
.myr-chapter__facts div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-3); }
.myr-chapter__facts dt { color: var(--text-strong); font-weight: 800; }
.myr-chapter__facts dd { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; }
@media (max-width: 991px) { .myr-chapter { grid-template-columns: 140px minmax(0, 1fr); padding: var(--space-6); gap: var(--space-5); } .myr-chapter__facts { grid-column: 1 / -1; } }
@media (max-width: 479px) { .myr-chapter { grid-template-columns: 1fr; } .myr-chapter__media { max-width: 160px; } }

/* ---------- Article (organism): long-form reading ---------- */
.myr-article__head { display: grid; gap: var(--space-4); justify-items: start; max-width: 880px; }
.myr-article__title { color: var(--text-strong); font-size: 52px; line-height: 1.1; font-weight: 800; letter-spacing: -1.5px; }
.myr-article__standfirst { color: var(--text); font-size: 22px; line-height: 1.45; max-width: 60ch; }
.myr-article__figure { margin: 0; display: grid; gap: var(--space-3); }
.myr-article__figure img { display: block; width: 100%; border-radius: var(--radius-xl); background: var(--bg-sunken); }
.myr-article__figure figcaption, .myr-prose figcaption { color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.myr-prose { max-width: var(--measure); color: var(--text); font-size: 18px; line-height: 1.7; }
.myr-root .myr-prose > * + * { margin-top: var(--space-5); }
.myr-root .myr-prose > h2 { margin-top: var(--space-10); }
.myr-prose h2 { color: var(--text-strong); font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -.25px; }
.myr-prose a { color: var(--text-brand); font-weight: 600; text-underline-offset: 3px; }
.myr-prose figure { margin-inline: 0; display: grid; gap: var(--space-3); }
.myr-prose figure img { display: block; width: 100%; border-radius: var(--radius-lg); }
.myr-pullquote { display: grid; gap: var(--space-2); padding: var(--space-8); background-color: var(--sun-soft); --myr-accent: var(--sun-ink); border-radius: var(--radius-lg); }
.myr-pullquote p { color: var(--text-strong); font-size: 24px; line-height: 1.35; font-weight: 700; letter-spacing: -.25px; }
.myr-article__aside { display: grid; gap: var(--space-4); position: sticky; top: var(--space-6); }
@media (max-width: 767px) { .myr-article__title { font-size: 34px; letter-spacing: -1px; } .myr-article__standfirst { font-size: 18px; } .myr-article__aside { position: static; } }

/* ================= TEMPLATES ================= */
.myr-container { max-width: var(--container); margin-inline: auto; padding-inline: var(--space-6); }
.myr-section { display: grid; gap: var(--space-10); padding-block: var(--space-16); }
.myr-section--tight { padding-block: var(--space-8); }
.myr-band { background: var(--bg-subtle); }
.myr-band :is(.myr-brandcard, .myr-stat, .myr-valuecard, .myr-storycard, .myr-chapter, .myr-feature):not([class*="myr-fill-"]) { background-color: var(--surface); }
.myr-band .myr-valuecard .myr-icontile { background: var(--bg-subtle); }
.myr-columns { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-12); align-items: start; }
@media (max-width: 767px) { .myr-section { padding-block: var(--space-12); } .myr-columns { grid-template-columns: 1fr; } }
/* A named, empty region of a template. */
.myr-slot {
  display: grid; place-content: center; gap: var(--space-1); min-height: 72px; padding: var(--space-4); text-align: center;
  background: var(--bg-sunken); color: var(--text-strong); border: var(--border-thick) dashed var(--border-control); border-radius: var(--radius-lg);
  font-size: 14px; line-height: 20px; font-weight: 700;
}
.myr-slot small { color: var(--text-muted); font-size: 12px; line-height: 16px; font-weight: 500; }

/* ================= SIGNATURE ================= */

/* ---------- The Marie: the scalloped disc of the first biscuit Mayora baked, in 1948 ---------- */
.myr-marie { display: block; aspect-ratio: 1; object-fit: cover; -webkit-mask: var(--myr-marie) center / contain no-repeat; mask: var(--myr-marie) center / contain no-repeat; }
/* A pack shot standing on a Marie plate. The pack tips forward when pointed at. */
.myr-spot { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.myr-spot::before { content: ""; position: absolute; inset: 6%; background: var(--sun-soft); -webkit-mask: var(--myr-marie) center / contain no-repeat; mask: var(--myr-marie) center / contain no-repeat; transition: transform var(--duration-reveal) var(--ease-rise); }
.myr-spot.myr-fill-leaf::before { background: var(--leaf-soft); } .myr-spot.myr-fill-sky::before { background: var(--sky-soft); }
.myr-spot.myr-fill-plum::before { background: var(--plum-soft); } .myr-spot.myr-fill-brand::before { background: var(--brand-tint); }
.myr-spot[class*="myr-fill-"] { background: none; }
.myr-spot img { position: relative; width: 92%; height: auto; transition: transform var(--duration-base) var(--ease-settle); }
.myr-spot:hover::before { transform: rotate(22.5deg); }
.myr-spot:hover img { transform: scale(1.06) rotate(-3deg); }
/* The docker holes of a biscuit, as a quiet pattern for empty grounds. */
.myr-dots { background-image: radial-gradient(circle, var(--border) 3px, transparent 3.5px); background-size: var(--space-6) var(--space-6); }

/* ---------- The Seal: a Marie that carries the promise ---------- */
.myr-seal { display: inline-block; width: var(--seal); aspect-ratio: 1; flex: none; }
.myr-seal svg { display: block; width: 100%; height: 100%; overflow: visible; }
.myr-seal__shape { fill: var(--brand); }
.myr-seal__dots { fill: none; stroke: var(--red-100); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 0 6.28; }
.myr-seal__ring { transform-origin: 50px 50px; transform: rotate(calc(var(--myr-turn, 0) * 1deg)); }
.myr-seal__ring text { fill: var(--on-brand); font-family: var(--font-sans); font-size: 6.6px; font-weight: 700; letter-spacing: .9px; }
.myr-seal__year { fill: var(--on-brand); font-family: var(--font-sans); font-size: 15px; font-weight: 800; letter-spacing: -.4px; }
.myr-seal--ink .myr-seal__shape { fill: var(--ink-band); } .myr-seal--ink .myr-seal__dots { stroke: var(--sand-600); }
.myr-seal--sun .myr-seal__shape { fill: var(--sun-soft); } .myr-seal--sun .myr-seal__dots { stroke: var(--sun-ink); }
.myr-seal--sun .myr-seal__ring text, .myr-seal--sun .myr-seal__year { fill: var(--sun-ink); }
.myr-seal:hover .myr-seal__ring { animation: myr-turn 4s var(--ease-standard) 1; }

/* ---------- The Smile: a curved line under the words that matter ---------- */
.myr-smile { position: relative; display: inline-block; white-space: nowrap; }
.myr-smile::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -.2em; height: .3em; background: var(--brand);
  -webkit-mask: var(--myr-smile-arc) center / 100% 100% no-repeat; mask: var(--myr-smile-arc) center / 100% 100% no-repeat;
}
.myr-on-brand .myr-smile::after { background: var(--brand); }
.myr-js .myr-smile::after { clip-path: inset(-20% 100% -20% 0); }
.myr-js [dir="rtl"] .myr-smile::after { clip-path: inset(-20% 0 -20% 100%); }
.myr-js .myr-smile.is-in::after { clip-path: inset(-20% 0 -20% 0); transition: clip-path var(--duration-reveal) var(--ease-rise) 350ms; }

/* ================= MOTION: THE RISE ================= */
/* Content is visible by default. bundle.js adds .myr-js to <html> only when motion is welcome,
   and .is-in to each element as it scrolls into view. */
@keyframes myr-rise { from { opacity: 0; transform: translateY(var(--rise-md)); } to { opacity: 1; transform: none; } }
@keyframes myr-unveil { from { clip-path: inset(100% 0 0 0 round var(--radius-xl)); } to { clip-path: inset(0 0 0 0 round var(--radius-xl)); } }
@keyframes myr-turn { to { transform: rotate(calc(var(--myr-turn, 0) * 1deg + 360deg)); } }
@keyframes myr-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes myr-marquee { to { transform: translateX(-50%); } }
.myr-js .myr-rise { opacity: 0; transform: translateY(var(--rise-md)); }
.myr-js .myr-rise.is-in { opacity: 1; transform: none; transition: opacity var(--duration-reveal) var(--ease-rise), transform var(--duration-reveal) var(--ease-rise); transition-delay: calc(var(--i, 0) * var(--stagger)); }
/* A message announces itself: the panel rises, then its icon pops. */
.myr-js .myr-message { animation: myr-rise var(--duration-slow) var(--ease-rise) both; }
.myr-js .myr-message > .myr-icon { animation: myr-pop var(--duration-base) var(--ease-settle) var(--duration-base) both; }
.myr-js .myr-langmenu__list:not([hidden]) { animation: myr-rise var(--duration-base) var(--ease-rise) both; --rise-md: 8px; }
/* Moving between pages: a soft cross-fade where the browser supports it. */
@view-transition { navigation: auto; }

/* ---------- Brand marquee ---------- */
.myr-marquee { display: flex; align-items: center; gap: var(--space-3); }
.myr-marquee__view { flex: 1; min-width: 0; overflow: hidden; border-radius: var(--radius-lg); }
.myr-marquee__track { display: flex; flex-wrap: wrap; gap: var(--space-4); list-style: none; padding: 0; margin: 0; }
.myr-marquee__item { flex: none; display: grid; place-items: center; width: 148px; height: 92px; padding: var(--space-3); background: var(--white); border-radius: var(--radius-lg); }
.myr-marquee__item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.myr-marquee__copy { display: none; }
.myr-marquee__pause { flex: none; display: none; }
.myr-js .myr-marquee__track { flex-wrap: nowrap; width: max-content; animation: myr-marquee 48s linear infinite; }
.myr-js .myr-marquee__copy { display: grid; }
.myr-js .myr-marquee__pause { display: inline-grid; }
.myr-js .myr-marquee:hover .myr-marquee__track, .myr-js .myr-marquee:focus-within .myr-marquee__track, .myr-js .myr-marquee.is-paused .myr-marquee__track { animation-play-state: paused; }
[dir="rtl"] .myr-marquee__track { animation-direction: reverse; }

/* ================= FLAT FILLS ================= */
/* Flat fills. Each sets a ground and the accent ink that eyebrows, numerals and icons pick up. */
.myr-fill-subtle { background: var(--bg-subtle); }
.myr-fill-brand { background: var(--brand-tint); --myr-accent: var(--text-brand); }
.myr-fill-sun { background: var(--sun-soft); --myr-accent: var(--sun-ink); }
.myr-fill-leaf { background: var(--leaf-soft); --myr-accent: var(--leaf-ink); }
.myr-fill-sky { background: var(--sky-soft); --myr-accent: var(--sky-ink); }
.myr-fill-plum { background: var(--plum-soft); --myr-accent: var(--plum-ink); }

/* ================= THEMES AND PREFERENCES ================= */

/* Dark: the navigation and menus sit on surface, so flat cards step up from the page. */
[data-theme="dark"] .myr-footer { background: var(--bg-sunken); }

/* High contrast swaps flat fills for lines. */
[data-theme="contrast"] :is(.myr-valuecard, .myr-storycard, .myr-contactcard, .myr-feature, .myr-chapter, .myr-pullquote, .myr-productcard__plate, .myr-subnav a, .myr-brandcard, .myr-stat, .myr-hero__caption, .myr-form, .myr-message, .myr-tag, .myr-chip, .myr-icontile, .myr-langmenu__list, .myr-pagination a, .myr-pagination [aria-current], .myr-btn--secondary, .myr-btn--tonal, .myr-hero__btn, .myr-logo) { border: var(--border-thick) solid var(--border-control); }
[data-theme="contrast"] .myr-marquee__item { border: var(--border-thick) solid var(--border-control); }
[data-theme="contrast"] .myr-header { border-bottom: var(--border-thick) solid var(--border-control); }
[data-theme="contrast"] .myr-nav > li > a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
[data-theme="contrast"] :is(.myr-link, .myr-footer a, .myr-utility a) { text-decoration: underline; }

/* Windows forced colours: keep boundaries and focus visible. */
@media (forced-colors: active) {
  .myr-btn, .myr-brandcard, .myr-stat, .myr-hero__caption, .myr-form, .myr-message, .myr-tag, .myr-chip, .myr-cta { border: 2px solid ButtonText; }
  .myr-root :focus-visible { outline-color: Highlight; }
}

/* Motion is decoration: remove it for people who ask (2.3.3). */
@media (prefers-reduced-motion: reduce) {
  .myr-marquee__track { animation: none !important; }
  .myr-root *, .myr-root *::before, .myr-root *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ================= GLASS NAVIGATION =================
   The one place the system leaves flat colour: navigation floats over the page, so it is made of
   frosted glass. Glass is always at least 84% opaque, so text on it keeps its contrast whatever
   scrolls beneath. It turns solid in high contrast, when the reader asks for less transparency,
   and where the browser cannot blur.
   Parts: .myr-glass (the material), the sticky header that becomes a floating pill on scroll,
   the Tabs (a liquid highlight that slides to the item under the pointer and rests on the current
   page), the nav panels (an "About us" or "Our brands" drop-down, opened by its own chevron
   button, never by hover alone) and the TabBar (four destinations pinned to the bottom of a phone). */
.myr-glass {
  --glass: color-mix(in srgb, var(--surface) 84%, transparent);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: var(--border-thin) solid color-mix(in srgb, var(--text-strong) 10%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--white) 55%, transparent), 0 8px 24px rgba(31, 26, 23, .08);
}
[data-theme="dark"] .myr-glass { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 24px rgba(0, 0, 0, .45); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .myr-glass { background: var(--surface); } }
@media (prefers-reduced-transparency: reduce) { .myr-glass { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }
[data-theme="contrast"] .myr-glass { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border: var(--border-thick) solid var(--border-control); }

/* The header: the utility bar scrolls away, the bar below stays. Once the page moves, the bar
   lifts off the edge into a floating pill (JavaScript sets data-scrolled). */
.myr-header--glass { position: sticky; top: calc(-1 * var(--target)); z-index: 40; background: none; border-bottom: 0; }
.myr-header--glass .myr-utilitybar { background: var(--bg-subtle); }
.myr-header--glass .myr-glassbar { padding: var(--space-3) 0; transition: padding var(--duration-base) var(--ease-settle); }
.myr-header--glass .myr-navbar {
  min-height: 64px; padding: 0 var(--space-2) 0 var(--space-5); border-radius: var(--radius-pill); position: relative;
  transition: box-shadow var(--duration-base) var(--ease-settle), min-height var(--duration-base) var(--ease-settle);
}
.myr-header--glass[data-scrolled] .myr-glassbar { padding: var(--space-2) 0; }
.myr-header--glass[data-scrolled] .myr-navbar { min-height: 56px; box-shadow: inset 0 1px 0 color-mix(in srgb, var(--white) 55%, transparent), var(--shadow-overlay); }
.myr-header--glass .myr-wordmark img { height: 38px; }
.myr-navbar__end { display: flex; align-items: center; gap: var(--space-2); }
.myr-iconbtn {
  display: inline-grid; place-items: center; width: var(--target); height: var(--target); flex: none;
  border-radius: 50%; color: var(--text-strong); text-decoration: none; background: color-mix(in srgb, var(--bg-sunken) 70%, transparent);
  transition: background-color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-settle);
}
.myr-iconbtn:hover { background: var(--bg-sunken); }
.myr-iconbtn:active { transform: scale(.92); }

/* Tabs: the highlight is one element that moves. Without JavaScript the current item carries
   its own tint, as before. */
.myr-tabs { position: static; }   /* the highlight and the brands panel are placed against the bar */
.myr-tabs__blob {
  position: absolute; left: 0; top: 50%; z-index: -1; height: var(--target); width: 0; border-radius: var(--radius-pill);
  background: var(--brand-tint); pointer-events: none; opacity: 0; translate: 0 -50%;
  transition: transform var(--duration-base) cubic-bezier(.3, 1.35, .5, 1), width var(--duration-base) cubic-bezier(.3, 1.35, .5, 1), opacity var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard);
}
.myr-tabs__blob.is-on { opacity: 1; }
.myr-tabs__blob.is-hover { background: var(--bg-sunken); }
.myr-header--glass .myr-navbar { isolation: isolate; }   /* the highlight sits under the items, above the glass */
.myr-tabs-ready .myr-tabs .myr-nav > li > a[aria-current="page"], .myr-tabs-ready .myr-tabs .myr-nav > li > a:hover { background: none; }
.myr-tabs-ready .myr-tabs .myr-nav__item:hover > a:not([aria-current]) { color: var(--text-strong); }
@media (prefers-reduced-motion: reduce) { .myr-tabs__blob { transition: opacity var(--duration-fast) linear; } }
[data-theme="contrast"] .myr-tabs__blob { display: none; }

/* Nav items with a panel: the link goes to the section, the chevron opens the panel. */
.myr-nav__item { position: relative; display: flex; align-items: center; }
.myr-nav__item > a { padding-inline-end: var(--space-2); }
.myr-nav__item:not(:has(.myr-nav__more)) > a { padding-inline-end: var(--space-4); }
.myr-nav__more {
  display: inline-grid; place-items: center; width: 32px; height: 32px; margin-inline-end: var(--space-1); flex: none;
  background: none; border: 0; border-radius: 50%; color: var(--text-strong); cursor: pointer;
}
.myr-nav__more:hover { background: color-mix(in srgb, var(--text-strong) 8%, transparent); }
.myr-nav__more .myr-icon { transition: rotate var(--duration-base) var(--ease-settle); }
.myr-nav__more[aria-expanded="true"] .myr-icon { rotate: 180deg; }
.myr-navpanel {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0; z-index: 45; width: max-content; max-width: min(92vw, 1080px);
  padding: var(--space-3); border-radius: var(--radius-lg); color: var(--text);
}
/* Panels open inside the bar's glass, where a second blur cannot reach the page, so they are solid:
   long lists of small text must not have the page showing through. */
.myr-navpanel.myr-glass { --glass: var(--surface); box-shadow: var(--shadow-overlay); }
.myr-js .myr-navpanel:not([hidden]) { animation: myr-panel var(--duration-base) var(--ease-rise) both; }
@keyframes myr-panel { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.myr-navpanel__list { display: grid; gap: 2px; list-style: none; padding: 0; min-width: 280px; }
.myr-navpanel__list a {
  display: grid; gap: 2px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  color: var(--text-strong); font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none;
}
.myr-navpanel__list a small { color: var(--text); font-weight: 500; font-size: 14px; }
.myr-navpanel__list a:hover, .myr-navpanel__list a[aria-current="page"] { background: color-mix(in srgb, var(--bg-sunken) 80%, transparent); }
.myr-navpanel__list a[aria-current="page"] { color: var(--text-brand); }
/* The brands panel: one column per category, every brand listed. It spans the whole bar: the bar's
   glass makes it the panel's frame of reference, so the panel is placed against the bar, not the item. */
.myr-nav__item:has(> .myr-navpanel--mega) { position: static; }
.myr-navpanel--mega { left: 0; right: 0; top: calc(100% + 10px); translate: none; width: auto; max-width: none; max-height: calc(100vh - 140px); overflow: auto; overscroll-behavior: contain; }
.myr-megamenu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4) var(--space-6); padding: var(--space-3) var(--space-4); }
.myr-megamenu h3 { margin-bottom: var(--space-2); font-size: 13px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 800; color: var(--text-brand); }
.myr-megamenu h3 a { color: inherit; text-decoration: none; }
.myr-megamenu h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.myr-megamenu ul { list-style: none; padding: 0; display: grid; }
.myr-megamenu ul + h3 { margin-top: var(--space-6); }
.myr-megamenu li a { display: block; padding: 3px 0; color: var(--text-strong); font-size: 15px; font-weight: 600; text-decoration: none; }
.myr-megamenu li a:hover { color: var(--text-brand); text-decoration: underline; text-underline-offset: 3px; }
.myr-megamenu li a[aria-current="page"] { color: var(--text-brand); font-weight: 700; }
.myr-megamenu__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-top: var(--space-2); padding: var(--space-3) var(--space-4) var(--space-1); border-top: var(--border-thin) solid var(--border); }

/* Small screens: the menu opens inside the pill; panels open in place. */
@media (max-width: 991px) {
  .myr-header--glass .myr-navbar { border-radius: var(--radius-lg); padding: 0 var(--space-2) 0 var(--space-4); min-height: 60px; }
  .myr-header--glass .myr-navbar__end .myr-btn { display: none; }
  .myr-header--glass .myr-navbar > nav { order: 3; }
  .myr-header--glass .myr-navbar__end { order: 1; margin-inline-start: auto; }
  .myr-header--glass .myr-menubtn { order: 2; margin-inline-start: var(--space-2); }
  .myr-header--glass .myr-wordmark img { height: 32px; }
  .myr-tabs__blob { display: none; }
  .myr-nav__item { flex-wrap: wrap; }
  .myr-nav__item > a { flex: 1; }
  .myr-nav__more { width: var(--target); height: var(--target); }
  .myr-navpanel.myr-glass, .myr-navpanel--mega.myr-glass { position: static; translate: none; width: 100%; max-width: none; max-height: none; overflow: visible; padding: 0 0 var(--space-2) var(--space-3); background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .myr-navpanel__list { min-width: 0; }
  .myr-navpanel__list a { padding: var(--space-2) var(--space-3); }
  .myr-megamenu { grid-template-columns: 1fr 1fr; padding: var(--space-2) var(--space-3); gap: var(--space-1) var(--space-4); }
  .myr-megamenu ul { display: none; }
  .myr-megamenu > div { display: contents; }
  .myr-megamenu h3 { margin: 0; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--text-strong); }
  .myr-megamenu h3 a { display: flex; align-items: center; min-height: var(--target); }
  .myr-megamenu__foot { padding-inline: var(--space-3); }
  .myr-megamenu__foot .myr-hint { display: none; }
}

/* TabBar: four destinations on the thumb's side of a phone. The current one rises into a bubble. */
.myr-tabbar { display: none; }
@media (max-width: 991px) {
  .myr-tabbar {
    display: block; position: fixed; z-index: 40; inset-inline: var(--space-3); bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
    max-width: 480px; margin-inline: auto; padding: var(--space-1) var(--space-2); border-radius: var(--radius-xl);
    transition: translate var(--duration-base) var(--ease-settle);
  }
  .myr-tabbar.myr-glass { --glass: color-mix(in srgb, var(--surface) 92%, transparent); }   /* small labels: denser glass */
  .myr-tabbar[data-hidden] { translate: 0 calc(100% + 32px); }
  .myr-tabbar ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; }
  .myr-tabbar a {
    position: relative; display: grid; justify-items: center; gap: 2px; min-height: 56px; padding: 6px 0 4px;
    color: var(--text); font-size: 12px; font-weight: 600; line-height: 16px; text-decoration: none; border-radius: var(--radius-lg);
  }
  .myr-tabbar a > span:first-child {
    display: grid; place-items: center; width: 40px; height: 30px; border-radius: var(--radius-pill);
    transition: transform var(--duration-base) cubic-bezier(.3, 1.4, .5, 1), background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
  }
  .myr-tabbar a:active > span:first-child { transform: scale(.9); }
  .myr-tabbar a[aria-current="page"] { color: var(--text-brand); font-weight: 800; }
  .myr-tabbar a[aria-current="page"] > span:first-child { width: 48px; height: 48px; margin-top: -24px; margin-bottom: -6px; border-radius: 50%; background: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 5px var(--bg), 0 8px 18px rgba(204, 63, 60, .35); }
  .myr-tabbar a[aria-current="page"] > span:first-child .myr-icon { width: 22px; height: 22px; }
  .myr-root:has(.myr-tabbar) { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  [data-theme="contrast"] .myr-tabbar a[aria-current="page"] > span:first-child { box-shadow: none; outline: 2px solid var(--on-brand); }
}
@media (prefers-reduced-motion: reduce) { .myr-tabbar, .myr-tabbar a > span:first-child { transition: none; } }
@media print { .myr-tabbar { display: none; } .myr-header--glass { position: static; } }

/* BrandBadge: a brand's own logo on a white Marie, sitting where the Seal sits on Mayora's pages. */
.myr-brandbadge {
  display: grid; place-items: center; width: clamp(104px, 14vw, 148px); aspect-ratio: 1; padding: 18%;
  background: var(--white); -webkit-mask: var(--myr-marie) center / contain no-repeat; mask: var(--myr-marie) center / contain no-repeat;
  filter: drop-shadow(0 6px 14px rgba(31, 26, 23, .14));
}
.myr-brandbadge img { max-width: 100%; max-height: 100%; object-fit: contain; }
.myr-pagehero__seal:has(.myr-brandbadge) { filter: drop-shadow(0 8px 18px rgba(31, 26, 23, .16)); }
[data-theme="contrast"] .myr-pagehero__seal:has(.myr-brandbadge) { filter: none; }

/* ================= FIELDS: MAYORA'S RED, USED WITH CONFIDENCE =================
   A field is a solid block of brand colour that a whole section sits on: the home hero, the stat
   band, every inner-page hero and the partner call are Mayora red; a brand page's hero is that
   brand's own colour (set --field-bg and --field-on on it). Inside a field every text colour, the
   Smile, the eyebrow and the breadcrumb take --field-on (white, or near-black on a bright yellow),
   the primary button turns into --field-on with the field colour as its label, and secondary
   buttons become outlines. Fields end in a soft curve at the bottom, after the curved edges of the
   old mayora.com header. */
.myr-pagehero, .myr-hero__caption, .myr-statband, .myr-cta, .myr-field {
  --field: var(--field-bg, var(--brand));
  --fon: var(--field-on, var(--on-brand));
  background-color: var(--field) !important;
  color: var(--fon);
  --text-strong: var(--fon); --text: var(--fon); --text-muted: var(--fon); --text-brand: var(--fon);
  --myr-accent: var(--fon); --on-ink-muted: var(--fon);
  --border: color-mix(in srgb, var(--fon) 35%, transparent);
}
.myr-pagehero { padding: var(--space-12) var(--space-12) var(--space-16); border-radius: var(--radius-xl) var(--radius-xl) 50% 50% / var(--radius-xl) var(--radius-xl) 56px 56px; }
.myr-pagehero__title { font-size: 60px; letter-spacing: -2px; }
.myr-pagehero__seal { bottom: calc(-1 * var(--space-4)); }
@media (max-width: 767px) { .myr-pagehero { padding: var(--space-8) var(--space-6) var(--space-12); border-radius: var(--radius-xl) var(--radius-xl) 50% 50% / var(--radius-xl) var(--radius-xl) 28px 28px; } .myr-pagehero__title { font-size: 40px; } }
.myr-hero__caption { border-radius: var(--radius-xl); }
.myr-hero__title { font-size: 44px; letter-spacing: -1.5px; }
:is(.myr-pagehero, .myr-hero__caption, .myr-statband, .myr-cta, .myr-field) .myr-smile::after { background: var(--fon); }
:is(.myr-pagehero, .myr-hero__caption, .myr-statband, .myr-cta, .myr-field) :focus-visible { outline-color: var(--fon); }
:is(.myr-pagehero, .myr-hero__caption, .myr-statband, .myr-cta, .myr-field) .myr-breadcrumb a { color: var(--fon); }
:is(.myr-pagehero, .myr-hero__caption, .myr-cta, .myr-field) .myr-btn:not(.myr-btn--secondary):not(.myr-btn--on-brand):not(.myr-btn--ghost) { background: var(--fon); color: var(--field); }
:is(.myr-pagehero, .myr-hero__caption, .myr-cta, .myr-field) .myr-btn:not(.myr-btn--secondary):not(.myr-btn--on-brand):not(.myr-btn--ghost):hover { background: color-mix(in srgb, var(--fon) 88%, var(--field)); color: var(--field); }
:is(.myr-pagehero, .myr-hero__caption, .myr-cta, .myr-field) :is(.myr-btn--secondary, .myr-btn--on-brand) { background: transparent; color: var(--fon); border-color: var(--fon); }
:is(.myr-pagehero, .myr-hero__caption, .myr-cta, .myr-field) :is(.myr-btn--secondary, .myr-btn--on-brand):hover { background: var(--fon); color: var(--field); }
:is(.myr-pagehero, .myr-hero__caption, .myr-statband, .myr-cta, .myr-field) [class*="myr-fill-"] { --myr-accent: var(--fon); }
/* Things that stay white inside a field keep the page's own text colours. */
:is(.myr-pagehero, .myr-hero__caption, .myr-cta, .myr-field) :is(.myr-input, .myr-pagehero__plate, .myr-hero__btn, .myr-brandbadge, .myr-langmenu__list) {
  --text-strong: #1a1514; --text: #2b2421; --text-muted: #57504a; --text-brand: #c40012; --border: #e4ddd5;
}
[data-theme="dark"] :is(.myr-pagehero, .myr-hero__caption, .myr-cta, .myr-field) :is(.myr-input, .myr-hero__btn) { --text-strong: #ffffff; --text: #e6e0db; --text-muted: #b9b0a9; --border: #3f3833; }
.myr-pagehero .myr-search__btn { background: var(--field); color: var(--fon); }

/* The stat band: one red block, the numbers in white, hairlines between. */
.myr-statband { gap: 0; padding: var(--space-4) var(--space-4); border-radius: var(--radius-xl); }
.myr-statband > .myr-stat { background: transparent !important; border-radius: 0; padding: var(--space-6) var(--space-8); }
.myr-statband > .myr-stat + .myr-stat { border-inline-start: 1px solid color-mix(in srgb, var(--fon) 35%, transparent); }
.myr-statband .myr-stat__value { font-size: clamp(44px, 4vw, 60px); letter-spacing: -1.5px; }
.myr-statband .myr-stat__lead { font-size: 15px; font-weight: 600; }
@media (max-width: 991px) { .myr-statband > .myr-stat + .myr-stat { border-inline-start: 0; } .myr-statband > .myr-stat:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--fon) 35%, transparent); } .myr-statband .myr-stat__value { font-size: 52px; } }
@media (max-width: 479px) { .myr-statband > .myr-stat:nth-child(n+2) { border-top: 1px solid color-mix(in srgb, var(--fon) 35%, transparent); } }

/* High contrast: fields stay solid; the deep contrast red already carries white at 9:1. */
[data-theme="contrast"] :is(.myr-pagehero, .myr-hero__caption, .myr-statband, .myr-cta, .myr-field) { --field: var(--brand); --fon: #ffffff; }
