/* ==========================================================================
   BOED — Businessmen Organization for Economic Development
   Public stylesheet. Built on the BOED design system tokens.

   Layers, in order:
     1. Tokens            6. Header & utility bar
     2. Base & typography 7. Footer
     3. Layout helpers    8. Page sections
     4. Components        9. Responsive
     5. Forms            10. RTL adjustments

   Institutional voice: flat colour, no gradients, restrained radius,
   heritage accents used as accents only. Single light theme by design.
   ========================================================================== */

/* ---------------------------------------------------------------- 1. tokens */
:root {
    color-scheme: light;

    /* palette — from design/tokens/colors.css */
    --navy-900: #0a2036;
    --navy-800: #0f2c48;
    --navy-700: #163a5c;
    --navy-600: #1f4d75;
    --navy-500: #2c638f;
    --navy-100: #e4ebf1;

    --red-700: #a8121f;
    --red-600: #ce202a;
    --red-500: #dc3a3f;
    --red-100: #fbe4e3;

    --green-700: #00743f;
    --green-600: #009f5f;
    --green-500: #1db56f;
    --green-100: #e1f4ea;

    --gold-700: #8a6416;
    --gold-600: #a6791f;
    --gold-500: #c2953a;
    --gold-100: #f6ecd9;

    --ink: #14181c;
    --white: #ffffff;

    --sand-50: #faf7f2;
    --sand-100: #f3ede2;
    --sand-200: #e8dfd0;
    --sand-300: #d6c9b3;
    --sand-400: #b8a888;
    --sand-600: #6f6555;
    --sand-800: #3d372c;

    /* semantic */
    --color-bg: var(--sand-50);
    --color-bg-alt: var(--sand-100);
    --color-surface: var(--white);
    --color-surface-sunken: var(--sand-100);
    --color-border: var(--sand-200);
    --color-border-strong: var(--sand-300);
    --color-text-primary: var(--navy-900);
    --color-text-secondary: #4b5563;
    --color-text-muted: #7c8592;
    --color-text-on-brand: var(--white);
    --color-brand-primary: var(--navy-800);
    --color-brand-primary-hover: var(--navy-700);
    --color-brand-primary-active: var(--navy-900);
    --color-accent-red: var(--red-600);
    --color-accent-green: var(--green-600);
    --color-accent-gold: var(--gold-600);
    --color-link: var(--navy-700);
    --color-link-hover: var(--red-600);
    --color-focus-ring: var(--gold-500);
    --color-on-dark: rgba(255, 255, 255, .78);
    --color-on-dark-muted: rgba(255, 255, 255, .58);
    --color-border-on-dark: rgba(255, 255, 255, .16);

    /* type */
    --font-display: "Spectral", Georgia, "Times New Roman", serif;
    --font-body: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;

    --text-xs: .75rem;
    --text-sm: .875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.375rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2.25rem;
    --text-4xl: 2.75rem;
    --text-5xl: 3.5rem;

    --leading-tight: 1.15;
    --leading-snug: 1.35;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;
    --tracking-wide: .04em;
    --tracking-wider: .12em;

    /* space */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 999px;
    --radius-button: 999px;   /* buttons are fully rounded by request */
    --radius-input: 12px;

    --shadow-sm: 0 1px 2px rgba(10, 32, 54, .06);
    --shadow-md: 0 4px 12px rgba(10, 32, 54, .10);
    --shadow-lg: 0 12px 32px rgba(10, 32, 54, .14);

    --container-max: 1200px;
    --gutter: clamp(20px, 5vw, 48px);
    --section-y: clamp(48px, 7vw, 80px);

    --ease-standard: cubic-bezier(.4, 0, .2, 1);
    --duration-fast: 120ms;
    --duration-normal: 200ms;
}

/* Arabic type system — a separate pairing, never the Latin faces mirrored. */
html[lang="ar"] {
    --font-display: "Amiri", "Traditional Arabic", serif;
    --font-body: "Tajawal", "Segoe UI", sans-serif;
    --leading-normal: 1.85;
    --leading-relaxed: 2;
    --tracking-wider: 0;
    --tracking-wide: 0;
}

