/* ==========================================================================
   Ultratheme — Grav
   Headlines: Unbounded (self-hosted, /fonts)   Body: GuardianEgyp (local files)
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Unbounded"; font-weight: 300; font-style: normal; font-display: swap;
    src: url("../fonts/unbounded-latin-300.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 400; font-style: normal; font-display: swap;
    src: url("../fonts/unbounded-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 500; font-style: normal; font-display: swap;
    src: url("../fonts/unbounded-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 600; font-style: normal; font-display: swap;
    src: url("../fonts/unbounded-latin-600.woff2") format("woff2"); }

/* copy these three files from the old WordPress theme (wp-content/themes/ultratheme_light/font/) into /fonts */
@font-face { font-family: "GuardianEgyp-Regular"; font-weight: normal; font-style: normal; font-display: swap;
    src: url("../fonts/9f267d7e77d5e399f5d28fa7985f8235.woff2") format("woff2"),
         url("../fonts/9f267d7e77d5e399f5d28fa7985f8235.woff")  format("woff"),
         url("../fonts/9f267d7e77d5e399f5d28fa7985f8235.ttf")   format("truetype"); }

/* ---------- Tokens ---------- */
:root {
    --ink:        #111;
    --ink-soft:   #555;
    --ink-mute:   #9a9a9a;
    --ink-faint:  #b8b8b8;
    --line:       rgba(0, 0, 0, 0.09);
    --page-bg:    #f2f2f2;
    --card:       #fff;
    --accent:     #FD0042;   /* hover */
    --link:       #E5007E;   /* links in running text */

    --shell-max:  900px;    /* width of the white container */
    --shell-top:  96px;      /* container sits lower on the page */
    --radius:     22px;
    --nav-w:      46px;      /* icon-only rail */
    --nav-gap:    12px;
    --hero-h:     640px;     /* slideshow height (the rail aligns to its bottom edge) */
    --pager-size: 42px;      /* slideshow paging buttons */
    --frame:      21px;      /* white frame on the landing page = half the pager size */
    --dots:       rgba(0, 0, 0, 0.22);   /* dot grid over the slideshow; 0 alpha = off */

    --font-head:  "Unbounded", "Helvetica Neue", Arial, sans-serif;
    --font-body:  "GuardianEgyp-Regular", Georgia, "Times New Roman", serif;
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 15px; -webkit-text-size-adjust: 100%; }

body {
    background: var(--page-bg);
    color: #222;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    min-height: 100vh;
}

article, aside, figcaption, figure, footer, header, main, nav, section { display: block; }
ol, ul { list-style: none; }
img { max-width: 100%; height: auto; }

a { color: var(--link); text-decoration: none; }
a:hover, a:active { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-optical-sizing: auto;
    font-weight: 600;
    line-height: 1.15;
    clear: both;
}
b, strong { font-weight: 600; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 3000;
    background: #fff;
    color: var(--ink);
    padding: 8px 14px;
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: 0.7rem;
}
.skip-link:focus { left: 8px; }

.ico { display: block; }

/* ==========================================================================
   Layout — white container in the middle, icon rail to its left
   ========================================================================== */
.site-shell {
    max-width: var(--shell-max);
    margin: var(--shell-top) auto 72px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.25);
    overflow: hidden;                    /* clips slideshow and images to the rounded corners */
}
.site-shell.has-frame { border: var(--frame) solid #fff; }

/* rail */
.site-nav { display: flex; gap: 8px; }

.nav-tab {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: var(--nav-w);
    height: var(--nav-w);
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--card);
    color: #444;
    transition: border-color 0.15s, color 0.15s;
}
.nav-tab:hover { border-color: var(--ink); color: var(--ink); }
.nav-tab.is-current { border-color: var(--ink); color: var(--accent); }

