/* ==========================================================================
   Tumbling Maccabi Ashkelon
   Design source: docs/specs/data/preview1.webp (navy and blue, light sections)
   All sizes are in rem, so the 150% / 200% text options scale the whole layout.
   Logical properties only, so the same rules serve RTL (he) and LTR (ru).
   ========================================================================== */

/* ---------- Fonts (served locally) ---------- */
@font-face {
    font-family: "Rubik";
    src: url("../fonts/rubik-hebrew.woff2") format("woff2");
    font-weight: 300 900;
    font-display: swap;
    unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
    font-family: "Rubik";
    src: url("../fonts/rubik-cyrillic.woff2") format("woff2");
    font-weight: 300 900;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Rubik";
    src: url("../fonts/rubik-latin.woff2") format("woff2");
    font-weight: 300 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
        U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
    /* Brand colors: the same in both views */
    --navy: #0b1437;
    --navy-deep: #070d26;
    --navy-soft: #16225a;
    --blue: #1463ff;
    --blue-strong: #0d4fd6;
    --blue-on-navy: #6ea4ff;
    --on-navy: #ffffff;
    --on-navy-muted: #c9d3f2;
    --navy-line: #33407a;

    /* Light view */
    --bg: #f3f5fa;
    --surface: #ffffff;
    --text: #0d1433;
    --muted: #49536f;
    --border: #cfd6e6;
    --link: #0f4cc9;
    --field-border: #6b7592;
    --error: #b3141d;
    --error-bg: #fdecee;
    --success: #0b6b34;
    --success-bg: #e6f6ec;
    --focus-inner: #0b1437;
    --focus-outer: #ffbf00;
    --shadow: 0 0.75rem 2rem rgba(11, 20, 55, 0.14);

    --radius: 0.75rem;
    --radius-pill: 999px;
    --container: 75rem;
    --gutter: clamp(1rem, 4vw, 2rem);
    --font: "Rubik", "Segoe UI", "Arial Hebrew", Arial, "Noto Sans Hebrew", sans-serif;
}

html[data-theme="dark"] {
    --bg: #060b1c;
    --surface: #101a3d;
    --text: #eef2ff;
    --muted: #b9c2e0;
    --border: #2c3868;
    --link: #8db6ff;
    --field-border: #8f9bc4;
    --error: #ff9aa0;
    --error-bg: #3a1016;
    --success: #7fe0a3;
    --success-bg: #0d2f1c;
    --focus-inner: #ffffff;
    --shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.5);
    color-scheme: dark;
}

/* Text size options */
html { font-size: 100%; }
html[data-font="150"] { font-size: 150%; }
html[data-font="200"] { font-size: 200%; }

/* Monochrome scheme */
html[data-colors="mono"] { filter: grayscale(1); }

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

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-wrap: break-word;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    margin: 0 0 0.6em;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
h3 { font-size: 1.2rem; }

p,
ul,
ol,
dl {
    margin: 0 0 1em;
}

a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

a:hover {
    text-decoration-thickness: 0.14em;
}

/* Visible focus: a two-tone ring that shows on light and on navy backgrounds */
:focus-visible {
    outline: 0.1875rem solid var(--focus-outer);
    outline-offset: 0.125rem;
    box-shadow: 0 0 0 0.125rem var(--focus-inner);
    border-radius: 0.25rem;
}

main:focus {
    outline: none;
    box-shadow: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

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

.skip-link {
    position: absolute;
    inset-block-start: 0.5rem;
    inset-inline-start: 0.5rem;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: var(--surface);
    color: var(--text);
    font-weight: 700;
    border-radius: var(--radius);
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

/* Things that need JavaScript stay hidden without it */
html:not(.js) .js-only {
    display: none;
}

[hidden] {
    display: none !important;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.7rem 1.75rem;
    border: 0.125rem solid transparent;
    border-radius: var(--radius-pill);
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
    background: var(--blue);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--blue-strong);
    transform: translateY(-0.0625rem);
}

.btn-lg {
    padding: 0.95rem 2.25rem;
    font-size: 1.1rem;
}

/* ---------- Top bar: language and accessibility ---------- */
.topbar {
    background: var(--navy-deep);
    color: var(--on-navy);
    font-size: 0.9375rem;
}

.topbar-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem 1.25rem;
    padding-block: 0.35rem;
}