/* ------------------------------------------------------- 2. base & typography */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: var(--leading-tight);
    margin: 0;
    color: var(--color-text-primary);
    text-wrap: pretty;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 {
    font-weight: 700;
    line-height: 1.35;
}

p {
    margin: 0;
}

/* Author display rules (.card is display:flex) outrank the UA style for the
   hidden attribute, so state it explicitly or filtering silently does nothing. */
[hidden] {
    display: none !important;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
    color: var(--color-link-hover);
}

img,
svg {
    max-width: 100%;
    display: block;
}

ul, ol {
    margin: 0;
    padding: 0;
}

:focus-visible {
    outline: 3px solid var(--color-focus-ring);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.skip-link {
    position: absolute;
    inset-inline-start: var(--space-4);
    top: 0;
    z-index: 100;
    background: var(--navy-900);
    color: #fff;
    padding: var(--space-3) var(--space-5);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    /* Translated out of view rather than parked at -9999px, which would
       extend the scrollable area under dir="rtl". */
    transform: translateY(-200%);
    transition: transform var(--duration-fast) var(--ease-standard);
}

.skip-link:focus {
    transform: translateY(0);
    color: #fff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------ 3. layout */
.shell {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
}

.section--tight {
    padding-block: clamp(32px, 4.5vw, 56px);
}

.section--sand {
    background: var(--color-bg-alt);
}

.section--surface {
    background: var(--color-surface);
    border-block: 1px solid var(--color-border);
}

.section--navy {
    background: var(--navy-900);
    color: #fff;
}

.section--navy h1,
.section--navy h2,
.section--navy h3 {
    color: #fff;
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--space-8);
}

.section-head h2 {
    font-size: clamp(1.5rem, 3vw, var(--text-2xl));
}

.eyebrow {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-accent-red);
    margin-bottom: var(--space-3);
}

.eyebrow--gold {
    color: var(--gold-700);
}

.eyebrow--on-dark {
    color: var(--gold-500);
}

.lede {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    max-width: 72ch;
}

.section--navy .lede {
    color: var(--color-on-dark);
}

.grid {
    display: grid;
    gap: var(--space-6);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* The logo's diagonal facets, reused as a thin section divider. */
.facet-divider {
    display: flex;
    gap: 0;
    height: 6px;
    overflow: hidden;
}

.facet-divider span {
    display: block;
    height: 100%;
    transform: skewX(-18deg);
}

.facet-divider span:nth-child(1) { width: 64px; background: var(--red-600); }
.facet-divider span:nth-child(2) { width: 44px; background: var(--green-600); }
.facet-divider span:nth-child(3) { width: 30px; background: var(--gold-600); }

/* --------------------------------------------------------- 4. components */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    padding: 14px 28px;
    border-radius: var(--radius-button);
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    letter-spacing: .01em;
    transition: background var(--duration-fast) var(--ease-standard),
                border-color var(--duration-fast) var(--ease-standard),
                color var(--duration-fast) var(--ease-standard),
                box-shadow var(--duration-fast) var(--ease-standard);
}

.button--primary {
    background: var(--color-brand-primary);
    color: var(--color-text-on-brand);
}

.button--primary:hover {
    background: var(--color-brand-primary-hover);
    color: #fff;
    box-shadow: 0 4px 14px rgba(10, 32, 54, .22);
}

.button--primary:active {
    background: var(--color-brand-primary-active);
}

.button--accent {
    background: var(--red-600);
    color: #fff;
}

.button--accent:hover {
    background: var(--red-700);
    color: #fff;
    box-shadow: 0 4px 14px rgba(206, 32, 42, .28);
}

.button--gold {
    background: var(--gold-600);
    color: #fff;
}

.button--gold:hover {
    background: var(--gold-700);
    color: #fff;
    box-shadow: 0 4px 14px rgba(166, 121, 31, .28);
}

.button--outline {
    background: transparent;
    border-color: var(--color-border-strong);
    color: var(--color-text-primary);
}

.button--outline:hover {
    background: var(--sand-100);
    color: var(--color-text-primary);
}