/* desktop: rail LEFT of the container */
@media (min-width: 1080px) {
    .layout {
        display: grid;
        grid-template-columns: var(--nav-w) minmax(0, var(--shell-max)) var(--nav-w);
        column-gap: var(--nav-gap);
        justify-content: center;
        align-items: start;
    }
    .site-nav {
        grid-column: 1;
        grid-row: 1;
        flex-direction: column;
        position: sticky;
        top: var(--shell-top);
        margin-top: var(--shell-top);
    }
    .site-shell { grid-column: 2; grid-row: 1; margin-left: 0; margin-right: 0; }

    /* landing: the rail starts level with the bottom edge of the slideshow */
    .layout.is-landing .site-nav { margin-top: calc(var(--shell-top) + var(--frame)); }
    .layout.is-landing:has(.hp-slideshow) .site-nav {
        margin-top: calc(var(--shell-top) + var(--frame) + var(--hero-h));
    }
    /* single view: only a back arrow, level with the container's top edge */
    .site-nav--back { margin-top: var(--shell-top); }
}

/* below 1240px: slim sticky bar on top */
@media (max-width: 1079px) {
    :root { --shell-top: 20px; }
    .site-nav {
        position: sticky;
        top: 0;
        z-index: 900;
        justify-content: center;
        padding: 10px clamp(12px, 4vw, 26px);
        background: rgba(255, 255, 255, 0.92);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--line);
        overflow-x: auto;
        scrollbar-width: none;
    }
    .site-nav::-webkit-scrollbar { display: none; }
    .site-nav--back { justify-content: flex-start; }
    .site-shell {
        margin: 22px auto 56px;
        width: calc(100% - clamp(20px, 6vw, 60px));
    }
}

/* ==========================================================================
   Landing page
   ========================================================================== */

/* ---- slideshow (inside the container, so it is exactly as wide as the columns) ---- */
.hp-slideshow {
    position: relative;
    height: min(var(--hero-h), 56vw);
    border-radius: 14px;
    overflow: hidden;
    background: #ececec;
}
.hp-slides { display: none; }

.hp-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 12%;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hp-slide.is-active {
    opacity: 1;
    animation: hpPan 24s linear both;      /* slow vertical pan */
}
@keyframes hpPan {
    from { object-position: 50% 12%; }
    to   { object-position: 50% 82%; }
}
/* fine dot grid — hides JPEG artefacts on low-res images */
.hp-slideshow::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--dots) 0.5px, transparent 0.6px);
    background-size: 3px 3px;
}

.hp-slide-caption {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    display: block;
    max-width: min(420px, 70%);
    background: #fff;
    border-radius: 12px;
    padding: 13px 17px 14px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
    color: #000;
    text-decoration: none;
    transition: box-shadow 0.15s;
}
.hp-slide-caption:hover { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2); color: #000; }
.hp-slide-caption.fade { animation: hpCaptionIn 0.5s ease both; }
@keyframes hpCaptionIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}
.hp-slide-title {
    display: block;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 1.12rem;
    line-height: 1.2;
    overflow-wrap: break-word;
}
.hp-slide-subtitle {
    display: block;
    margin-top: 4px;
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 0.82rem;
    line-height: 1.3;
    color: var(--ink-soft);
    overflow-wrap: break-word;
}

.hp-slide-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: var(--pager-size);
    height: var(--pager-size);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: #000;
    cursor: pointer;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.hp-slide-nav:hover { background: #fff; }
.hp-slide-prev { left: 18px; }
.hp-slide-next { right: 18px; }

/* ---- two columns ---- */
#home-2026 {
    display: flex;
    align-items: flex-start;
    gap: 5%;
    padding: clamp(28px, 4vw, 46px) clamp(26px, 4.4vw, 52px) clamp(40px, 6vw, 64px);
}
#home-2026 .hp-posts    { flex: 0 0 24%; min-width: 0; }
#home-2026 .hp-projects { flex: 1 1 auto; min-width: 0; }

.hp-label {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-faint);
    padding: 0 0 20px;
    line-height: 1;
}
.hp-empty { font-size: 0.9rem; color: var(--ink-soft); max-width: 34em; }
.hp-empty code { font-size: 0.85em; }

/* IN PROGRESS — small square thumbnails */
.hp-post {
    display: flex;
    gap: 11px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}
.hp-post:last-child { border-bottom: 0; }
.hp-post-thumb {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    overflow: hidden;
    background: #ececec;
    display: block;
}
.hp-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-post-text { min-width: 0; display: flex; flex-direction: column; }
.hp-post-title {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 1.25;
    color: #333;
    overflow-wrap: break-word;
}
.hp-post-date { font-size: 0.72rem; color: var(--ink-mute); margin-top: 3px; }
.hp-post:hover .hp-post-title { color: var(--accent); }