.lang-switch ul {
    display: flex;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lang-switch a {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    color: var(--on-navy);
    text-decoration: none;
}

.lang-switch a:hover {
    text-decoration: underline;
}

.lang-switch a[aria-current] {
    background: var(--on-navy);
    color: var(--navy);
    font-weight: 700;
}

.a11y-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.25rem;
    padding: 0.35rem 0.9rem;
    border: 0.0625rem solid var(--on-navy-muted);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--on-navy);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.a11y-toggle:hover,
.a11y-toggle[aria-expanded="true"] {
    background: var(--on-navy);
    color: var(--navy);
}

.a11y-toggle svg,
.nav-toggle svg,
.a11y-close svg {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
}

.a11y-panel {
    position: absolute;
    inset-block-start: 100%;
    inset-inline-end: var(--gutter);
    z-index: 50;
    width: min(24rem, calc(100vw - 2 * var(--gutter)));
    max-height: calc(100vh - 4rem);
    overflow: auto;
    padding: 1.25rem;
    background: var(--surface);
    color: var(--text);
    border: 0.0625rem solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.a11y-panel h2 {
    margin-inline-end: 2.5rem;
    font-size: 1.2rem;
}

.a11y-panel fieldset {
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
    min-width: 0;
}

.a11y-panel legend {
    margin-block-end: 0.4rem;
    padding: 0;
    font-weight: 700;
}

.a11y-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.a11y-options button,
.a11y-actions button {
    min-height: 2.5rem;
    padding: 0.4rem 0.9rem;
    border: 0.125rem solid var(--field-border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

/* The chosen option: color, a thicker frame and a check mark, not color alone */
.a11y-options button[aria-pressed="true"] {
    border-color: var(--blue);
    background: var(--blue);
    color: #ffffff;
    font-weight: 700;
}

.a11y-options button[aria-pressed="true"]::before {
    content: "\2713\00a0";
}

.a11y-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    padding-block-start: 1rem;
    border-block-start: 0.0625rem solid var(--border);
}

.a11y-close {
    position: absolute;
    inset-block-start: 0.75rem;
    inset-inline-end: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.a11y-close:hover {
    background: var(--bg);
}

/* ---------- Header ---------- */
.site-header {
    background: var(--navy);
    color: var(--on-navy);
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.5rem;
    padding-block: 0.75rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-inline-end: auto;
    color: var(--on-navy);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.15;
    text-decoration: none;
}

.brand img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    flex: none;
}

.brand span {
    max-width: 9rem;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-block-end: 0.1875rem solid transparent;
    color: var(--on-navy);
    font-weight: 600;
    text-decoration: none;
}

.main-nav a:hover {
    border-block-end-color: var(--on-navy-muted);
}

/* Current page: underline bar and bold, not color alone */
.main-nav a[aria-current="page"] {
    border-block-end-color: var(--blue-on-navy);
    font-weight: 800;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.4rem 1rem;
    border: 0.0625rem solid var(--on-navy-muted);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--on-navy);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* Compact header: set by JS from the viewport width measured in rem,
   so it also applies on a wide screen with 200% text. */
html.is-compact .nav-toggle {
    display: inline-flex;
}

html.is-compact .header-cta {
    display: none;
}

html.is-compact .main-nav {
    display: none;
    flex-basis: 100%;
}

html.is-compact .main-nav.is-open {
    display: block;
}

html.is-compact .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding-block: 0.5rem;
}

html.is-compact .main-nav a {
    padding: 0.75rem 0.5rem;
    border-block-end: 0.0625rem solid var(--navy-line);
    border-inline-start: 0.25rem solid transparent;
}

html.is-compact .main-nav a[aria-current="page"] {
    border-inline-start-color: var(--blue-on-navy);
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(36rem, 80vh);
    background: var(--navy);
    color: var(--on-navy);
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}

/* In RTL the text sits on the right, so the picture is mirrored to keep the athlete clear of it */
[dir="rtl"] .hero-media {
    transform: scaleX(-1);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(11, 20, 55, 0.96) 0%, rgba(11, 20, 55, 0.82) 42%, rgba(11, 20, 55, 0.3) 100%);
}