.button--ghost-dark {
    background: transparent;
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

.button--ghost-dark:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.button--sm {
    padding: 10px 20px;
    font-size: var(--text-xs);
}

.badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.badge--green { background: var(--green-100); color: var(--green-700); }
.badge--gold { background: var(--gold-100); color: var(--gold-700); }
.badge--red { background: var(--red-100); color: var(--red-700); }
.badge--navy { background: var(--navy-100); color: var(--navy-800); }
.badge--sand { background: var(--sand-200); color: var(--sand-800); }

.link-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent-red);
}

.link-more::after {
    content: "\2192";
    transition: transform var(--duration-fast) var(--ease-standard);
}

.link-more:hover {
    color: var(--red-700);
}

.link-more:hover::after {
    transform: translateX(3px);
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--duration-normal) var(--ease-standard),
                border-color var(--duration-normal) var(--ease-standard);
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-border-strong);
}

.card__media {
    position: relative;
    display: block;
    background: var(--sand-100);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__media--portrait {
    aspect-ratio: 4 / 5;
}

.card__body {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
}

.card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: var(--leading-snug);
}

.card__meta {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.card__foot {
    margin-top: auto;
    padding-top: var(--space-3);
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* filter chips + tabs */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.chip {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border-strong);
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-standard),
                color var(--duration-fast) var(--ease-standard),
                border-color var(--duration-fast) var(--ease-standard);
}

.chip:hover {
    background: var(--sand-100);
}

.chip[aria-pressed="true"] {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
}

.tabs {
    display: flex;
    gap: var(--space-1);
    border-bottom: 1px solid var(--color-border);
}

.tab {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    padding: 12px 20px;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color var(--duration-fast) var(--ease-standard),
                border-color var(--duration-fast) var(--ease-standard);
}

.tab:hover {
    color: var(--color-text-primary);
}

.tab[aria-selected="true"] {
    color: var(--navy-900);
    border-bottom-color: var(--color-accent-red);
}

.tab-panel[hidden] {
    display: none;
}

/* breadcrumbs */
.breadcrumbs {
    background: var(--sand-100);
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
    list-style: none;
    padding-block: var(--space-4);
}

.breadcrumbs li + li::before {
    content: "\203A";
    margin-inline-end: var(--space-2);
    opacity: .5;
}

.breadcrumbs [aria-current="page"] {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* empty state — a written note, never a labelled box */
.note {
    background: var(--color-surface);
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: var(--text-base);
}

.prose {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    max-width: 74ch;
}

.prose > * + * {
    margin-top: var(--space-4);
}

.prose h2,
.prose h3 {
    color: var(--color-text-primary);
    margin-top: var(--space-8);
}

.prose h2 { font-size: var(--text-xl); }
.prose h3 { font-size: var(--text-lg); }

.prose ul,
.prose ol {
    padding-inline-start: var(--space-6);
}

.prose li + li {
    margin-top: var(--space-2);
}

.prose img {
    border-radius: var(--radius-md);
    margin-inline: auto;
}

.prose blockquote {
    margin: 0;
    padding-inline-start: var(--space-5);
    border-inline-start: 3px solid var(--color-accent-gold);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-text-primary);
}

/* --------------------------------------------------------------- 5. forms */
.field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.field > span,
.field > label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--color-text-primary);
    background: var(--color-surface);
    padding: 12px 16px;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-input);
    transition: border-color var(--duration-fast) var(--ease-standard);
}

input:hover,
select:hover,
textarea:hover {
    border-color: var(--sand-400);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--navy-600);
    outline: 3px solid var(--color-focus-ring);
    outline-offset: 1px;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.form-grid .field-wide {
    grid-column: 1 / -1;
}

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

.alert {
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-sm);
    margin-bottom: var(--space-5);
}

.alert--error {
    background: var(--red-100);
    color: var(--red-700);
    border: 1px solid var(--red-500);
}

.alert--success {
    background: var(--green-100);
    color: var(--green-700);
    border: 1px solid var(--green-500);
}

/* -------------------------------------------------- 6. utility bar + header */
.utility-bar {
    background: var(--navy-900);
    color: var(--color-on-dark);
    font-size: var(--text-xs);
}

.utility-bar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-6);
    align-items: center;
    justify-content: space-between;
    padding-block: 10px;
}

.utility-bar__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    align-items: center;
}

