/* EGPRA – "Nile Ink" brand system.
   One stylesheet for EN (ltr) and AR (rtl): logical properties only (inline/block, start/end). */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Alexandria"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/Alexandria-Regular.woff2") format("woff2"); }
@font-face { font-family: "Alexandria"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/Alexandria-Medium.woff2") format("woff2"); }
@font-face { font-family: "Alexandria"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/Alexandria-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Alexandria"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/Alexandria-Bold.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/JetBrainsMono-400.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/JetBrainsMono-500.woff2") format("woff2"); }

/* ---------- Tokens ----------
   Contrast (WCAG 2.x), all verified:
   petrol on white 15.5:1 · petrol on foam 13.6:1 · petrol on limestone 9.1:1
   limestone on petrol 9.1:1 · white on petrol 15.5:1 · foam on petrol 13.6:1
   muted (#3D5651) on white 8.0:1, on foam 7.0:1 · field border (#5F7772) on white 4.8:1
   Vermillion is the accent: petrol text on vermillion is 4.1:1, which only passes AA for LARGE text,
   so accent buttons are always >= 1.175rem (18.8px) / weight 700 (large text needs 3:1). Never use it for body text. */
:root {
  --petrol: #0B2B26;      /* primary */
  --vermillion: #E4572E;  /* accent – one per composition (the primary CTA) */
  --limestone: #D8C7A1;   /* secondary */
  --foam: #EAF4F1;        /* surface */
  --white: #FFFFFF;
  --muted: #3D5651;
  --field-border: #5F7772;
  --rule: #C9D8D3;
  --focus: var(--petrol);

  --font: "Alexandria", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: 1rem;
  --maxw: 72rem;
  --radius: 0.5rem;
  --lh: 1.65;
  --header-h: 4rem;  /* kept accurate by interactive.js; this is just the pre-JS fallback */
}
html[lang="ar"] { --lh: 1.9; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-block-start: calc(var(--header-h) + 0.75rem); scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 0.9375rem; line-height: var(--lh);
  color: var(--petrol); background: var(--white); overflow-wrap: break-word;
}
html[lang="ar"] body, html[lang="ar"] * { letter-spacing: 0 !important; }
img, svg { max-inline-size: 100%; block-size: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.75rem; font-weight: 600; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height: 1.5; }
h1 { font-size: clamp(1.625rem, 4.5vw, 2.5rem); font-weight: 700; }
h2 { font-size: clamp(1.25rem, 3vw, 1.625rem); }
h3, .h3 { font-size: 1.0625rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-inline-start: 1.25rem; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible { --focus: var(--limestone); }
main:focus { outline: none; }

.container { inline-size: 100%; max-inline-size: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
html[lang="ar"] .mono { font-family: var(--font); text-transform: none; font-size: 0.8125rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.0625rem; }
.icon { flex: none; vertical-align: -0.2em; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* Unfinished [[TODO]] content: impossible to miss, easy to grep */
.pending { background: #FFF3B0; color: #3a2f00; padding: 0.05em 0.35em; border-radius: 0.25rem; border: 1px dashed #8a6d00; font-family: var(--mono); font-size: 0.875em; direction: ltr; unicode-bidi: isolate; }

.skip-link { position: absolute; inset-inline-start: 0.5rem; inset-block-start: -4rem; background: var(--limestone); color: var(--petrol); padding: 0.75rem 1rem; z-index: 100; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { inset-block-start: 0.5rem; }

/* ---------- Header ---------- */
.site-header { background: var(--petrol); color: var(--white); position: sticky; inset-block-start: 0; z-index: 40; box-shadow: 0 0 0 rgba(0, 0, 0, 0); transition: box-shadow 0.2s ease; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-block: 0.75rem; }
.brand { display: inline-flex; line-height: 0; flex: none; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; order: 2; }
.header-cta { font-size: 0.9375rem; padding: 0.5rem 1rem; min-block-size: 2.75rem; }
.nav-wrap { order: 3; }
.logo-en { block-size: auto; inline-size: min(clamp(15rem, 19vw, 19rem), 56vw); }
.logo-ar { block-size: auto; inline-size: min(clamp(15rem, 19vw, 19rem), 56vw); }
.site-footer .logo-ar { inline-size: 18rem; max-inline-size: 100%; }
.site-footer .logo-en { inline-size: 18rem; max-inline-size: 100%; }

.menu-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--white); border: 1px solid var(--limestone); border-radius: var(--radius); padding: 0.5rem 0.875rem; font: inherit; font-weight: 500; cursor: pointer; min-block-size: 2.75rem; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: inline; }

.nav-wrap { flex-basis: 100%; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav-list a, .lang-switch { display: block; padding: 0.75rem 0; text-decoration: none; font-weight: 500; border-block-end: 1px solid rgba(216, 199, 161, 0.25); }
.nav-list a:hover, .lang-switch:hover { color: var(--limestone); }
.nav-list a[aria-current="page"] { color: var(--limestone); box-shadow: inset 0 -3px 0 var(--limestone); }
.lang-switch { font-weight: 600; }
/* No-JS: nav simply always shown. With JS: collapsed on mobile. */
.js .nav-wrap { display: none; }
.js .nav-wrap.is-open { display: block; }
.no-js .menu-btn { display: none; }

@media (min-width: 75em) {
  .header-inner { flex-wrap: nowrap; }
  .menu-btn { display: none !important; }
  .nav-wrap { order: 2; }
  .header-actions { order: 3; }
  .js .nav-wrap, .nav-wrap { display: flex !important; align-items: center; gap: 1.5rem; flex-basis: auto; }
  .nav-list { flex-direction: row; gap: clamp(0.75rem, 1.4vw, 1.25rem); }
  .nav-list a { padding: 0.5rem 0; border: 0; font-size: 0.9375rem; white-space: nowrap; }
  .lang-switch { padding: 0.4rem 0.9rem; border: 1px solid var(--limestone); border-radius: var(--radius); font-size: 0.9375rem; }
  .lang-switch:hover { background: var(--limestone); color: var(--petrol); }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.85rem 1.5rem; border-radius: var(--radius); border: 2px solid transparent; font: inherit; font-size: 0.9375rem; font-weight: 600; text-decoration: none; cursor: pointer; min-block-size: 3rem; text-align: center; transition: gap 0.15s ease, background-color 0.15s ease; }
.btn:hover:not([disabled]) { gap: 0.85rem; }
.btn-accent { background: var(--vermillion); color: var(--petrol); font-size: 1.175rem; font-weight: 700; }  /* >=18.66px bold = WCAG large text (4.1:1 passes at 3:1) */
.btn-accent:hover { background: #ee6a42; }
.btn-dark { background: var(--petrol); color: var(--white); }
.btn-dark:hover { background: #12433b; }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.text-link { font-weight: 600; text-decoration: underline; display: inline-flex; gap: 0.4rem; align-items: center; transition: gap 0.15s ease; }
.text-link:hover, .text-link:focus-visible { gap: 0.65rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--petrol); color: var(--white); padding-block: 2.5rem 3rem; border-block-end: 4px solid var(--limestone); }
/* A restrained decorative layer — a soft glow plus a faint diagonal hatch — so the hero
   reads as designed rather than a flat color fill. Pure CSS, no image asset. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 88% 12%, rgba(216, 199, 161, 0.18), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 28px);
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.eyebrow { color: var(--limestone); margin-block-end: 1.25rem; }
.hero h1 { color: var(--white); max-inline-size: 22ch; }
.hero-sub { font-size: 1.0625rem; color: var(--foam); max-inline-size: 42rem; margin-block-end: 2rem; }

/* ---------- Sections ---------- */
.section { padding-block: 2.5rem; }
.section-foam { background: var(--foam); }
.section-intro { color: var(--muted); font-size: 0.9375rem; max-inline-size: 42rem; margin-block-end: 1.75rem; }
.section-cta { margin-block-start: 2rem; margin-block-end: 0; }
.prose-wide > * { max-inline-size: 50rem; }  /* narrow reading column, still left-aligned with the page grid */
.page-head { background: var(--foam); padding-block: 2rem; border-block-end: 4px solid var(--limestone); }
.page-head h1 { margin-block-end: 0.5rem; }
.page-head .lead { color: var(--muted); max-inline-size: 42rem; margin: 0; }
.draft-badge { display: inline-block; margin-block-start: 1rem; margin-block-end: 0; padding: 0.25rem 0.6rem; background: var(--limestone); color: var(--petrol); border-radius: 0.25rem; }
.rule { border: 0; border-block-start: 1px solid var(--rule); margin-block: 2rem; }

/* ---------- Cards ---------- */
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.card { position: relative; background: var(--white); border: 1px solid var(--rule); border-block-start: 4px solid var(--limestone); border-radius: var(--radius); padding: 1.25rem; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.card:hover, .card:focus-within { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11, 43, 38, 0.14); }
.card-title { font-size: 1rem; margin-block-end: 0.5rem; }
.card p:last-child { margin-block-end: 0; }
.card-label { color: var(--muted); margin-block-end: 0.5rem; }
.card-index { color: var(--muted); }
.cat-card .card-link { text-decoration: none; }
.cat-card .card-link::after { content: ""; position: absolute; inset: 0; }  /* whole card clickable */
.cat-card:hover, .cat-card:focus-within { border-color: var(--petrol); }
/* Subgrid: every card in a row shares the same row heights (icon row / title / label-or-body / body-or-cta),
   so a title that wraps to two lines, or a longer description, never throws the row below it out of line
   with its neighbours — and in teaser mode the CTA lands at the same height on every card, for free. */
.cards-5 { grid-template-rows: auto auto auto auto; }  /* one explicit row-group; narrower breakpoints get more via implicit rows, sized independently — correct, since only cards in the SAME row need to align */
.cat-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
.cat-icon-row { display: flex; align-items: center; gap: 0.75rem; margin-block-end: 0.75rem; }
.cat-icon { display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; border-radius: 50%; background: var(--foam); color: var(--petrol); flex: none; }
.card-more { display: inline-flex; align-items: center; gap: 0.4rem; padding-block-start: 0.75rem; font-weight: 600; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.04em; transition: gap 0.18s ease; }
.cat-card:hover .card-more, .cat-card:focus-within .card-more { gap: 0.75rem; }
@media (min-width: 40em) { .cards-5, .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) {
  .cards-5 { grid-template-columns: repeat(5, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}
.section-foam .card { background: var(--white); }

/* ---------- About ---------- */
.facts { margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.facts dt { color: var(--muted); margin-block-end: 0.25rem; }
.facts dd { margin: 0; }
.callout { background: var(--white); border-inline-start: 6px solid var(--petrol); padding: 1rem 1.25rem; border-radius: var(--radius); margin-block-end: 1.5rem; }
.callout p:last-child { margin: 0; }
.callout-label { color: var(--muted); margin-block-end: 0.35rem; }
.checklist { padding-inline-start: 1.25rem; }
.checklist li { margin-block-end: 0.5rem; }
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-list li { background: var(--petrol); color: var(--white); padding: 0.4rem 1rem; border-radius: 999px; font-weight: 500; }
.committee-list { list-style: none; padding: 0; }
.committee-list li { padding-block: 0.75rem; border-block-end: 1px solid var(--rule); }
.member { text-align: start; }
.avatar { display: block; inline-size: 7rem; block-size: 7rem; border-radius: 50%; margin-block-end: 1rem; object-fit: cover; }
.avatar-initials { display: grid; place-items: center; background: var(--limestone); color: var(--petrol); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em; direction: ltr; }

/* ---------- Membership ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.steps .step { display: flex; gap: 1rem; align-items: flex-start; }
.steps h3 { margin-block-end: 0.25rem; }
.steps p { margin: 0; color: var(--muted); }
.step-n { flex: none; display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; background: var(--petrol); color: var(--white); border-radius: 50%; }
.step-connector { display: none; }
@media (min-width: 48em) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) {
  /* A row of 4 steps + 3 connectors, laid out as flex so the connector count doesn't disturb the column math. */
  .steps { display: flex; align-items: flex-start; gap: 0; }
  .steps .step { flex: 1 1 0; }
  .step-connector { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; inline-size: 2rem; block-size: 2.75rem; color: var(--limestone); }
  .step-connector .icon { inline-size: 1.375rem; block-size: 1.375rem; }
}

/* At wide viewports the form itself stays a comfortable reading width, and the freed-up
   space to its side holds the aside instead of sitting empty. */
.apply-layout { display: grid; gap: 2.5rem; }
@media (min-width: 75em) { .apply-layout { grid-template-columns: minmax(0, 46rem) 1fr; align-items: start; } }
.apply-aside { display: grid; gap: 1.25rem; align-content: start; }
.aside-card h3 { margin-block-end: 0.5rem; font-size: 1.0625rem; }
.aside-card ul { margin: 0; padding-inline-start: 1.25rem; }
.aside-card li { margin-block-end: 0.4rem; color: var(--muted); }
.aside-card p { margin: 0; color: var(--muted); }
/* Same foam-on-white treatment as .cat-icon. Cards already turn white inside a foam section
   (see .section-foam .card above), so this stays correctly contrasted there without an override. */
.aside-icon { display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; border-radius: 50%; background: var(--foam); color: var(--petrol); margin-block-end: 1rem; }
.form-wrap > * { max-inline-size: 46rem; }
.form-section { border: 0; padding: 0; margin: 0 0 2rem; }
.form-section + .form-section { padding-block-start: 1.75rem; border-block-start: 1px solid var(--rule); }
.form-section-head { display: flex; align-items: center; gap: 0.75rem; padding: 0; margin: 0 0 1.25rem; font-weight: 700; font-size: 1.0625rem; color: var(--petrol); }
.form-step-n { inline-size: 2rem; block-size: 2rem; font-size: 0.8125rem; flex-shrink: 0; }
.form-progress { block-size: 6px; border-radius: 999px; background: var(--rule); overflow: hidden; margin-block-end: 1.75rem; }
.form-progress-bar { display: block; block-size: 100%; background: var(--petrol); inline-size: 0%; border-radius: inherit; transition: inline-size 0.25s ease; }
.field { margin-block-end: 1.25rem; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 40em) { .field-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; margin-block-end: 0.35rem; }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select, textarea {
  display: block; inline-size: 100%; font: inherit; color: var(--petrol); background: var(--white);
  border: 2px solid var(--field-border); border-radius: var(--radius); padding: 0.7rem 0.85rem; min-block-size: 3rem;
}
textarea { resize: vertical; }
input[type="file"] { display: block; inline-size: 100%; font: inherit; color: var(--petrol); border: 2px dashed var(--field-border); border-radius: var(--radius); padding: 0.75rem; background: var(--foam); }
input[type="file"]::file-selector-button { font: inherit; font-weight: 600; color: var(--white); background: var(--petrol); border: 0; border-radius: 0.25rem; padding: 0.5rem 1rem; margin-inline-end: 0.75rem; cursor: pointer; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--petrol); outline-offset: 2px; }
[aria-invalid="true"] { border-color: #9B1C1C; }
.hint { color: var(--muted); font-size: 0.875rem; margin: 0.35rem 0 0; }
.field-error, .form-error-summary { color: #8A1414; font-weight: 600; font-size: 0.9375rem; margin: 0.35rem 0 0; }
.form-error-summary { background: #FDECEC; border: 1px solid #8A1414; padding: 0.75rem 1rem; border-radius: var(--radius); margin-block-end: 1.25rem; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.75rem; align-items: start; }
.field-check input { inline-size: 1.5rem; block-size: 1.5rem; margin: 0.2rem 0 0; accent-color: var(--petrol); }
.field-check label { font-weight: 400; margin: 0; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.form-success { background: var(--foam); border: 2px solid var(--petrol); border-radius: var(--radius); padding: 1.5rem; }
.form-success h3 { margin-block-end: 0.5rem; }
.form-success p { margin: 0; }

/* ---------- Events ---------- */
.subhead { margin-block: 1.75rem 1rem; font-size: 1.0625rem; }
.empty-state { text-align: center; padding: 2.5rem 1.25rem; border: 2px dashed var(--field-border); border-radius: var(--radius); background: var(--foam); }
.empty-state h3 { margin-block-end: 0.5rem; }
.empty-state p { max-inline-size: 32rem; margin-inline: auto; color: var(--muted); margin-block-end: 0; }
.empty-icon { display: inline-grid; place-items: center; inline-size: 4.5rem; block-size: 4.5rem; border-radius: 50%; background: var(--petrol); color: var(--limestone); margin-block-end: 1rem; }
.event-img { display: block; inline-size: 100%; block-size: auto; border-radius: 0.25rem; margin-block-end: 1rem; }
.event-date { color: var(--muted); margin-block-end: 0.5rem; }
.event-past { opacity: 0.9; }
.ext-card { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; background: var(--white); border: 1px solid var(--rule); border-inline-start: 6px solid var(--petrol); border-radius: var(--radius); padding: 1.5rem; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.ext-card:hover, .ext-card:focus-within { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11, 43, 38, 0.14); }
.ext-card h3 { margin-block-end: 0.35rem; }
.ext-card p { margin: 0; color: var(--muted); }
@media (min-width: 48em) { .ext-card { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Ethics (readable long-form) ---------- */
.doc-layout { display: grid; gap: 2rem; padding-block: 2.5rem 4rem; }
.toc { border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.25rem; background: var(--foam); align-self: start; }
.toc-title { color: var(--muted); margin-block-end: 0.5rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { padding-block: 0.2rem; }
/* The number lives inside the link (not a native ::marker) so the active-state border
   below sits to its start side instead of cutting through it. */
.toc a { display: flex; align-items: flex-start; gap: 0.5rem; border-inline-start: 3px solid transparent; padding-inline-start: 0.6rem; margin-inline-start: -0.6rem; text-decoration: none; transition: border-color 0.15s ease, color 0.15s ease; }
.toc a:hover { color: var(--petrol); }
.toc a[aria-current="true"] { border-inline-start-color: var(--petrol); color: var(--petrol); font-weight: 700; }
.toc-num { flex: none; font-weight: 400; }
.prose { max-inline-size: 42rem; font-size: 1rem; line-height: 1.75; }
html[lang="ar"] .prose { line-height: 2; }
.prose section { margin-block-end: 3rem; }
.prose h2 { margin-block-start: 2rem; }
.doc-layout .prose h2 { margin-block-start: 0.25rem; }
.ref { color: var(--muted); margin-block-end: 0.5rem; }
.principles li { margin-block-end: 0.75rem; }
@media (min-width: 64em) {
  .doc-layout { grid-template-columns: 15rem 1fr; gap: 4rem; }
  .toc { position: sticky; inset-block-start: 1rem; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 48em) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.email { font-size: 1rem; font-weight: 600; word-break: break-all; }
.copy-btn { display: inline-flex; align-items: center; gap: 0.4rem; background: transparent; border: 1px solid var(--field-border); color: var(--petrol); border-radius: 999px; padding: 0.35rem 0.85rem; margin-block-end: 0.75rem; font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; }
.copy-btn:hover { background: var(--foam); }
.copy-btn.is-copied { border-color: var(--petrol); background: var(--foam); }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding-block: 0.4rem; }

/* Social icon row: used on the dark footer (white text) and the light contact card (petrol text) —
   `currentColor` lets it adapt to either without a variant class. A pending [[TODO]] URL renders
   as a dashed, inert placeholder so the row looks intentional before the accounts exist. */
.social-row { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; inline-size: 2.5rem; block-size: 2.5rem; border-radius: 50%; border: 1px solid currentColor; color: inherit; text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.social-btn:hover, .social-btn:focus-visible { background: var(--limestone); color: var(--petrol); transform: translateY(-2px); }
.social-btn.is-placeholder { border-style: dashed; opacity: 0.55; cursor: default; }
.social-btn.is-placeholder:hover, .social-btn.is-placeholder:focus-visible { background: transparent; color: inherit; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol); color: var(--white); padding-block-start: 3rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-h { color: var(--limestone); margin-block-end: 0.75rem; font-size: 0.8125rem; }
.footer-h-gap { margin-block-start: 1.5rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding-block: 0.25rem; }
.footer-list a, .footer-legal a { text-decoration: none; }
.footer-list a:hover, .footer-legal a:hover { text-decoration: underline; color: var(--limestone); }
.footer-text { margin: 0; }
.footer-name { font-weight: 600; margin: 1rem 0 0.25rem; }
.footer-member { margin-block-start: 0.75rem; }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-block-start: 2.5rem; padding-block: 1.25rem; border-block-start: 1px solid rgba(216, 199, 161, 0.3); font-size: 0.875rem; }
.footer-bar p { margin: 0; }
.footer-legal { list-style: none; padding: 0; margin: 0; display: flex; gap: 0.5rem; }
.footer-legal li + li::before { content: "·"; margin-inline-end: 0.5rem; color: var(--limestone); }
.site-footer .pending { color: #3a2f00; }

/* ---------- Motion & interactivity ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.to-top { position: fixed; inset-block-end: 1.25rem; inset-inline-end: 1.25rem; z-index: 45; inline-size: 2.75rem; block-size: 2.75rem; border-radius: 50%; background: var(--petrol); color: var(--white); border: 2px solid var(--limestone); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(0.5rem); transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease; cursor: pointer; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: #12433b; }
.no-js .to-top { display: none; }  /* purely a scroll-triggered convenience; nothing is lost without it */

.reading-progress { position: fixed; inset-inline: 0; inset-block-start: var(--header-h); block-size: 3px; background: transparent; z-index: 39; }
.reading-progress-bar { display: block; block-size: 100%; background: var(--vermillion); inline-size: 0%; }

@media print { .to-top, .reading-progress { display: none; } }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .card:hover, .card:focus-within, .ext-card:hover, .ext-card:focus-within { transform: none !important; }
}

/* ---------- Content-update blocks (EGPRA) ---------- */
.cta-band { background: var(--petrol); color: var(--white); padding-block: 3rem; border-block-start: 4px solid var(--limestone); }
.cta-band h2 { color: var(--white); }
.cta-band p { max-inline-size: 42rem; color: var(--foam); }
.cta-band p:last-child { margin-block-end: 0; }
.cta-band :focus-visible { --focus: var(--limestone); }
.section-text > p { max-inline-size: 50rem; }
.note-italic { font-style: italic; color: var(--muted); }
.eyebrow-sub { color: var(--muted); font-size: 1.25rem; font-weight: 400; margin-block-end: 0.5rem; }
.page-head .eyebrow-sub { margin-block-end: 0.75rem; }
.page-head .lead + .lead { margin-block-start: 0.75rem; }
.subnav { background: var(--white); border-block-end: 1px solid var(--rule); }
.subnav ul { list-style: none; margin: 0; padding: 0.75rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.subnav a { text-decoration: none; font-weight: 600; }
.subnav a:hover { text-decoration: underline; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding-block: 0.6rem; border-block-end: 1px solid var(--rule); }
.notice { background: var(--white); border-inline-start: 6px solid var(--limestone); padding: 1.25rem 1.5rem; border-radius: var(--radius); font-weight: 700; max-inline-size: 50rem; }
.notice p { margin: 0; }
.role-line { font-weight: 600; margin-block-end: 0.5rem; }
.cat-actions { margin-block-start: 1rem; margin-block-end: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin: 0; }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--limestone); }
.btn-ghost:hover { background: var(--limestone); color: var(--petrol); }
.card-grid .card p:last-child { margin-block-end: 0; }
.cat-desc p:last-child { margin-block-end: 0.5rem; }

/* ---------- Review fixes ---------- */
/* Header CTA: .btn-accent (declared later) set a large font; this keeps the header button compact. */
.btn.header-cta { font-size: 0.875rem; font-weight: 700; padding: 0.4rem 0.9rem; min-block-size: 2.5rem; white-space: nowrap; }
/* Membership category cards: five narrow columns were too tight for the longer copy. 1 → 2 → 3 columns instead. */
.card-grid.cards-cats { grid-template-columns: 1fr; }
@media (min-width: 40em) { .card-grid.cards-cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .card-grid.cards-cats { grid-template-columns: repeat(3, 1fr); } }
.cards-cats .cat-actions { align-self: end; margin-block-start: 1rem; }
.cards-cats .cat-actions .btn { inline-size: 100%; white-space: normal; }
.cards-cats .cat-desc p { max-inline-size: 38ch; }

/* ---------- Person cards: large round photo on a petrol band, text below ---------- */
.member { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-align: center; }
.member-photo { position: relative; background: var(--petrol); block-size: 6rem; margin-block-end: 5.5rem; flex: none; }
.member .avatar { position: absolute; inset-block-start: 1rem; inset-inline: 0; margin: 0 auto; inline-size: 10.5rem; block-size: 10.5rem; border: 5px solid var(--white); box-shadow: 0 6px 18px rgba(11, 43, 38, 0.28); background-color: var(--limestone); }
.member .avatar-initials { font-size: 2.5rem; }
.member-body { padding: 0 1.5rem 1.75rem; flex: 1; }
.member-body .card-title { font-size: 1.25rem; margin-block-end: 0.35rem; }
.member-body .role-line { color: var(--muted); font-size: 0.9375rem; padding-block-end: 0.85rem; margin-block-end: 1rem; border-block-end: 2px solid var(--limestone); display: inline-block; }
.member-bio { text-align: start; font-size: 0.9375rem; line-height: 1.65; margin: 0; }
html[lang="ar"] .member-bio { line-height: 1.9; }

/* ---------- "Coming soon" banner (Membership) ---------- */
.coming-banner { background: var(--petrol); color: var(--white); border-block-end: 4px solid var(--limestone); }
.coming-banner-inner { display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding-block: 2.25rem; text-align: start; }
.coming-banner h2 { margin: 0; color: var(--white); font-size: clamp(1.375rem, 4vw, 2rem); }
.coming-banner-icon { display: grid; place-items: center; flex: none; inline-size: 4rem; block-size: 4rem; border-radius: 50%; background: var(--limestone); color: var(--petrol); }
.coming-banner-icon .icon { inline-size: 2rem; block-size: 2rem; }
@media (min-width: 40em) { .field-row.field-row-address { grid-template-columns: 2fr 1fr; } }

/* ---------- Language switch: EN on the left, AR on the right (fixed, even on Arabic pages).
   Limestone = English, Vermillion = Arabic (brand secondary / accent). Labels are petrol on both for contrast. ---------- */
.lang-toggle { --lt-en: var(--limestone); --lt-ar: var(--vermillion); position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; inline-size: 5.5rem; block-size: 2.25rem; padding: 0 !important; border: 0 !important; border-radius: 999px !important; direction: ltr; text-align: center; text-decoration: none; font-family: var(--font); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.04em; color: var(--petrol); background: var(--lt-en); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25); transition: background-color 0.25s ease; }
.lang-toggle.is-ar, .lang-toggle.is-flip.is-en { background: var(--lt-ar); }
.lang-toggle.is-flip.is-ar { background: var(--lt-en); }
.lang-toggle:hover { color: var(--petrol); filter: brightness(1.06); }
.lang-toggle::before { content: ""; position: absolute; inset-block: 3px; inset-inline-start: 3px; inline-size: calc(50% - 3px); border-radius: 999px; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.25s ease; }
.lang-toggle.is-ar::before, .lang-toggle.is-flip.is-en::before { transform: translateX(100%); }
.lang-toggle.is-flip.is-ar::before { transform: none; }
.lang-toggle .lt-opt { position: relative; z-index: 1; line-height: 2.25rem; color: var(--petrol); }
.nav-wrap .lang-toggle { margin-block: 0.75rem; }
@media (min-width: 75em) { .nav-wrap .lang-toggle { margin-block: 0; } }
@media (prefers-reduced-motion: reduce) { .lang-toggle, .lang-toggle::before { transition: none; } }

/* =====================================================================================================
   Layout refresh (reference: a single-scroll agency layout). Colours, fonts and copy are unchanged.
   Centred bar with a pill button, centred section titles with an accent first word, a hero artwork band,
   an icon row, and a roomy contact footer.
   ===================================================================================================== */
.hl { color: var(--vermillion); }
.section-foam .hl, .page-head .hl { color: #C23E17; }          /* darker vermillion on light grounds so it stays readable */

/* Header: logo left, menu centred, pill button right */
@media (min-width: 75em) {
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; }
  .header-inner .nav-wrap { justify-self: center; }
  .header-inner .header-actions { justify-self: end; }
  .header-inner .brand { justify-self: start; }
}
.site-header .header-cta { background: transparent; color: var(--white); border: 2px solid var(--vermillion); border-radius: 999px; padding-inline: 1.25rem; font-size: 0.875rem; }
.site-header .header-cta:hover { background: var(--vermillion); color: var(--petrol); }

/* Hero: centred, big headline, artwork band along the bottom */
.hero { text-align: center; padding-block: 4rem 0; }
.hero h1 { margin-inline: auto; max-inline-size: 18ch; font-size: clamp(2.25rem, 6.5vw, 4.25rem); line-height: 1.1; }
.hero .eyebrow { margin-inline: auto; }
.hero-sub { margin-inline: auto; margin-block-end: 2rem; }
.hero-actions { justify-content: center; }
.hero .btn { border-radius: 999px; }
.pattern-band { display: block; inline-size: 100%; block-size: clamp(5rem, 16vw, 12.5rem); margin-block-start: 3.5rem; }

/* Sections: roomier, centred titles */
.section { padding-block: 3.5rem; }
@media (min-width: 48em) { .section { padding-block: 5rem; } }
.section > .container > h2 { text-align: center; font-size: clamp(1.625rem, 4vw, 2.5rem); margin-block-end: 1.5rem; text-wrap: balance; }
.section-intro { margin-inline: auto; text-align: center; }
.page-head { text-align: center; padding-block: 3.5rem; }
.page-head h1 { font-size: clamp(2rem, 5.5vw, 3.5rem); }
.page-head .lead, .page-head .eyebrow-sub { margin-inline: auto; }
.page-head .lead + .lead { margin-block-start: 0.75rem; }
.page-home .prose-wide > *, .page-about .prose-wide > h2 { margin-inline: auto; }
.page-home .prose-wide { text-align: center; }
.page-home .prose-wide .checklist { display: inline-block; text-align: start; }
.page-home .section-cta { text-align: center; }
.section-cta .btn, .cta-band .btn { border-radius: 999px; }
.cta-band { text-align: center; }
.cta-band p { margin-inline: auto; }
.cta-band h2 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); }

/* Icon row (home: what we advance) */
.icon-row { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2.5rem 1.5rem; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 40em) { .icon-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .icon-row { grid-template-columns: repeat(5, 1fr); } }
.icon-ring { display: inline-grid; place-items: center; inline-size: 5rem; block-size: 5rem; border-radius: 50%; border: 2px solid var(--petrol); color: var(--petrol); margin-block-end: 1rem; transition: background-color 0.18s ease, color 0.18s ease; }
.icon-row li:hover .icon-ring { background: var(--petrol); color: var(--limestone); }
.icon-row h3 { font-size: 1.0625rem; margin-block-end: 0.5rem; }
.icon-row p { font-size: 0.9375rem; color: var(--muted); margin: 0; }

/* Cards on the home page read centred */
.page-home .card { text-align: center; }
.page-home .card-grid { margin-block-start: 1rem; }

/* Footer: logo on top, three centred columns */
.footer-grid { text-align: center; }
@media (min-width: 48em) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.footer-brand { grid-column: 1 / -1; display: grid; justify-items: center; gap: 0.25rem; }
.site-footer .social-row, .site-footer .footer-list { justify-content: center; }
.footer-bar { justify-content: center; text-align: center; }
.footer-legal { justify-content: center; }

/* =====================================================================================================
   Motion (reference: thebakers.world): fade-up with stagger, hero entrance, tile pop-in, gentle section snap.
   Everything is off for visitors who ask for reduced motion, and nothing is hidden when JavaScript is off.
   ===================================================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pop  { from { opacity: 0; transform: scale(0.55); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-100px); } }

@media (prefers-reduced-motion: no-preference) {
  /* hero entrance on load */
  .js .hero .eyebrow, .js .hero h1, .js .hero-sub, .js .hero-actions { animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .js .hero h1 { animation-delay: 0.1s; }
  .js .hero-sub { animation-delay: 0.25s; }
  .js .hero-actions { animation-delay: 0.4s; }
  /* artwork tiles pop in one after another */
  .pattern-band .tile { transform-box: fill-box; transform-origin: center; animation: pop 0.7s cubic-bezier(.2,.9,.3,1.2) both; animation-delay: calc(0.5s + var(--i) * 45ms); }

  /* scroll reveal: hidden only once JS has tagged the element, shown when it enters the viewport */
  .js .rv-sec .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-delay, 0ms); }
  .js .rv-sec.is-in .rv { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }          /* the per-element reveal above replaces the whole-section fade */

  /* hover polish */
  .icon-ring { transition: transform 0.25s ease, background-color 0.18s ease, color 0.18s ease; }
  .icon-row li:hover .icon-ring { transform: scale(1.08) rotate(-4deg); }
  .pattern-band .tile { transition: transform 0.3s ease; }
  .hero .btn:hover, .cta-band .btn:hover, .section-cta .btn:hover { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .pattern-band .tile, .hero .eyebrow, .hero h1, .hero-sub, .hero-actions { animation: none !important; }
  .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =====================================================================================================
   Tidy pass: tighter spacing, a compact left-aligned footer, and centred reading blocks that line up
   with their centred titles.
   ===================================================================================================== */
.section { padding-block: 2.5rem; }
@media (min-width: 48em) { .section { padding-block: 3.5rem; } }
.page-head { padding-block: 2.25rem; }
.cta-band { padding-block: 2.75rem; }
.hero { padding-block-start: 3rem; }
.pattern-band { margin-block-start: 2.5rem; }
.section > .container > h2 { margin-block-end: 1.25rem; }
.icon-row { margin-block-start: 1.75rem; }

/* A centred title now sits over a centred column of text (same on every page). */
.prose-wide { text-align: center; }
.prose-wide > * { margin-inline: auto; }
.prose-wide .checklist, .prose-wide .link-list { display: inline-block; text-align: start; }
.prose-wide .link-list { display: block; max-inline-size: 28rem; text-align: start; }
.prose-wide .section-cta { text-align: center; }
.prose-wide .facts { text-align: start; }

/* Footer: compact, three aligned columns */
.site-footer { padding-block-start: 2rem; font-size: 0.9375rem; }
.footer-grid { text-align: start; gap: 1.5rem 2.5rem; }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; align-items: start; } }
.footer-brand { grid-column: auto; display: block; justify-items: start; }
.site-footer .logo-en, .site-footer .logo-ar { inline-size: 14rem; max-inline-size: 100%; }
.footer-name { margin: 0.75rem 0 0.15rem; font-size: 0.9375rem; }
.footer-text { font-size: 0.875rem; color: var(--foam); }
.footer-member { margin-block-start: 0.5rem; }
.footer-h { margin-block-end: 0.5rem; font-size: 0.75rem; }
.footer-h-gap { margin-block-start: 1rem; }
.footer-list li { padding-block: 0.15rem; }
.site-footer .social-row, .site-footer .footer-list { justify-content: flex-start; }
.footer-bar { margin-block-start: 1.5rem; padding-block: 0.875rem; font-size: 0.8125rem; justify-content: space-between; text-align: start; }
.footer-legal { justify-content: flex-start; }

/* Hero tidy: no diagonal hatch, a quiet glow, and a clean pill for the label (was uppercase mono that wrapped). */
.hero::before { background-image: radial-gradient(circle at 85% 8%, rgba(216, 199, 161, 0.14), transparent 50%); }
.hero .eyebrow { display: inline-block; font-family: var(--font); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.01em; text-transform: none; color: var(--limestone); border: 1px solid rgba(216, 199, 161, 0.5); border-radius: 1.25rem; padding: 0.45rem 1.1rem; margin-block-end: 1.5rem; max-inline-size: 100%; line-height: 1.4; }
html[lang="ar"] .hero .eyebrow { font-size: 1rem; }
.pattern-band { margin-block-start: 2.75rem; }

/* =====================================================================================================
   Phone layout (the main device): one compact header row, sections that fill the screen and snap into place,
   swipeable card rows, lighter motion.
   ===================================================================================================== */
@media (max-width: 47.99em) {
  /* header: logo + pill + icon menu in one short row */
  .header-inner { flex-wrap: wrap; padding-block: 0.5rem; gap: 0.25rem 0.75rem; flex-wrap: wrap; }
  .logo-en, .logo-ar { inline-size: 7.5rem; }
  .header-actions { gap: 0.4rem; margin-inline-start: auto; }
  .site-header .header-cta { font-size: 0.75rem; padding: 0.3rem 0.65rem; min-block-size: 2.25rem; white-space: nowrap; }
  .menu-btn { inline-size: 2.25rem !important; min-block-size: 2.25rem !important; }
  .menu-btn { padding: 0; inline-size: 2.5rem; min-block-size: 2.5rem; justify-content: center; border-radius: 999px; }
  .menu-btn .menu-label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-wrap { flex-basis: 100%; order: 3; }

  /* hero fills the first screen */
  .hero { min-block-size: calc(100svh - var(--header-h)); display: flex; flex-direction: column; padding-block-start: 1.5rem; }
  .hero > .container { margin-block: auto; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .hero-sub { font-size: 1rem; }
  .pattern-band { margin-block-start: 1.5rem; block-size: 4.5rem; }

  /* sections: one screen each on the home page, gentle snapping on the marketing pages */
  html:has(.page-home, .page-about, .page-events, .page-contact) { scroll-snap-type: y proximity; }
  main > .section, main > .cta-band, main > .page-head { scroll-snap-align: start; }
  .page-home main > .section, .page-home main > .cta-band {
    min-block-size: calc(100svh - var(--header-h));
    display: flex; flex-direction: column; justify-content: center;
  }
  .section { padding-block: 2rem; }
  .section > .container > h2 { font-size: clamp(1.5rem, 7vw, 2rem); margin-block-end: 1rem; }
  .page-head { padding-block: 1.75rem; }
  .page-head h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .cta-band { padding-block: 2rem; }
  p, li { font-size: 1rem; }

  /* card rows become one swipeable strip, the next card peeking in */
  .icon-row, .card-grid:not(.cards-cats) {
    display: flex; gap: 0.875rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-block: 0.25rem 0.75rem;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .icon-row::-webkit-scrollbar, .card-grid::-webkit-scrollbar { display: none; }
  .icon-row > li, .card-grid:not(.cards-cats) > li { flex: 0 0 78%; scroll-snap-align: center; }
  .icon-row > li { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem 1rem; }
  .icon-ring { inline-size: 4rem; block-size: 4rem; margin-block-end: 0.75rem; }
  .cat-card { grid-template-rows: none; grid-row: auto; }
}

/* lighter motion on phones: shorter, fewer moving parts */
@media (max-width: 47.99em) and (prefers-reduced-motion: no-preference) {
  .pattern-band .tile { animation-duration: 0.45s; animation-delay: calc(0.2s + var(--i) * 20ms); }
  .js .rv-sec .rv { transition-duration: 0.45s; }
  .card:hover, .card:focus-within { transform: none; box-shadow: none; }
}