[dir="rtl"] .hero::after {
    background: linear-gradient(270deg, rgba(11, 20, 55, 0.96) 0%, rgba(11, 20, 55, 0.82) 42%, rgba(11, 20, 55, 0.3) 100%);
}

.hero-content {
    padding-block: 4rem;
}

.hero h1 {
    max-width: 14em;
    margin-block-end: 0.35em;
    font-size: clamp(2.4rem, 1.2rem + 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.02;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
}

.hero h1 .accent {
    color: var(--blue-on-navy);
}

.hero-sub {
    max-width: 32rem;
    margin-block-end: 1.75rem;
    font-size: 1.2rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
    background: var(--navy);
    color: var(--on-navy);
}

.page-hero h1 {
    text-transform: uppercase;
}

.page-hero .lead {
    max-width: 44rem;
    margin-block-end: 0;
    color: var(--on-navy-muted);
    font-size: 1.2rem;
}

.page-hero .lead + p {
    margin-block: 1.75rem 0;
}

/* ---------- Sections ---------- */
.section {
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

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

.section-title {
    text-transform: uppercase;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1.5rem 2rem;
    margin: 0 0 2.5rem;
    padding: 0;
    list-style: none;
}

.features li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 1rem;
    align-items: start;
}

.features svg {
    grid-row: span 2;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--link);
}

.features h3 {
    margin: 0;
    text-transform: uppercase;
}

.features p {
    margin: 0;
    color: var(--muted);
}

/* Age line */
.ages h3 {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 600;
}

.ages ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ages li {
    padding-block-start: 0.6rem;
    border-block-start: 0.25rem solid var(--blue);
    color: var(--link);
    font-weight: 800;
    font-size: 1.15rem;
    text-align: center;
}

/* Achievements */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: 1.5rem;
    margin: 0 0 3rem;
    padding: 0;
    list-style: none;
    text-align: center;
}

.stats li {
    padding-inline: 1rem;
    border-inline-start: 0.0625rem solid var(--navy-line);
}

.stats li:first-child {
    border-inline-start: 0;
}

.stats strong {
    display: block;
    font-size: clamp(2.5rem, 1.5rem + 4vw, 4rem);
    font-weight: 900;
    line-height: 1;
}

.stats span {
    display: block;
    margin-block-start: 0.35rem;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
}

.media-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.media-split > img {
    width: 100%;
    height: 100%;
    min-height: 14rem;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Cards */
.card {
    padding: 1.5rem;
    background: var(--surface);
    color: var(--text);
    border: 0.0625rem solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card > :last-child {
    margin-block-end: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1.5rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.card .tag {
    display: inline-block;
    margin-block-end: 0.75rem;
    padding: 0.2rem 0.85rem;
    border-radius: var(--radius-pill);
    background: var(--navy);
    color: #ffffff;
    font-weight: 700;
}

.card p {
    color: var(--muted);
}

/* Tables */
.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

caption {
    padding-block-end: 0.75rem;
    color: var(--muted);
    text-align: start;
}

th,
td {
    padding: 0.7rem 0.75rem;
    border-block-end: 0.0625rem solid var(--border);
    text-align: start;
    vertical-align: top;
}

thead th {
    font-weight: 800;
    border-block-end-width: 0.125rem;
}

tbody th {
    font-weight: 700;
}

tbody tr:last-child th,
tbody tr:last-child td {
    border-block-end: 0;
}

.note {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery figure {
    margin: 0;
}

.gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
}

.gallery figcaption {
    margin-block-start: 0.6rem;
    font-weight: 700;
}

/* Call to action strip */
.cta-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
}

.cta-strip h2 {
    margin-block-end: 0.25em;
}

.cta-strip p {
    margin: 0;
    color: var(--muted);
}

/* ---------- Articles ---------- */
.prose {
    max-width: 46rem;
}

.prose h2 {
    margin-block-start: 1.75em;
}

.prose > section:first-child h2 {
    margin-block-start: 0;
}

.prose ul {
    padding-inline-start: 1.4rem;
}

.prose li {
    margin-block-end: 0.4em;
}

.prose li::marker {
    color: var(--link);
}

.article-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: 2.5rem;
    align-items: start;
}

.article-layout > img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.coach-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    margin-block-end: 1rem;
    background: var(--bg);
    border: 0.0625rem dashed var(--field-border);
    border-radius: var(--radius);
    color: var(--muted);
}