.utility-bar a {
    color: var(--color-on-dark);
}

.utility-bar a:hover {
    color: #fff;
}

.utility-bar__aside {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.social-row {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

.social-row a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    transition: background var(--duration-fast) var(--ease-standard);
}

.social-row a:hover {
    background: rgba(255, 255, 255, .22);
}

.social-row svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-weight: 600;
}

.lang-switch a {
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    color: var(--color-on-dark-muted);
}

.lang-switch a[aria-current="true"] {
    color: #fff;
}

.lang-switch span {
    opacity: .35;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    padding-block: var(--space-3);
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.brand:hover {
    color: var(--color-text-primary);
}

.brand img {
    height: 52px;
    width: auto;
}

.brand__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-lg);
    line-height: 1.15;
}

.brand__sub {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    line-height: 1.3;
}

.nav-primary {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.8vw, 26px);
}

.nav-primary a {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
    padding-block: 6px;
    border-bottom: 2px solid transparent;
}

.nav-primary a:hover {
    color: var(--color-accent-red);
}

.nav-primary a[aria-current="page"] {
    color: var(--color-accent-red);
    border-bottom-color: var(--color-accent-red);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.menu-button {
    display: none;
    touch-action: manipulation;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy-900);
    transition: transform var(--duration-fast) var(--ease-standard),
                opacity var(--duration-fast) var(--ease-standard);
}

body.menu-open .menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-button span:nth-child(2) {
    opacity: 0;
}

body.menu-open .menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-close {
    display: none;
    position: absolute;
    top: 18px;
    inset-inline-end: 18px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    color: var(--navy-900);
    background: var(--sand-100);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-standard),
                color var(--duration-fast) var(--ease-standard);
}

.nav-close:hover {
    background: var(--red-600);
    border-color: var(--red-600);
    color: #fff;
}

/* --------------------------------------------------------------- 7. footer */
.site-footer {
    background: var(--navy-900);
    color: var(--color-on-dark);
    font-size: var(--text-sm);
}

.site-footer h2,
.site-footer h3 {
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: var(--space-10);
    padding-block: var(--space-16) var(--space-10);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

/* The supplied logo is set on white; on navy it sits on a white tile
   rather than an invented reversed lockup. */
.footer-brand img {
    height: 56px;
    width: auto;
    background: #fff;
    padding: 8px;
    border-radius: var(--radius-md);
}

.footer-brand strong {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: #fff;
    margin-bottom: var(--space-4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    list-style: none;
}

.site-footer a {
    color: var(--color-on-dark);
}

.site-footer a:hover {
    color: #fff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    list-style: none;
}

.footer-contact strong {
    display: block;
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-on-dark-muted);
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid var(--color-border-on-dark);
    padding-block: var(--space-5);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-6);
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: var(--color-on-dark-muted);
}

/* -------------------------------------------------------- 8. page sections */

/* hero */
.hero {
    background: var(--navy-900);
    color: #fff;
    position: relative;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: center;
    padding-block: clamp(56px, 8vw, 88px);
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 3.25rem);
    line-height: 1.1;
    margin-block: var(--space-5) var(--space-4);
}

.hero p {
    color: var(--color-on-dark);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    max-width: 58ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-8);
}

.hero__media {
    position: relative;
}

.hero__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.hero__facets {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
}

/* page head for interior pages */
.page-head {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding-block: clamp(40px, 6vw, 64px);
}

.page-head h1 {
    font-size: clamp(1.9rem, 4vw, var(--text-4xl));
    margin-bottom: var(--space-4);
}

/* centred editorial statement (home "Who We Are" band) */
.statement-band {
    /* px, not ch: the wrapper inherits the 16px body font while the statement
       inside is ~30px, so a ch-based measure would come out far too narrow. */
    max-width: 52rem;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
}

.statement-band .eyebrow {
    margin-bottom: 0;
}

.statement-band__text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.8vw, 1.9rem);
    line-height: 1.45;
    color: var(--navy-900);
    text-wrap: balance;
}

/* impact strip */
.impact {
    background: var(--navy-800);
    padding-block: clamp(36px, 5vw, 56px);
}

.impact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-6);
    text-align: center;
}