/* WORKS — large square thumbnails, headline + subtitle */
.hp-project {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.hp-project:first-of-type { padding-top: 0; }
.hp-project:last-child { border-bottom: 0; }
.hp-project-thumb {
    flex: 0 0 33%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #ececec;
    display: block;
}
.hp-project-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-project-body { flex: 1 1 auto; min-width: 0; padding-top: 4px; }
.hp-project-title {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.18;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.hp-project-title a { color: #000; }
.hp-project-title a:hover { color: var(--accent); }
/* subtitle: same face as the headline, two thirds of its size */
.hp-project-subtitle {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.32;
    color: var(--ink-soft);
    margin-top: 9px;
    overflow-wrap: break-word;
    text-wrap: pretty;
}
.hp-project-date { font-size: 0.76rem; color: var(--ink-mute); margin-top: 8px; }

@media (max-width: 800px) {
    .hp-slideshow { display: none; }
    #home-2026 { flex-direction: column; gap: 40px; padding: 24px clamp(18px, 6vw, 30px) 12vh; }
    #home-2026 .hp-projects { order: 0; width: 100%; }
    #home-2026 .hp-posts    { order: 1; width: 100%; flex-basis: auto; }
    .hp-project { gap: 18px; }
    .hp-project-thumb { flex-basis: 36%; }
    .hp-project-title { font-size: 1.2rem; }
    .hp-project-subtitle { font-size: 0.85rem; }
    .site-shell.has-frame { border-width: 0; }
}

/* ==========================================================================
   Single view
   ========================================================================== */
.entry { padding: clamp(26px, 4.4vw, 56px); }

.article-title {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
}
/* subtitle below the headline — same face, two thirds of its size */
.article-subtitle {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: clamp(1.25rem, 2.25vw, 1.72rem);
    line-height: 1.2;
    color: var(--ink-soft);
    margin-top: 0.55em;
    overflow-wrap: break-word;
}
.article-rule { border: 0; border-top: 1px solid var(--line); margin: 1.5em 0 0.9em; }
.article-date { font-size: 0.82rem; color: var(--ink-mute); margin: 0 0 1.6em; }

.entry-content {
    font-size: 1.16em;
    line-height: 1.55;
    color: #000;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.6em 0 0.6em; }
.entry-content h2 { font-size: 1.5rem; }
.entry-content h3 { font-size: 1.2rem; }
.entry-content h4 { font-size: 1rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1em 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.25em; }
.entry-content a { color: var(--link); }
.entry-content a:hover { color: var(--accent); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content small { font-size: 0.8em; line-height: 1.4; color: var(--ink-soft); }
.entry-content code { font-size: 0.86em; background: #f6f6f6; padding: 0.1em 0.35em; border-radius: 5px; }
.entry-content pre { background: #f6f6f6; padding: 1em 1.2em; border-radius: 10px; overflow-x: auto; margin: 0 0 1.2em; font-size: 0.82em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content iframe, .entry-content video { display: block; max-width: 100%; margin: 1.2em 0; border: 0; border-radius: 9px; }

.entry-content blockquote {
    font-weight: 600;
    margin: 1.5em 0;
    padding: 0.2em 0 0.2em 1em;
    border-left: 3px solid var(--line);
}
.entry-content blockquote p { margin: 0; }

.entry-content table { width: 100%; margin: 0 0 1.4em; border-collapse: collapse; font-size: 0.9em; }
.entry-content th, .entry-content td { text-align: left; padding: 0.45em 0.8em 0.45em 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content th { font-weight: 600; }

/* images: click opens the lightbox */
.entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.2em auto;
    border-radius: 9px;
}
.entry-content a img { cursor: pointer; }
.entry-content img[data-ut] { cursor: zoom-in; }
.entry-content a img[data-ut] { cursor: pointer; }

/* portrait images are cropped so a single image never towers over the page; a click shows the full image */
.entry-content img.is-tall {
    width: 100%;
    height: 82vh;
    object-fit: cover;
    object-position: center;
}

/* figures + captions (left aligned) */
.entry-content figure { margin: 1.2em 0 1.6em; }
.entry-content figure img { margin: 0; }
.entry-content figcaption {
    margin-top: 0.45em;
    font-size: 12px;
    font-style: italic;
    line-height: 1.35;
    text-align: left;
    color: var(--ink-soft);
}

/* video: [vid src="…"] */
.entry-content figure.vid { margin: 1.4em 0 1.6em; }
.entry-content .vid-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #ececec; }
.entry-content .vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; }
.entry-content video.vid-file { display: block; width: 100%; height: auto; margin: 0; border-radius: 9px; background: #ececec; }

/* galleries: width follows the number of images (1 = full, 2, 3, 4 columns; 5+ = 3 per row) */
.entry-content .gallery {
    --gap: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--gap);
    margin: 1.4em 0 1.6em;
}
.entry-content .gallery-cols-2 { --cols: 2; }
.entry-content .gallery-cols-3 { --cols: 3; }
.entry-content .gallery-cols-4 { --cols: 4; }
.entry-content .gallery > figure {
    flex: 0 0 calc((100% - (var(--cols, 1) - 1) * var(--gap)) / var(--cols, 1));
    min-width: 0;
    margin: 0;
}
.entry-content .gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    cursor: zoom-in;
    transition: border-color 0.15s;
}
.entry-content .gallery figure:hover img { border-color: rgba(0, 0, 0, 0.34); }
@media (max-width: 640px) {
    .entry-content .gallery-cols-3, .entry-content .gallery-cols-4 { --cols: 2; }
}

/* optional column helper: <div class="cols" markdown="1"> <div markdown="1">…</div> <div markdown="1">…</div> </div> */
.entry-content .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3%; }
.entry-content .cols.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .entry-content .cols, .entry-content .cols.cols-3 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Prompt box:  <details class="prompt" markdown="1"> <summary>Prompt</summary> … </details>
   Without JavaScript it stays a plain disclosure; with JavaScript it becomes a pill button
   (right aligned) that opens an overlay with a white content box.
   ========================================================================== */
.entry-content details.prompt { margin: 0 0 1em; font-size: 0.8em; }
.entry-content details.prompt summary { cursor: pointer; font-family: var(--font-head); font-size: 0.75rem; }
.entry-content details.prompt.is-enhanced { display: none; }

.prompt-row { display: flex; justify-content: flex-end; margin: 0 0 1em; }
.prompt-btn {
    height: 30px;
    padding: 0 15px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
    color: #000;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.prompt-btn:hover { background: #111; color: #fff; }

.prompt-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s;
}
.prompt-overlay.is-open { opacity: 1; visibility: visible; }
.prompt-box {
    width: min(680px, 100%);
    max-height: min(78vh, 760px);
    overflow: auto;
    padding: 12px 26px 28px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
    color: #222;
    font-size: 0.8rem;
    line-height: 1.5;
}
.prompt-box p { margin: 0 0 0.8em; }
.prompt-box > :last-child { margin-bottom: 0; }
.prompt-tools { display: flex; justify-content: flex-end; gap: 6px; margin: 0 -14px 14px 0; }
.prompt-tools button {
    height: 26px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.prompt-tools button:hover { border-color: var(--ink); color: var(--ink); }
.prompt-tools .prompt-close { width: 26px; padding: 0; display: grid; place-items: center; }

/* ==========================================================================
   Lightbox (white, like the rest of the site)
   ========================================================================== */
.lb {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 72px 28px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    max-height: calc(100dvh - 150px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}
.lb-caption {
    max-width: 720px;
    margin-top: 12px;
    font-size: 12px;
    font-style: italic;
    line-height: 1.35;
    color: var(--ink-soft);
    text-align: center;
}
.lb-caption:empty { display: none; }
.lb-btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: var(--pager-size);
    height: var(--pager-size);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: #000;
    cursor: pointer;
}
.lb-btn:hover { border-color: var(--ink); }
.lb-close { top: 14px; right: 14px; }
.lb-prev  { left: 14px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-single .lb-prev, .lb-single .lb-next { display: none; }
html.lb-open, html.prompt-open { overflow: hidden; }
@media (max-width: 640px) { .lb { padding: 56px 12px 20px; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    max-width: var(--shell-max);
    margin: 0 auto 60px;
    padding: 0 20px;
    font-family: var(--font-head);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    text-align: center;
}

.edit-fab {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 500;
    height: 34px;
    padding: 0 16px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #333;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.edit-fab:hover { border-color: var(--ink); color: var(--ink); }

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