.coach-photo svg {
    width: 4rem;
    height: 4rem;
}

/* ---------- Contact ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
    gap: 2rem;
    align-items: start;
}

.contact-details {
    margin: 0;
}

.contact-details div {
    margin-block-end: 0.75rem;
}

.contact-details dt {
    font-weight: 700;
}

.contact-details dd {
    margin: 0;
}

/* Keep phone and email, written left to right, aligned with the rest of the text */
.contact-details [dir="ltr"] {
    display: inline-block;
    unicode-bidi: isolate;
}

.form-field {
    margin-block-end: 1.25rem;
}

.form-field label {
    display: block;
    margin-block-end: 0.35rem;
    font-weight: 700;
}

.form-field .hint {
    display: block;
    margin-block-end: 0.35rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.optional {
    color: var(--muted);
    font-weight: 400;
}

.required-mark {
    color: var(--error);
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    display: block;
    width: 100%;
    min-height: 2.9rem;
    padding: 0.6rem 0.85rem;
    background: var(--surface);
    color: var(--text);
    border: 0.125rem solid var(--field-border);
    border-radius: 0.5rem;
    font: inherit;
}

textarea {
    min-height: 8rem;
    resize: vertical;
}

[aria-invalid="true"] {
    border-color: var(--error);
    border-width: 0.1875rem;
}

.field-error {
    display: block;
    margin-block-start: 0.35rem;
    color: var(--error);
    font-weight: 700;
}

.field-error::before {
    content: "\26A0\00a0";
}

.form-check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 0.75rem;
    align-items: start;
    margin-block-end: 1.25rem;
}

.form-check input {
    width: 1.4rem;
    height: 1.4rem;
    margin: 0.2rem 0 0;
    accent-color: var(--blue);
}

.form-check .field-error {
    grid-column: 2;
}

.alert {
    margin-block-end: 1.5rem;
    padding: 1rem 1.25rem;
    border: 0.125rem solid;
    border-radius: var(--radius);
    font-weight: 600;
}

.alert:empty {
    display: none;
}

.alert-success {
    border-color: var(--success);
    background: var(--success-bg);
    color: var(--success);
}

.alert-error {
    border-color: var(--error);
    background: var(--error-bg);
    color: var(--text);
}

.alert-error h3 {
    color: var(--error);
    font-size: 1.05rem;
}

.alert-error ul {
    margin: 0;
    padding-inline-start: 1.4rem;
}

/* Honeypot field: hidden from everyone, bots fill it */
.hp {
    display: none;
}

/* ---------- Footer ---------- */
.site-footer {
    padding-block-start: 3rem;
    background: var(--navy-deep);
    color: var(--on-navy-muted);
    font-size: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: 2rem;
}

.site-footer h2 {
    color: var(--on-navy);
    font-size: 1.05rem;
    text-transform: uppercase;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-block-end: 0.25rem;
}

.site-footer a {
    display: inline-block;
    padding-block: 0.2rem;
    color: var(--on-navy);
}

.footer-brand img {
    width: 4.5rem;
    height: 4.5rem;
    margin-block-end: 0.75rem;
    border-radius: 50%;
}

.footer-name {
    margin-block-end: 0.25rem;
    color: var(--on-navy);
    font-weight: 800;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    margin-block-start: 2rem;
    padding-block: 1.25rem;
    border-block-start: 0.0625rem solid var(--navy-line);
}

.footer-bottom p {
    margin: 0;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Print ---------- */
@media print {
    .topbar,
    .nav-toggle,
    .header-cta,
    .skip-link {
        display: none;
    }
}

/* A section that follows another light section: no double gap */
.section-tight {
    padding-block-start: 0;
}