.impact__value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--gold-500);
    line-height: 1.1;
}

.impact__label {
    font-size: var(--text-sm);
    color: var(--color-on-dark);
    margin-top: var(--space-2);
}

/* feature band (next conference, heritage) */
.feature {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
}

.feature__media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.feature__body {
    padding: clamp(28px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-3);
}

.feature__body h2,
.feature__body h3 {
    font-size: clamp(1.4rem, 3vw, var(--text-2xl));
}

.heritage {
    background: var(--sand-100);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 5vw, 52px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
}

.heritage img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.heritage h2 {
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    margin-bottom: var(--space-4);
}

/* statements: vision / mission */
.statement {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 34px);
}

.statement p {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    line-height: var(--leading-snug);
    color: var(--navy-900);
}

/* objectives */
.objectives {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4) var(--space-8);
    list-style: none;
}

.objectives li {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.objectives span {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--navy-800);
    color: #fff;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.objectives p {
    color: var(--color-text-secondary);
    line-height: var(--leading-snug);
}

/* people (experts, board) */
.person__name {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
}

.person__role {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.person__role--accent {
    color: var(--color-accent-red);
    font-weight: 600;
}

.card--person .card__body {
    text-align: center;
    align-items: center;
}

/* partner logo wall */
.logo-wall {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-4);
}

.logo-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    min-height: 96px;
    background: var(--sand-50);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: border-color var(--duration-fast) var(--ease-standard),
                background var(--duration-fast) var(--ease-standard);
}

.logo-tile:hover {
    border-color: var(--color-border-strong);
    background: var(--white);
    color: var(--navy-800);
}

.logo-tile img {
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

/* The whole partner card is the link; the arrow answers on hover. */
.partner-card {
    color: inherit;
    text-decoration: none;
}

.partner-card.is-linked {
    cursor: pointer;
}

.partner-card.is-linked:hover,
.partner-card.is-linked:focus-visible {
    color: inherit;
    border-color: var(--navy-600);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.partner-card {
    transition: box-shadow var(--duration-normal) var(--ease-standard),
                border-color var(--duration-normal) var(--ease-standard),
                transform var(--duration-normal) var(--ease-standard);
}

.partner-card__logo {
    aspect-ratio: 2 / 1;
    background: var(--sand-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
    border-bottom: 1px solid var(--color-border);
}

.partner-card__logo img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform var(--duration-normal) var(--ease-standard);
}

.partner-card.is-linked:hover .partner-card__logo img {
    transform: scale(1.04);
}

.partner-card__name {
    font-size: var(--text-base);
}

.partner-card.is-linked:hover .partner-card__name {
    color: var(--navy-700);
}

.partner-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid var(--color-border);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) var(--ease-standard),
                background var(--duration-fast) var(--ease-standard);
}

.partner-card.is-linked:hover .partner-card__foot {
    background: var(--sand-50);
    color: var(--color-accent-red);
}

.partner-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-pill);
    background: var(--sand-100);
    flex-shrink: 0;
    transition: background var(--duration-normal) var(--ease-standard),
                transform var(--duration-normal) var(--ease-standard);
}

.partner-card__arrow svg {
    width: 15px;
    height: 15px;
    stroke: var(--navy-700);
    transition: stroke var(--duration-normal) var(--ease-standard);
}

.partner-card.is-linked:hover .partner-card__arrow {
    background: var(--red-600);
    transform: translate(3px, -3px);
}

[dir="rtl"] .partner-card.is-linked:hover .partner-card__arrow {
    transform: translate(-3px, -3px);
}

.partner-card.is-linked:hover .partner-card__arrow svg {
    stroke: #fff;
}

[dir="rtl"] .partner-card__arrow svg {
    transform: scaleX(-1);
}

.category-head {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--sand-200);
    margin-bottom: var(--space-6);
}

/* event detail */
.event-hero {
    background: var(--navy-900);
    color: #fff;
    padding-block: clamp(40px, 6vw, 72px);
}

.event-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4.2vw, var(--text-4xl));
    margin-block: var(--space-4);
}

.event-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-6);
    margin: 0;
    padding-block: var(--space-8) 0;
    border-top: 1px solid var(--color-border-on-dark);
    margin-top: var(--space-8);
}

.event-facts dt {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: var(--space-2);
}

.event-facts dd {
    margin: 0;
    color: #fff;
    font-size: var(--text-base);
}

.speakers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-4);
    list-style: none;
}

.speakers li {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
}

.speakers strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-base);
}

.speakers span {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* galleries + lightbox */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-4);
}

.gallery button {
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--sand-100);
    overflow: hidden;
    cursor: pointer;
    display: block;
    width: 100%;
    transition: border-color var(--duration-fast) var(--ease-standard);
}

.gallery button:hover {
    border-color: var(--navy-600);
}

.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.lightbox {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: min(96vw, 1200px);
    max-height: 94vh;
    overflow: visible;
}

.lightbox::backdrop {
    background: rgba(10, 32, 54, .88);
}

.lightbox__frame {
    position: relative;
    background: var(--navy-900);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
}

.lightbox img {
    max-width: 100%;
    max-height: 78vh;
    margin-inline: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox__caption {
    color: var(--color-on-dark);
    font-size: var(--text-sm);
    text-align: center;
    padding-top: var(--space-3);
    min-height: 1.5em;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 0;
    border-radius: var(--radius-pill);
    width: 44px;
    height: 44px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration-fast) var(--ease-standard);
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: rgba(255, 255, 255, .28);
}

.lightbox__close {
    top: calc(var(--space-4) * -1 - 8px);
    inset-inline-end: 0;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__nav--prev { inset-inline-start: calc(var(--space-4) * -1 - 8px); }
.lightbox__nav--next { inset-inline-end: calc(var(--space-4) * -1 - 8px); }

/* media teaser mosaic */
.mosaic {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 170px;
    gap: var(--space-3);
}

.mosaic > *:first-child {
    grid-row: span 2;
}

.mosaic a {
    position: relative;
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--sand-200);
}

.mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-normal) var(--ease-standard);
}

.mosaic a:hover img {
    transform: scale(1.03);
}

.mosaic figcaption,
.mosaic__label {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: var(--space-4);
    background: linear-gradient(to top, rgba(10, 32, 54, .82), rgba(10, 32, 54, 0));
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 600;
}

/* news */
.news-tag {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--red-700);
    background: var(--red-100);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.article-head {
    padding-block: clamp(36px, 5vw, 56px);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.article-head h1 {
    font-size: clamp(1.8rem, 4vw, var(--text-3xl));
    margin-block: var(--space-4);
    max-width: 24ch;
}

.article-cover img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.list-rows {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    list-style: none;
}

.list-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
    transition: border-color var(--duration-fast) var(--ease-standard);
}

.list-row:hover {
    border-color: var(--color-border-strong);
}

.list-row__title {
    flex: 1;
    font-family: var(--font-display);
    font-size: var(--text-base);
    min-width: 200px;
}

/* previous-conference rows */
.event-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.event-row:hover {
    box-shadow: var(--shadow-md);
}

.event-row__media img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
}

.event-row__body {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2);
}

/* contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    list-style: none;
}

.contact-details dt,
.contact-details strong {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-1);
}

/* Full-width map band with the address floated over it. */
.map-band {
    position: relative;
    isolation: isolate;
    border-top: 1px solid var(--color-border);
}

.map-band__frame {
    display: block;
    width: 100%;
    height: clamp(340px, 46vh, 520px);
    border: 0;
    filter: saturate(.9);
}

.map-band__overlay {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.map-card {
    pointer-events: auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: clamp(20px, 3vw, 30px);
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
}

/* The logo's facet motif sits at the head of the card. */
.map-card .facet-divider {
    margin-bottom: var(--space-1);
}

.map-card .facet-divider span:nth-child(1) { width: 46px; }
.map-card .facet-divider span:nth-child(2) { width: 30px; }
.map-card .facet-divider span:nth-child(3) { width: 20px; }

.map-card__address {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    line-height: var(--leading-snug);
    color: var(--navy-900);
}

.map-card__meta {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.map-card .eyebrow {
    margin-bottom: 0;
}

@media (max-width: 740px) {
    .map-band__overlay {
        position: static;
        padding-block: var(--space-6);
    }

    .map-card {
        max-width: none;
        width: 100%;
    }
}

/* closing call to action */
.cta {
    background: var(--navy-900);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 44px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.cta h2 {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, var(--text-2xl));
    margin-bottom: var(--space-2);
}

.cta p {
    color: var(--color-on-dark);
    max-width: 60ch;
}

/* pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
    justify-content: center;
    margin-top: var(--space-10);
    list-style: none;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding-inline: var(--space-4);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-button);
    background: var(--color-surface);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
}

.pagination a:hover {
    background: var(--sand-100);
    color: var(--navy-900);
}

.pagination [aria-current="page"] {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
}

.pagination .is-gap {
    border: 0;
    background: none;
    min-width: 24px;
}

/* 404 */
.error-page {
    text-align: center;
    padding-block: clamp(64px, 12vw, 140px);
}

.error-page .code {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 6rem);
    color: var(--sand-300);
    line-height: 1;
}

/* scroll reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 400ms var(--ease-standard), transform 400ms var(--ease-standard);
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------- 9. responsive */
@media (max-width: 1080px) {
    .site-header__inner {
        gap: var(--space-4);
    }

    .nav-primary {
        gap: var(--space-4);
    }

    .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .menu-button {
        display: inline-flex;
        order: 3;
    }

    .nav-primary {
        position: fixed;
        inset-block: 0;
        inset-inline-end: 0;
        width: min(340px, 86vw);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 88px var(--space-6) var(--space-6);
        background: var(--color-surface);
        border-inline-start: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform var(--duration-normal) var(--ease-standard);
        overflow-y: auto;
        z-index: 50;
    }

    [dir="rtl"] .nav-primary {
        transform: translateX(-100%);
    }

    body.menu-open .nav-primary,
    [dir="rtl"] body.menu-open .nav-primary {
        transform: translateX(0);
    }

    .nav-close {
        display: inline-flex;
    }

    .nav-primary a {
        padding-block: var(--space-4);
        border-bottom: 1px solid var(--color-border);
        font-size: var(--text-base);
    }

    .nav-primary a[aria-current="page"] {
        border-bottom-color: var(--color-accent-red);
    }

    .menu-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(10, 32, 54, .5);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--duration-normal) var(--ease-standard);
        /* Must stay BELOW .site-header's z-index (40). The header is a sticky,
           z-indexed element, so it forms a stacking context: the drawer nested
           inside it cannot paint above this scrim no matter how high its own
           z-index is. At 45 the scrim covered the drawer, the close button and
           the hamburger, leaving no way to shut the menu on a touch device. */
        z-index: 30;
    }

    body.menu-open .menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .hero__inner,
    .heritage,
    .feature,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .feature__media img {
        min-height: 220px;
        aspect-ratio: 16 / 9;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .mosaic {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .event-row {
        grid-template-columns: 1fr;
    }

    .event-row__media img {
        aspect-ratio: 16 / 7;
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .utility-bar__inner {
        justify-content: center;
        text-align: center;
    }

    .utility-bar__contacts {
        justify-content: center;
    }

    .brand img {
        height: 42px;
    }

    .brand__sub {
        display: none;
    }

    .header-actions .button {
        display: none;
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .grid--5,
    .form-grid,
    .objectives,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .logo-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 190px;
    }

    .mosaic > *:first-child {
        grid-row: auto;
    }

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .lightbox__nav--prev { inset-inline-start: var(--space-2); }
    .lightbox__nav--next { inset-inline-end: var(--space-2); }
    .lightbox__close { top: var(--space-2); inset-inline-end: var(--space-2); }
}

/* ---------------------------------------------------------------- 10. RTL */
[dir="rtl"] .link-more::after {
    content: "\2190";
}

[dir="rtl"] .link-more:hover::after {
    transform: translateX(-3px);
}

[dir="rtl"] .breadcrumbs li + li::before {
    content: "\2039";
}

[dir="rtl"] .facet-divider span {
    transform: skewX(18deg);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .utility-bar,
    .site-header,
    .site-footer,
    .cta,
    .menu-backdrop {
        display: none;
    }

    body {
        background: #fff;
    }
}
